/
feature-ui.css
134 lines (115 loc) · 2.1 KB
/
feature-ui.css
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#feature-ui {
position: fixed;
right: 0;
bottom: 0;
z-index: 16777271;
padding: 20px;
margin: 20px;
font-family: Helvetica, Arial, sans-serif;
font-size: 14px;
background: white;
border: 1px solid #aaa;
border-right-color: #999;
border-bottom-color: #555;
border-left-color: #999;
box-shadow: 0 2px 9px rgba(0,0,0, .5);
transition: .15s linear box-shadow border-color padding background;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#feature-ui.minimized {
background: transparent;
border-color: transparent;
box-shadow: 0 0 0 transparent;
}
#feature-ui .reset {
margin-right: 50px;
transition: .15s linear all;
}
#feature-ui.minimized .reset {
margin-right: 0;
}
#feature-ui ul {
display: block;
max-height: 2000px;
padding-left: 0;
margin-top: 10px;
margin-bottom: 0;
opacity: 1;
transition: .15s linear all;
}
#feature-ui.minimized ul {
max-height: 0;
margin-top: 0;
opacity: 0;
}
#feature-ui li {
list-style: none;
}
#feature-ui label {
display: block;
float: left;
width: 100%;
max-height: 30px;
clear: both;
transition: .15s linear all;
}
#feature-ui.minimized label {
max-height: 0;
}
#feature-ui span {
display: block;
float: left;
}
#feature-ui input,
#feature-ui select {
float: right;
}
#feature-ui input:checked ~ span {
color: black
}
#feature-ui input ~ span {
color: #ccc
}
#feature-ui a {
display: inline-block;
padding: 5px 10px;
font-weight: 100;
color: white;
text-decoration: none;
box-sizing: border-box;
transition: .15s linear all;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#feature-ui.minimized a {
background: #ccc;
}
#feature-ui .action {
float: right;
width: 28px;
margin-left: 4px;
clear: none;
text-align: right;
}
#feature-ui a,
#feature-ui a:visited,
#feature-ui a:active {
color: white;
background: #254d73;
}
#feature-ui a:hover {
color: white;
background: #19334c;
}
#feature-ui a + a {
float: left;
}
#feature-ui a + a {
float: right;
clear: both;
}