1 |
|
2 |
|
3 | ::-moz-focus-inner {
|
4 | border: 0;
|
5 | padding: 0;
|
6 | }
|
7 |
|
8 | fieldset {
|
9 | position: relative;
|
10 | }
|
11 | label {
|
12 | cursor: pointer;
|
13 | line-height: 32px;
|
14 | text-overflow: ellipsis;
|
15 | white-space: nowrap;
|
16 | }
|
17 | input, select, textarea {
|
18 | width: 100%;
|
19 | }
|
20 |
|
21 | .btn, button,
|
22 | input,
|
23 | select,
|
24 | textarea {
|
25 | font: inherit;
|
26 | line-height: 30px;
|
27 | display: block;
|
28 | border-radius: 5px;
|
29 | border: 1px solid;
|
30 | padding: 0 8px;
|
31 | margin: 0;
|
32 | }
|
33 | select {
|
34 | padding: 0 4px;
|
35 | }
|
36 | select[multiple] {
|
37 | height: auto;
|
38 | padding: 4px 0;
|
39 | }
|
40 | option {
|
41 | padding: 2px 8px;
|
42 | }
|
43 | textarea {
|
44 | height: 64px;
|
45 | padding: 8px;
|
46 | line-height: 1.2;
|
47 | }
|
48 | .btn,
|
49 | button,
|
50 | input[type=button],
|
51 | input[type=submit] {
|
52 | -webkit-appearance: none;
|
53 | -moz-appearance: none;
|
54 | appearance: none;
|
55 | position: relative;
|
56 | padding: 0px 14px;
|
57 | text-align: center;
|
58 | text-decoration: none;
|
59 | cursor: pointer;
|
60 | }
|
61 | input[type=radio],
|
62 | input[type=checkbox] {
|
63 | border-radius: 10px;
|
64 | width: auto;
|
65 | height: auto;
|
66 | display: inline;
|
67 | margin-top: 6px;
|
68 | }
|
69 | input[type=file] {
|
70 | cursor: pointer;
|
71 | padding: 0;
|
72 | }
|
73 | ::file-selector-button {
|
74 | font: inherit;
|
75 | border: 0;
|
76 | border-right: 1px solid;
|
77 | padding: 0 8px;
|
78 | margin: 0 8px 0 0;
|
79 | background: transparent;
|
80 | }
|
81 | input[type=time] {
|
82 | padding: 0 0 0 8px;
|
83 | }
|
84 | .btn:disabled,
|
85 | input:disabled,
|
86 | option:disabled,
|
87 | textarea:disabled,
|
88 | select:disabled {
|
89 | opacity: .6;
|
90 | font-style: italic;
|
91 | box-shadow: none;
|
92 | cursor: not-allowed;
|
93 | }
|
94 | input[readonly] {
|
95 | opacity: .6;
|
96 | font-style: italic;
|
97 | }
|
98 |
|
99 | input.Toggle {
|
100 | -webkit-appearance: none;
|
101 | -moz-appearance: none;
|
102 | appearance: none;
|
103 | position: relative;
|
104 | padding: 0;
|
105 | outline: 0;
|
106 | width: 36px;
|
107 | height: 14px;
|
108 | margin: 4px 0;
|
109 | border-radius: 7px;
|
110 | }
|
111 | input.Toggle:after {
|
112 | position: relative;
|
113 | width: 20px;
|
114 | height: 20px;
|
115 | border-radius: 10px;
|
116 | }
|
117 | input.Toggle:after {
|
118 | content: "";
|
119 | display: block;
|
120 | background-color: #666;
|
121 | left: -3px;
|
122 | top: -4px;
|
123 | transition: all .25s cubic-bezier(0, 0, .2, 1) 0s;
|
124 | box-shadow:
|
125 | 2px 2px 8px rgba(255, 255, 255, .3) inset,
|
126 | 0 1px 5px rgba(0, 0, 0, 1);
|
127 | }
|
128 | input.Toggle:focus:after {
|
129 | box-shadow:
|
130 | 2px 2px 8px rgba(255, 255, 255, .3) inset,
|
131 | 0 1px 5px rgba(0, 0, 0, 1),
|
132 | 0 0 0 12px rgb(255, 255, 255, .2);
|
133 | }
|
134 | input.Toggle:checked:after {
|
135 | background-color: #00a651;
|
136 | left: 17px;
|
137 | }
|
138 | input.Toggle:active:after {
|
139 | width: 30px;
|
140 | }
|
141 | input.Toggle:checked:active:after {
|
142 | left: 7px;
|
143 | }
|
144 |
|
145 |
|
146 |
|
147 |
|
148 |
|
149 |
|
150 |
|
151 | .group {
|
152 | padding: 0 1px;
|
153 | }
|
154 | .group > .btn {
|
155 | display: inline-block;
|
156 | border-radius: 0;
|
157 | margin: 0 -1px;
|
158 | }
|
159 | .group > .btn:first-child {
|
160 | border-top-left-radius: 5px;
|
161 | border-bottom-left-radius: 5px;
|
162 | }
|
163 | .group > .btn:last-child {
|
164 | border-top-right-radius: 5px;
|
165 | border-bottom-right-radius: 5px;
|
166 | }
|
167 |
|
168 |
|
169 |
|
170 |
|
171 | :focus {
|
172 | outline: 0;
|
173 | box-shadow: 0 0 6px -1px inset, 0 0 6px 1px;
|
174 | }
|
175 | :focus:not(:focus-visible) {
|
176 | box-shadow: 0;
|
177 | }
|
178 |
|
179 | .btn:active,
|
180 | button:active,
|
181 | select:active,
|
182 | textarea:active,
|
183 | input:active {
|
184 | box-shadow: 0 0 8px 1px inset, 0 0 8px 2px;
|
185 | }
|
186 | input, textarea, select {
|
187 | background: #eee;
|
188 | }
|
189 | .btn,
|
190 | button,
|
191 | option:checked,
|
192 | input[type=button],
|
193 | input[type=submit] {
|
194 | background: #aaa;
|
195 | }
|
196 | ::file-selector-button {
|
197 | box-shadow: 0 0 26px -5px inset;
|
198 | }
|
199 | :focus::file-selector-button {
|
200 | }
|
201 |
|
202 | input.Toggle:after {
|
203 | background-color: #666;
|
204 | box-shadow:
|
205 | 2px 2px 8px rgba(255, 255, 255, .3) inset,
|
206 | 0 1px 5px rgba(0, 0, 0, 1);
|
207 | }
|
208 | input.Toggle:focus:after {
|
209 | box-shadow:
|
210 | 2px 2px 8px rgba(255, 255, 255, .3) inset,
|
211 | 0 1px 5px rgba(0, 0, 0, 1),
|
212 | 0 0 0 12px rgb(0, 0, 0, .2);
|
213 | }
|
214 | input.Toggle:checked:after {
|
215 | background-color: #00a651;
|
216 | }
|
217 |
|
218 |
|
219 |
|