Skip to content

Commit c07d709

Browse files
committed
Update colorPick.css
1 parent cdb8140 commit c07d709

1 file changed

Lines changed: 56 additions & 40 deletions

File tree

src/colorPick.css

Lines changed: 56 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -8,66 +8,82 @@
88
*
99
*/
1010

11-
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url(http://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3bO3LdcAZYWl9Si6vvxL-qU.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;src:local('Open Sans Bold'),local('OpenSans-Bold'),url(http://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzKRDOzjiPcYnFooOUGCOsRk.woff) format('woff')}
11+
@font-face {
12+
font-family: "Open Sans";
13+
font-style: normal;
14+
font-weight: 400;
15+
src: local("Open Sans"), local("OpenSans"),
16+
url(https://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3bO3LdcAZYWl9Si6vvxL-qU.woff)
17+
format("woff");
18+
}
19+
20+
@font-face {
21+
font-family: "Open Sans";
22+
font-style: normal;
23+
font-weight: 700;
24+
src: local("Open Sans Bold"), local("OpenSans-Bold"),
25+
url(https://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzKRDOzjiPcYnFooOUGCOsRk.woff)
26+
format("woff");
27+
}
1228

1329
#colorPick * {
14-
-webkit-transition: all linear .2s;
15-
-moz-transition: all linear .2s;
16-
-ms-transition: all linear .2s;
17-
-o-transition: all linear .2s;
18-
transition: all linear .2s;
30+
-webkit-transition: all linear 0.2s;
31+
-moz-transition: all linear 0.2s;
32+
-ms-transition: all linear 0.2s;
33+
-o-transition: all linear 0.2s;
34+
transition: all linear 0.2s;
1935
}
2036

2137
#colorPick {
22-
background: rgba(255, 255, 255, 0.85);
23-
-webkit-backdrop-filter: blur(15px);
24-
position: absolute;
25-
border-radius: 5px;
26-
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
27-
padding: 15px;
28-
font-family: "Open Sans", sans-serif;
29-
width: 140px;
38+
background: rgba(255, 255, 255, 0.85);
39+
-webkit-backdrop-filter: blur(15px);
40+
position: absolute;
41+
border-radius: 5px;
42+
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
43+
padding: 15px;
44+
font-family: "Open Sans", sans-serif;
45+
width: 140px;
3046
}
3147

3248
#colorPick span {
33-
font-size: 9pt;
34-
text-transform: uppercase;
35-
font-weight: bold;
36-
color: #bbb;
37-
margin-bottom: 5px;
38-
display: block;
39-
clear: both;
49+
font-size: 9pt;
50+
text-transform: uppercase;
51+
font-weight: bold;
52+
color: #bbb;
53+
margin-bottom: 5px;
54+
display: block;
55+
clear: both;
4056
}
4157

4258
.customColorHash {
43-
border-radius: 5px;
44-
height: 23px;
45-
width: 122px;
46-
margin: 1px 4px ;
47-
padding: 0 4px;
48-
border: 1px solid #babbba;
49-
outline: none;
59+
border-radius: 5px;
60+
height: 23px;
61+
width: 122px;
62+
margin: 1px 4px;
63+
padding: 0 4px;
64+
border: 1px solid #babbba;
65+
outline: none;
5066
}
5167
.customColorHash.error {
52-
border-color: #ff424c;
53-
color: #ff424c;
68+
border-color: #ff424c;
69+
color: #ff424c;
5470
}
5571

5672
.colorPickButton {
57-
border-radius: 5px;
58-
width: 20px;
59-
height: 20px;
60-
margin: 0px 3px;
61-
cursor: pointer;
62-
display: inline-block;
63-
border: thin solid #eee;
73+
border-radius: 5px;
74+
width: 20px;
75+
height: 20px;
76+
margin: 0px 3px;
77+
cursor: pointer;
78+
display: inline-block;
79+
border: thin solid #eee;
6480
}
6581

6682
.colorPickButton:hover {
67-
transform: scale(1.1);
83+
transform: scale(1.1);
6884
}
6985

7086
.colorPickDummy {
71-
background: #fff;
72-
border: 1px dashed #bbb;
87+
background: #fff;
88+
border: 1px dashed #bbb;
7389
}

0 commit comments

Comments
 (0)