active_frontend 10.3.0 → 11.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/fonts/gotham/{gotham-bold.eot → regular/gotham-bold.eot} +0 -0
- data/app/assets/fonts/gotham/{gotham-bold.svg → regular/gotham-bold.svg} +0 -0
- data/app/assets/fonts/gotham/{gotham-bold.ttf → regular/gotham-bold.ttf} +0 -0
- data/app/assets/fonts/gotham/{gotham-bold.woff → regular/gotham-bold.woff} +0 -0
- data/app/assets/fonts/gotham/{gotham-book.eot → regular/gotham-book.eot} +0 -0
- data/app/assets/fonts/gotham/{gotham-book.svg → regular/gotham-book.svg} +0 -0
- data/app/assets/fonts/gotham/{gotham-book.ttf → regular/gotham-book.ttf} +0 -0
- data/app/assets/fonts/gotham/{gotham-book.woff → regular/gotham-book.woff} +0 -0
- data/app/assets/fonts/gotham/{gotham-light.eot → regular/gotham-light.eot} +0 -0
- data/app/assets/fonts/gotham/{gotham-light.svg → regular/gotham-light.svg} +0 -0
- data/app/assets/fonts/gotham/{gotham-light.ttf → regular/gotham-light.ttf} +0 -0
- data/app/assets/fonts/gotham/{gotham-light.woff → regular/gotham-light.woff} +0 -0
- data/app/assets/fonts/gotham/{gotham-medium.eot → regular/gotham-medium.eot} +0 -0
- data/app/assets/fonts/gotham/{gotham-medium.svg → regular/gotham-medium.svg} +0 -0
- data/app/assets/fonts/gotham/{gotham-medium.ttf → regular/gotham-medium.ttf} +0 -0
- data/app/assets/fonts/gotham/{gotham-medium.woff → regular/gotham-medium.woff} +0 -0
- data/app/assets/fonts/gotham/round/gothamrnd-bold.eot +0 -0
- data/app/assets/fonts/gotham/round/gothamrnd-bold.svg +3528 -0
- data/app/assets/fonts/gotham/round/gothamrnd-bold.ttf +0 -0
- data/app/assets/fonts/gotham/round/gothamrnd-bold.woff +0 -0
- data/app/assets/fonts/gotham/round/gothamrnd-book.eot +0 -0
- data/app/assets/fonts/gotham/round/gothamrnd-book.svg +3654 -0
- data/app/assets/fonts/gotham/round/gothamrnd-book.ttf +0 -0
- data/app/assets/fonts/gotham/round/gothamrnd-book.woff +0 -0
- data/app/assets/fonts/gotham/round/gothamrnd-light.eot +0 -0
- data/app/assets/fonts/gotham/round/gothamrnd-light.svg +3503 -0
- data/app/assets/fonts/gotham/round/gothamrnd-light.ttf +0 -0
- data/app/assets/fonts/gotham/round/gothamrnd-light.woff +0 -0
- data/app/assets/fonts/gotham/round/gothamrnd-medium.eot +0 -0
- data/app/assets/fonts/gotham/round/gothamrnd-medium.svg +3659 -0
- data/app/assets/fonts/gotham/round/gothamrnd-medium.ttf +0 -0
- data/app/assets/fonts/gotham/round/gothamrnd-medium.woff +0 -0
- data/lib/active_frontend/version.rb +1 -1
- data/lib/generators/active_frontend/templates/install.scss +7 -3
- data/vendor/assets/javascripts/_animation.js +1 -1
- data/vendor/assets/javascripts/_chart.js +7 -7
- data/vendor/assets/javascripts/_map.js +1 -1
- data/vendor/assets/javascripts/_tooltip.js +1 -1
- data/vendor/assets/stylesheets/_ad.scss +2 -10
- data/vendor/assets/stylesheets/_alert.scss +37 -71
- data/vendor/assets/stylesheets/_animation.scss +481 -1573
- data/vendor/assets/stylesheets/_aside.scss +45 -67
- data/vendor/assets/stylesheets/_breadcrumb.scss +3 -3
- data/vendor/assets/stylesheets/_button.scss +148 -605
- data/vendor/assets/stylesheets/_canvas.scss +61 -49
- data/vendor/assets/stylesheets/_carousel.scss +1 -3
- data/vendor/assets/stylesheets/_code.scss +24 -52
- data/vendor/assets/stylesheets/_collapse.scss +1 -3
- data/vendor/assets/stylesheets/_color.scss +21 -50
- data/vendor/assets/stylesheets/_colorpicker.scss +4 -6
- data/vendor/assets/stylesheets/_datepicker.scss +5 -8
- data/vendor/assets/stylesheets/_dropdown.scss +4 -6
- data/vendor/assets/stylesheets/_footer.scss +30 -65
- data/vendor/assets/stylesheets/_form.scss +201 -102
- data/vendor/assets/stylesheets/_header.scss +51 -58
- data/vendor/assets/stylesheets/_icon.scss +11 -17
- data/vendor/assets/stylesheets/_label_and_badge.scss +36 -43
- data/vendor/assets/stylesheets/_link.scss +1 -3
- data/vendor/assets/stylesheets/_list.scss +54 -20
- data/vendor/assets/stylesheets/_loader.scss +8 -35
- data/vendor/assets/stylesheets/_mixin.scss +90 -0
- data/vendor/assets/stylesheets/_modal.scss +34 -42
- data/vendor/assets/stylesheets/_nav_and_tab.scss +9 -8
- data/vendor/assets/stylesheets/_navbar.scss +18 -11
- data/vendor/assets/stylesheets/_pagination.scss +33 -6
- data/vendor/assets/stylesheets/_panel.scss +3 -4
- data/vendor/assets/stylesheets/_placeholder.scss +9 -3
- data/vendor/assets/stylesheets/_popover.scss +2 -2
- data/vendor/assets/stylesheets/_progress.scss +31 -55
- data/vendor/assets/stylesheets/_reset.scss +13 -14
- data/vendor/assets/stylesheets/_sidebar.scss +12 -23
- data/vendor/assets/stylesheets/_spinner.scss +121 -459
- data/vendor/assets/stylesheets/_swoggle.scss +28 -69
- data/vendor/assets/stylesheets/_table.scss +59 -11
- data/vendor/assets/stylesheets/_timepicker.scss +2 -7
- data/vendor/assets/stylesheets/_toolbar.scss +5 -7
- data/vendor/assets/stylesheets/_tooltip.scss +2 -2
- data/vendor/assets/stylesheets/_transition.scss +1 -3
- data/vendor/assets/stylesheets/_trunk.scss +11 -18
- data/vendor/assets/stylesheets/_typeahead.scss +1 -3
- data/vendor/assets/stylesheets/_typography.scss +110 -85
- data/vendor/assets/stylesheets/active_frontend.scss +7 -3
- metadata +35 -19
- data/vendor/assets/stylesheets/_stripe.scss +0 -30
@@ -14,7 +14,7 @@
|
|
14
14
|
background: $color-light-haze;
|
15
15
|
background-clip: padding-box;
|
16
16
|
border: 2px solid $color-dark-haze;
|
17
|
-
box-shadow: 0 0 3px
|
17
|
+
box-shadow: 0 0 3px $color-dark-haze;
|
18
18
|
box-sizing: border-box;
|
19
19
|
color: $color-black;
|
20
20
|
display: block;
|
@@ -22,7 +22,7 @@
|
|
22
22
|
font-size: 12px;
|
23
23
|
font-weight: bold;
|
24
24
|
letter-spacing: 0;
|
25
|
-
line-height:
|
25
|
+
line-height: 1;
|
26
26
|
list-style: none;
|
27
27
|
margin: 2px 0 0 0;
|
28
28
|
min-width: 180px;
|
@@ -31,9 +31,7 @@
|
|
31
31
|
position: absolute;
|
32
32
|
text-align: left;
|
33
33
|
text-transform: none;
|
34
|
-
|
35
|
-
-ms-transition: all 0.09s ease-in-out;
|
36
|
-
transition: all 0.09s ease-in-out;
|
34
|
+
@include transition(all 0.09s ease-in-out);
|
37
35
|
top: 100%;
|
38
36
|
visibility: hidden;
|
39
37
|
z-index: 1000;
|
@@ -47,7 +45,7 @@
|
|
47
45
|
border-bottom: 1px solid $color-dark-haze;
|
48
46
|
border-top: 1px solid $color-dark-haze;
|
49
47
|
letter-spacing: 1px;
|
50
|
-
padding: 7px 15px
|
48
|
+
padding: 7px 15px;
|
51
49
|
text-transform: uppercase;
|
52
50
|
}
|
53
51
|
.dropdown-menu > .divider {
|
@@ -1,107 +1,72 @@
|
|
1
1
|
/* Table of Contents
|
2
2
|
==================================================
|
3
3
|
# Footer
|
4
|
-
# Styles
|
5
|
-
# Sizes
|
6
4
|
# Colors
|
7
5
|
# Media Queries */
|
8
6
|
|
9
7
|
/* # Footer
|
10
8
|
================================================== */
|
11
|
-
.footer-fixed {
|
12
|
-
bottom: 0;
|
13
|
-
left: 0;
|
14
|
-
position: fixed;
|
15
|
-
right: 0;
|
16
|
-
z-index: 1030;
|
17
|
-
}
|
18
9
|
.footer {
|
19
10
|
background: $color-white;
|
20
11
|
border-top: 1px solid $color-haze;
|
21
12
|
box-sizing: border-box;
|
22
|
-
color: $color-
|
13
|
+
color: $color-black;
|
14
|
+
display: block;
|
15
|
+
height: 30px;
|
23
16
|
margin-top: 40px;
|
24
|
-
padding:
|
17
|
+
padding-top: 3px;
|
25
18
|
width: 100%;
|
26
19
|
}
|
27
|
-
.footer-
|
28
|
-
|
29
|
-
|
20
|
+
.footer-fixed {
|
21
|
+
bottom: 0;
|
22
|
+
left: 0;
|
23
|
+
position: fixed;
|
24
|
+
right: 0;
|
25
|
+
z-index: 1030;
|
26
|
+
}
|
27
|
+
.footer-nav {
|
30
28
|
list-style: none;
|
31
|
-
margin: 0
|
29
|
+
margin: 0;
|
32
30
|
padding: 0;
|
33
31
|
}
|
34
|
-
.footer-nav > li
|
35
|
-
.footer-subnav > li,
|
36
|
-
.footer-navicon > li {
|
32
|
+
.footer-nav > li {
|
37
33
|
float: left;
|
34
|
+
font-size: 9px;
|
35
|
+
font-weight: 500;
|
38
36
|
margin: 0 5px;
|
39
|
-
}
|
40
|
-
.footer-nav > li:first-child,
|
41
|
-
.footer-subnav > li:first-child,
|
42
|
-
.footer-navicon > li:first-child { margin-left: 0; }
|
43
|
-
.footer-nav > li:last-child,
|
44
|
-
.footer-subnav > li:last-child,
|
45
|
-
.footer-navicon > li:last-child { margin-right: 0; }
|
46
|
-
.footer-nav > li,
|
47
|
-
.footer-subnav > li {
|
48
|
-
font-size: 10px;
|
49
|
-
line-height: 10px;
|
50
37
|
text-transform: uppercase;
|
51
38
|
}
|
39
|
+
.footer-nav > li:first-child { margin-left: 0; }
|
40
|
+
.footer-nav > li:last-child { margin-right: 0; }
|
52
41
|
.footer-nav > li,
|
53
|
-
.footer-
|
54
|
-
.footer-
|
55
|
-
.footer-
|
56
|
-
|
57
|
-
|
58
|
-
margin-top: -6px;
|
59
|
-
}
|
60
|
-
.footer-nav > li > a { font-weight: 500; }
|
61
|
-
.footer-nav > li > a,
|
62
|
-
.footer-navicon > li > a { color: $color-dark-gray; }
|
63
|
-
.footer-subnav > li > a { color: $color-light-gray; }
|
64
|
-
|
65
|
-
/* # Styles
|
66
|
-
================================================== */
|
67
|
-
.footer-alt { padding: 60px 0 120px 0; }
|
68
|
-
|
69
|
-
/* # Sizes
|
70
|
-
================================================== */
|
71
|
-
.footer-app { width: calc(100% - 280px); }
|
42
|
+
.footer-nav > li > a { color: $color-black; }
|
43
|
+
.footer-nav > li > a:hover,
|
44
|
+
.footer-nav > li > a.active,
|
45
|
+
.footer-nav > li > a:active,
|
46
|
+
.footer-nav > li > a:focus { color: $color-primary; }
|
72
47
|
|
73
48
|
/* # Colors
|
74
49
|
================================================== */
|
75
50
|
.footer-dark {
|
76
51
|
background: $color-black;
|
77
52
|
border-color: $color-dark-black;
|
53
|
+
color: $color-white;
|
78
54
|
}
|
79
55
|
.footer-light {
|
80
56
|
background: $color-light-haze;
|
81
57
|
border-color: $color-dark-haze;
|
82
58
|
}
|
83
59
|
.footer-dark .footer-nav > li,
|
84
|
-
.footer-dark .footer-
|
85
|
-
.footer-dark .footer-nav > li > a,
|
86
|
-
.footer-dark .footer-
|
87
|
-
.footer-dark .footer-
|
88
|
-
.footer-dark .footer-
|
89
|
-
.footer-light .footer-subnav > li,
|
90
|
-
.footer-light .footer-subnav > li > a { color: $color-gray; }
|
60
|
+
.footer-dark .footer-nav > li > a { color: $color-white; }
|
61
|
+
.footer-dark .footer-nav > li > a:hover,
|
62
|
+
.footer-dark .footer-nav > li > a.active,
|
63
|
+
.footer-dark .footer-nav > li > a:active,
|
64
|
+
.footer-dark .footer-nav > li > a:focus { color: $color-primary; }
|
91
65
|
|
92
66
|
/* # Media Queries
|
93
67
|
================================================== */
|
94
|
-
@media only screen and (max-width: 1365px) {
|
95
|
-
.footer-app { width: calc(100% - 250px); }
|
96
|
-
}
|
97
|
-
@media only screen and (max-width: 1199px) {
|
98
|
-
.footer-app { width: calc(100% - 220px); }
|
99
|
-
}
|
100
|
-
@media only screen and (max-width: 959px) {
|
101
|
-
.footer-app { width: 100%; }
|
102
|
-
}
|
103
68
|
@media only screen and (max-width: 767px) {
|
104
|
-
.footer
|
69
|
+
.footer { display: none; }
|
105
70
|
}
|
106
71
|
@media
|
107
72
|
only screen and (-webkit-min-device-pixel-ratio: 2),
|
@@ -27,6 +27,7 @@ label {
|
|
27
27
|
display: block;
|
28
28
|
font-size: 13px;
|
29
29
|
font-weight: bold;
|
30
|
+
line-height: 1;
|
30
31
|
margin: 5px 0;
|
31
32
|
}
|
32
33
|
textarea,
|
@@ -44,12 +45,8 @@ input[type="email"],
|
|
44
45
|
input[type="url"],
|
45
46
|
input[type="search"],
|
46
47
|
input[type="tel"],
|
47
|
-
input[type="color"]
|
48
|
-
|
49
|
-
.form-select > select {
|
50
|
-
-webkit-appearance: none;
|
51
|
-
-ms-appearance: none;
|
52
|
-
appearance: none;
|
48
|
+
input[type="color"] {
|
49
|
+
@include appearance(none);
|
53
50
|
background: $color-white;
|
54
51
|
border: 1px solid $color-haze;
|
55
52
|
border-radius: 2px;
|
@@ -61,11 +58,10 @@ input[type="color"],
|
|
61
58
|
font-weight: normal;
|
62
59
|
line-height: 1;
|
63
60
|
margin-bottom: 5px;
|
64
|
-
|
61
|
+
outline: none;
|
62
|
+
padding: 11px 0 10px 0;
|
65
63
|
text-indent: 10px;
|
66
|
-
|
67
|
-
-ms-transition: border linear 0.2s;
|
68
|
-
transition: border linear 0.2s;
|
64
|
+
@include transition(all 0.3s ease-in-out);
|
69
65
|
width: 100%;
|
70
66
|
vertical-align: middle;
|
71
67
|
}
|
@@ -90,14 +86,11 @@ input[type="email"]:focus,
|
|
90
86
|
input[type="url"]:focus,
|
91
87
|
input[type="search"]:focus,
|
92
88
|
input[type="tel"]:focus,
|
93
|
-
input[type="color"]:focus
|
94
|
-
.uneditable-input:focus {
|
89
|
+
input[type="color"]:focus {
|
95
90
|
border-color: $color-blue;
|
96
91
|
outline: 0;
|
97
92
|
outline: thin dotted \9;
|
98
|
-
|
99
|
-
-ms-transition: background 150ms linear;
|
100
|
-
transition: background 150ms linear;
|
93
|
+
@include transition(all 150ms ease-in-out);
|
101
94
|
}
|
102
95
|
input[type="radio"],
|
103
96
|
input[type="checkbox"] {
|
@@ -114,8 +107,7 @@ input[type="button"],
|
|
114
107
|
input[type="radio"],
|
115
108
|
input[type="checkbox"] { width: auto; }
|
116
109
|
select {
|
117
|
-
|
118
|
-
padding-left: 10px;
|
110
|
+
padding: 12px 0 12px 10px;
|
119
111
|
text-indent: 0;
|
120
112
|
}
|
121
113
|
select[multiple],
|
@@ -124,29 +116,9 @@ select:focus,
|
|
124
116
|
input[type="file"]:focus,
|
125
117
|
input[type="radio"]:focus,
|
126
118
|
input[type="checkbox"]:focus {
|
127
|
-
outline: thin dotted
|
119
|
+
outline: thin dotted $color-transparent;
|
128
120
|
outline: 5px auto -webkit-focus-ring-color;
|
129
|
-
|
130
|
-
}
|
131
|
-
select.datetime {
|
132
|
-
margin-left: 0;
|
133
|
-
padding-right: 15px;
|
134
|
-
width: initial;
|
135
|
-
}
|
136
|
-
input:-moz-placeholder,
|
137
|
-
textarea:-moz-placeholder {
|
138
|
-
color: $color-gray;
|
139
|
-
font-weight: 200;
|
140
|
-
}
|
141
|
-
input:-ms-input-placeholder,
|
142
|
-
textarea:-ms-input-placeholder {
|
143
|
-
color: $color-gray;
|
144
|
-
font-weight: 200;
|
145
|
-
}
|
146
|
-
input::-webkit-input-placeholder,
|
147
|
-
textarea::-webkit-input-placeholder {
|
148
|
-
color: $color-gray;
|
149
|
-
font-weight: 200;
|
121
|
+
|
150
122
|
}
|
151
123
|
input:focus:invalid,
|
152
124
|
textarea:focus:invalid,
|
@@ -159,17 +131,30 @@ textarea:focus:invalid:focus,
|
|
159
131
|
select:focus:invalid:focus { border-color: $color-red; }
|
160
132
|
input[disabled],
|
161
133
|
textarea[disabled],
|
162
|
-
select[disabled]
|
163
|
-
.uneditable-input {
|
134
|
+
select[disabled] {
|
164
135
|
background: $color-light-haze;
|
165
|
-
color: $color-gray
|
136
|
+
color: $color-gray;
|
166
137
|
cursor: not-allowed;
|
167
138
|
}
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
139
|
+
::-webkit-input-placeholder {
|
140
|
+
color: $color-gray;
|
141
|
+
font-weight: 200;
|
142
|
+
line-height: 18px;
|
143
|
+
}
|
144
|
+
:-moz-placeholder {
|
145
|
+
color: $color-gray;
|
146
|
+
font-weight: 200;
|
147
|
+
line-height: 18px;
|
148
|
+
}
|
149
|
+
::-moz-placeholder {
|
150
|
+
color: $color-gray;
|
151
|
+
font-weight: 200;
|
152
|
+
line-height: 18px;
|
153
|
+
}
|
154
|
+
:-ms-input-placeholder {
|
155
|
+
color: $color-gray;
|
156
|
+
font-weight: 200;
|
157
|
+
line-height: 18px;
|
173
158
|
}
|
174
159
|
|
175
160
|
/* # Components
|
@@ -211,6 +196,10 @@ select.form-input-initial-width {
|
|
211
196
|
.form-error-messages > ul > li:last-child { padding-bottom: 10px; }
|
212
197
|
.form-textarea-small { height: 80px; }
|
213
198
|
.form-textarea-large { height: 200px; }
|
199
|
+
.form-input-initial-width {
|
200
|
+
display: inline-block;
|
201
|
+
width: initial;
|
202
|
+
}
|
214
203
|
.form-file-text,
|
215
204
|
.form-input-group > input {
|
216
205
|
border-bottom-left-radius: 0 !important;
|
@@ -268,7 +257,7 @@ select.form-input-initial-width {
|
|
268
257
|
border-top-right-radius: 0;
|
269
258
|
margin-right: -1px;
|
270
259
|
padding-bottom: 14px;
|
271
|
-
padding-top:
|
260
|
+
padding-top: 15px;
|
272
261
|
}
|
273
262
|
.form-file-group-addon { padding: 0; }
|
274
263
|
.form-input-group-addon:first-child,
|
@@ -279,18 +268,38 @@ select.form-input-initial-width {
|
|
279
268
|
.form-file-group-addon:last-child > .form-file-group-button { border-left: 0; }
|
280
269
|
.form-input-group-addon > input[type="radio"],
|
281
270
|
.form-input-group-addon > input[type="checkbox"] { margin: 0; }
|
282
|
-
.form-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
margin: 0;
|
287
|
-
}
|
288
|
-
.form-text-inline { margin-top: 13px; }
|
289
|
-
.form-button-inline {
|
290
|
-
margin-bottom: 5px;
|
291
|
-
padding-bottom: 14px;
|
292
|
-
padding-top: 14px;
|
271
|
+
.form-floating-label {
|
272
|
+
overflow: hidden;
|
273
|
+
position: relative;
|
274
|
+
vertical-align: top;
|
293
275
|
}
|
276
|
+
.form-floating-label > label {
|
277
|
+
color: $color-black;
|
278
|
+
font-size: 10px;
|
279
|
+
font-weight: bold;
|
280
|
+
left: 10px;
|
281
|
+
opacity: 0;
|
282
|
+
position: absolute;
|
283
|
+
@include transition(all 0.3s ease-in-out);
|
284
|
+
top: 10px;
|
285
|
+
}
|
286
|
+
.form-floating-label > input:focus,
|
287
|
+
.form-floating-label > input:valid,
|
288
|
+
.form-floating-label > textarea:focus,
|
289
|
+
.form-floating-label > textarea:valid { padding-top: 15px; }
|
290
|
+
.form-floating-label > input:focus,
|
291
|
+
.form-floating-label > input:valid { padding-bottom: 6px; }
|
292
|
+
.form-floating-label > input:focus + label,
|
293
|
+
.form-floating-label > textarea:focus + label,
|
294
|
+
.form-floating-label > input:valid + label,
|
295
|
+
.form-floating-label > textarea:valid + label {
|
296
|
+
opacity: 1;
|
297
|
+
top: 3px;
|
298
|
+
}
|
299
|
+
.form-floating-label > input:focus + label,
|
300
|
+
.form-floating-label > textarea:focus + label { color: $color-blue; }
|
301
|
+
.form-floating-label > input:invalid + label,
|
302
|
+
.form-floating-label > textarea:invalid + label { color: $color-red; }
|
294
303
|
.form-help-block {
|
295
304
|
color: $color-light-gray;
|
296
305
|
display: block;
|
@@ -298,6 +307,8 @@ select.form-input-initial-width {
|
|
298
307
|
font-style: italic;
|
299
308
|
margin-bottom: 15px;
|
300
309
|
}
|
310
|
+
.form-swoggle-inline { margin-top: 13px; }
|
311
|
+
.form-option-inline { margin-top: 17px; }
|
301
312
|
.form-select {
|
302
313
|
display: block;
|
303
314
|
position: relative;
|
@@ -334,16 +345,75 @@ select.form-input-initial-width {
|
|
334
345
|
top: 0;
|
335
346
|
width: 41px;
|
336
347
|
}
|
337
|
-
.form-select > select {
|
338
|
-
-webkit-appearance: button;
|
339
|
-
-ms-appearance: button;
|
340
|
-
appearance: button;
|
341
|
-
text-overflow: '';
|
342
|
-
}
|
348
|
+
.form-select > select { text-overflow: ""; }
|
343
349
|
.form-select > select[disabled] {
|
344
350
|
background: $color-light-haze;
|
345
351
|
color: $color-gray;
|
346
352
|
}
|
353
|
+
.form-option {
|
354
|
+
display: inline-block;
|
355
|
+
margin-right: 5px;
|
356
|
+
}
|
357
|
+
.form-checkbox,
|
358
|
+
.form-radio {
|
359
|
+
background: $color-haze;
|
360
|
+
border-radius: 2px;
|
361
|
+
display: inline-block;
|
362
|
+
height: 22px;
|
363
|
+
position: relative;
|
364
|
+
width: 22px;
|
365
|
+
}
|
366
|
+
.form-checkbox > label,
|
367
|
+
.form-radio > label {
|
368
|
+
background: $color-white;
|
369
|
+
border-radius: 1px;
|
370
|
+
cursor: pointer;
|
371
|
+
height: 20px;
|
372
|
+
left: 1px;
|
373
|
+
position: absolute;
|
374
|
+
top: -4px;
|
375
|
+
width: 20px;
|
376
|
+
}
|
377
|
+
.form-checkbox > label:after,
|
378
|
+
.form-radio > label:after {
|
379
|
+
content: "";
|
380
|
+
opacity: 0;
|
381
|
+
position: absolute;
|
382
|
+
@include transition(all 0.3s ease-in-out);
|
383
|
+
}
|
384
|
+
.form-checkbox > label:after {
|
385
|
+
background: $color-transparent;
|
386
|
+
border: 3px solid $color-green;
|
387
|
+
border-right: none;
|
388
|
+
border-top: none;
|
389
|
+
height: 4px;
|
390
|
+
left: 3px;
|
391
|
+
@include transform(rotate(-45deg));
|
392
|
+
top: 5px;
|
393
|
+
width: 10px;
|
394
|
+
}
|
395
|
+
.form-radio > label:after {
|
396
|
+
background: $color-green;
|
397
|
+
height: 12px;
|
398
|
+
left: 4px;
|
399
|
+
top: 4px;
|
400
|
+
width: 12px;
|
401
|
+
}
|
402
|
+
.form-radio,
|
403
|
+
.form-radio > label,
|
404
|
+
.form-radio > label:after { border-radius: 500px; }
|
405
|
+
.form-checkbox > label:hover::after,
|
406
|
+
.form-radio > label:hover::after { opacity: 0.3; }
|
407
|
+
.form-checkbox > input[type="checkbox"],
|
408
|
+
.form-radio > input[type="radio"] { visibility: hidden; }
|
409
|
+
.form-checkbox > input[type="checkbox"]:checked + label:after,
|
410
|
+
.form-radio > input[type="radio"]:checked + label:after { opacity: 1; }
|
411
|
+
.form-datetime {
|
412
|
+
display: inline-block;
|
413
|
+
margin-left: 0;
|
414
|
+
padding-right: 15px;
|
415
|
+
width: initial;
|
416
|
+
}
|
347
417
|
.form-slider-label {
|
348
418
|
font-size: 11px;
|
349
419
|
font-weight: bold;
|
@@ -360,76 +430,105 @@ select.form-input-initial-width {
|
|
360
430
|
|
361
431
|
/* # Styles
|
362
432
|
================================================== */
|
433
|
+
.form-edge,
|
363
434
|
.form-inline { clear: both; }
|
364
|
-
.form-inline
|
365
|
-
.form-inline
|
366
|
-
.form-inline
|
367
|
-
.form-
|
368
|
-
|
435
|
+
.form-inline textarea,
|
436
|
+
.form-inline select,
|
437
|
+
.form-inline input { margin-top: 0; }
|
438
|
+
.form-edge textarea,
|
439
|
+
.form-edge select,
|
440
|
+
.form-edge input,
|
441
|
+
.form-edge button,
|
442
|
+
.form-edge input[type="submit"],
|
443
|
+
.form-edge input[type="reset"],
|
444
|
+
.form-edge input[type="button"],
|
445
|
+
.form-edge .form-select { display: inline-block; }
|
446
|
+
.form-edge .form-select select { float: none; }
|
447
|
+
.form-edge textarea,
|
448
|
+
.form-edge select,
|
449
|
+
.form-edge input,
|
450
|
+
.form-edge .form-select {
|
451
|
+
margin: 0 2px 0 0;
|
452
|
+
width: 150px;
|
453
|
+
}
|
454
|
+
.form-edge button,
|
455
|
+
.form-edge input[type="submit"],
|
456
|
+
.form-edge input[type="reset"],
|
457
|
+
.form-edge input[type="button"],
|
458
|
+
.form-inline button,
|
459
|
+
.form-inline input[type="submit"],
|
460
|
+
.form-inline input[type="reset"],
|
461
|
+
.form-inline input[type="button"] {
|
369
462
|
padding-bottom: 14px;
|
370
463
|
padding-top: 14px;
|
464
|
+
width: initial;
|
371
465
|
}
|
372
|
-
.form-inline
|
373
|
-
.form-inline
|
466
|
+
.form-inline button,
|
467
|
+
.form-inline input[type="submit"],
|
468
|
+
.form-inline input[type="reset"],
|
469
|
+
.form-inline input[type="button"] { margin: 0 0 5px 0; }
|
470
|
+
.form-edge-link,
|
471
|
+
.form-edge-icon {
|
374
472
|
float: left;
|
375
473
|
font-size: 16px;
|
376
474
|
line-height: 1;
|
377
475
|
margin: 14px 5px 0 0;
|
378
476
|
}
|
379
|
-
.form-
|
477
|
+
.form-edge-icon {
|
380
478
|
font-size: 20px;
|
381
|
-
margin-top:
|
382
|
-
}
|
383
|
-
.form-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
.form-
|
389
|
-
.form-
|
390
|
-
.form-
|
391
|
-
.form-
|
392
|
-
.form-
|
393
|
-
.form-
|
394
|
-
.form-
|
479
|
+
margin-top: 13px;
|
480
|
+
}
|
481
|
+
.form-edge-input-large,
|
482
|
+
.form-edge-input-medium,
|
483
|
+
.form-edge-input-small,
|
484
|
+
.form-edge-input-mini { display: inline-block; }
|
485
|
+
.form-edge-input-large,
|
486
|
+
.form-edge-input-large .form-select { width: 200px !important; }
|
487
|
+
.form-edge-input-medium,
|
488
|
+
.form-edge-input-medium .form-select { width: 125px !important; }
|
489
|
+
.form-edge-input-small,
|
490
|
+
.form-edge-input-small .form-select { width: 100px !important; }
|
491
|
+
.form-edge-input-mini,
|
492
|
+
.form-edge-input-mini .form-select { width: 75px !important; }
|
493
|
+
.form-edge-small input,
|
494
|
+
.form-edge-small textarea,
|
495
|
+
.form-edge-small select {
|
395
496
|
font-size: 12px;
|
396
|
-
line-height: 14px;
|
397
497
|
padding-bottom: 6px;
|
398
498
|
padding-top: 8px;
|
399
499
|
}
|
400
|
-
.form-
|
401
|
-
.form-
|
402
|
-
.form-
|
403
|
-
.form-
|
500
|
+
.form-edge-small select { padding-bottom: 8px; }
|
501
|
+
.form-edge-small ::-webkit-input-placeholder { line-height: 12px; }
|
502
|
+
.form-edge-small :-moz-placeholder { line-height: 12px; }
|
503
|
+
.form-edge-small ::-moz-placeholder { line-height: 12px; }
|
504
|
+
.form-edge-small :-ms-input-placeholder { line-height: 12px; }
|
505
|
+
.form-edge-small button,
|
506
|
+
.form-edge-small input[type="submit"],
|
507
|
+
.form-edge-small input[type="reset"],
|
508
|
+
.form-edge-small input[type="button"] {
|
404
509
|
font-size: 11px;
|
405
510
|
line-height: 11px;
|
406
511
|
padding-bottom: 8px;
|
407
512
|
padding-top: 8px;
|
408
513
|
}
|
409
|
-
.form-
|
514
|
+
.form-edge-small > .form-edge-link {
|
410
515
|
font-size: 12px;
|
411
516
|
margin-top: 11px;
|
412
517
|
}
|
413
|
-
.form-
|
518
|
+
.form-edge-small > .form-edge-icon {
|
414
519
|
font-size: 16px;
|
415
520
|
margin-top: 7px;
|
416
521
|
}
|
417
|
-
.form-
|
522
|
+
.form-edge-small .form-select::after {
|
418
523
|
font-size: 14px;
|
419
524
|
height: 14px;
|
420
525
|
margin-top: -7px;
|
421
526
|
right: 12px;
|
422
527
|
}
|
423
|
-
.form-
|
528
|
+
.form-edge-small .form-select::before { width: 31px; }
|
424
529
|
|
425
530
|
/* # Media Queries
|
426
531
|
================================================== */
|
427
|
-
@media only screen and (max-width: 767px) {
|
428
|
-
.form-input-inline,
|
429
|
-
.form-select-inline { margin-bottom: 5px; }
|
430
|
-
.form-button-inline { margin: 15px 0 0 0; }
|
431
|
-
.form-text-inline { margin-top: 0; }
|
432
|
-
}
|
433
532
|
@media
|
434
533
|
only screen and (-webkit-min-device-pixel-ratio: 2),
|
435
534
|
only screen and ( min--moz-device-pixel-ratio: 2),
|