forked from pau4o/simple-css-switch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimple-css-switch.css
More file actions
65 lines (65 loc) · 1.48 KB
/
simple-css-switch.css
File metadata and controls
65 lines (65 loc) · 1.48 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
#s-css-s--menu {
position: absolute;
top: .5em;
right: .5em;
color: #fff;
background-color: olive;
padding: 1em;
border: .2em inset #a6a659;
}
.s-css-s--button:focus {
outline: 0 none;
}
.s-css-s--button {
display: block;
width: 100%;
margin: .2em;
color: inherit;
background-color: inherit;
padding: .2em .4em;
border-color: #a6a659;
}
.s-css-s--active-style {
border-style: inset;
}
.s-css-s--active-style:before {
content: '▶';
position: relative;
left: -.5em;
}
.s-css-s--main-css {
color: #eee;
background-color: #2c2c2c;
}
.s-css-s--red-css {
color: #dcd;
background-color: #2e0505;
}
.s-css-s--green-css {
color: #ddd;
background-color: #122112;
}
.s-css-s-style--default .s-css-s--idx,
.s-css-s-style--titles .s-css-s--idx,
.s-css-s-style--themes-numbers .s-css-s--title,
.s-css-s-style--numbers .s-css-s--title,
.s-css-s-style--titles #s-css-s--menu-title,
.s-css-s-style--numbers #s-css-s--menu-title,
.s-css-s-style--default .s-css-s--wrapper,
.s-css-s-style--themes-numbers .s-css-s--wrapper,
.s-css-s-style--themes-all .s-css-s--wrapper {
display: none;
}
.s-css-s-style--themes-all .s-css-s--idx:after {
content: '.';
margin-right: .2em;
}
#s-css-s--menu-title:hover,
.s-css-s--button:hover{
cursor: pointer;
}
.s-css-s-style--default .s-css-s--menu-visible,
.s-css-s-style--themes-numbers .s-css-s--menu-visible,
.s-css-s-style--themes-all .s-css-s--menu-visible {
display: block;
}