active_frontend 11.1.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/active_frontend/version.rb +1 -1
- data/lib/generators/active_frontend/templates/install.scss +1 -12
- data/vendor/assets/javascripts/_animation.js +90 -32
- data/vendor/assets/javascripts/_chart.js +4 -4
- data/vendor/assets/javascripts/_file_input.js +3 -3
- data/vendor/assets/javascripts/_typeahead.js +0 -2
- data/vendor/assets/stylesheets/_ad.scss +5 -0
- data/vendor/assets/stylesheets/_alert.scss +12 -9
- data/vendor/assets/stylesheets/_animation.scss +217 -213
- data/vendor/assets/stylesheets/_breadcrumb.scss +29 -19
- data/vendor/assets/stylesheets/_button.scss +33 -58
- data/vendor/assets/stylesheets/_carousel.scss +14 -21
- data/vendor/assets/stylesheets/_chart.scss +5 -1
- data/vendor/assets/stylesheets/_color.scss +5 -5
- data/vendor/assets/stylesheets/_colorpicker.scss +0 -1
- data/vendor/assets/stylesheets/_datepicker.scss +11 -10
- data/vendor/assets/stylesheets/_dropdown.scss +50 -24
- data/vendor/assets/stylesheets/_footer.scss +11 -18
- data/vendor/assets/stylesheets/_form.scss +193 -208
- data/vendor/assets/stylesheets/_grid.scss +36 -23
- data/vendor/assets/stylesheets/_header.scss +27 -60
- data/vendor/assets/stylesheets/_icon.scss +5 -5
- data/vendor/assets/stylesheets/_image.scss +6 -2
- data/vendor/assets/stylesheets/_label_and_badge.scss +6 -1
- data/vendor/assets/stylesheets/_link.scss +1 -0
- data/vendor/assets/stylesheets/_list.scss +36 -43
- data/vendor/assets/stylesheets/_loader.scss +8 -2
- data/vendor/assets/stylesheets/_map.scss +4 -0
- data/vendor/assets/stylesheets/_missive.scss +4 -8
- data/vendor/assets/stylesheets/_mixin.scss +5 -0
- data/vendor/assets/stylesheets/_modal.scss +90 -40
- data/vendor/assets/stylesheets/_nav_and_tab.scss +40 -65
- data/vendor/assets/stylesheets/_navbar.scss +2 -1
- data/vendor/assets/stylesheets/_pagination.scss +8 -10
- data/vendor/assets/stylesheets/_panel.scss +23 -25
- data/vendor/assets/stylesheets/_placeholder.scss +13 -12
- data/vendor/assets/stylesheets/_progress.scss +3 -4
- data/vendor/assets/stylesheets/_reset.scss +1 -0
- data/vendor/assets/stylesheets/_sidebar.scss +30 -13
- data/vendor/assets/stylesheets/_slider.scss +2 -2
- data/vendor/assets/stylesheets/_spinner.scss +348 -236
- data/vendor/assets/stylesheets/_swoggle.scss +2 -2
- data/vendor/assets/stylesheets/_table.scss +137 -127
- data/vendor/assets/stylesheets/_timepicker.scss +8 -5
- data/vendor/assets/stylesheets/_toolbar.scss +10 -22
- data/vendor/assets/stylesheets/_tooltip.scss +21 -7
- data/vendor/assets/stylesheets/_trunk.scss +19 -36
- data/vendor/assets/stylesheets/_typography.scss +80 -82
- data/vendor/assets/stylesheets/_variable.scss +15 -0
- data/vendor/assets/stylesheets/active_frontend.scss +1 -12
- metadata +4 -4
- data/vendor/assets/stylesheets/_aside.scss +0 -127
@@ -2,7 +2,9 @@
|
|
2
2
|
==================================================
|
3
3
|
# Dropdown
|
4
4
|
# Submenu
|
5
|
-
# Dropup
|
5
|
+
# Dropup
|
6
|
+
# Colors
|
7
|
+
# Media Queries */
|
6
8
|
|
7
9
|
/* # Dropdown
|
8
10
|
================================================== */
|
@@ -11,9 +13,10 @@
|
|
11
13
|
.dropdown-toggle:active,
|
12
14
|
.open .dropdown-toggle { outline: 0; }
|
13
15
|
.dropdown-menu {
|
14
|
-
background: $color-
|
16
|
+
background: $color-white;
|
15
17
|
background-clip: padding-box;
|
16
|
-
border: 2px solid
|
18
|
+
border: 2px solid;
|
19
|
+
border-color: $color-haze !important;
|
17
20
|
box-shadow: 0 0 3px $color-dark-haze;
|
18
21
|
box-sizing: border-box;
|
19
22
|
color: $color-black;
|
@@ -27,7 +30,7 @@
|
|
27
30
|
margin: 2px 0 0 0;
|
28
31
|
min-width: 180px;
|
29
32
|
opacity: 0;
|
30
|
-
padding:
|
33
|
+
padding: 8px 0;
|
31
34
|
position: absolute;
|
32
35
|
text-align: left;
|
33
36
|
text-transform: none;
|
@@ -40,37 +43,32 @@
|
|
40
43
|
left: auto;
|
41
44
|
right: 0;
|
42
45
|
}
|
46
|
+
.dropdown-menu > .title,
|
47
|
+
.dropdown-menu > .divider { background: $color-light-haze; }
|
43
48
|
.dropdown-menu > .title {
|
44
|
-
|
45
|
-
border-
|
46
|
-
border-
|
49
|
+
border-bottom: 1px solid;
|
50
|
+
border-top: 1px solid;
|
51
|
+
border-color: inherit;
|
47
52
|
letter-spacing: 1px;
|
53
|
+
margin: 3px 0 5px 0;
|
48
54
|
padding: 7px 15px;
|
49
55
|
text-transform: uppercase;
|
50
56
|
}
|
51
57
|
.dropdown-menu > .divider {
|
52
|
-
background: $color-haze;
|
53
58
|
height: 1px;
|
54
|
-
margin: 5px
|
59
|
+
margin: 5px 0 4px 0;
|
55
60
|
overflow: hidden;
|
56
61
|
}
|
57
62
|
.dropdown-menu > li > a {
|
58
63
|
clear: both;
|
59
|
-
color: $color-black;
|
60
|
-
cursor: pointer;
|
61
64
|
display: block;
|
62
65
|
padding: 8px 15px;
|
63
|
-
text-decoration: none;
|
64
66
|
white-space: nowrap;
|
65
67
|
}
|
66
68
|
.dropdown-menu > li > a:hover,
|
67
69
|
.dropdown-menu > li > a:active,
|
68
70
|
.dropdown-menu > li > a.active,
|
69
|
-
.dropdown-menu > li > a:focus
|
70
|
-
.dropdown-submenu:hover > a,
|
71
|
-
.dropdown-submenu:active > a,
|
72
|
-
.dropdown-submenu.active > a,
|
73
|
-
.dropdown-submenu:focus > a { color: $color-primary; }
|
71
|
+
.dropdown-menu > li > a:focus { color: $color-primary; }
|
74
72
|
.dropdown-menu > li > a i:first-child {
|
75
73
|
display: inline-block;
|
76
74
|
min-width: 14px;
|
@@ -78,7 +76,7 @@
|
|
78
76
|
}
|
79
77
|
.dropdown-menu > li .badge,
|
80
78
|
.dropdown-menu > li .label {
|
81
|
-
margin: -
|
79
|
+
margin: -5px 0;
|
82
80
|
padding: 4px 6px;
|
83
81
|
}
|
84
82
|
.open > .dropdown-menu {
|
@@ -92,7 +90,8 @@
|
|
92
90
|
}
|
93
91
|
.dropdown-menu.dropdown-caret { top: calc(100% + 5px); }
|
94
92
|
.dropdown-menu.dropdown-caret:before {
|
95
|
-
border-bottom: 7px solid
|
93
|
+
border-bottom: 7px solid;
|
94
|
+
border-color: inherit;
|
96
95
|
border-left: 7px solid $color-transparent;
|
97
96
|
border-right: 7px solid $color-transparent;
|
98
97
|
content: "";
|
@@ -102,7 +101,8 @@
|
|
102
101
|
top: -9px;
|
103
102
|
}
|
104
103
|
.dropdown-menu.dropdown-caret:after {
|
105
|
-
border-bottom: 6px solid
|
104
|
+
border-bottom: 6px solid;
|
105
|
+
border-color: inherit;
|
106
106
|
border-left: 6px solid $color-transparent;
|
107
107
|
border-right: 6px solid $color-transparent;
|
108
108
|
content: "";
|
@@ -143,6 +143,10 @@
|
|
143
143
|
margin-top: 5px;
|
144
144
|
width: 0;
|
145
145
|
}
|
146
|
+
.dropdown-submenu:hover > a,
|
147
|
+
.dropdown-submenu:active > a,
|
148
|
+
.dropdown-submenu.active > a,
|
149
|
+
.dropdown-submenu:focus > a { color: $color-primary; }
|
146
150
|
.dropdown-submenu.pull-left { float: none; }
|
147
151
|
.dropdown-submenu.pull-left > .dropdown-menu {
|
148
152
|
left: -100%;
|
@@ -152,24 +156,26 @@
|
|
152
156
|
/* # Dropup
|
153
157
|
================================================== */
|
154
158
|
.dropup .dropdown-menu {
|
155
|
-
top: auto;
|
156
159
|
bottom: 100%;
|
157
160
|
margin: 0 0 2px 0;
|
161
|
+
top: auto;
|
158
162
|
}
|
159
|
-
.dropup
|
163
|
+
.dropup .dropdown-menu.dropdown-caret {
|
160
164
|
bottom: calc(100% + 5px);
|
161
165
|
top: auto;
|
162
166
|
}
|
163
167
|
.dropup .dropdown-menu.dropdown-caret:before {
|
164
168
|
border-bottom: 0;
|
165
|
-
border-top: 7px solid
|
169
|
+
border-top: 7px solid;
|
170
|
+
border-top-color: inherit;
|
166
171
|
bottom: -9px;
|
167
172
|
left: 9px;
|
168
173
|
top: auto;
|
169
174
|
}
|
170
175
|
.dropup .dropdown-menu.dropdown-caret:after {
|
171
176
|
border-bottom: 0;
|
172
|
-
border-top: 6px solid
|
177
|
+
border-top: 6px solid;
|
178
|
+
border-top-color: inherit;
|
173
179
|
bottom: -7px;
|
174
180
|
left: 10px;
|
175
181
|
top: auto;
|
@@ -185,6 +191,26 @@
|
|
185
191
|
.dropup .dropdown-submenu > .dropdown-menu { margin-left: 6px; }
|
186
192
|
.dropup .dropdown-submenu.pull-left > .dropdown-menu { margin-left: -8px; }
|
187
193
|
|
194
|
+
/* # Colors
|
195
|
+
================================================== */
|
196
|
+
.dropdown-dark {
|
197
|
+
background: $color-black;
|
198
|
+
border-color: $color-light-black !important;
|
199
|
+
box-shadow: 0 0 3px $color-dark-black;
|
200
|
+
color: $color-white;
|
201
|
+
}
|
202
|
+
.dropdown-light {
|
203
|
+
background: $color-light-haze;
|
204
|
+
border-color: $color-dark-haze !important;
|
205
|
+
}
|
206
|
+
.dropdown-dark > .title {
|
207
|
+
background: $color-light-black;
|
208
|
+
border-color: $color-dark-black;
|
209
|
+
}
|
210
|
+
.dropdown-dark > .divider { background: $color-dark-black; }
|
211
|
+
.dropdown-light > .title,
|
212
|
+
.dropdown-light > .divider { background: $color-haze; }
|
213
|
+
|
188
214
|
/* # Media Queries
|
189
215
|
================================================== */
|
190
216
|
@media
|
@@ -1,6 +1,7 @@
|
|
1
1
|
/* Table of Contents
|
2
2
|
==================================================
|
3
3
|
# Footer
|
4
|
+
# Styles
|
4
5
|
# Colors
|
5
6
|
# Media Queries */
|
6
7
|
|
@@ -17,13 +18,6 @@
|
|
17
18
|
padding-top: 3px;
|
18
19
|
width: 100%;
|
19
20
|
}
|
20
|
-
.footer-fixed {
|
21
|
-
bottom: 0;
|
22
|
-
left: 0;
|
23
|
-
position: fixed;
|
24
|
-
right: 0;
|
25
|
-
z-index: 1030;
|
26
|
-
}
|
27
21
|
.footer-nav {
|
28
22
|
list-style: none;
|
29
23
|
margin: 0;
|
@@ -38,13 +32,21 @@
|
|
38
32
|
}
|
39
33
|
.footer-nav > li:first-child { margin-left: 0; }
|
40
34
|
.footer-nav > li:last-child { margin-right: 0; }
|
41
|
-
.footer-nav > li,
|
42
|
-
.footer-nav > li > a { color: $color-black; }
|
43
35
|
.footer-nav > li > a:hover,
|
44
36
|
.footer-nav > li > a.active,
|
45
37
|
.footer-nav > li > a:active,
|
46
38
|
.footer-nav > li > a:focus { color: $color-primary; }
|
47
39
|
|
40
|
+
/* # Styles
|
41
|
+
================================================== */
|
42
|
+
.footer-fixed {
|
43
|
+
bottom: 0;
|
44
|
+
left: 0;
|
45
|
+
position: fixed;
|
46
|
+
right: 0;
|
47
|
+
z-index: 1030;
|
48
|
+
}
|
49
|
+
|
48
50
|
/* # Colors
|
49
51
|
================================================== */
|
50
52
|
.footer-dark {
|
@@ -56,18 +58,9 @@
|
|
56
58
|
background: $color-light-haze;
|
57
59
|
border-color: $color-dark-haze;
|
58
60
|
}
|
59
|
-
.footer-dark .footer-nav > li,
|
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; }
|
65
61
|
|
66
62
|
/* # Media Queries
|
67
63
|
================================================== */
|
68
|
-
@media only screen and (max-width: 767px) {
|
69
|
-
.footer { display: none; }
|
70
|
-
}
|
71
64
|
@media
|
72
65
|
only screen and (-webkit-min-device-pixel-ratio: 2),
|
73
66
|
only screen and ( min--moz-device-pixel-ratio: 2),
|
@@ -8,9 +8,9 @@
|
|
8
8
|
|
9
9
|
/* # Form
|
10
10
|
================================================== */
|
11
|
-
fieldset
|
11
|
+
fieldset,
|
12
|
+
legend { border: 0; }
|
12
13
|
legend {
|
13
|
-
border: 0;
|
14
14
|
border-bottom: 1px solid $color-haze;
|
15
15
|
display: block;
|
16
16
|
font-size: 16px;
|
@@ -18,7 +18,6 @@ legend {
|
|
18
18
|
letter-spacing: 1px;
|
19
19
|
line-height: 25px;
|
20
20
|
margin-bottom: 20px;
|
21
|
-
padding: 0;
|
22
21
|
text-transform: uppercase;
|
23
22
|
width: 100%;
|
24
23
|
}
|
@@ -29,8 +28,8 @@ label {
|
|
29
28
|
line-height: 1;
|
30
29
|
margin: 5px 0;
|
31
30
|
}
|
32
|
-
textarea,
|
33
31
|
select,
|
32
|
+
textarea,
|
34
33
|
input[type="text"],
|
35
34
|
input[type="password"],
|
36
35
|
input[type="datetime"],
|
@@ -52,51 +51,20 @@ input[type="color"] {
|
|
52
51
|
box-sizing: border-box;
|
53
52
|
color: inherit;
|
54
53
|
display: block;
|
54
|
+
-webkit-font-smoothing: antialiased;
|
55
|
+
-moz-osx-font-smoothing: grayscale;
|
55
56
|
font-size: 16px;
|
56
57
|
font-style: normal;
|
57
58
|
font-weight: normal;
|
58
59
|
line-height: 1;
|
59
60
|
margin-bottom: 5px;
|
60
|
-
outline:
|
61
|
-
padding: 11px 0 10px
|
62
|
-
text-indent:
|
61
|
+
outline: 0;
|
62
|
+
padding: 11px 0 10px 10px;
|
63
|
+
text-indent: 0;
|
63
64
|
@include transition(all 0.3s ease-in-out);
|
64
65
|
width: 100%;
|
65
66
|
vertical-align: middle;
|
66
67
|
}
|
67
|
-
textarea {
|
68
|
-
height: 140px;
|
69
|
-
line-height: 22px;
|
70
|
-
padding-right: 10px;
|
71
|
-
padding-left: 10px;
|
72
|
-
text-indent: 0;
|
73
|
-
}
|
74
|
-
textarea:focus,
|
75
|
-
input[type="text"]:focus,
|
76
|
-
input[type="password"]:focus,
|
77
|
-
input[type="datetime"]:focus,
|
78
|
-
input[type="datetime-local"]:focus,
|
79
|
-
input[type="date"]:focus,
|
80
|
-
input[type="month"]:focus,
|
81
|
-
input[type="time"]:focus,
|
82
|
-
input[type="week"]:focus,
|
83
|
-
input[type="number"]:focus,
|
84
|
-
input[type="email"]:focus,
|
85
|
-
input[type="url"]:focus,
|
86
|
-
input[type="search"]:focus,
|
87
|
-
input[type="tel"]:focus,
|
88
|
-
input[type="color"]:focus {
|
89
|
-
border-color: $color-blue;
|
90
|
-
outline: 0;
|
91
|
-
outline: thin dotted \9;
|
92
|
-
@include transition(all 150ms ease-in-out);
|
93
|
-
}
|
94
|
-
input[type="radio"],
|
95
|
-
input[type="checkbox"] {
|
96
|
-
margin: 5px 0 0;
|
97
|
-
margin-top: 1px \9;
|
98
|
-
line-height: normal;
|
99
|
-
}
|
100
68
|
button,
|
101
69
|
input[type="file"],
|
102
70
|
input[type="image"],
|
@@ -104,21 +72,33 @@ input[type="submit"],
|
|
104
72
|
input[type="reset"],
|
105
73
|
input[type="button"],
|
106
74
|
input[type="radio"],
|
107
|
-
input[type="checkbox"] {
|
75
|
+
input[type="checkbox"] {
|
76
|
+
line-height: 1;
|
77
|
+
outline: 0;
|
78
|
+
width: auto;
|
79
|
+
}
|
80
|
+
input[type="radio"],
|
81
|
+
input[type="checkbox"] { margin: 5px 0 0; }
|
108
82
|
select {
|
109
|
-
padding: 12px
|
110
|
-
|
83
|
+
padding-bottom: 12px;
|
84
|
+
padding-top: 12px;
|
111
85
|
}
|
112
86
|
select[multiple],
|
113
87
|
select[size] { height: auto; }
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
outline: thin dotted $color-transparent;
|
119
|
-
outline: 5px auto -webkit-focus-ring-color;
|
120
|
-
|
88
|
+
textarea {
|
89
|
+
height: 140px;
|
90
|
+
line-height: 22px;
|
91
|
+
padding-right: 10px;
|
121
92
|
}
|
93
|
+
input:focus,
|
94
|
+
textarea:focus,
|
95
|
+
select:focus,
|
96
|
+
input:focus:valid,
|
97
|
+
textarea:focus:valid,
|
98
|
+
select:focus:valid,
|
99
|
+
input:focus:valid:focus,
|
100
|
+
textarea:focus:valid:focus,
|
101
|
+
select:focus:valid:focus { border-color: $color-green; }
|
122
102
|
input:focus:invalid,
|
123
103
|
textarea:focus:invalid,
|
124
104
|
select:focus:invalid {
|
@@ -161,111 +141,117 @@ select[disabled] {
|
|
161
141
|
.form-header {
|
162
142
|
border-bottom: 1px solid $color-haze;
|
163
143
|
margin-bottom: 30px;
|
164
|
-
padding-bottom:
|
144
|
+
padding-bottom: 8px;
|
165
145
|
}
|
166
146
|
.form-header > h1,
|
167
147
|
.form-header > h2,
|
168
148
|
.form-header > h3,
|
169
149
|
.form-header > h4,
|
170
150
|
.form-header > h5,
|
171
|
-
.form-header > h6 {
|
151
|
+
.form-header > h6 {
|
152
|
+
line-height: 1;
|
153
|
+
margin: 0;
|
154
|
+
padding: 0;
|
155
|
+
}
|
172
156
|
.form-error-messages {
|
173
157
|
background: $color-white;
|
158
|
+
border-color: $color-haze;
|
174
159
|
margin-bottom: 40px;
|
175
160
|
}
|
176
|
-
.form-error-messages >
|
161
|
+
.form-error-messages > h1,
|
162
|
+
.form-error-messages > h2,
|
163
|
+
.form-error-messages > h3,
|
164
|
+
.form-error-messages > h4,
|
165
|
+
.form-error-messages > h5,
|
166
|
+
.form-error-messages > h6 {
|
177
167
|
background: $color-light-haze;
|
178
|
-
border: 1px solid
|
168
|
+
border: 1px solid;
|
169
|
+
border-color: inherit !important;
|
179
170
|
border-top-left-radius: 2px;
|
180
171
|
border-top-right-radius: 2px;
|
172
|
+
line-height: 1;
|
181
173
|
margin: 0;
|
182
|
-
padding:
|
174
|
+
padding: 12px 10px 10px 10px;
|
183
175
|
}
|
184
176
|
.form-error-messages > ul {
|
185
|
-
border: 1px solid
|
177
|
+
border: 1px solid;
|
178
|
+
border-color: inherit !important;
|
186
179
|
border-top: 0;
|
187
180
|
border-bottom-left-radius: 2px;
|
188
181
|
border-bottom-right-radius: 2px;
|
182
|
+
padding: 10px 0;
|
189
183
|
}
|
190
184
|
.form-error-messages > ul > li {
|
191
185
|
display: block;
|
192
186
|
padding: 0 10px;
|
193
187
|
}
|
194
|
-
.form-
|
195
|
-
.form-
|
196
|
-
.form-
|
197
|
-
.form-textarea-large { height: 200px; }
|
198
|
-
.form-input-initial-width {
|
188
|
+
.form-input-initial,
|
189
|
+
.form-textarea-initial,
|
190
|
+
.form-select-initial {
|
199
191
|
display: inline-block;
|
200
192
|
width: initial;
|
201
193
|
}
|
202
|
-
.form-
|
203
|
-
.form-
|
204
|
-
border-bottom-left-radius: 0 !important;
|
205
|
-
border-top-left-radius: 0 !important;
|
206
|
-
}
|
207
|
-
.form-file-input {
|
208
|
-
height: 0;
|
209
|
-
margin: 0;
|
210
|
-
padding: 0;
|
211
|
-
position: fixed;
|
212
|
-
visibility: hidden;
|
213
|
-
width: 0;
|
214
|
-
}
|
194
|
+
.form-textarea-small { height: 80px; }
|
195
|
+
.form-textarea-large { height: 200px; }
|
215
196
|
.form-input-group,
|
216
197
|
.form-file-group {
|
217
198
|
border-collapse: separate;
|
199
|
+
border-spacing: 0;
|
218
200
|
display: table;
|
219
201
|
margin-bottom: 5px;
|
220
202
|
position: relative;
|
203
|
+
width: 100%;
|
221
204
|
}
|
222
|
-
.form-input-group[class*="col-"],
|
223
|
-
.form-file-group[class*="col-"] {
|
224
|
-
float: none;
|
225
|
-
padding: 0;
|
226
|
-
}
|
227
|
-
.form-input-group > input,
|
228
|
-
.form-input-group-addon,
|
229
|
-
.form-file-group > input,
|
230
|
-
.form-file-group-addon { display: table-cell; }
|
231
|
-
.form-input-group > input,
|
232
|
-
.form-file-group > input { margin: 0; }
|
233
205
|
.form-input-group-addon,
|
234
|
-
.form-
|
206
|
+
.form-input-group-input,
|
207
|
+
.form-file-group-addon,
|
208
|
+
.form-file-group-input,
|
209
|
+
.form-file-group-text { display: table-cell; }
|
210
|
+
.form-input-group-input,
|
211
|
+
.form-file-group-input,
|
212
|
+
.form-file-group-text {
|
213
|
+
border-bottom-left-radius: 0 !important;
|
214
|
+
border-top-left-radius: 0 !important;
|
215
|
+
margin: 0 !important;
|
216
|
+
}
|
217
|
+
.form-file-group-input {
|
218
|
+
height: 0 !important;
|
219
|
+
padding: 0 !important;
|
220
|
+
position: fixed;
|
221
|
+
visibility: hidden;
|
222
|
+
width: 0 !important;
|
223
|
+
}
|
224
|
+
.form-file-group-addon,
|
225
|
+
.form-input-group-addon {
|
235
226
|
border-bottom-left-radius: 2px;
|
236
227
|
border-top-left-radius: 2px;
|
237
228
|
box-sizing: border-box;
|
238
|
-
|
229
|
+
font-size: 16px;
|
230
|
+
font-style: normal;
|
231
|
+
font-weight: normal;
|
232
|
+
line-height: 1;
|
233
|
+
padding: 0;
|
239
234
|
text-align: center;
|
240
235
|
white-space: nowrap;
|
241
236
|
width: 1%;
|
242
237
|
vertical-align: middle;
|
243
238
|
}
|
244
|
-
.form-input-group-addon
|
239
|
+
.form-input-group-addon,
|
240
|
+
.form-file-group-button {
|
245
241
|
background: $color-light-haze;
|
246
242
|
border: 1px solid $color-haze;
|
243
|
+
border-right: 0;
|
244
|
+
}
|
245
|
+
.form-input-group-addon {
|
247
246
|
color: $color-gray;
|
248
|
-
font-size: 16px;
|
249
|
-
font-style: normal;
|
250
|
-
font-weight: normal;
|
251
|
-
line-height: 1;
|
252
247
|
padding: 0 13px;
|
253
248
|
}
|
254
249
|
.form-file-group-button {
|
255
|
-
border-color: $color-haze;
|
256
250
|
border-bottom-right-radius: 0;
|
257
251
|
border-top-right-radius: 0;
|
258
|
-
margin
|
259
|
-
padding
|
260
|
-
padding-top: 14px;
|
252
|
+
margin: 0 -1px 0 0;
|
253
|
+
padding: 14px 20px;
|
261
254
|
}
|
262
|
-
.form-file-group-addon { padding: 0; }
|
263
|
-
.form-input-group-addon:first-child,
|
264
|
-
.form-file-group-addon:first-child,
|
265
|
-
.form-file-group-addon:first-child > .form-file-group-button { border-right: 0; }
|
266
|
-
.form-input-group-addon:last-child,
|
267
|
-
.form-file-group-addon:last-child,
|
268
|
-
.form-file-group-addon:last-child > .form-file-group-button { border-left: 0; }
|
269
255
|
.form-input-group-addon > input[type="radio"],
|
270
256
|
.form-input-group-addon > input[type="checkbox"] { margin: 0; }
|
271
257
|
.form-floating-label {
|
@@ -274,8 +260,8 @@ select[disabled] {
|
|
274
260
|
vertical-align: top;
|
275
261
|
}
|
276
262
|
.form-floating-label > label {
|
277
|
-
color: $color-black;
|
278
263
|
font-size: 10px;
|
264
|
+
font-style: normal;
|
279
265
|
font-weight: bold;
|
280
266
|
left: 10px;
|
281
267
|
opacity: 0;
|
@@ -294,10 +280,10 @@ select[disabled] {
|
|
294
280
|
.form-floating-label > input:valid + label,
|
295
281
|
.form-floating-label > textarea:valid + label {
|
296
282
|
opacity: 1;
|
297
|
-
top:
|
283
|
+
top: 2px;
|
298
284
|
}
|
299
285
|
.form-floating-label > input:focus + label,
|
300
|
-
.form-floating-label > textarea:focus + label { color: $color-
|
286
|
+
.form-floating-label > textarea:focus + label { color: $color-green; }
|
301
287
|
.form-floating-label > input:invalid + label,
|
302
288
|
.form-floating-label > textarea:invalid + label { color: $color-red; }
|
303
289
|
.form-help-block {
|
@@ -305,10 +291,9 @@ select[disabled] {
|
|
305
291
|
display: block;
|
306
292
|
font-size: 12px;
|
307
293
|
font-style: italic;
|
294
|
+
font-weight: normal;
|
308
295
|
margin-bottom: 15px;
|
309
296
|
}
|
310
|
-
.form-swoggle-inline { margin-top: 13px; }
|
311
|
-
.form-option-inline { margin-top: 17px; }
|
312
297
|
.form-select {
|
313
298
|
display: block;
|
314
299
|
position: relative;
|
@@ -322,7 +307,6 @@ select[disabled] {
|
|
322
307
|
position: absolute;
|
323
308
|
}
|
324
309
|
.form-select::after {
|
325
|
-
color: $color-black;
|
326
310
|
content: "\f3d0";
|
327
311
|
font-family: "Ionicons";
|
328
312
|
font-size: 18px;
|
@@ -346,6 +330,10 @@ select[disabled] {
|
|
346
330
|
width: 41px;
|
347
331
|
}
|
348
332
|
.form-select > select { text-overflow: ""; }
|
333
|
+
.form-checkbox-inline,
|
334
|
+
.form-option-inline,
|
335
|
+
.form-radio-inline { margin-top: 17px; }
|
336
|
+
.form-swoggle-inline { margin-top: 13px; }
|
349
337
|
.form-option {
|
350
338
|
display: inline-block;
|
351
339
|
margin-right: 5px;
|
@@ -380,8 +368,8 @@ select[disabled] {
|
|
380
368
|
.form-checkbox > label:after {
|
381
369
|
background: $color-transparent;
|
382
370
|
border: 3px solid $color-green;
|
383
|
-
border-right:
|
384
|
-
border-top:
|
371
|
+
border-right: 0;
|
372
|
+
border-top: 0;
|
385
373
|
height: 4px;
|
386
374
|
left: 3px;
|
387
375
|
@include transform(rotate(-45deg));
|
@@ -407,46 +395,28 @@ select[disabled] {
|
|
407
395
|
.form-datetime {
|
408
396
|
display: inline-block;
|
409
397
|
margin-left: 0;
|
410
|
-
padding-right:
|
398
|
+
padding-right: 10px;
|
411
399
|
width: initial;
|
412
400
|
}
|
413
401
|
.form-slider-label {
|
414
402
|
font-size: 11px;
|
403
|
+
font-style: normal;
|
415
404
|
font-weight: bold;
|
416
405
|
margin: 5px 0;
|
417
406
|
}
|
418
407
|
.form-footer {
|
419
408
|
border-top: 1px solid $color-haze;
|
420
|
-
font-size: 12px
|
421
|
-
line-height: 20px
|
422
|
-
|
423
|
-
|
409
|
+
font-size: 12px;
|
410
|
+
line-height: 20px;
|
411
|
+
list-style: none;
|
412
|
+
margin: 30px 0 0 0;
|
413
|
+
padding: 15px 0 0 0;
|
424
414
|
}
|
425
|
-
.form-footer > li:first-child { margin-top: 10px; }
|
426
415
|
|
427
416
|
/* # Styles
|
428
417
|
================================================== */
|
429
418
|
.form-edge,
|
430
419
|
.form-inline { clear: both; }
|
431
|
-
.form-inline textarea,
|
432
|
-
.form-inline select,
|
433
|
-
.form-inline input { margin-top: 0; }
|
434
|
-
.form-edge textarea,
|
435
|
-
.form-edge select,
|
436
|
-
.form-edge input,
|
437
|
-
.form-edge button,
|
438
|
-
.form-edge input[type="submit"],
|
439
|
-
.form-edge input[type="reset"],
|
440
|
-
.form-edge input[type="button"],
|
441
|
-
.form-edge .form-select { display: inline-block; }
|
442
|
-
.form-edge .form-select select { float: none; }
|
443
|
-
.form-edge textarea,
|
444
|
-
.form-edge select,
|
445
|
-
.form-edge input,
|
446
|
-
.form-edge .form-select {
|
447
|
-
margin: 0 2px 0 0;
|
448
|
-
width: 150px;
|
449
|
-
}
|
450
420
|
.form-edge button,
|
451
421
|
.form-edge input[type="submit"],
|
452
422
|
.form-edge input[type="reset"],
|
@@ -460,9 +430,23 @@ select[disabled] {
|
|
460
430
|
width: initial;
|
461
431
|
}
|
462
432
|
.form-inline button,
|
463
|
-
.form-inline input
|
464
|
-
.form-inline
|
465
|
-
.form-inline
|
433
|
+
.form-inline input,
|
434
|
+
.form-inline select,
|
435
|
+
.form-inline textarea,
|
436
|
+
.form-inline .form-select { margin: 0 0 5px 0; }
|
437
|
+
.form-edge button,
|
438
|
+
.form-edge input,
|
439
|
+
.form-edge select,
|
440
|
+
.form-edge textarea,
|
441
|
+
.form-edge .form-select {
|
442
|
+
float: left;
|
443
|
+
margin: 0 5px 0 0;
|
444
|
+
width: 150px;
|
445
|
+
}
|
446
|
+
.form-edge .form-select select {
|
447
|
+
float: none;
|
448
|
+
margin: 0;
|
449
|
+
}
|
466
450
|
.form-edge-link,
|
467
451
|
.form-edge-icon {
|
468
452
|
float: left;
|
@@ -472,66 +456,78 @@ select[disabled] {
|
|
472
456
|
}
|
473
457
|
.form-edge-icon {
|
474
458
|
font-size: 20px;
|
475
|
-
margin-top:
|
476
|
-
}
|
477
|
-
.form-edge-input-large
|
478
|
-
.form-edge-input-medium
|
479
|
-
.form-edge-input-small
|
480
|
-
.form-edge-input-mini {
|
481
|
-
.form-edge-input-
|
482
|
-
.form-edge-
|
483
|
-
.form-edge-
|
484
|
-
.form-edge-input-
|
485
|
-
.form-edge-input
|
486
|
-
.form-edge-
|
487
|
-
.form-edge-
|
488
|
-
.form-edge-input-mini .form-select { width: 75px !important; }
|
489
|
-
.form-edge-small input,
|
490
|
-
.form-edge-small textarea,
|
491
|
-
.form-edge-small select {
|
459
|
+
margin-top: 11px;
|
460
|
+
}
|
461
|
+
.form-edge-input-large { width: 200px !important; }
|
462
|
+
.form-edge-input-medium { width: 125px !important; }
|
463
|
+
.form-edge-input-small { width: 100px !important; }
|
464
|
+
.form-edge-input-mini { width: 75px !important; }
|
465
|
+
.form-edge-condensed ::-webkit-input-placeholder { line-height: 13px; }
|
466
|
+
.form-edge-condensed :-moz-placeholder { line-height: 13px; }
|
467
|
+
.form-edge-condensed ::-moz-placeholder { line-height: 13px; }
|
468
|
+
.form-edge-condensed :-ms-input-placeholder { line-height: 13px; }
|
469
|
+
.form-edge-condensed input,
|
470
|
+
.form-edge-condensed textarea,
|
471
|
+
.form-edge-condensed select {
|
492
472
|
font-size: 12px;
|
493
473
|
padding-bottom: 6px;
|
474
|
+
padding-top: 7px;
|
475
|
+
}
|
476
|
+
.form-edge-condensed select {
|
477
|
+
padding-bottom: 7px;
|
494
478
|
padding-top: 8px;
|
495
479
|
}
|
496
|
-
.form-edge-
|
497
|
-
.form-edge-
|
498
|
-
.form-edge-
|
499
|
-
.form-edge-
|
500
|
-
.form-edge-small :-ms-input-placeholder { line-height: 12px; }
|
501
|
-
.form-edge-small button,
|
502
|
-
.form-edge-small input[type="submit"],
|
503
|
-
.form-edge-small input[type="reset"],
|
504
|
-
.form-edge-small input[type="button"] {
|
480
|
+
.form-edge-condensed button,
|
481
|
+
.form-edge-condensed input[type="submit"],
|
482
|
+
.form-edge-condensed input[type="reset"],
|
483
|
+
.form-edge-condensed input[type="button"] {
|
505
484
|
font-size: 11px;
|
506
|
-
line-height:
|
507
|
-
padding
|
508
|
-
padding-top: 8px;
|
485
|
+
line-height: 1;
|
486
|
+
padding: 8px 15px;
|
509
487
|
}
|
510
|
-
.form-edge-
|
488
|
+
.form-edge-condensed > .form-edge-link {
|
511
489
|
font-size: 12px;
|
512
|
-
margin-top:
|
490
|
+
margin-top: 10px;
|
513
491
|
}
|
514
|
-
.form-edge-
|
492
|
+
.form-edge-condensed > .form-edge-icon {
|
515
493
|
font-size: 16px;
|
516
494
|
margin-top: 7px;
|
517
495
|
}
|
518
|
-
.form-edge-
|
496
|
+
.form-edge-condensed .form-select::after {
|
519
497
|
font-size: 14px;
|
520
498
|
height: 14px;
|
521
499
|
margin-top: -7px;
|
522
500
|
right: 12px;
|
523
501
|
}
|
524
|
-
.form-edge-
|
502
|
+
.form-edge-condensed .form-select::before { width: 31px; }
|
525
503
|
|
526
504
|
/* # Colors
|
527
505
|
================================================== */
|
506
|
+
.form-dark { color: $color-white; }
|
528
507
|
.form-dark legend,
|
508
|
+
.form-dark select,
|
509
|
+
.form-dark textarea,
|
510
|
+
.form-dark input[type="text"],
|
511
|
+
.form-dark input[type="password"],
|
512
|
+
.form-dark input[type="datetime"],
|
513
|
+
.form-dark input[type="datetime-local"],
|
514
|
+
.form-dark input[type="date"],
|
515
|
+
.form-dark input[type="month"],
|
516
|
+
.form-dark input[type="time"],
|
517
|
+
.form-dark input[type="week"],
|
518
|
+
.form-dark input[type="number"],
|
519
|
+
.form-dark input[type="email"],
|
520
|
+
.form-dark input[type="url"],
|
521
|
+
.form-dark input[type="search"],
|
522
|
+
.form-dark input[type="tel"],
|
523
|
+
.form-dark input[type="color"],
|
529
524
|
.form-dark .form-header,
|
530
|
-
.form-dark .form-error-messages
|
525
|
+
.form-dark .form-error-messages,
|
526
|
+
.form-dark .form-input-group-addon,
|
531
527
|
.form-dark .form-file-group-button,
|
532
|
-
.form-dark .form-footer
|
533
|
-
.form-dark textarea,
|
528
|
+
.form-dark .form-footer { border-color: $color-dark-black !important; }
|
534
529
|
.form-dark select,
|
530
|
+
.form-dark textarea,
|
535
531
|
.form-dark input[type="text"],
|
536
532
|
.form-dark input[type="password"],
|
537
533
|
.form-dark input[type="datetime"],
|
@@ -546,35 +542,24 @@ select[disabled] {
|
|
546
542
|
.form-dark input[type="search"],
|
547
543
|
.form-dark input[type="tel"],
|
548
544
|
.form-dark input[type="color"],
|
545
|
+
.form-dark .form-error-messages > h1,
|
546
|
+
.form-dark .form-error-messages > h2,
|
547
|
+
.form-dark .form-error-messages > h3,
|
549
548
|
.form-dark .form-error-messages > h4,
|
550
|
-
.form-dark .form-
|
551
|
-
.form-dark .
|
552
|
-
|
553
|
-
|
554
|
-
}
|
555
|
-
.form-dark .form-error-messages,
|
549
|
+
.form-dark .form-error-messages > h5,
|
550
|
+
.form-dark .form-error-messages > h6,
|
551
|
+
.form-dark .form-checkbox > label,
|
552
|
+
.form-dark .form-radio > label { background: $color-light-black; }
|
556
553
|
.form-dark input[disabled],
|
557
554
|
.form-dark textarea[disabled],
|
558
|
-
.form-dark select[disabled]
|
559
|
-
.form-dark .form-
|
560
|
-
.form-dark .form-
|
555
|
+
.form-dark select[disabled],
|
556
|
+
.form-dark .form-error-messages,
|
557
|
+
.form-dark .form-input-group-addon { background: $color-black; }
|
561
558
|
.form-dark .form-checkbox,
|
562
|
-
.form-dark .form-radio
|
563
|
-
.form-dark .slider-selection,
|
564
|
-
.form-dark .slider-selection.tick-slider-selection,
|
565
|
-
.form-dark .slider.slider-disabled .slider-handle { background: $color-dark-black; }
|
566
|
-
.form-dark .form-checkbox > label,
|
567
|
-
.form-dark .form-radio > label,
|
568
|
-
.form-dark .slider-track,
|
569
|
-
.form-dark .slider.slider-disabled .slider-track { background: $color-light-black; }
|
570
|
-
.form-dark .swoggle-off { border-color: $color-light-black; }
|
559
|
+
.form-dark .form-radio { background: $color-dark-black; }
|
571
560
|
.form-light legend,
|
572
|
-
.form-light .form-header,
|
573
|
-
.form-light .form-error-messages > ul,
|
574
|
-
.form-light .form-file-group-button,
|
575
|
-
.form-light .form-footer,
|
576
|
-
.form-light textarea,
|
577
561
|
.form-light select,
|
562
|
+
.form-light textarea,
|
578
563
|
.form-light input[type="text"],
|
579
564
|
.form-light input[type="password"],
|
580
565
|
.form-light input[type="datetime"],
|
@@ -589,19 +574,18 @@ select[disabled] {
|
|
589
574
|
.form-light input[type="search"],
|
590
575
|
.form-light input[type="tel"],
|
591
576
|
.form-light input[type="color"],
|
592
|
-
.form-light .form-
|
593
|
-
.form-light .form-
|
577
|
+
.form-light .form-header,
|
578
|
+
.form-light .form-error-messages,
|
579
|
+
.form-light .form-input-group-addon,
|
580
|
+
.form-light .form-file-group-button,
|
581
|
+
.form-light .form-footer { border-color: $color-dark-haze !important; }
|
594
582
|
.form-light input[disabled],
|
595
583
|
.form-light textarea[disabled],
|
596
584
|
.form-light select[disabled],
|
597
|
-
.form-light .
|
585
|
+
.form-light .form-input-group-addon { background: $color-haze; }
|
586
|
+
.form-light .form-error-messages { background: $color-white; }
|
598
587
|
.form-light .form-checkbox,
|
599
|
-
.form-light .form-radio
|
600
|
-
.form-light .slider-selection,
|
601
|
-
.form-light .slider-selection.tick-slider-selection,
|
602
|
-
.form-light .slider.slider-disabled .slider-handle { background: $color-dark-haze; }
|
603
|
-
.form-light .slider-track,
|
604
|
-
.form-light .slider.slider-disabled .slider-track { background: $color-white; }
|
588
|
+
.form-light .form-radio { background: $color-dark-haze; }
|
605
589
|
|
606
590
|
/* # Media Queries
|
607
591
|
================================================== */
|
@@ -615,4 +599,5 @@ only screen and ( min-resolution: 2dppx) {
|
|
615
599
|
legend,
|
616
600
|
.form-header,
|
617
601
|
.form-footer { border-width: 0.5px; }
|
602
|
+
legend { letter-spacing: 0.5px; }
|
618
603
|
}
|