active_frontend 6.2.0 → 6.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/active_frontend/version.rb +1 -1
  3. data/vendor/assets/stylesheets/_animation.scss +0 -2
  4. data/vendor/assets/stylesheets/_aside.scss +3 -3
  5. data/vendor/assets/stylesheets/_breadcrumb.scss +2 -2
  6. data/vendor/assets/stylesheets/_button.scss +196 -133
  7. data/vendor/assets/stylesheets/_carousel.scss +24 -24
  8. data/vendor/assets/stylesheets/_collapse.scss +1 -1
  9. data/vendor/assets/stylesheets/_datepicker.scss +31 -62
  10. data/vendor/assets/stylesheets/_dropdown.scss +6 -10
  11. data/vendor/assets/stylesheets/_footer.scss +3 -3
  12. data/vendor/assets/stylesheets/_form.scss +52 -71
  13. data/vendor/assets/stylesheets/_header.scss +79 -93
  14. data/vendor/assets/stylesheets/_icon.scss +2 -16
  15. data/vendor/assets/stylesheets/_image.scss +1 -1
  16. data/vendor/assets/stylesheets/_link.scss +2 -1
  17. data/vendor/assets/stylesheets/_list.scss +9 -10
  18. data/vendor/assets/stylesheets/_loader.scss +3 -11
  19. data/vendor/assets/stylesheets/_modal.scss +7 -7
  20. data/vendor/assets/stylesheets/_nav_and_tab.scss +23 -24
  21. data/vendor/assets/stylesheets/_navbar.scss +3 -3
  22. data/vendor/assets/stylesheets/_pagination.scss +17 -15
  23. data/vendor/assets/stylesheets/_panel.scss +6 -27
  24. data/vendor/assets/stylesheets/_placeholder.scss +5 -5
  25. data/vendor/assets/stylesheets/_popover.scss +20 -21
  26. data/vendor/assets/stylesheets/_progress.scss +3 -3
  27. data/vendor/assets/stylesheets/_reset.scss +3 -3
  28. data/vendor/assets/stylesheets/_spinner.scss +313 -403
  29. data/vendor/assets/stylesheets/_swoggle.scss +8 -10
  30. data/vendor/assets/stylesheets/_table.scss +4 -13
  31. data/vendor/assets/stylesheets/_timepicker.scss +12 -18
  32. data/vendor/assets/stylesheets/_tooltip.scss +7 -7
  33. data/vendor/assets/stylesheets/_transition.scss +2 -2
  34. data/vendor/assets/stylesheets/_trunk.scss +32 -51
  35. data/vendor/assets/stylesheets/_typeahead.scss +1 -1
  36. metadata +2 -2
@@ -63,10 +63,10 @@
63
63
  outline: none;
64
64
  text-decoration: none;
65
65
  }
66
- .carousel-control .icon-prev,
67
- .carousel-control .icon-next,
68
- .carousel-control .icon-carousel-left,
69
- .carousel-control .icon-carousel-right {
66
+ .carousel-control > .icon-prev,
67
+ .carousel-control > .icon-next,
68
+ .carousel-control > .icon-carousel-left,
69
+ .carousel-control > .icon-carousel-right {
70
70
  display: inline-block;
71
71
  font-size: 42px;
72
72
  height: 60px;
@@ -78,18 +78,18 @@
78
78
  width: 60px;
79
79
  z-index: 5;
80
80
  }
81
- .carousel-control .icon-prev,
82
- .carousel-control .icon-carousel-left { left: 10px; }
83
- .carousel-control .icon-next,
84
- .carousel-control .icon-carousel-right { right: 10px; }
85
- .carousel-control .icon-prev,
86
- .carousel-control .icon-next {
81
+ .carousel-control > .icon-prev,
82
+ .carousel-control > .icon-carousel-left { left: 10px; }
83
+ .carousel-control > .icon-next,
84
+ .carousel-control > .icon-carousel-right { right: 10px; }
85
+ .carousel-control > .icon-prev,
86
+ .carousel-control > .icon-next {
87
87
  font-family: serif;
88
88
  height: 48px;
89
89
  width: 48px;
90
90
  }
91
- .carousel-control .icon-prev:before { content: '\2039'; }
92
- .carousel-control .icon-next:before { content: '\203a'; }
91
+ .carousel-control > .icon-prev:before { content: '\2039'; }
92
+ .carousel-control > .icon-next:before { content: '\203a'; }
93
93
  .carousel-indicators {
94
94
  bottom: 10px;
95
95
  left: 50%;
@@ -101,7 +101,7 @@
101
101
  width: 60%;
102
102
  z-index: 15;
103
103
  }
104
- .carousel-indicators li {
104
+ .carousel-indicators > li {
105
105
  display: inline-block;
106
106
  background: rgba(0,0,0,0);
107
107
  border-radius: 10px;
@@ -112,7 +112,7 @@
112
112
  text-indent: -999px;
113
113
  width: 10px;
114
114
  }
115
- .carousel-indicators .active {
115
+ .carousel-indicators > .active {
116
116
  background: rgba(255,255,255,1);
117
117
  height: 12px;
118
118
  margin: 0;
@@ -129,20 +129,20 @@
129
129
  text-align: center;
130
130
  z-index: 10;
131
131
  }
132
- .carousel-caption h1,
133
- .carousel-caption h2,
134
- .carousel-caption h3,
135
- .carousel-caption h4,
136
- .carousel-caption h5,
137
- .carousel-caption h6 { color: rgba(255,255,255,1); }
132
+ .carousel-caption > h1,
133
+ .carousel-caption > h2,
134
+ .carousel-caption > h3,
135
+ .carousel-caption > h4,
136
+ .carousel-caption > h5,
137
+ .carousel-caption > h6 { color: rgba(255,255,255,1); }
138
138
 
139
139
  /* # Media Queries
140
140
  ================================================== */
141
141
  @media only screen and (max-width: 767px) {
142
- .carousel-control .icon-carousel-left,
143
- .carousel-control .icon-carousel-right,
144
- .carousel-control .icon-prev,
145
- .carousel-control .icon-next {
142
+ .carousel-control > .icon-carousel-left,
143
+ .carousel-control > .icon-carousel-right,
144
+ .carousel-control > .icon-prev,
145
+ .carousel-control > .icon-next {
146
146
  font-size:20px;
147
147
  height: 20px;
148
148
  width: 20px;
@@ -7,9 +7,9 @@
7
7
  .collapse { display: none; }
8
8
  .collapse.in { display: block; }
9
9
  .collapsing {
10
- position: relative;
11
10
  height: 0;
12
11
  overflow: hidden;
12
+ position: relative;
13
13
  -webkit-transition: height 0.35s ease;
14
14
  transition: height 0.35s ease;
15
15
  }
@@ -7,10 +7,10 @@
7
7
  .datepicker {
8
8
  left: 0;
9
9
  margin-top: 1px;
10
- padding: 5px;
11
10
  top: 0;
12
11
  z-index: 1060;
13
12
  }
13
+ .datepicker-dropdown.dropdown-menu { padding: 0; }
14
14
  .datepicker:before {
15
15
  border-bottom: 7px solid rgba(230,237,242,1);
16
16
  border-right: 7px solid transparent;
@@ -55,83 +55,52 @@
55
55
  user-select: none;
56
56
  width: 100%;
57
57
  }
58
- .datepicker th {
58
+ .datepicker table th,
59
+ .datepicker table td {
59
60
  height: 20px;
60
61
  text-align: center;
61
62
  width: 20px;
62
63
  }
63
- .datepicker td {
64
+ .datepicker table td {
64
65
  font-weight: normal;
65
66
  height: 22px;
66
67
  line-height: 16px;
67
- text-align: center;
68
- width: 20px;
69
68
  }
70
- .datepicker td.day:hover {
71
- background: $primary-color;
69
+ .datepicker table td.new,
70
+ .datepicker table td.old { color: rgba(136,153,166,1); }
71
+ .datepicker table td.day.disabled { color: rgba(136,153,166,1); }
72
+ .datepicker table td > span {
72
73
  border-radius: 2px;
73
- color: rgba(255,255,255,1);
74
- cursor: pointer;
75
- }
76
- .datepicker td.day.disabled { color: rgba(200,200,200,1); }
77
- .datepicker td.day.disabled:hover { color: rgba(34,34,34,1); }
78
- .datepicker td.old,
79
- .datepicker td.new { color: rgba(200,200,200,1); }
80
- .datepicker td.active,
81
- .datepicker td.active:hover,
82
- .datepicker td.active:hover:hover,
83
- .datepicker td.active:focus,
84
- .datepicker td.active:hover:focus,
85
- .datepicker td.active:active,
86
- .datepicker td.active:hover:active,
87
- .datepicker td.active.active,
88
- .datepicker td.active:hover.active,
89
- .datepicker td.active.disabled,
90
- .datepicker td.active:hover.disabled,
91
- .datepicker td.active[disabled],
92
- .datepicker td.active:hover[disabled] {
93
- background: $primary-color;
94
- border-radius: 2px;
95
- color: rgba(255,255,255,1);
96
- }
97
- .datepicker td span {
98
- border-radius: 500px;
99
74
  display: block;
100
- height: 46px;
75
+ height: 30px;
101
76
  float: left;
102
- line-height: 46px;
77
+ line-height: 33px;
103
78
  margin: 2px;
104
- width: 46px;
105
- }
106
- .datepicker td span:hover {
79
+ width: 51px;
80
+ }
81
+ .datepicker table td.active,
82
+ .datepicker table td.day:hover,
83
+ .datepicker table td.day:focus,
84
+ .datepicker table td.day.active,
85
+ .datepicker table td.day:active,
86
+ .datepicker table td > span:hover,
87
+ .datepicker table td > span:focus,
88
+ .datepicker table td > span.active,
89
+ .datepicker table td > span:active,
90
+ .datepicker table > thead > tr:first-child > th:hover,
91
+ .datepicker table > thead > tr:first-child > th:focus,
92
+ .datepicker table > thead > tr:first-child > th:active {
107
93
  background: $primary-color;
108
94
  color: rgba(255,255,255,1);
109
95
  cursor: pointer;
110
96
  }
111
- .datepicker td span.active,
112
- .datepicker td span.active:hover,
113
- .datepicker td span.active:focus,
114
- .datepicker td span.active:active,
115
- .datepicker td span.active.active,
116
- .datepicker td span.active.disabled,
117
- .datepicker td span.active[disabled] {
118
- background: $primary-color;
119
- color: rgba(255,255,255,1);
120
- }
121
- .datepicker th.switch {
97
+ .datepicker table td.active,
98
+ .datepicker table td.day,
99
+ .datepicker table > thead > tr:first-child > th { border-radius: 2px; }
100
+ .datepicker table > thead > tr:first-child > th:nth-child(2) { font-weight: bold; }
101
+ .datepicker table th.next,
102
+ .datepicker table th.prev { font-size: 17px; }
103
+ .datepicker table th.switch {
122
104
  font-weight: bold;
123
105
  width: 145px;
124
- }
125
- .datepicker th.next,
126
- .datepicker th.prev { font-size: 17px; }
127
- .datepicker thead tr:first-child th:hover {
128
- background: $primary-color;
129
- border-radius: 2px;
130
- color: rgba(255,255,255,1);
131
- cursor: pointer;
132
- }
133
- .datepicker thead tr:first-child th:nth-child(2) { font-weight: bold; }
134
- .datepicker-dropdown.dropdown-menu {
135
- padding: 0;
136
- z-index: 1060;
137
106
  }
@@ -51,15 +51,15 @@
51
51
  text-decoration: none;
52
52
  white-space: nowrap;
53
53
  }
54
- .dropdown-menu > li > a:active,
55
- .dropdown-menu > li > a.active,
56
54
  .dropdown-menu > li > a:hover,
57
55
  .dropdown-menu > li > a:focus,
58
- .dropdown-submenu:active > a,
59
- .dropdown-submenu.active > a,
56
+ .dropdown-menu > li > a:active,
57
+ .dropdown-menu > li > a.active,
60
58
  .dropdown-submenu:hover > a,
61
- .dropdown-submenu:focus > a { color: $primary-color; }
62
- .dropdown-menu > li > a i:first-child {
59
+ .dropdown-submenu:focus > a,
60
+ .dropdown-submenu:active > a,
61
+ .dropdown-submenu.active > a { color: $primary-color; }
62
+ .dropdown-menu > li > a > i:first-child {
63
63
  display: inline-block;
64
64
  min-width: 14px;
65
65
  text-align: center;
@@ -74,10 +74,6 @@
74
74
  left: auto;
75
75
  right: 0;
76
76
  }
77
- .dropdown .dropdown-menu .nav-header {
78
- padding-right: 20px;
79
- padding-left: 20px;
80
- }
81
77
  .dropdown-menu.dropdown-caret { top: calc(100% + 5px); }
82
78
  .dropdown-menu.dropdown-caret:before {
83
79
  border-bottom: 7px solid rgba(230,237,242,1);
@@ -47,10 +47,10 @@
47
47
  text-decoration: none;
48
48
  text-transform: uppercase;
49
49
  }
50
- .footer > .footer-nav > li > a.active,
51
- .footer > .footer-nav > li > a:active,
52
50
  .footer > .footer-nav > li > a:hover,
53
- .footer > .footer-nav > li > a:focus { color: rgba(136,153,166,1); }
51
+ .footer > .footer-nav > li > a:focus,
52
+ .footer > .footer-nav > li > a.active,
53
+ .footer > .footer-nav > li > a:active { color: rgba(136,153,166,1); }
54
54
  .footer-footnote {
55
55
  float: left;
56
56
  color: rgba(255,255,255,1);
@@ -31,6 +31,7 @@ label {
31
31
  margin: 5px 0 5px 0;
32
32
  }
33
33
  textarea,
34
+ select,
34
35
  input[type="text"],
35
36
  input[type="password"],
36
37
  input[type="datetime"],
@@ -47,16 +48,16 @@ input[type="tel"],
47
48
  input[type="color"],
48
49
  .uneditable-input {
49
50
  -webkit-appearance: none;
50
- -moz-appearance: none;
51
+ appearance: none;
51
52
  background: rgba(255,255,255,1);
52
53
  border: 1px solid rgba(230,237,242,1);
53
54
  border-radius: 0;
54
55
  box-sizing: border-box;
55
56
  color: rgba(35,41,55,1);
56
57
  display: block;
57
- font-weight: normal;
58
- font-style: normal;
59
58
  font-size: 16px;
59
+ font-style: normal;
60
+ font-weight: normal;
60
61
  line-height: 1;
61
62
  margin-bottom: 5px;
62
63
  padding: 13px 0 10px 0;
@@ -109,25 +110,11 @@ input[type="button"],
109
110
  input[type="radio"],
110
111
  input[type="checkbox"] { width: auto; }
111
112
  select {
112
- -webkit-appearance: none;
113
- -moz-appearance: none;
114
- background: rgba(255,255,255,1);
115
- border: 1px solid rgba(230,237,242,1);
116
- border-radius: 0;
117
- box-sizing: border-box;
118
- color: rgba(35,41,55,1);
119
- font-weight: normal;
120
- font-style: normal;
121
- font-size: 16px;
122
- line-height: 1;
123
- margin-bottom: 5px;
124
- padding: 13px 0 10px 10px;
113
+ display: inline-block;
114
+ padding-left: 10px;
125
115
  text-indent: 0;
126
116
  text-transform: capitalize;
127
- width: 100%;
128
- vertical-align: middle;
129
117
  }
130
- select[multiple] { padding-left: 10px; }
131
118
  select[multiple],
132
119
  select[size] { height: auto; }
133
120
  select:focus,
@@ -189,33 +176,32 @@ select.form-input-initial-width {
189
176
  margin-bottom: 30px;
190
177
  padding-bottom: 5px;
191
178
  }
192
- .form-header h1,
193
- .form-header h2,
194
- .form-header h3,
195
- .form-header h4,
196
- .form-header h5,
197
- .form-header h6 { margin-bottom: 0; }
179
+ .form-header > h1,
180
+ .form-header > h2,
181
+ .form-header > h3,
182
+ .form-header > h4,
183
+ .form-header > h5,
184
+ .form-header > h6 { margin-bottom: 0; }
198
185
  .form-error-messages {
199
186
  background: rgba(255,255,255,1);
200
187
  margin-bottom: 40px;
201
188
  }
202
- .form-error-messages h4 {
189
+ .form-error-messages > h4 {
203
190
  background: rgba(245,248,250,1);
204
191
  border: 1px solid rgba(230,237,242,1);
205
192
  margin: 0;
206
193
  padding: 5px 10px;
207
194
  }
208
- .form-error-messages ul {
209
- border-bottom: 1px solid rgba(230,237,242,1);
210
- border-right: 1px solid rgba(230,237,242,1);
211
- border-left: 1px solid rgba(230,237,242,1);
195
+ .form-error-messages > ul {
196
+ border: 1px solid rgba(230,237,242,1);
197
+ border-top: 0;
212
198
  }
213
- .form-error-messages li {
199
+ .form-error-messages > ul > li {
214
200
  display: block;
215
201
  padding: 0 10px;
216
202
  }
217
- .form-error-messages li:first-child { padding-top: 10px; }
218
- .form-error-messages li:last-child { padding-bottom: 10px; }
203
+ .form-error-messages > ul > li:first-child { padding-top: 10px; }
204
+ .form-error-messages > ul > li:last-child { padding-bottom: 10px; }
219
205
  .form-textarea-small { height: 80px; }
220
206
  .form-textarea-large { height: 200px; }
221
207
  .form-file-input {
@@ -238,36 +224,31 @@ select.form-input-initial-width {
238
224
  float: none;
239
225
  padding: 0;
240
226
  }
241
- .form-input-group input,
227
+ .form-input-group > input,
242
228
  .form-input-group-addon,
243
- .form-file-group input,
229
+ .form-file-group > input,
244
230
  .form-file-group-addon { display: table-cell; }
245
- .form-input-group input,
246
- .form-file-group input { margin: 0; }
247
- .form-input-group-addon {
248
- background: rgba(245,248,250,1);
249
- border: 1px solid rgba(230,237,242,1);
250
- box-sizing: border-box;
251
- color: rgba(136,153,166,1);
252
- font-weight: normal;
253
- font-style: normal;
254
- font-size: 16px;
255
- line-height: 0;
256
- padding: 0 13px;
257
- text-align: center;
258
- width: 1%;
259
- white-space: nowrap;
260
- vertical-align: middle;
261
- }
231
+ .form-input-group > input,
232
+ .form-file-group > input { margin: 0; }
233
+ .form-input-group-addon,
262
234
  .form-file-group-addon {
263
235
  box-sizing: border-box;
264
236
  line-height: 0;
265
- padding: 0;
266
237
  text-align: center;
267
- width: 1%;
268
238
  white-space: nowrap;
239
+ width: 1%;
269
240
  vertical-align: middle;
270
241
  }
242
+ .form-input-group-addon {
243
+ background: rgba(245,248,250,1);
244
+ border: 1px solid rgba(230,237,242,1);
245
+ color: rgba(136,153,166,1);
246
+ font-size: 16px;
247
+ font-style: normal;
248
+ font-weight: normal;
249
+ padding: 0 13px;
250
+ }
251
+ .form-file-group-addon { padding: 0; }
271
252
  .form-file-group-button {
272
253
  border-color: rgba(230,237,242,1);
273
254
  margin-right: -1px;
@@ -276,12 +257,12 @@ select.form-input-initial-width {
276
257
  }
277
258
  .form-input-group-addon:first-child,
278
259
  .form-file-group-addon:first-child,
279
- .form-file-group-addon:first-child .form-file-group-button { border-right: 0; }
260
+ .form-file-group-addon:first-child > .form-file-group-button { border-right: 0; }
280
261
  .form-input-group-addon:last-child,
281
262
  .form-file-group-addon:last-child,
282
- .form-file-group-addon:last-child .form-file-group-button { border-left: 0; }
283
- .form-input-group-addon input[type="radio"],
284
- .form-input-group-addon input[type="checkbox"] { margin: 0; }
263
+ .form-file-group-addon:last-child > .form-file-group-button { border-left: 0; }
264
+ .form-input-group-addon > input[type="radio"],
265
+ .form-input-group-addon > input[type="checkbox"] { margin: 0; }
285
266
  .form-input-inline {
286
267
  display: inline-block;
287
268
  margin: 0;
@@ -304,7 +285,7 @@ select.form-input-initial-width {
304
285
  margin-top: 30px;
305
286
  padding: 20px 0 0 0;
306
287
  }
307
- .form-footer li:first-child { margin-top: 10px; }
288
+ .form-footer > li:first-child { margin-top: 10px; }
308
289
 
309
290
  /* # Styles
310
291
  ================================================== */
@@ -312,16 +293,16 @@ select.form-input-initial-width {
312
293
  clear: both;
313
294
  margin-left: -5px;
314
295
  }
315
- .form-inline input,
316
- .form-inline textarea,
317
- .form-inline select {
296
+ .form-inline > input,
297
+ .form-inline > textarea,
298
+ .form-inline > select {
318
299
  display: inline-block;
319
300
  float: left;
320
301
  margin: 0 0 0 5px;
321
302
  }
322
- .form-inline input[type="submit"],
323
- .form-inline input[type="reset"],
324
- .form-inline input[type="button"] {
303
+ .form-inline > input[type="submit"],
304
+ .form-inline > input[type="reset"],
305
+ .form-inline > input[type="button"] {
325
306
  padding-bottom: 14px;
326
307
  padding-top: 14px;
327
308
  }
@@ -332,18 +313,18 @@ select.form-input-initial-width {
332
313
  .form-input-medium { width: 150px !important; }
333
314
  .form-input-small { width: 75px !important; }
334
315
  .form-input-mini { width: 50px !important; }
335
- .form-inline.form-inline-alt input,
336
- .form-inline.form-inline-alt textarea,
337
- .form-inline.form-inline-alt select {
316
+ .form-inline.form-inline-alt > input,
317
+ .form-inline.form-inline-alt > textarea,
318
+ .form-inline.form-inline-alt > select {
338
319
  font-size: 12px;
339
320
  line-height: 12px;
340
321
  padding-bottom: 8px;
341
322
  padding-top: 10px;
342
323
  }
343
324
 
344
- .form-inline.form-inline-alt input[type="submit"],
345
- .form-inline.form-inline-alt input[type="reset"],
346
- .form-inline.form-inline-alt input[type="button"] {
325
+ .form-inline.form-inline-alt > input[type="submit"],
326
+ .form-inline.form-inline-alt > input[type="reset"],
327
+ .form-inline.form-inline-alt > input[type="button"] {
347
328
  font-size: 11px;
348
329
  line-height: 11px;
349
330
  padding-bottom: 10px;