1
|
/* style switcher */
|
2
|
#style_switcher {
|
3
|
position: fixed;
|
4
|
right: 0;
|
5
|
top: 140px;
|
6
|
background: #fff;
|
7
|
width: 240px;
|
8
|
z-index: 1094;
|
9
|
-webkit-box-sizing: border-box;
|
10
|
box-sizing: border-box;
|
11
|
padding: 16px;
|
12
|
margin-right: -246px;
|
13
|
-webkit-transition: margin 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
14
|
transition: margin 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
15
|
-webkit-box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.26);
|
16
|
box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.26);
|
17
|
}
|
18
|
#style_switcher.switcher_active {
|
19
|
margin-right: 0;
|
20
|
}
|
21
|
#style_switcher .switcher_app_themes {
|
22
|
margin: 0;
|
23
|
padding: 0;
|
24
|
list-style: none;
|
25
|
overflow: hidden;
|
26
|
}
|
27
|
#style_switcher .switcher_app_themes > li {
|
28
|
padding: 0;
|
29
|
margin: 0;
|
30
|
list-style: none;
|
31
|
}
|
32
|
#style_switcher .switcher_app_themes li {
|
33
|
float: left;
|
34
|
cursor: pointer;
|
35
|
width: 36px;
|
36
|
margin: 0 16px 16px 0;
|
37
|
opacity: 0.5;
|
38
|
-webkit-transition: opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
39
|
transition: opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
40
|
}
|
41
|
#style_switcher .switcher_app_themes li span {
|
42
|
display: block;
|
43
|
padding: 0 4px;
|
44
|
height: 24px;
|
45
|
line-height: 24px;
|
46
|
-webkit-box-sizing: border-box;
|
47
|
box-sizing: border-box;
|
48
|
width: 50%;
|
49
|
float: left;
|
50
|
}
|
51
|
#style_switcher .switcher_app_themes li.active_theme {
|
52
|
opacity: 1;
|
53
|
position: relative;
|
54
|
}
|
55
|
#style_switcher .switcher_app_themes li.active_theme:after {
|
56
|
position: absolute;
|
57
|
top: 0;
|
58
|
left: 50%;
|
59
|
content: '\e5ca';
|
60
|
font-family: "Material Icons";
|
61
|
font-size: 18px;
|
62
|
display: block;
|
63
|
color: #fff;
|
64
|
margin-left: -8px;
|
65
|
}
|
66
|
#style_switcher .switcher_app_themes li.app_style_default .app_color_main {
|
67
|
background: #2196f3;
|
68
|
}
|
69
|
#style_switcher .switcher_app_themes li.app_style_default .app_color_accent {
|
70
|
background: #7cb342;
|
71
|
}
|
72
|
#style_switcher .switcher_app_themes li.switcher_theme_a .app_color_main {
|
73
|
background: #3f51b5;
|
74
|
}
|
75
|
#style_switcher .switcher_app_themes li.switcher_theme_a .app_color_accent {
|
76
|
background: #ff4081;
|
77
|
}
|
78
|
#style_switcher .switcher_app_themes li.switcher_theme_b .app_color_main {
|
79
|
background: #673ab7;
|
80
|
}
|
81
|
#style_switcher .switcher_app_themes li.switcher_theme_b .app_color_accent {
|
82
|
background: #00bcd4;
|
83
|
}
|
84
|
#style_switcher .switcher_app_themes li.switcher_theme_c .app_color_main {
|
85
|
background: #5d4037;
|
86
|
}
|
87
|
#style_switcher .switcher_app_themes li.switcher_theme_c .app_color_accent {
|
88
|
background: #1e88e5;
|
89
|
}
|
90
|
#style_switcher .switcher_app_themes li.switcher_theme_d .app_color_main {
|
91
|
background: #00acc1;
|
92
|
}
|
93
|
#style_switcher .switcher_app_themes li.switcher_theme_d .app_color_accent {
|
94
|
background: #673ab7;
|
95
|
}
|
96
|
#style_switcher .switcher_app_themes li.switcher_theme_e .app_color_main {
|
97
|
background: #607d8b;
|
98
|
}
|
99
|
#style_switcher .switcher_app_themes li.switcher_theme_e .app_color_accent {
|
100
|
background: #e53935;
|
101
|
}
|
102
|
#style_switcher .switcher_app_themes li.switcher_theme_f .app_color_main {
|
103
|
background: #424242;
|
104
|
}
|
105
|
#style_switcher .switcher_app_themes li.switcher_theme_f .app_color_accent {
|
106
|
background: #7cb342;
|
107
|
}
|
108
|
#style_switcher .switcher_app_themes li.switcher_theme_g .app_color_main {
|
109
|
background: #8e24aa;
|
110
|
}
|
111
|
#style_switcher .switcher_app_themes li.switcher_theme_g .app_color_accent {
|
112
|
background: #4caf50;
|
113
|
}
|
114
|
#style_switcher .switcher_app_themes li.switcher_theme_h .app_color_main {
|
115
|
background: #d32f2f;
|
116
|
}
|
117
|
#style_switcher .switcher_app_themes li.switcher_theme_h .app_color_accent {
|
118
|
background: #0277bd;
|
119
|
}
|
120
|
#style_switcher .switcher_app_themes li.switcher_theme_i .app_color_main {
|
121
|
background: #fbc02d;
|
122
|
}
|
123
|
#style_switcher .switcher_app_themes li.switcher_theme_i .app_color_accent {
|
124
|
background: #00acc1;
|
125
|
}
|
126
|
#style_switcher .switcher_app_themes li.switcher_theme_dark .app_color_main {
|
127
|
background: #546e7a;
|
128
|
}
|
129
|
#style_switcher .switcher_app_themes li.switcher_theme_dark .app_color_accent {
|
130
|
background: #009688;
|
131
|
}
|
132
|
#style_switcher_toggle {
|
133
|
position: absolute;
|
134
|
top: 8px;
|
135
|
left: -44px;
|
136
|
width: 44px;
|
137
|
height: 36px;
|
138
|
background: #fff;
|
139
|
border-radius: 4px 0 0 4px;
|
140
|
cursor: pointer;
|
141
|
padding: 0 8px;
|
142
|
-webkit-box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.26);
|
143
|
box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.26);
|
144
|
-webkit-box-sizing: border-box;
|
145
|
box-sizing: border-box;
|
146
|
z-index: 1096;
|
147
|
}
|
148
|
#style_switcher_toggle .material-icons {
|
149
|
font-size: 24px;
|
150
|
line-height: 36px;
|
151
|
color: #212121;
|
152
|
}
|
153
|
.app_theme_dark #style_switcher,
|
154
|
.app_theme_dark #style_switcher_toggle {
|
155
|
background: #424242;
|
156
|
}
|
157
|
.app_theme_dark #style_switcher_toggle .material-icons {
|
158
|
color: #cbcbcb;
|
159
|
}
|