nitro_sg 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/fonts/fontawesome.js +1978 -0
  3. data/fonts/regular.js +1217 -0
  4. data/lib/nitro_sg/version.rb +1 -1
  5. data/sass-mixins/_global.scss +415 -0
  6. data/sass-mixins/_normalize.scss +424 -0
  7. data/sass-mixins/_print.scss +101 -0
  8. data/sass-mixins/application.scss +29 -0
  9. data/sass-mixins/application.scss.flow +1592 -0
  10. data/sass-mixins/base-mixins/_all.scss +11 -0
  11. data/sass-mixins/base-mixins/_all.scss.flow +6 -0
  12. data/sass-mixins/base-mixins/_border-radius.scss +25 -0
  13. data/sass-mixins/base-mixins/_breakpoints.scss +95 -0
  14. data/sass-mixins/base-mixins/_color.sass +22 -0
  15. data/sass-mixins/base-mixins/_forms.scss +33 -0
  16. data/sass-mixins/base-mixins/_general.scss +599 -0
  17. data/sass-mixins/base-mixins/_grid-framework.scss +81 -0
  18. data/sass-mixins/base-mixins/_grid.scss +126 -0
  19. data/sass-mixins/base-mixins/_hover.scss +26 -0
  20. data/sass-mixins/base-mixins/_images.scss +33 -0
  21. data/sass-mixins/base-mixins/_media-queries.sass +58 -0
  22. data/sass-mixins/base-mixins/_type.scss +46 -0
  23. data/sass-mixins/base-variables/_all.scss +11 -0
  24. data/sass-mixins/base-variables/_animation-curves.scss +37 -0
  25. data/sass-mixins/base-variables/_bootstrap-variables.scss +284 -0
  26. data/sass-mixins/base-variables/_border-radius.sass +27 -0
  27. data/sass-mixins/base-variables/_color-bootstrap.scss +62 -0
  28. data/sass-mixins/base-variables/_color-deprecated.scss +26 -0
  29. data/sass-mixins/base-variables/_color-ui-elements.scss +20 -0
  30. data/sass-mixins/base-variables/_colors-export.scss +13 -0
  31. data/sass-mixins/base-variables/_colors-export.scss.flow +92 -0
  32. data/sass-mixins/base-variables/_colors.scss +267 -0
  33. data/sass-mixins/base-variables/_colors.scss.flow +5 -0
  34. data/sass-mixins/base-variables/_fonts.scss +97 -0
  35. data/sass-mixins/base-variables/_forms.scss +44 -0
  36. data/sass-mixins/base-variables/_opacity.scss +9 -0
  37. data/sass-mixins/base-variables/_positioning.scss +24 -0
  38. data/sass-mixins/base-variables/_shadows.scss +5 -0
  39. data/sass-mixins/base-variables/_sizing-ui-elements.scss +2 -0
  40. data/sass-mixins/base-variables/_spacing.sass +27 -0
  41. data/sass-mixins/base-variables/_typography.sass +79 -0
  42. data/sass-mixins/class-helpers/_all.scss +17 -0
  43. data/sass-mixins/class-helpers/_borders.scss +40 -0
  44. data/sass-mixins/class-helpers/_color.sass +61 -0
  45. data/sass-mixins/class-helpers/_display.scss +40 -0
  46. data/sass-mixins/class-helpers/_flexbox.scss +213 -0
  47. data/sass-mixins/class-helpers/_glyphicons.scss +307 -0
  48. data/sass-mixins/class-helpers/_line-height.scss +21 -0
  49. data/sass-mixins/class-helpers/_radius-and-shadows.scss +49 -0
  50. data/sass-mixins/class-helpers/_responsive-utilities.scss +179 -0
  51. data/sass-mixins/class-helpers/_screen-readers.scss +34 -0
  52. data/sass-mixins/class-helpers/_spacing.scss +51 -0
  53. data/sass-mixins/class-helpers/_type.scss +323 -0
  54. data/sass-mixins/class-helpers/_z-index.scss +10 -0
  55. data/sass-mixins/components.scss +5 -0
  56. data/sass-mixins/nitro-ui/_alerts.scss +139 -0
  57. data/sass-mixins/nitro-ui/_all.scss +33 -0
  58. data/sass-mixins/nitro-ui/_animations.scss +37 -0
  59. data/sass-mixins/nitro-ui/_carousel.scss +281 -0
  60. data/sass-mixins/nitro-ui/_code.scss +87 -0
  61. data/sass-mixins/nitro-ui/_connect-cards.scss +150 -0
  62. data/sass-mixins/nitro-ui/_dashboards.scss +516 -0
  63. data/sass-mixins/nitro-ui/_fixed-confirmation-toast.scss +48 -0
  64. data/sass-mixins/nitro-ui/_full-menu.scss +168 -0
  65. data/sass-mixins/nitro-ui/_grid.scss +92 -0
  66. data/sass-mixins/nitro-ui/_icon-toggle.scss +37 -0
  67. data/sass-mixins/nitro-ui/_jumbotron.scss +65 -0
  68. data/sass-mixins/nitro-ui/_links.scss +69 -0
  69. data/sass-mixins/nitro-ui/_list-group.scss +219 -0
  70. data/sass-mixins/nitro-ui/_media.scss +66 -0
  71. data/sass-mixins/nitro-ui/_modals.scss +311 -0
  72. data/sass-mixins/nitro-ui/_notify.scss +56 -0
  73. data/sass-mixins/nitro-ui/_popovers.scss +167 -0
  74. data/sass-mixins/nitro-ui/_progress-bars.scss +125 -0
  75. data/sass-mixins/nitro-ui/_responsive-embed.scss +35 -0
  76. data/sass-mixins/nitro-ui/_side-modal.scss +92 -0
  77. data/sass-mixins/nitro-ui/_tables-responsive.scss +253 -0
  78. data/sass-mixins/nitro-ui/_tables.scss +296 -0
  79. data/sass-mixins/nitro-ui/_thumbnails.scss +38 -0
  80. data/sass-mixins/nitro-ui/_tooltip.scss +124 -0
  81. data/sass-mixins/nitro-ui/_typography.scss +176 -0
  82. data/sass-mixins/nitro-ui/_value-stat.scss +149 -0
  83. data/sass-mixins/nitro-ui/_wells.scss +37 -0
  84. data/sass-mixins/nitro-ui/buttons/_all.scss +97 -0
  85. data/sass-mixins/nitro-ui/buttons/_button-capping.scss +21 -0
  86. data/sass-mixins/nitro-ui/buttons/_button-groups.scss +236 -0
  87. data/sass-mixins/nitro-ui/buttons/_button-mixins.scss +66 -0
  88. data/sass-mixins/nitro-ui/buttons/_button-variables.scss +51 -0
  89. data/sass-mixins/nitro-ui/buttons/_choice-buttons.scss +9 -0
  90. data/sass-mixins/nitro-ui/buttons/_circle-buttons.scss +30 -0
  91. data/sass-mixins/nitro-ui/buttons/_close.scss +45 -0
  92. data/sass-mixins/nitro-ui/buttons/_dropdowns.scss +270 -0
  93. data/sass-mixins/nitro-ui/buttons/_ghost-buttons.scss +58 -0
  94. data/sass-mixins/nitro-ui/buttons/_link-buttons.scss +53 -0
  95. data/sass-mixins/nitro-ui/buttons/_solid-buttons.scss +69 -0
  96. data/sass-mixins/nitro-ui/cards-panels/_all.scss +3 -0
  97. data/sass-mixins/nitro-ui/cards-panels/_cards.scss +409 -0
  98. data/sass-mixins/nitro-ui/cards-panels/_collapsible-card.scss +19 -0
  99. data/sass-mixins/nitro-ui/cards-panels/_panel-collapse.scss +34 -0
  100. data/sass-mixins/nitro-ui/cards-panels/_panel-list-groups.scss +41 -0
  101. data/sass-mixins/nitro-ui/cards-panels/_panel-tables.scss +111 -0
  102. data/sass-mixins/nitro-ui/cards-panels/_panels.scss +120 -0
  103. data/sass-mixins/nitro-ui/forms/_all.scss +18 -0
  104. data/sass-mixins/nitro-ui/forms/_checkbox-radio.scss +154 -0
  105. data/sass-mixins/nitro-ui/forms/_checkbox-toggle.scss +77 -0
  106. data/sass-mixins/nitro-ui/forms/_color-feedback.scss +53 -0
  107. data/sass-mixins/nitro-ui/forms/_dropdown.scss +12 -0
  108. data/sass-mixins/nitro-ui/forms/_form-group.scss +104 -0
  109. data/sass-mixins/nitro-ui/forms/_general-element-reset.scss +120 -0
  110. data/sass-mixins/nitro-ui/forms/_help-block.scss +11 -0
  111. data/sass-mixins/nitro-ui/forms/_horizontal-forms.scss +69 -0
  112. data/sass-mixins/nitro-ui/forms/_input-groups.scss +169 -0
  113. data/sass-mixins/nitro-ui/forms/_label.scss +29 -0
  114. data/sass-mixins/nitro-ui/forms/_multi-input-group.scss +89 -0
  115. data/sass-mixins/nitro-ui/forms/_static-form-text.scss +19 -0
  116. data/sass-mixins/nitro-ui/forms/_validation-states.scss +78 -0
  117. data/sass-mixins/nitro-ui/layouts/_sidebar-layout.scss +59 -0
  118. data/sass-mixins/nitro-ui/navigation/_all.scss +36 -0
  119. data/sass-mixins/nitro-ui/navigation/_breadcrumbs.scss +30 -0
  120. data/sass-mixins/nitro-ui/navigation/_pager.scss +71 -0
  121. data/sass-mixins/nitro-ui/navigation/_pagination.scss +212 -0
  122. data/sass-mixins/nitro-ui/navigation/navbar/_brand.scss +25 -0
  123. data/sass-mixins/nitro-ui/navigation/navbar/_collapse-content.scss +49 -0
  124. data/sass-mixins/nitro-ui/navigation/navbar/_default-navbar.scss +33 -0
  125. data/sass-mixins/nitro-ui/navigation/navbar/_dropdowns-buttons.scss +29 -0
  126. data/sass-mixins/nitro-ui/navigation/navbar/_floats.scss +21 -0
  127. data/sass-mixins/nitro-ui/navigation/navbar/_flush.scss +14 -0
  128. data/sass-mixins/nitro-ui/navigation/navbar/_forms.scss +41 -0
  129. data/sass-mixins/nitro-ui/navigation/navbar/_header.scss +31 -0
  130. data/sass-mixins/nitro-ui/navigation/navbar/_inverse-navbar.scss +32 -0
  131. data/sass-mixins/nitro-ui/navigation/navbar/_light-navbar.scss +36 -0
  132. data/sass-mixins/nitro-ui/navigation/navbar/_links.scss +52 -0
  133. data/sass-mixins/nitro-ui/navigation/navbar/_mixins.scss +161 -0
  134. data/sass-mixins/nitro-ui/navigation/navbar/_navbar.scss +29 -0
  135. data/sass-mixins/nitro-ui/navigation/navbar/_position.scss +50 -0
  136. data/sass-mixins/nitro-ui/navigation/navbar/_text.scss +13 -0
  137. data/sass-mixins/nitro-ui/navigation/navbar/_toggle-button.scss +37 -0
  138. data/sass-mixins/nitro-ui/navigation/navbar/_variables.scss +8 -0
  139. data/sass-mixins/nitro-ui/navigation/navs/_nav-dropdowns.scss +10 -0
  140. data/sass-mixins/nitro-ui/navigation/navs/_nav-justified.scss +32 -0
  141. data/sass-mixins/nitro-ui/navigation/navs/_nav-pills.scss +41 -0
  142. data/sass-mixins/nitro-ui/navigation/navs/_nav-tabs-justified.scss +30 -0
  143. data/sass-mixins/nitro-ui/navigation/navs/_nav-tabs.scss +41 -0
  144. data/sass-mixins/nitro-ui/navigation/navs/_nav.scss +383 -0
  145. data/sass-mixins/nitro-ui/navigation/navs/_navs.scss +70 -0
  146. data/sass-mixins/nitro-ui/navigation/navs/_tabbable-tabs.scss +12 -0
  147. data/sass-mixins/nitro-ui/navigation/navs/_variables.scss +23 -0
  148. data/sass-mixins/nitro-ui/tables/_all.scss +14 -0
  149. data/sass-mixins/nitro-ui/tables/_as-cards.scss +49 -0
  150. data/sass-mixins/nitro-ui/tables/_content.scss +13 -0
  151. data/sass-mixins/nitro-ui/tables/_headers.scss +17 -0
  152. data/sass-mixins/nitro-ui/tables/_hover.scss +66 -0
  153. data/sass-mixins/nitro-ui/tables/_mixins.scss +0 -0
  154. data/sass-mixins/nitro-ui/tables/_mobile.scss +138 -0
  155. data/sass-mixins/nitro-ui/tables/_reset.scss +17 -0
  156. data/sass-mixins/nitro-ui/tables/_single-line.scss +35 -0
  157. data/sass-mixins/nitro-ui/tables/_structure.scss +39 -0
  158. data/sass-mixins/nitro-ui/tables/_table-card.scss +88 -0
  159. data/sass-mixins/nitro-ui/tables/_table-dark.scss +92 -0
  160. data/sass-mixins/nitro-ui/tables/_variables.scss +23 -0
  161. data/sass-mixins/vendor/_bootstrap-overrides.scss +41 -0
  162. data/sass-mixins/vendor/_dropzone.scss +388 -0
  163. data/sass-mixins/vendor/_nitro-bootstrap.scss +95 -0
  164. data/sass-mixins/vendor/_nitro-dropzone.scss +56 -0
  165. data/sass-mixins/vendor/_react-datetime.scss +105 -0
  166. data/sass-mixins/vendor/_selectize.scss +407 -0
  167. data/sass-mixins/vendor/_sweet-alert-extended.scss +3 -0
  168. data/sass-mixins/vendor/react-select.css +375 -0
  169. data/sass-mixins/vendor/svg-with-js.css +5 -0
  170. data/sass-mixins/vendor/type-ahead.scss +43 -0
  171. metadata +170 -2
@@ -0,0 +1,29 @@
1
+ // Dropdown menus
2
+
3
+ // Menu position and menu carets
4
+ .navbar-nav > li > .dropdown-menu {
5
+ margin-top: 0;
6
+ @include border-top-radius(0);
7
+ }
8
+ // Menu position and menu caret support for dropups via extra dropup class
9
+ .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
10
+ margin-bottom: 0;
11
+ @include border-top-radius($navbar-border-radius);
12
+ @include border-bottom-radius(0);
13
+ }
14
+
15
+
16
+ // Buttons in navbars
17
+ //
18
+ // Vertically center a button within a navbar (when *not* in a form).
19
+
20
+ .navbar-btn {
21
+ @include navbar-vertical-align($input-height-base);
22
+
23
+ &.btn-sm {
24
+ @include navbar-vertical-align($input-height-small);
25
+ }
26
+ &.btn-xs {
27
+ @include navbar-vertical-align(22);
28
+ }
29
+ }
@@ -0,0 +1,21 @@
1
+ // Component alignment
2
+ //
3
+ // Repurpose the pull utilities as their own navbar utilities to avoid specificity
4
+ // issues with parents and chaining. Only do this when the navbar is uncollapsed
5
+ // though so that navbar contents properly stack and align in mobile.
6
+ //
7
+ // Declared after the navbar components to ensure more specificity on the margins.
8
+
9
+ @media (min-width: $grid-float-breakpoint) {
10
+ .navbar-left {
11
+ float: left !important;
12
+ }
13
+ .navbar-right {
14
+ float: right !important;
15
+ margin-right: -$navbar-padding-horizontal;
16
+
17
+ ~ .navbar-right {
18
+ margin-right: 0;
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,14 @@
1
+
2
+
3
+ .navbar {
4
+ &-flush-top {
5
+ border-top-right-radius: 0;
6
+ border-top-left-radius: 0;
7
+ margin-top: 0;
8
+ }
9
+ &-flush-bottom {
10
+ border-bottom-right-radius: 0;
11
+ border-bottom-left-radius: 0;
12
+ margin-bottom: 0;
13
+ }
14
+ }
@@ -0,0 +1,41 @@
1
+ // Navbar form
2
+ //
3
+ // Extension of the `.form-inline` with some extra flavor for optimum display in
4
+ // our navbars.
5
+
6
+ .navbar-form {
7
+ margin-left: -$navbar-padding-horizontal;
8
+ margin-right: -$navbar-padding-horizontal;
9
+ padding: 10px $navbar-padding-horizontal;
10
+ border-top: 1px solid transparent;
11
+ border-bottom: 1px solid transparent;
12
+ $shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
13
+ @include box-shadow($shadow);
14
+
15
+ // Mixin behavior for optimum display
16
+ @include form-inline;
17
+
18
+ .form-group {
19
+ @media (max-width: $grid-float-breakpoint-max) {
20
+ margin-bottom: 5px;
21
+
22
+ &:last-child {
23
+ margin-bottom: 0;
24
+ }
25
+ }
26
+ }
27
+
28
+ // Vertically center in expanded, horizontal navbar
29
+ @include navbar-vertical-align($input-height-base);
30
+
31
+ // Undo 100% width for pull classes
32
+ @media (min-width: $grid-float-breakpoint) {
33
+ width: auto;
34
+ border: 0;
35
+ margin-left: 0;
36
+ margin-right: 0;
37
+ padding-top: 0;
38
+ padding-bottom: 0;
39
+ @include box-shadow(none);
40
+ }
41
+ }
@@ -0,0 +1,31 @@
1
+ // Navbar heading
2
+ //
3
+ // Groups `.navbar-brand` and `.navbar-toggle` into a single component for easy
4
+ // styling of responsive aspects.
5
+
6
+ .navbar-header {
7
+ @include clearfix;
8
+
9
+ @media (min-width: $grid-float-breakpoint) {
10
+ float: left;
11
+ }
12
+ }
13
+
14
+
15
+ // Both navbar header and collapse
16
+ //
17
+ // When a container is present, change the behavior of the header and collapse.
18
+
19
+ .container,
20
+ .container-fluid {
21
+ > .navbar-header,
22
+ > .navbar-collapse {
23
+ margin-right: -$navbar-padding-horizontal;
24
+ margin-left: -$navbar-padding-horizontal;
25
+
26
+ @media (min-width: $grid-float-breakpoint) {
27
+ margin-right: 0;
28
+ margin-left: 0;
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,32 @@
1
+ //=== Inverted navbar
2
+ // Reset inverted navbar basics
3
+ $navbar-inverse-bg: $ink;
4
+ $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
5
+
6
+ // Inverted navbar links
7
+ $navbar-inverse-link-color: lighten($gray-light, 15%) !default;
8
+ $navbar-inverse-link-hover-color: #fff !default;
9
+ $navbar-inverse-link-hover-bg: transparent !default;
10
+ $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
11
+ $navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%) !default;
12
+ $navbar-inverse-link-disabled-color: #444 !default;
13
+ $navbar-inverse-link-disabled-bg: transparent !default;
14
+
15
+ // Inverted navbar brand label
16
+ $navbar-inverse-brand-color: $navbar-inverse-link-color !default;
17
+ $navbar-inverse-brand-hover-color: #fff !default;
18
+ $navbar-inverse-brand-hover-bg: transparent !default;
19
+
20
+ // Inverted navbar toggle
21
+ $navbar-inverse-toggle-hover-bg: #333 !default;
22
+ $navbar-inverse-toggle-icon-bar-bg: #fff !default;
23
+ $navbar-inverse-toggle-border-color: #333 !default;
24
+
25
+
26
+
27
+
28
+ // Inverse navbar
29
+
30
+ .navbar-inverse {
31
+ @include navbar-color($ink, tint($ink, 10%), $power-blue);
32
+ }
@@ -0,0 +1,36 @@
1
+ //=== Inverted navbar
2
+ // Reset inverted navbar basics
3
+ $navbar-light-color: $power-blue;
4
+ $navbar-light-bg: #222 !default;
5
+ $navbar-light-border: darken($navbar-light-bg, 10%) !default;
6
+
7
+ // Inverted navbar links
8
+ $navbar-light-link-color: lighten($gray-light, 15%) !default;
9
+ $navbar-light-link-hover-color: #fff !default;
10
+ $navbar-light-link-hover-bg: transparent !default;
11
+ $navbar-light-link-active-color: $navbar-light-link-hover-color !default;
12
+ $navbar-light-link-active-bg: darken($navbar-light-bg, 10%) !default;
13
+ $navbar-light-link-disabled-color: #444 !default;
14
+ $navbar-light-link-disabled-bg: transparent !default;
15
+
16
+ // Inverted navbar brand label
17
+ $navbar-light-brand-color: $navbar-light-link-color !default;
18
+ $navbar-light-brand-hover-color: #fff !default;
19
+ $navbar-light-brand-hover-bg: transparent !default;
20
+
21
+ // Inverted navbar toggle
22
+ $navbar-light-toggle-hover-bg: #333 !default;
23
+ $navbar-light-toggle-icon-bar-bg: #fff !default;
24
+ $navbar-light-toggle-border-color: #333 !default;
25
+
26
+
27
+
28
+
29
+ // Inverse navbar
30
+
31
+ // $blue-navbar-gradient: @include gradient-vertical($start-color: $btn-color, $end-color: darken($btn-color, 12%));
32
+ // background: linear-gradient(to bottom, #333 0%,#EEE 100%);
33
+ .navbar-blue {
34
+ @include navbar-color($power-blue, $white-opacity-1, $ink);
35
+ background: linear-gradient(to bottom, $power-blue 20%, mix($power-royal, $power-blue, 50%) 100%);
36
+ }
@@ -0,0 +1,52 @@
1
+ // Navbar nav links
2
+ //
3
+ // Builds on top of the `.nav` components with its own modifier class to make
4
+ // the nav the full height of the horizontal nav (above 768px).
5
+
6
+ .navbar-nav {
7
+ margin: ($navbar-padding-vertical / 2) (-$navbar-padding-horizontal);
8
+
9
+ > li > a {
10
+ padding-top: 10px;
11
+ padding-bottom: 10px;
12
+ line-height: $line-height-computed;
13
+ }
14
+
15
+ @media (max-width: $grid-float-breakpoint-max) {
16
+ // Dropdowns get custom display when collapsed
17
+ .open .dropdown-menu {
18
+ position: static;
19
+ float: none;
20
+ width: auto;
21
+ margin-top: 0;
22
+ background-color: transparent;
23
+ border: 0;
24
+ box-shadow: none;
25
+ > li > a,
26
+ .dropdown-header {
27
+ padding: 5px 15px 5px 25px;
28
+ }
29
+ > li > a {
30
+ line-height: $line-height-computed;
31
+ &:hover,
32
+ &:focus {
33
+ background-image: none;
34
+ }
35
+ }
36
+ }
37
+ }
38
+
39
+ // Uncollapse the nav
40
+ @media (min-width: $grid-float-breakpoint) {
41
+ float: left;
42
+ margin: 0;
43
+
44
+ > li {
45
+ float: left;
46
+ > a {
47
+ padding-top: $navbar-padding-vertical;
48
+ padding-bottom: $navbar-padding-vertical;
49
+ }
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,161 @@
1
+ // Navbar vertical align
2
+ //
3
+ // Vertically center elements in the navbar.
4
+ // Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
5
+
6
+ @mixin navbar-vertical-align($element-height) {
7
+ margin-top: (($navbar-height - $element-height) / 2);
8
+ margin-bottom: (($navbar-height - $element-height) / 2);
9
+ }
10
+
11
+
12
+ @mixin navbar-color($navbar-color, $navbar-border, $navbar-accent) {
13
+
14
+ $navbar-text-color: null;
15
+ $navbar-link-color: null;
16
+
17
+ @if lightness($navbar-color) > 75% {
18
+ $navbar-text-color: shade($navbar-color, 80%);
19
+ $navbar-link-color: rgba($navbar-text-color, $opacity-6);
20
+ } @else {
21
+ $navbar-text-color: tint($navbar-color, 95%);
22
+ $navbar-link-color: rgba($navbar-text-color, $opacity-8);
23
+ }
24
+
25
+ background-color: $navbar-color;
26
+ border-color: $navbar-border;
27
+
28
+ .navbar-brand {
29
+ color: $navbar-text-color;
30
+ &:hover,
31
+ &:focus {
32
+ color: $navbar-accent
33
+ // background-color: $navbar-default-brand-hover-bg;
34
+ }
35
+ }
36
+
37
+ .navbar-text {
38
+ color: rgba($navbar-text-color, $opacity-7);
39
+ }
40
+
41
+ .navbar-nav {
42
+ > li > a {
43
+ color: $navbar-link-color;
44
+ background-color: transparent;
45
+ border-bottom: 4px solid transparent;
46
+ font-weight: $bold;
47
+ @include smooth-font;
48
+
49
+ &:hover,
50
+ &:focus {
51
+ color: $navbar-text-color;
52
+ background-color: transparent;
53
+ }
54
+ }
55
+ > .active > a {
56
+ &,
57
+ &:hover,
58
+ &:focus {
59
+ color: $navbar-text-color;
60
+ border-color: $navbar-accent;
61
+ background-color: transparent;
62
+ }
63
+ }
64
+ > .disabled > a {
65
+ &,
66
+ &:hover,
67
+ &:focus {
68
+ color: rgba($navbar-link-color, $opacity-1);
69
+ border-color: $navbar-accent;
70
+ background-color: transparent;
71
+ }
72
+ }
73
+ }
74
+
75
+ .navbar-toggle {
76
+ // border-color: $navbar-default-toggle-border-color;
77
+ &:hover,
78
+ &:focus {
79
+ // background-color: $navbar-default-toggle-hover-bg;
80
+ }
81
+ .icon-bar {
82
+ // background-color: $navbar-default-toggle-icon-bar-bg;
83
+ }
84
+ }
85
+
86
+ .navbar-collapse,
87
+ .navbar-form {
88
+ // border-color: $navbar-default-border;
89
+ }
90
+
91
+ // Dropdown menu items
92
+ .navbar-nav {
93
+ // Remove background color from open dropdown
94
+ > .open > a {
95
+ &,
96
+ &:hover,
97
+ &:focus {
98
+ // background-color: $navbar-default-link-active-bg;
99
+ // color: $navbar-default-link-active-color;
100
+ }
101
+ }
102
+
103
+ @media (max-width: $grid-float-breakpoint-max) {
104
+ // Dropdowns get custom display when collapsed
105
+ .open .dropdown-menu {
106
+ > li > a {
107
+ // color: $navbar-default-link-color;
108
+ &:hover,
109
+ &:focus {
110
+ // color: $navbar-default-link-hover-color;
111
+ // background-color: $navbar-default-link-hover-bg;
112
+ }
113
+ }
114
+ > .active > a {
115
+ &,
116
+ &:hover,
117
+ &:focus {
118
+ // color: $navbar-default-link-active-color;
119
+ // background-color: $navbar-default-link-active-bg;
120
+ }
121
+ }
122
+ > .disabled > a {
123
+ &,
124
+ &:hover,
125
+ &:focus {
126
+ // color: $navbar-default-link-disabled-color;
127
+ // background-color: $navbar-default-link-disabled-bg;
128
+ }
129
+ }
130
+ }
131
+ }
132
+ }
133
+
134
+
135
+ // Links in navbars
136
+ //
137
+ // Add a class to ensure links outside the navbar nav are colored correctly.
138
+
139
+ .navbar-link {
140
+ // color: $navbar-default-link-color;
141
+ &:hover {
142
+ // color: $navbar-default-link-hover-color;
143
+ }
144
+ }
145
+
146
+ .btn-link {
147
+ // color: $navbar-default-link-color;
148
+ &:hover,
149
+ &:focus {
150
+ // color: $navbar-default-link-hover-color;
151
+ }
152
+ &[disabled],
153
+ fieldset[disabled] & {
154
+ &:hover,
155
+ &:focus {
156
+ // color: $navbar-default-link-disabled-color;
157
+ }
158
+ }
159
+ }
160
+
161
+ }
@@ -0,0 +1,29 @@
1
+ //
2
+ // Navbars
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Wrapper and base class
7
+ //
8
+ // Provide a static navbar from which we expand to create full-width, fixed, and
9
+ // other navbar variations.
10
+
11
+ .navbar {
12
+ position: relative;
13
+ min-height: $navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
14
+ margin-bottom: $navbar-margin-bottom;
15
+ border: 1px solid transparent;
16
+ padding: 0 $space-base;
17
+
18
+ // Prevent floats from breaking the navbar
19
+ @include clearfix;
20
+
21
+ @media (min-width: $grid-float-breakpoint) {
22
+ border-radius: $navbar-border-radius;
23
+ }
24
+ }
25
+
26
+
27
+
28
+
29
+ // ADD FLUSH BOTTOM OPTION