compass-vikingR-template 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +97 -0
- data/lib/compass-vikingR-template.rb +60 -0
- data/lib/config.rb +8 -0
- data/templates/project/css/dev.css +3 -0
- data/templates/project/files/compass_watch.bat +1 -0
- data/templates/project/files/readme.txt +31 -0
- data/templates/project/files/screenshot.jpg +0 -0
- data/templates/project/ie-old/favicon.ico +0 -0
- data/templates/project/ie-old/images/as.jpg +0 -0
- data/templates/project/ie-old/images/bg_span_wol.gif +0 -0
- data/templates/project/ie-old/images/f.jpg +0 -0
- data/templates/project/ie-old/images/gc.jpg +0 -0
- data/templates/project/ie-old/images/h.jpg +0 -0
- data/templates/project/ie-old/images/ie.jpg +0 -0
- data/templates/project/ie-old/images/mf.jpg +0 -0
- data/templates/project/ie-old/images/op.jpg +0 -0
- data/templates/project/ie-old/images/td1.jpg +0 -0
- data/templates/project/ie-old/images/td2.jpg +0 -0
- data/templates/project/ie-old/images/td3.jpg +0 -0
- data/templates/project/ie-old/index.html +175 -0
- data/templates/project/images/favicon.png +0 -0
- data/templates/project/images/loading.gif +0 -0
- data/templates/project/images/noimg.jpg +0 -0
- data/templates/project/index.html +29 -0
- data/templates/project/index.php +79 -0
- data/templates/project/js/example.js +3 -0
- data/templates/project/js/head.min.js +9 -0
- data/templates/project/js/init.js +49 -0
- data/templates/project/js/ph.js +33 -0
- data/templates/project/js/ph.min.js +2 -0
- data/templates/project/js/rform.js +228 -0
- data/templates/project/js/scripts.js +3 -0
- data/templates/project/manifest.rb +78 -0
- data/templates/project/sass/_all.scss +1 -0
- data/templates/project/sass/_browsers.scss +49 -0
- data/templates/project/sass/_buttons.scss +54 -0
- data/templates/project/sass/_content.scss +7 -0
- data/templates/project/sass/_default.scss +252 -0
- data/templates/project/sass/_footer.scss +5 -0
- data/templates/project/sass/_formstyle.scss +130 -0
- data/templates/project/sass/_global.scss +38 -0
- data/templates/project/sass/_header.scss +5 -0
- data/templates/project/sass/_icons.scss +40 -0
- data/templates/project/sass/_layout.scss +3 -0
- data/templates/project/sass/_mixins.scss +318 -0
- data/templates/project/sass/_reset.scss +455 -0
- data/templates/project/sass/_responsive.scss +25 -0
- data/templates/project/sass/_rforms.scss +213 -0
- data/templates/project/sass/_typography.scss +105 -0
- data/templates/project/sass/_variables.scss +69 -0
- data/templates/project/sass/index.scss +35 -0
- metadata +95 -0
@@ -0,0 +1,455 @@
|
|
1
|
+
/* ---------->>> XHTML, HTML4, HTML5 Reset <<<-----------*/
|
2
|
+
|
3
|
+
a,
|
4
|
+
abbr,
|
5
|
+
acronym,
|
6
|
+
address,
|
7
|
+
applet,
|
8
|
+
article,
|
9
|
+
aside,
|
10
|
+
audio,
|
11
|
+
b,
|
12
|
+
big,
|
13
|
+
blockquote,
|
14
|
+
body,
|
15
|
+
canvas,
|
16
|
+
caption,
|
17
|
+
center,
|
18
|
+
cite,
|
19
|
+
code,
|
20
|
+
dd,
|
21
|
+
del,
|
22
|
+
details,
|
23
|
+
dfn,
|
24
|
+
dialog,
|
25
|
+
div,
|
26
|
+
dl,
|
27
|
+
dt,
|
28
|
+
em,
|
29
|
+
embed,
|
30
|
+
fieldset,
|
31
|
+
figcaption,
|
32
|
+
figure,
|
33
|
+
font,
|
34
|
+
footer,
|
35
|
+
form,
|
36
|
+
h1,
|
37
|
+
h2,
|
38
|
+
h3,
|
39
|
+
h4,
|
40
|
+
h5,
|
41
|
+
h6,
|
42
|
+
header,
|
43
|
+
hgroup,
|
44
|
+
hr,
|
45
|
+
html,
|
46
|
+
i,
|
47
|
+
iframe,
|
48
|
+
img,
|
49
|
+
ins,
|
50
|
+
kbd,
|
51
|
+
label,
|
52
|
+
legend,
|
53
|
+
li,
|
54
|
+
mark,
|
55
|
+
menu,
|
56
|
+
meter,
|
57
|
+
nav,
|
58
|
+
object,
|
59
|
+
ol,
|
60
|
+
output,
|
61
|
+
p,
|
62
|
+
pre,
|
63
|
+
progress,
|
64
|
+
q,
|
65
|
+
rp,
|
66
|
+
rt,
|
67
|
+
ruby,
|
68
|
+
s,
|
69
|
+
samp,
|
70
|
+
section,
|
71
|
+
small,
|
72
|
+
span,
|
73
|
+
strike,
|
74
|
+
strong,
|
75
|
+
sub,
|
76
|
+
summary,
|
77
|
+
sup,
|
78
|
+
table,
|
79
|
+
tbody,
|
80
|
+
td,
|
81
|
+
tfoot,
|
82
|
+
th,
|
83
|
+
thead,
|
84
|
+
time,
|
85
|
+
tr,
|
86
|
+
tt,
|
87
|
+
u,
|
88
|
+
ul,
|
89
|
+
var,
|
90
|
+
video,
|
91
|
+
xmp{
|
92
|
+
background: transparent;
|
93
|
+
@include reset-box-model;
|
94
|
+
vertical-align: baseline;
|
95
|
+
}
|
96
|
+
|
97
|
+
html,
|
98
|
+
body,
|
99
|
+
.container-wrap{
|
100
|
+
height: 100%;
|
101
|
+
}
|
102
|
+
|
103
|
+
/* Correct `block` display not defined in IE 8/9. */
|
104
|
+
|
105
|
+
@include reset-html5;
|
106
|
+
|
107
|
+
/*
|
108
|
+
1. Correct `inline-block` display not defined in IE 8/9.
|
109
|
+
2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
110
|
+
*/
|
111
|
+
|
112
|
+
audio,
|
113
|
+
canvas,
|
114
|
+
video{
|
115
|
+
display: inline-block; /* 1 */
|
116
|
+
vertical-align: baseline; /* 2 */
|
117
|
+
}
|
118
|
+
|
119
|
+
/*
|
120
|
+
Remove excess height in iOS 5 devices.
|
121
|
+
*/
|
122
|
+
|
123
|
+
audio:not([controls]){
|
124
|
+
height: 0;
|
125
|
+
}
|
126
|
+
|
127
|
+
/*
|
128
|
+
Prevent modern browsers from displaying `audio` without controls.
|
129
|
+
Address `[hidden]` styling not present in IE 8/9.
|
130
|
+
Hide the `template` element in IE, Safari, and Firefox < 22.
|
131
|
+
*/
|
132
|
+
|
133
|
+
audio:not([controls]),
|
134
|
+
[hidden],
|
135
|
+
template{
|
136
|
+
display: none;
|
137
|
+
}
|
138
|
+
|
139
|
+
/*
|
140
|
+
Addresses `font-family` inconsistency between `textarea` and other form elements.
|
141
|
+
*/
|
142
|
+
|
143
|
+
html,
|
144
|
+
button,
|
145
|
+
input,
|
146
|
+
select,
|
147
|
+
textarea {
|
148
|
+
font-family: sans-serif;
|
149
|
+
}
|
150
|
+
|
151
|
+
/* 1. Prevent iOS text size adjust after orientation change, without disabling user zoom. */
|
152
|
+
|
153
|
+
html{
|
154
|
+
font-size: 100.01%;
|
155
|
+
overflow-y: scroll;
|
156
|
+
-ms-text-size-adjust: 100%; /* 1 */
|
157
|
+
-webkit-text-size-adjust: 100%; /* 1 */
|
158
|
+
}
|
159
|
+
|
160
|
+
body{
|
161
|
+
color: #181818;
|
162
|
+
background: white;
|
163
|
+
-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
|
164
|
+
}
|
165
|
+
|
166
|
+
pre,
|
167
|
+
code,
|
168
|
+
kbd,
|
169
|
+
samp,
|
170
|
+
q{
|
171
|
+
@include hyphens(none);
|
172
|
+
}
|
173
|
+
|
174
|
+
pre,
|
175
|
+
code,
|
176
|
+
kbd,
|
177
|
+
samp{
|
178
|
+
font:{
|
179
|
+
family: monospace, serif;
|
180
|
+
size: 100%;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
pre{
|
185
|
+
overflow: auto;
|
186
|
+
white-space: pre-wrap;
|
187
|
+
word-wrap: break-word;
|
188
|
+
}
|
189
|
+
|
190
|
+
q,
|
191
|
+
blockquote{
|
192
|
+
@include reset-quotation;
|
193
|
+
}
|
194
|
+
|
195
|
+
sub,
|
196
|
+
sup {
|
197
|
+
font-size: smaller;
|
198
|
+
}
|
199
|
+
|
200
|
+
sup {
|
201
|
+
vertical-align: super;
|
202
|
+
}
|
203
|
+
|
204
|
+
sub {
|
205
|
+
vertical-align: sub;
|
206
|
+
}
|
207
|
+
|
208
|
+
b,
|
209
|
+
strong {
|
210
|
+
font-weight: bold;
|
211
|
+
}
|
212
|
+
|
213
|
+
em,
|
214
|
+
i,
|
215
|
+
dfn{
|
216
|
+
font-style: italic;
|
217
|
+
}
|
218
|
+
|
219
|
+
u{
|
220
|
+
text-decoration: underline;
|
221
|
+
}
|
222
|
+
|
223
|
+
small{
|
224
|
+
font-size: 80%;
|
225
|
+
}
|
226
|
+
|
227
|
+
mark{
|
228
|
+
background: #ff0;
|
229
|
+
color: #000;
|
230
|
+
}
|
231
|
+
|
232
|
+
/*
|
233
|
+
Remove the gray background color from active links in IE 10.
|
234
|
+
*/
|
235
|
+
|
236
|
+
a{
|
237
|
+
background: transparent;
|
238
|
+
img{
|
239
|
+
@include reset-image-anchor-border;
|
240
|
+
}
|
241
|
+
}
|
242
|
+
|
243
|
+
img {
|
244
|
+
border: 0;
|
245
|
+
color: transparent;
|
246
|
+
font-size: 0;
|
247
|
+
vertical-align: middle;
|
248
|
+
-ms-interpolation-mode: bicubic;
|
249
|
+
}
|
250
|
+
|
251
|
+
ul,
|
252
|
+
ol{
|
253
|
+
@include no-bullets;
|
254
|
+
}
|
255
|
+
|
256
|
+
/* Remove most spacing between table cells. */
|
257
|
+
|
258
|
+
table{
|
259
|
+
@include reset-table;
|
260
|
+
}
|
261
|
+
|
262
|
+
th,
|
263
|
+
td,
|
264
|
+
caption{
|
265
|
+
@include reset-table-cell;
|
266
|
+
}
|
267
|
+
|
268
|
+
h1,
|
269
|
+
h2,
|
270
|
+
h3,
|
271
|
+
h4,
|
272
|
+
h5,
|
273
|
+
h6{
|
274
|
+
font-weight: normal;
|
275
|
+
}
|
276
|
+
|
277
|
+
hr {
|
278
|
+
@include box-sizing(content-box);
|
279
|
+
height: 0;
|
280
|
+
}
|
281
|
+
|
282
|
+
/*Correct overflow displayed oddly in IE 9.*/
|
283
|
+
|
284
|
+
svg:not(:root){
|
285
|
+
overflow: hidden;
|
286
|
+
}
|
287
|
+
|
288
|
+
/*
|
289
|
+
1. Correct color not being inherited.
|
290
|
+
Known issue: affects color of disabled elements.
|
291
|
+
2. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
292
|
+
*/
|
293
|
+
|
294
|
+
button,
|
295
|
+
input,
|
296
|
+
optgroup,
|
297
|
+
select,
|
298
|
+
textarea{
|
299
|
+
color: inherit; /* 1 */
|
300
|
+
margin: 0; /* 2 */
|
301
|
+
}
|
302
|
+
|
303
|
+
/**
|
304
|
+
1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
|
305
|
+
2. Improve usability and consistency of cursor style between image-type `input` and others.
|
306
|
+
*/
|
307
|
+
|
308
|
+
a[href],
|
309
|
+
input[type="submit"],
|
310
|
+
html input[type="button"], /* 1 */
|
311
|
+
input[type="image"],
|
312
|
+
input[type="reset"],
|
313
|
+
label[for],
|
314
|
+
select,
|
315
|
+
button,
|
316
|
+
.btn,
|
317
|
+
.button{
|
318
|
+
cursor: pointer; /* 2 */
|
319
|
+
}
|
320
|
+
|
321
|
+
/*Address `overflow` set to `hidden` in IE 8/9/10*/
|
322
|
+
|
323
|
+
button{
|
324
|
+
overflow: visible;
|
325
|
+
}
|
326
|
+
|
327
|
+
/*
|
328
|
+
Address inconsistent `text-transform` inheritance for `button` and `select`.
|
329
|
+
All other form control elements do not inherit `text-transform` values.
|
330
|
+
Correct `button` style inheritance in Firefox, IE 8+, and Opera
|
331
|
+
Correct `select` style inheritance in Firefox.
|
332
|
+
*/
|
333
|
+
|
334
|
+
button,
|
335
|
+
select{
|
336
|
+
text-transform: none;
|
337
|
+
}
|
338
|
+
|
339
|
+
a{
|
340
|
+
&:active,
|
341
|
+
&:hover{
|
342
|
+
outline: none;
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
input,
|
347
|
+
textarea{
|
348
|
+
-webkit-user-modify: read-write-plaintext-only;
|
349
|
+
-webkit-tap-highlight-color: rgba(255,255,255,0);
|
350
|
+
}
|
351
|
+
input,
|
352
|
+
textarea,
|
353
|
+
select,
|
354
|
+
button{
|
355
|
+
&,
|
356
|
+
&:hover,
|
357
|
+
&:focus{
|
358
|
+
outline: none;
|
359
|
+
}
|
360
|
+
}
|
361
|
+
/*
|
362
|
+
Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet.
|
363
|
+
It's recommended that you don't attempt to style these elements.
|
364
|
+
Firefox's implementation doesn't respect box-sizing, padding, or width.
|
365
|
+
|
366
|
+
1. Address box sizing set to `content-box` in IE 8/9/10.
|
367
|
+
2. Remove excess padding in IE 8/9/10.
|
368
|
+
3. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
369
|
+
4. Address `box-sizing` set to `border-box` in Safari 5 and Chrome (include `-moz` to future-proof).
|
370
|
+
|
371
|
+
Fix the cursor style for Chrome's increment/decrement buttons. For certain `font-size` values of the `input`, it causes the cursor style of the decrement button to change from `default` to `text`.
|
372
|
+
Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
373
|
+
Safari (but not Chrome) clips the cancel button when the search input has padding (and `textfield` appearance).
|
374
|
+
*/
|
375
|
+
|
376
|
+
input{
|
377
|
+
line-height: normal;
|
378
|
+
&[type="checkbox"],
|
379
|
+
&[type="radio"] {
|
380
|
+
box-sizing: border-box; /* 1 */
|
381
|
+
padding: 0; /* 2 */
|
382
|
+
}
|
383
|
+
&[type="checkbox"] {
|
384
|
+
vertical-align: bottom;
|
385
|
+
}
|
386
|
+
&[type="radio"] {
|
387
|
+
vertical-align: text-bottom;
|
388
|
+
}
|
389
|
+
&[type="number"]::-webkit-inner-spin-button,
|
390
|
+
&[type="number"]::-webkit-outer-spin-button {
|
391
|
+
height: auto;
|
392
|
+
-webkit-user-modify: read-write;
|
393
|
+
}
|
394
|
+
&[type="search"]{
|
395
|
+
-webkit-appearance: textfield; /* 3 */
|
396
|
+
&::-webkit-search-cancel-button,
|
397
|
+
&::-webkit-search-decoration {
|
398
|
+
-webkit-appearance: none;
|
399
|
+
}
|
400
|
+
}
|
401
|
+
}
|
402
|
+
|
403
|
+
/*
|
404
|
+
Re-set default cursor for disabled elements.
|
405
|
+
*/
|
406
|
+
|
407
|
+
button[disabled],
|
408
|
+
input[disabled],
|
409
|
+
textarea,
|
410
|
+
select{
|
411
|
+
cursor: default;
|
412
|
+
}
|
413
|
+
|
414
|
+
/*
|
415
|
+
Remove inner padding and border in Firefox 4+.
|
416
|
+
*/
|
417
|
+
|
418
|
+
button::-moz-focus-inner,
|
419
|
+
input::-moz-focus-inner {
|
420
|
+
@include reset-box-model;
|
421
|
+
}
|
422
|
+
|
423
|
+
acronym,
|
424
|
+
abbr,
|
425
|
+
span.caps {
|
426
|
+
cursor: help;
|
427
|
+
}
|
428
|
+
|
429
|
+
acronym,
|
430
|
+
abbr {
|
431
|
+
border-bottom: 1px dashed #999;
|
432
|
+
}
|
433
|
+
|
434
|
+
textarea{
|
435
|
+
overflow: auto;
|
436
|
+
resize: none;
|
437
|
+
vertical-align: top;
|
438
|
+
@include box-sizing(border-box);
|
439
|
+
}
|
440
|
+
|
441
|
+
/*
|
442
|
+
Don't inherit the `font-weight` (applied by a rule above).
|
443
|
+
NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
444
|
+
*/
|
445
|
+
|
446
|
+
optgroup {
|
447
|
+
font-weight: bold;
|
448
|
+
}
|
449
|
+
|
450
|
+
input[type="submit"],
|
451
|
+
html input[type="button"],
|
452
|
+
input[type="reset"],
|
453
|
+
button{
|
454
|
+
@include appearance(button);
|
455
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
// Media Queries
|
2
|
+
|
3
|
+
// /* Large Desktops */
|
4
|
+
// @media only screen and (min-width: $HD) {}
|
5
|
+
|
6
|
+
// /* Only desktops & tablets landscape */
|
7
|
+
// @media only screen and (min-width: $XGALandscape + 1) and (max-width: $HD) {}
|
8
|
+
|
9
|
+
// /* > 1024px */
|
10
|
+
// @media only screen and (max-width: $XGALandscape) {}
|
11
|
+
|
12
|
+
// /* Only tablets portrait */
|
13
|
+
// @media only screen and (min-width: $XGAPortrait + 1) and (max-width: $XGALandscape) {}
|
14
|
+
|
15
|
+
// /* > 768px */
|
16
|
+
// @media only screen and (max-width: $XGAPortrait) {}
|
17
|
+
|
18
|
+
// /* Phones landscape */
|
19
|
+
// @media only screen and (min-width: $QVGA + 1) and (max-width: $XGAPortrait) {}
|
20
|
+
|
21
|
+
// /* > 640px */
|
22
|
+
// @media only screen and (max-width: $VGA) {}
|
23
|
+
|
24
|
+
// /* Small phones */
|
25
|
+
// @media only screen and (max-width: $QVGA) {}
|
@@ -0,0 +1,213 @@
|
|
1
|
+
// rForms
|
2
|
+
|
3
|
+
// Select JS
|
4
|
+
$slctArrowWidth: 5px;
|
5
|
+
$slctArrowHeight: 10px;
|
6
|
+
$slctArrowColor: #bdc3c7;
|
7
|
+
$slctArrowPosRight: 10px;
|
8
|
+
$slctArrowContainer: $fieldHelperContainer;
|
9
|
+
|
10
|
+
$maxHeightPoint: 7;
|
11
|
+
$slctdropBg: #FFF;
|
12
|
+
$slctdropItemColor: #444;
|
13
|
+
$slctdropItemBgHover: $fieldHasValueBg;
|
14
|
+
|
15
|
+
// Radio Buttons
|
16
|
+
$radioIconVal: radio;
|
17
|
+
$radioDefaultIcon: #{$radioIconVal}_inactive;
|
18
|
+
$radioActiveIcon: #{$radioIconVal}_active;
|
19
|
+
// $radioDisabledIcon: #{$radioIconVal}_inactive_disabled;
|
20
|
+
// $radioActiveDisabledIcon: #{$radioIconVal}_active_disabled;
|
21
|
+
$radioPadding: 30px;
|
22
|
+
$radioMargin: 0 10px;
|
23
|
+
|
24
|
+
// Checkboxes
|
25
|
+
$checkIconVal: check;
|
26
|
+
$checkDefaultIcon: #{$checkIconVal}_inactive;
|
27
|
+
$checkActiveIcon: #{$checkIconVal}_active;
|
28
|
+
// $checkDisabledIcon: #{$checkIconVal}_inactive_disabled;
|
29
|
+
// $checkActiveDisabledIcon: #{$checkIconVal}_active_disabled;
|
30
|
+
$checkPadding: $radioPadding;
|
31
|
+
|
32
|
+
// Files
|
33
|
+
$fileloadFieldWidth: 73%;
|
34
|
+
$fileloadBtnWidth: 25%;
|
35
|
+
|
36
|
+
|
37
|
+
// Select JS
|
38
|
+
|
39
|
+
.select-box{
|
40
|
+
.field-hidden{
|
41
|
+
opacity: 0;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.field-slct{
|
46
|
+
@extend .cur-pointer;
|
47
|
+
|
48
|
+
padding-right: $slctArrowContainer;
|
49
|
+
|
50
|
+
color: $fieldDefaultPlaceholderColor;
|
51
|
+
|
52
|
+
&:after{
|
53
|
+
@include arrow("top", $slctArrowWidth, $slctArrowHeight, $slctArrowColor, true, false){
|
54
|
+
right: $slctArrowPosRight;
|
55
|
+
top: 50%;
|
56
|
+
margin-top: -($slctArrowHeight/2);
|
57
|
+
};
|
58
|
+
}
|
59
|
+
|
60
|
+
// Action
|
61
|
+
.has-value &{
|
62
|
+
&:after{
|
63
|
+
border-top-color: $fieldHasValueBorder;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
.has-active &{
|
67
|
+
&:after{
|
68
|
+
@include arrowBorder("bottom", $slctArrowHeight, $fieldHasActiveBorder);
|
69
|
+
}
|
70
|
+
}
|
71
|
+
.has-error &{
|
72
|
+
&:after{
|
73
|
+
border-top-color: $fieldHasErrorColor;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
.has-error.has-active &{
|
77
|
+
&:after{
|
78
|
+
border-bottom-color: $fieldHasErrorColor;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
.has-success &{
|
82
|
+
&:after{
|
83
|
+
border-top-color: $fieldHasSuccessColor;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
.has-success.has-active &{
|
87
|
+
&:after{
|
88
|
+
border-bottom-color: $fieldHasSuccessColor;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
.has-disabled &{
|
92
|
+
&:after{
|
93
|
+
border-top-color: $fieldHasDisabledColor;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
.slctdrop{
|
98
|
+
@include pos(absolute, 100%, false, false, 0, 100);
|
99
|
+
|
100
|
+
@extend .hide;
|
101
|
+
overflow: hidden;
|
102
|
+
|
103
|
+
@include box-sizing(border-box);
|
104
|
+
@extend .full;
|
105
|
+
|
106
|
+
background-color: $slctdropBg;
|
107
|
+
border: $fieldDefaultBorder;
|
108
|
+
border-radius: $fieldDefaultBorderRadius;
|
109
|
+
|
110
|
+
font: $fieldDefaultFontSize $fieldDefaultFontFamily;
|
111
|
+
}
|
112
|
+
.slctdrop-list{
|
113
|
+
max-height: $fieldDefaultHeight*$maxHeightPoint;
|
114
|
+
}
|
115
|
+
.slctdrop-item{
|
116
|
+
@extend .cur-pointer;
|
117
|
+
@extend .block;
|
118
|
+
|
119
|
+
padding: 0 $fieldDefaultPaddingSide;
|
120
|
+
|
121
|
+
color: $slctdropItemColor;
|
122
|
+
line-height: $fieldDefaultHeight;
|
123
|
+
|
124
|
+
&:hover{
|
125
|
+
background-color: $slctdropItemBgHover;
|
126
|
+
}
|
127
|
+
|
128
|
+
&:first-child{
|
129
|
+
border-radius: $fieldDefaultBorderRadius $fieldDefaultBorderRadius 0 0;
|
130
|
+
}
|
131
|
+
|
132
|
+
&:last-child{
|
133
|
+
border-radius: 0 0 $fieldDefaultBorderRadius $fieldDefaultBorderRadius;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
|
137
|
+
.check-box,
|
138
|
+
.radio-box{
|
139
|
+
&.has-disabled{
|
140
|
+
opacity: .5;
|
141
|
+
@extend .no-select;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
// Radio Buttons
|
146
|
+
|
147
|
+
.radio-box{
|
148
|
+
line-height: $fieldDefaultHeight;
|
149
|
+
|
150
|
+
@extend .no-select;
|
151
|
+
&.has-disabled{
|
152
|
+
.radio{
|
153
|
+
@extend .cur-default;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
.radio{
|
158
|
+
@extend .cur-pointer;
|
159
|
+
|
160
|
+
padding-left: $radioPadding;
|
161
|
+
margin: $radioMargin;
|
162
|
+
|
163
|
+
&:before{
|
164
|
+
@include icons($radioDefaultIcon);
|
165
|
+
@include centerHeightIcons($radioDefaultIcon);
|
166
|
+
}
|
167
|
+
|
168
|
+
&.has-active:before{
|
169
|
+
@include icons-sprite($radioActiveIcon);
|
170
|
+
}
|
171
|
+
}
|
172
|
+
.radio-text{}
|
173
|
+
|
174
|
+
// Checkboxes
|
175
|
+
|
176
|
+
.check-box{
|
177
|
+
@extend .cur-pointer;
|
178
|
+
|
179
|
+
padding-left: $checkPadding;
|
180
|
+
|
181
|
+
line-height: $fieldDefaultHeight;
|
182
|
+
|
183
|
+
@extend .no-select;
|
184
|
+
|
185
|
+
&:before{
|
186
|
+
@include icons($checkDefaultIcon);
|
187
|
+
@include centerHeightIcons($checkDefaultIcon);
|
188
|
+
}
|
189
|
+
|
190
|
+
&.has-active:before{
|
191
|
+
@include icons-sprite($checkActiveIcon);
|
192
|
+
}
|
193
|
+
&.has-disabled{
|
194
|
+
@extend .cur-default;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
.check-text{}
|
198
|
+
|
199
|
+
// Files
|
200
|
+
|
201
|
+
.fileload-box{
|
202
|
+
@extend .relative;
|
203
|
+
@extend .no-select;
|
204
|
+
|
205
|
+
width: $fieldDefaultWidth;
|
206
|
+
}
|
207
|
+
.fileload-field{
|
208
|
+
line-height: $fieldDefaultHeight;
|
209
|
+
width: $fileloadFieldWidth;
|
210
|
+
}
|
211
|
+
.fileload-btn{
|
212
|
+
width: $fileloadBtnWidth;
|
213
|
+
}
|