color-switcher.css
2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/* Color Style Switcher */
#color-style-switcher div h3 {
color: #2d2d2d;
font-size: 16px;
margin: 8px 3px 12px;
font-weight: 700;
}
#color-style-switcher {
background: #fff;
box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.14);
left: -145px;
position: fixed;
top: 170px;
width: 150px;
z-index: 9999;
}
#color-style-switcher div {
padding: 5px 10px;
}
#color-style-switcher .bottom {
padding: 0;
}
#color-style-switcher .bottom a.settings {
background-color: #fff;
box-shadow: 7px 2px 14px 0 rgba(0, 0, 0, 0.14);
display: block;
height: 45px;
position: absolute;
right: -45px;
top: 0;
width: 45px;
text-align: center;
}
#color-style-switcher .bottom a i{
font-size: 24px;
line-height: 45px;
}
#color-style-switcher select {
background: none repeat scroll 0 0 #F6F6F6;
border: 1px solid #FFFFFF;
line-height: 1;
margin-bottom: 10px;
padding: 5px 10px;
width: 150px;
}
ul.colors {
list-style: none outside none;
margin: 0 0 10px;
overflow: hidden;
padding:0;
}
ul.colors li {
float: left;
margin: 2px;
}
ul.colors li a {
cursor: pointer;
display: block;
height: 35px;
width: 35px;
border-radius:2px;
-webkit-border-radius:2px;
}
ul.colors li a.active {
position: relative;
}
ul.colors li a.active:after {
color: #fff;
content:"\f00c";
font-family: "FontAwesome";
font-size: 10px;
right: 12px;
position: absolute;
top: 9px;
}
ul.colors li a.color1.active:after, ul.colors li a.color8.active:after{
color:#FFFFFF;
}
@media only screen and (max-width: 500px) {
#color-style-switcher {
display: none;
}
}
/* Color Style Switcher End */
/* Colors */
/* light-version */
ul.colors .color1 {
background: rgba(21, 53, 120, 1); /* preset */
}
ul.colors .color2 {
background: #1AB7D8; /* blue */
}
ul.colors .color3 {
background: #1abc9c; /* turquoise */
}
ul.colors .color4 {
background: #f39c12; /* orange */
}
ul.colors .color5 {
background: #8e44ad; /* Wisteria */
}
ul.colors .color6 {
background: #e74c3c; /* Alizarin */
}