themepile-abstractio 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +28 -0
  3. data/.rbenv-version +1 -0
  4. data/CONTRIBUTING.md +53 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE +22 -0
  7. data/README.md +136 -0
  8. data/Rakefile +2 -0
  9. data/abstractio.gemspec +18 -0
  10. data/js/foundation/foundation.alerts.js +50 -0
  11. data/js/foundation/foundation.clearing.js +516 -0
  12. data/js/foundation/foundation.cookie.js +74 -0
  13. data/js/foundation/foundation.dropdown.js +159 -0
  14. data/js/foundation/foundation.forms.js +516 -0
  15. data/js/foundation/foundation.joyride.js +842 -0
  16. data/js/foundation/foundation.js +403 -0
  17. data/js/foundation/foundation.magellan.js +130 -0
  18. data/js/foundation/foundation.orbit.js +373 -0
  19. data/js/foundation/foundation.placeholder.js +159 -0
  20. data/js/foundation/foundation.reveal.js +276 -0
  21. data/js/foundation/foundation.section.js +409 -0
  22. data/js/foundation/foundation.tooltips.js +206 -0
  23. data/js/foundation/foundation.topbar.js +252 -0
  24. data/js/foundation/index.js +16 -0
  25. data/js/vendor/custom.modernizr.js +4 -0
  26. data/js/vendor/jquery.js +9597 -0
  27. data/js/vendor/zepto.js +1884 -0
  28. data/lib/abstractio.rb +17 -0
  29. data/lib/abstractio/engine.rb +20 -0
  30. data/lib/abstractio/generators/USAGE +15 -0
  31. data/lib/abstractio/generators/install_generator.rb +54 -0
  32. data/lib/abstractio/generators/templates/application.html.erb +46 -0
  33. data/lib/abstractio/generators/templates/application.html.haml +31 -0
  34. data/lib/abstractio/generators/templates/application.html.slim +28 -0
  35. data/lib/abstractio/version.rb +3 -0
  36. data/lib/themepile-abstractio.rb +17 -0
  37. data/scss/abstractio.scss +46 -0
  38. data/scss/abstractio/_variables.scss +1224 -0
  39. data/scss/abstractio/components/_alert-boxes.scss +107 -0
  40. data/scss/abstractio/components/_block-grid.scss +68 -0
  41. data/scss/abstractio/components/_breadcrumbs.scss +125 -0
  42. data/scss/abstractio/components/_button-groups.scss +89 -0
  43. data/scss/abstractio/components/_buttons.scss +227 -0
  44. data/scss/abstractio/components/_clearing.scss +224 -0
  45. data/scss/abstractio/components/_custom-forms.scss +263 -0
  46. data/scss/abstractio/components/_dropdown-buttons.scss +115 -0
  47. data/scss/abstractio/components/_dropdown.scss +150 -0
  48. data/scss/abstractio/components/_flex-video.scss +46 -0
  49. data/scss/abstractio/components/_forms.scss +362 -0
  50. data/scss/abstractio/components/_global.scss +280 -0
  51. data/scss/abstractio/components/_grid.scss +186 -0
  52. data/scss/abstractio/components/_inline-lists.scss +53 -0
  53. data/scss/abstractio/components/_joyride.scss +215 -0
  54. data/scss/abstractio/components/_keystrokes.scss +57 -0
  55. data/scss/abstractio/components/_labels.scss +85 -0
  56. data/scss/abstractio/components/_magellan.scss +23 -0
  57. data/scss/abstractio/components/_orbit.scss +213 -0
  58. data/scss/abstractio/components/_pagination.scss +100 -0
  59. data/scss/abstractio/components/_panels.scss +77 -0
  60. data/scss/abstractio/components/_pricing-tables.scss +131 -0
  61. data/scss/abstractio/components/_progress-bars.scss +71 -0
  62. data/scss/abstractio/components/_reveal.scss +132 -0
  63. data/scss/abstractio/components/_section.scss +318 -0
  64. data/scss/abstractio/components/_side-nav.scss +69 -0
  65. data/scss/abstractio/components/_split-buttons.scss +167 -0
  66. data/scss/abstractio/components/_sub-nav.scss +68 -0
  67. data/scss/abstractio/components/_switch.scss +251 -0
  68. data/scss/abstractio/components/_tables.scss +84 -0
  69. data/scss/abstractio/components/_thumbs.scss +48 -0
  70. data/scss/abstractio/components/_tooltips.scss +117 -0
  71. data/scss/abstractio/components/_top-bar.scss +495 -0
  72. data/scss/abstractio/components/_type.scss +426 -0
  73. data/scss/abstractio/components/_visibility.scss +322 -0
  74. data/scss/normalize.scss +402 -0
  75. data/templates/project/.gitignore +44 -0
  76. data/templates/project/MIT-LICENSE.txt +20 -0
  77. data/templates/project/config.rb +26 -0
  78. data/templates/project/humans.txt +8 -0
  79. data/templates/project/index.html +124 -0
  80. data/templates/project/manifest.rb +45 -0
  81. data/templates/project/robots.txt +4 -0
  82. data/templates/project/scss/app.scss +48 -0
  83. data/templates/upgrade/manifest.rb +34 -0
  84. metadata +153 -0
@@ -0,0 +1,117 @@
1
+ //
2
+ // Tooltip Variables
3
+ //
4
+ $include-html-tooltip-classes: $include-html-classes !default;
5
+
6
+ $has-tip-border-bottom: dotted 1px #ccc !default;
7
+ $has-tip-font-weight: bold !default;
8
+ $has-tip-font-color: #333 !default;
9
+ $has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%) !default;
10
+ $has-tip-font-color-hover: $primary-color !default;
11
+ $has-tip-cursor-type: help !default;
12
+
13
+ $tooltip-padding: emCalc(8px) !default;
14
+ $tooltip-bg: #000 !default;
15
+ $tooltip-font-size: emCalc(15px) !default;
16
+ $tooltip-font-weight: bold !default;
17
+ $tooltip-font-color: #fff !default;
18
+ $tooltip-line-height: 1.3 !default;
19
+ $tooltip-close-font-size: emCalc(10px) !default;
20
+ $tooltip-close-font-weight: normal !default;
21
+ $tooltip-close-font-color: #888 !default;
22
+ $tooltip-font-size-sml: emCalc(14px) !default;
23
+ $tooltip-radius: $global-radius !default;
24
+ $tooltip-pip-size: 5px !default;
25
+
26
+ @if $include-html-tooltip-classes != false {
27
+
28
+ /* Tooltips */
29
+ .has-tip {
30
+ border-bottom: $has-tip-border-bottom;
31
+ cursor: $has-tip-cursor-type;
32
+ font-weight: $has-tip-font-weight;
33
+ color: $has-tip-font-color;
34
+
35
+ &:hover,
36
+ &:focus {
37
+ border-bottom: $has-tip-border-bottom-hover;
38
+ color: $has-tip-font-color-hover;
39
+ }
40
+
41
+ &.tip-left,
42
+ &.tip-right { float: none !important; }
43
+ }
44
+
45
+ .tooltip {
46
+ display: none;
47
+ position: absolute;
48
+ z-index: 999;
49
+ font-weight: $tooltip-font-weight;
50
+ font-size: $tooltip-font-size;
51
+ line-height: $tooltip-line-height;
52
+ padding: $tooltip-padding;
53
+ max-width: 85%;
54
+ #{$default-float}: 50%;
55
+ width: 100%;
56
+ color: $tooltip-font-color;
57
+ background: $tooltip-bg;
58
+ @include radius($tooltip-radius);
59
+
60
+ &>.nub {
61
+ display: block;
62
+ #{$default-float}: $tooltip-pip-size;
63
+ position: absolute;
64
+ width: 0;
65
+ height: 0;
66
+ border: solid $tooltip-pip-size;
67
+ border-color: transparent transparent $tooltip-bg transparent;
68
+ top: -($tooltip-pip-size * 2);
69
+ }
70
+
71
+ &.opened {
72
+ color: $has-tip-font-color-hover !important;
73
+ border-bottom: $has-tip-border-bottom-hover !important;
74
+ }
75
+ }
76
+
77
+ .tap-to-close {
78
+ display: block;
79
+ font-size: $tooltip-close-font-size;
80
+ color: $tooltip-close-font-color;
81
+ font-weight: $tooltip-close-font-weight;
82
+ }
83
+
84
+ @media #{$small} {
85
+ .tooltip {
86
+ &>.nub {
87
+ border-color: transparent transparent $tooltip-bg transparent;
88
+ top: -($tooltip-pip-size * 2);
89
+ }
90
+ &.tip-top>.nub {
91
+ border-color: $tooltip-bg transparent transparent transparent;
92
+ top: auto;
93
+ bottom: -($tooltip-pip-size * 2);
94
+ }
95
+
96
+ &.tip-left,
97
+ &.tip-right { float: none !important; }
98
+
99
+ &.tip-left>.nub {
100
+ border-color: transparent transparent transparent $tooltip-bg;
101
+ right: -($tooltip-pip-size * 2);
102
+ left: auto;
103
+ top: 50%;
104
+ margin-top: -$tooltip-pip-size;
105
+ }
106
+ &.tip-right>.nub {
107
+ border-color: transparent $tooltip-bg transparent transparent;
108
+ right: auto;
109
+ left: -($tooltip-pip-size * 2);
110
+ top: 50%;
111
+ margin-top: -$tooltip-pip-size;
112
+ }
113
+
114
+ }
115
+ }
116
+
117
+ }
@@ -0,0 +1,495 @@
1
+ //
2
+ // Top Bar Variables
3
+ //
4
+ $include-html-nav-classes: $include-html-classes !default;
5
+
6
+ // Background color for the top bar
7
+ $topbar-bg: #111 !default;
8
+
9
+ // Height and margin
10
+ $topbar-height: 45px !default;
11
+ $topbar-margin-bottom: emCalc(30px) !default;
12
+
13
+ // Control Input height for top bar
14
+ $topbar-input-height: 2.45em !default;
15
+
16
+ // Controlling the styles for the title in the top bar
17
+ $topbar-title-weight: bold !default;
18
+ $topbar-title-font-size: emCalc(17px) !default;
19
+
20
+ // Style the top bar dropdown elements
21
+ $topbar-dropdown-bg: #222 !default;
22
+ $topbar-dropdown-link-color: #fff !default;
23
+ $topbar-dropdown-link-bg: lighten($topbar-bg, 5%) !default;
24
+ $topbar-dropdown-toggle-size: 5px !default;
25
+ $topbar-dropdown-toggle-color: #fff !default;
26
+ $topbar-dropdown-toggle-alpha: 0.5 !default;
27
+
28
+ // Set the link colors and styles for top-level nav
29
+ $topbar-link-color: #fff !default;
30
+ $topbar-link-color-hover: #fff !default;
31
+ $topbar-link-color-active: #fff !default;
32
+ $topbar-link-weight: bold !default;
33
+ $topbar-link-font-size: emCalc(13px) !default;
34
+ $topbar-link-hover-lightness: -30% !default; // Darken by 30%
35
+ $topbar-link-bg-hover: darken($topbar-bg, 3%) !default;
36
+ $topbar-link-bg-active: darken($topbar-bg, 3%) !default;
37
+
38
+ $topbar-dropdown-label-color: #555 !default;
39
+ $topbar-dropdown-label-text-transform: uppercase !default;
40
+ $topbar-dropdown-label-font-weight: bold !default;
41
+ $topbar-dropdown-label-font-size: emCalc(10px) !default;
42
+
43
+ // Top menu icon styles
44
+ $topbar-menu-link-transform: uppercase !default;
45
+ $topbar-menu-link-font-size: emCalc(13px) !default;
46
+ $topbar-menu-link-weight: bold !default;
47
+ $topbar-menu-link-color: #fff !default;
48
+ $topbar-menu-icon-color: #fff !default;
49
+ $topbar-menu-link-color-toggled: #888 !default;
50
+ $topbar-menu-icon-color-toggled: #888 !default;
51
+
52
+ // Transitions and breakpoint styles
53
+ $topbar-transition-speed: 300ms !default;
54
+ $topbar-breakpoint: emCalc(940px) !default; // Change to 9999px for always mobile layout
55
+ $topbar-media-query: "only screen and (min-width:"#{$topbar-breakpoint}")" !default;
56
+
57
+ // Divider Styles
58
+ $topbar-divider-border-bottom: solid 1px lighten($topbar-bg, 10%) !default;
59
+ $topbar-divider-border-top: solid 1px darken($topbar-bg, 10%) !default;
60
+
61
+ // Sticky Class
62
+ $topbar-sticky-class: ".sticky" !default;
63
+
64
+ @if $include-html-nav-classes {
65
+
66
+ /* Wrapped around .top-bar to contain to grid width */
67
+ .contain-to-grid {
68
+ width: 100%;
69
+ background: $topbar-bg;
70
+ }
71
+
72
+ // Wrapped around .top-bar to make it stick to the top
73
+ #{$topbar-sticky-class} {
74
+ width: 100%;
75
+ #{$default-float}: 0;
76
+ position: fixed;
77
+ top: 0;
78
+ z-index: 99;
79
+ }
80
+
81
+ .top-bar {
82
+ overflow: hidden;
83
+ height: $topbar-height;
84
+ line-height: $topbar-height;
85
+ position: relative;
86
+ background: $topbar-bg;
87
+ margin-bottom: $topbar-margin-bottom;
88
+
89
+ // Topbar Global list Styles
90
+ ul {
91
+ margin-bottom: 0;
92
+ list-style: none;
93
+ }
94
+
95
+ .row { max-width: none; }
96
+
97
+ form,
98
+ input { margin-bottom: 0; }
99
+
100
+ input { height: $topbar-input-height; }
101
+
102
+ .button { padding-top: .5em; padding-bottom: .5em; margin-bottom: 0; }
103
+
104
+ // Title Area
105
+ .title-area { position: relative; }
106
+
107
+ .name {
108
+ height: $topbar-height;
109
+ margin: 0;
110
+ font-size: $em-base;
111
+
112
+ h1 {
113
+ line-height: $topbar-height;
114
+ font-size: $topbar-title-font-size;
115
+ margin: 0;
116
+ a {
117
+ font-weight: $topbar-title-weight;
118
+ color: $topbar-link-color;
119
+ width: 50%;
120
+ display: block;
121
+ padding: 0 $topbar-height / 3;
122
+ }
123
+ }
124
+ }
125
+
126
+ // Menu toggle button on small devices
127
+ .toggle-topbar {
128
+ position: absolute;
129
+ #{$opposite-direction}: 0;
130
+ top: 0;
131
+
132
+ a {
133
+ color: $topbar-link-color;
134
+ text-transform: $topbar-menu-link-transform;
135
+ font-size: $topbar-menu-link-font-size;
136
+ font-weight: $topbar-menu-link-weight;
137
+ position: relative;
138
+ display: block;
139
+ padding: 0 $topbar-height / 3;
140
+ height: $topbar-height;
141
+ line-height: $topbar-height;
142
+ }
143
+
144
+ // Adding the class "menu-icon" will add the 3-line icon people love and adore.
145
+ &.menu-icon {
146
+ #{$opposite-direction}: $topbar-height / 3;
147
+ top: 50%;
148
+ margin-top: -16px;
149
+ padding-#{$default-float}: 40px;
150
+
151
+ a {
152
+ text-indent: -48px;
153
+ width: 34px;
154
+ height: 34px;
155
+ line-height: 33px;
156
+ padding: 0;
157
+ color: $topbar-menu-link-color;
158
+
159
+ span {
160
+ position: absolute;
161
+ #{$opposite-direction}: 0;
162
+ display: block;
163
+ width: 16px;
164
+ height: 0;
165
+ // Shh, don't tell, but box-shadows create the menu icon :)
166
+ -webkit-box-shadow: 0 10px 0 1px $topbar-menu-icon-color,
167
+ 0 16px 0 1px $topbar-menu-icon-color,
168
+ 0 22px 0 1px $topbar-menu-icon-color;
169
+
170
+ box-shadow: 0 10px 0 1px $topbar-menu-icon-color,
171
+ 0 16px 0 1px $topbar-menu-icon-color,
172
+ 0 22px 0 1px $topbar-menu-icon-color;
173
+ }
174
+ }
175
+ }
176
+ }
177
+
178
+ // Change things up when the top-bar is expanded
179
+ &.expanded {
180
+ height: auto;
181
+ background: transparent;
182
+
183
+ .title-area { background: $topbar-bg; }
184
+
185
+ .toggle-topbar {
186
+ a { color: $topbar-menu-link-color-toggled;
187
+ span {
188
+ // Shh, don't tell, but box-shadows create the menu icon :)
189
+ -webkit-box-shadow: 0 10px 0 1px $topbar-menu-icon-color-toggled,
190
+ 0 16px 0 1px $topbar-menu-icon-color-toggled,
191
+ 0 22px 0 1px $topbar-menu-icon-color-toggled;
192
+
193
+ box-shadow: 0 10px 0 1px $topbar-menu-icon-color-toggled,
194
+ 0 16px 0 1px $topbar-menu-icon-color-toggled,
195
+ 0 22px 0 1px $topbar-menu-icon-color-toggled;
196
+ }
197
+ }
198
+ }
199
+ }
200
+
201
+ }
202
+
203
+ // Right and Left Navigation that stacked by default
204
+ .top-bar-section {
205
+ #{$default-float}: 0;
206
+ position: relative;
207
+ width: auto;
208
+ @include single-transition($default-float, $topbar-transition-speed);
209
+
210
+ ul {
211
+ width: 100%;
212
+ height: auto;
213
+ display: block;
214
+ background: $topbar-dropdown-bg;
215
+ font-size: $em-base;
216
+ margin: 0;
217
+ }
218
+
219
+ .divider,
220
+ [role="separator"] {
221
+ border-bottom: $topbar-divider-border-bottom;
222
+ border-top: $topbar-divider-border-top;
223
+ clear: both;
224
+ height: 1px;
225
+ width: 100%;
226
+ }
227
+
228
+ ul li {
229
+ & > a {
230
+ display: block;
231
+ width: 100%;
232
+ color: $topbar-link-color;
233
+ padding: 12px 0 12px 0;
234
+ padding-#{$default-float}: $topbar-height / 3;
235
+ font-size: $topbar-link-font-size;
236
+ font-weight: $topbar-link-weight;
237
+ background: $topbar-dropdown-bg;
238
+
239
+ &:hover {
240
+ background: $topbar-link-bg-hover;
241
+ color: $topbar-link-color-hover;
242
+ }
243
+
244
+
245
+ &.button {
246
+ background: $primary-color;
247
+ font-size: $topbar-link-font-size;
248
+ &:hover {
249
+ background: darken($primary-color, 10%);
250
+ }
251
+ }
252
+ &.button.secondary {
253
+ background: $secondary-color;
254
+ &:hover {
255
+ background: darken($secondary-color, 10%);
256
+ }
257
+ }
258
+ &.button.success {
259
+ background: $success-color;
260
+ &:hover {
261
+ background: darken($success-color, 10%);
262
+ }
263
+ }
264
+ &.button.alert {
265
+ background: $alert-color;
266
+ &:hover {
267
+ background: darken($alert-color, 10%);
268
+ }
269
+ }
270
+
271
+ }
272
+
273
+ // Apply the active link color when it has that class
274
+ &.active > a {
275
+ background: $topbar-link-bg-active;
276
+ color: $topbar-link-color-active;
277
+ }
278
+ }
279
+
280
+ // Add some extra padding for list items contains buttons
281
+ .has-form { padding: $topbar-height / 3; }
282
+
283
+ // Styling for list items that have a dropdown within them.
284
+ .has-dropdown {
285
+ position: relative;
286
+
287
+ & > a {
288
+ &:after {
289
+ @include css-triangle($topbar-dropdown-toggle-size, rgba($topbar-dropdown-toggle-color, $topbar-dropdown-toggle-alpha), $default-float);
290
+ margin-#{$opposite-direction}: $topbar-height / 3;
291
+ margin-top: -($topbar-dropdown-toggle-size / 2) - 2;
292
+ position: absolute;
293
+ top: 50%;
294
+ #{$opposite-direction}: 0;
295
+ }
296
+ }
297
+
298
+ &.moved { position: static;
299
+ & > .dropdown {
300
+ visibility: visible;
301
+ }
302
+ }
303
+ }
304
+
305
+ // Styling elements inside of dropdowns
306
+ .dropdown {
307
+ position: absolute;
308
+ #{$default-float}: 100%;
309
+ top: 0;
310
+ visibility: hidden;
311
+ z-index: 99;
312
+
313
+ li { width: 100%;
314
+ a {
315
+ font-weight: normal;
316
+ padding: 8px $topbar-height / 3;
317
+ }
318
+
319
+ &.title h5 { margin-bottom: 0;
320
+ a {
321
+ color: $topbar-link-color;
322
+ line-height: $topbar-height / 2;
323
+ display: block;
324
+ }
325
+ }
326
+ }
327
+
328
+ label {
329
+ padding: 8px $topbar-height / 3 2px;
330
+ margin-bottom: 0;
331
+ text-transform: $topbar-dropdown-label-text-transform;
332
+ color: $topbar-dropdown-label-color;
333
+ font-weight: $topbar-dropdown-label-font-weight;
334
+ font-size: $topbar-dropdown-label-font-size;
335
+ }
336
+ }
337
+ }
338
+
339
+ // Element that controls breakpoint, no need to change this ever
340
+ .top-bar-js-breakpoint {
341
+ width: $topbar-breakpoint !important;
342
+ visibility: hidden;
343
+ }
344
+ .js-generated { display: block; }
345
+
346
+
347
+ // Top Bar styles intended for screen sizes above the breakpoint.
348
+ @media #{$topbar-media-query} {
349
+ .top-bar {
350
+ background: $topbar-bg;
351
+ @include clearfix;
352
+ overflow: visible;
353
+
354
+ .toggle-topbar { display: none; }
355
+
356
+ .title-area { float: $default-float; }
357
+ .name h1 a { width: auto; }
358
+
359
+ input,
360
+ .button {
361
+ line-height: 2em;
362
+ font-size: emCalc(14px);
363
+ height: 2em;
364
+ padding: 0 10px;
365
+ position: relative;
366
+ top: 8px;
367
+ }
368
+
369
+ &.expanded { background: $topbar-bg; }
370
+ }
371
+
372
+ .contain-to-grid .top-bar {
373
+ max-width: $row-width;
374
+ margin: 0 auto;
375
+ margin-bottom: $topbar-margin-bottom; }
376
+
377
+ .top-bar-section {
378
+ @include single-transition(none,0,0);
379
+ #{$default-float}: 0 !important;
380
+
381
+ ul {
382
+ width: auto;
383
+ height: auto !important;
384
+ display: inline;
385
+
386
+ li {
387
+ float: $default-float;
388
+ .js-generated { display: none; }
389
+ }
390
+ }
391
+
392
+ li {
393
+ a:not(.button) {
394
+ padding: 0 $topbar-height / 3;
395
+ line-height: $topbar-height;
396
+ background: $topbar-bg;
397
+ &:hover { background: adjust-color($topbar-dropdown-bg, $lightness: $topbar-link-hover-lightness); }
398
+ }
399
+ }
400
+
401
+ .has-dropdown {
402
+ & > a {
403
+ padding-#{$opposite-direction}: $topbar-height / 3 + 20 !important;
404
+
405
+ &:after {
406
+ @include css-triangle($topbar-dropdown-toggle-size, rgba($topbar-dropdown-toggle-color, $topbar-dropdown-toggle-alpha), top);
407
+ margin-top: -($topbar-dropdown-toggle-size / 2);
408
+ top: $topbar-height / 2;
409
+ }
410
+ }
411
+
412
+ &.moved { position: relative;
413
+ & > .dropdown { visibility: hidden; }
414
+ }
415
+
416
+ &:hover,
417
+ &:active {
418
+ & > .dropdown {
419
+ visibility: visible;
420
+ }
421
+ }
422
+
423
+ .dropdown li.has-dropdown {
424
+ & > a {
425
+ &:after {
426
+ border: none;
427
+ content: "\00bb";
428
+ margin-top: -16px;
429
+ #{$opposite-direction}: 5px;
430
+ }
431
+ }
432
+ }
433
+
434
+ }
435
+
436
+ .dropdown {
437
+ #{$default-float}: 0;
438
+ top: auto;
439
+ background: transparent;
440
+ min-width: 100%;
441
+
442
+ li {
443
+ a {
444
+ color: $topbar-dropdown-link-color;
445
+ line-height: 1;
446
+ white-space: nowrap;
447
+ padding: 7px $topbar-height / 3;
448
+ background: $topbar-dropdown-link-bg;
449
+ }
450
+
451
+ label {
452
+ white-space: nowrap;
453
+ background: lighten($topbar-bg, 5%);
454
+ }
455
+
456
+ // Second Level Dropdowns
457
+ .dropdown {
458
+ #{$default-float}: 100%;
459
+ top: 0;
460
+ }
461
+ }
462
+ }
463
+
464
+ & > ul > .divider,
465
+ & > ul > [role="separator"] {
466
+ border-bottom: none;
467
+ border-top: none;
468
+ border-#{$opposite-direction}: $topbar-divider-border-bottom;
469
+ border-#{$default-float}: $topbar-divider-border-top;
470
+ clear: none;
471
+ height: $topbar-height;
472
+ width: 0px;
473
+ }
474
+
475
+ .has-form {
476
+ background: $topbar-bg;
477
+ padding: 0 $topbar-height / 3;
478
+ height: $topbar-height;
479
+ }
480
+
481
+ // Position overrides for ul.right
482
+ ul.right {
483
+ li .dropdown {
484
+ left: auto;
485
+ right: 0;
486
+
487
+ li .dropdown { right: 100%; }
488
+ }
489
+ }
490
+
491
+ }
492
+
493
+ }
494
+
495
+ }