Skip to content

Commit 03a53a5

Browse files
Osano - New CSS (#165)
Co-authored-by: Tamimi Ahmad <TamimiGitHub@users.noreply.github.com>
1 parent 2130cf5 commit 03a53a5

File tree

1 file changed

+71
-76
lines changed

1 file changed

+71
-76
lines changed

src/css/osano.css

Lines changed: 71 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,72 @@
1-
.osano-cm-window {
2-
color: #fff;
3-
}
4-
.osano-cm-info-dialog__info .osano-cm-info-dialog-header p {
5-
font-weight: 600;
6-
font-size: 18px;
7-
color: #fff;
8-
}
9-
.osano-cm-info-dialog__info p {
10-
font-size: 15px;
11-
line-height: 1.4;
12-
color: #fff;
13-
}
14-
.osano-cm-drawer-toggle .osano-cm-label {
15-
font-size: 15px;
16-
line-height: 1;
17-
margin: 0 auto 0 0;
18-
font-weight: 600;
19-
color: #fff;
20-
}
21-
.osano-cm-button {
22-
background-color: #00c895;
23-
border-color: #00c895;
24-
color: #000;
25-
padding: 15px 5px;
26-
border-radius: 50px;
27-
font-weight: 600;
28-
font-size: 16px;
29-
font-family: "open-sans", Tahoma, Verdana, sans-serif;
30-
}
31-
.osano-cm-powered-by {
32-
margin: 10px 0 0;
33-
color: #fff;
34-
}
35-
.osano-cm-info-dialog-header__close:focus {
36-
outline: none;
37-
outline-offset: 0rem;
38-
}
39-
.osano-cm-close,
40-
.osano-cm-info-dialog-header__close {
41-
padding: 5px;
42-
text-align: center;
43-
stroke: #000 !important;
44-
border-color: #00c895 !important;
45-
background-color: #00c895 !important;
46-
outline: none;
47-
}
48-
.osano-cm-close svg,
49-
.osano-cm-info-dialog-header__close svg {
50-
height: 16px;
51-
width: 16px;
52-
position: relative;
53-
display: block;
54-
margin: auto;
55-
}
56-
.osano-cm-powered-by .osano-cm-link {
57-
color: #666;
58-
}
59-
.osano-cm-widget {
60-
border-radius: 50%;
61-
overflow: hidden;
62-
}
63-
.osano-cm-close:focus,
64-
.osano-cm-widget:focus {
65-
outline: 1px solid #000;
66-
}
67-
.osano-cm-widget--position_left {
68-
left: 5px;
69-
bottom: 5px;
70-
}
71-
.osano-cm-dialog--type_bar .osano-cm-button {
72-
margin-right: 25px;
73-
}
74-
.osano-cm-widget--position_right {
75-
right: 20px;
76-
bottom: 50px;
1+
.osano-cm-info{
2+
max-width:22em
3+
}
4+
.osano-cm-view{
5+
padding:0 1em
6+
}
7+
.osano-cm-widget--position_right{
8+
right:auto;
9+
left:12px
10+
}
11+
.osano-cm-info-dialog-header{
12+
border-bottom:1px solid #ccc;
13+
margin-bottom:15px;
14+
box-shadow:0 0 15px rgba(0,0,0,.2)
15+
}
16+
.osano-cm-header,.osano-cm-info-dialog-header{
17+
background:#fff!important
18+
}
19+
.osano-cm-info-dialog__info p{
20+
font-size:14px;
21+
line-height:1.4;
22+
color:#647481
23+
}
24+
.osano-cm-drawer-toggle .osano-cm-label,.osano-cm-info__info-dialog-header p{
25+
color:#273749;
26+
font-size:16px;
27+
font-weight:600
28+
}
29+
.osano-cm-info__info-dialog-header p{
30+
font-size:22px;
31+
font-weight:600;
32+
height:103px
33+
}
34+
.osano-cm-toggle__input+.osano-cm-toggle__switch:before{
35+
border-color:#ababab
36+
}
37+
.osano-cm-toggle__input:checked+.osano-cm-toggle__switch:before{
38+
border-color:#b3dedf
39+
}
40+
.osano-cm-list-item__disclosure{
41+
padding-top:.7em
42+
}
43+
.osano-cm-toggle__input:disabled:checked+.osano-cm-toggle__switch::before,.osano-cm-toggle__input:disabled:checked:focus+.osano-cm-toggle__switch::before,.osano-cm-toggle__input:disabled:checked:hover+.osano-cm-toggle__switch::before{
44+
background-color:#f3f9f9
45+
}
46+
.osano-cm-toggle__input:disabled:checked+.osano-cm-toggle__switch::after,.osano-cm-toggle__input:disabled:checked:focus+.osano-cm-toggle__switch::after,.osano-cm-toggle__input:disabled:checked:hover+.osano-cm-toggle__switch::after{
47+
background-color:#7ac5c6
48+
}
49+
.osano-cm-dialog--type_bar .osano-cm-button.osano-cm-accept-all{
50+
background-color:#f37021
51+
}
52+
.osano-cm-info--position_left .osano-cm-save{
53+
background-color:#f37021;
54+
border-color:#f37021;
55+
border-radius:30px;
56+
padding:15px;
57+
font-size:16px
58+
}
59+
.osano-cm-info-dialog-header__close,.osano-cm-info-dialog-header__close:focus,.osano-cm-info-dialog-header__close:hover{
60+
background-color:#f7f8f9;
61+
stroke:#647481!important;
62+
padding:5px;
63+
border:1px solid #222!important;
64+
outline:0
65+
}
66+
.osano-cm-close{
67+
stroke-width:2px!important
68+
}
69+
.osano-cm-widget:focus{
70+
border-radius:50%;
71+
/* outline:#00c895 solid 1px */
7772
}

0 commit comments

Comments
 (0)