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,36 @@
1
+
2
+ // Navs
3
+ @import "navs/variables";
4
+ @import "navs/navs";
5
+ @import "navs/nav";
6
+ @import "navs/nav-dropdowns";
7
+ @import "navs/nav-justified";
8
+ @import "navs/nav-pills";
9
+ @import "navs/nav-tabs-justified";
10
+ @import "navs/nav-tabs";
11
+ @import "navs/tabbable-tabs";
12
+
13
+ // Navbar
14
+ @import "navbar/variables";
15
+ @import "navbar/mixins";
16
+ @import "navbar/navbar";
17
+ @import "navbar/brand";
18
+ @import "navbar/collapse-content";
19
+ @import "navbar/dropdowns-buttons";
20
+ @import "navbar/position";
21
+ @import "navbar/floats";
22
+ @import "navbar/forms";
23
+ @import "navbar/header";
24
+ @import "navbar/inverse-navbar";
25
+ @import "navbar/default-navbar";
26
+ @import "navbar/light-navbar";
27
+ @import "navbar/links";
28
+ @import "navbar/text";
29
+ @import "navbar/toggle-button";
30
+ @import "navbar/flush";
31
+
32
+
33
+ // Misc
34
+ @import "breadcrumbs";
35
+ @import "pagination";
36
+ @import "pager";
@@ -0,0 +1,30 @@
1
+
2
+ $breadcrumb-padding-vertical: 8px !default;
3
+ $breadcrumb-padding-horizontal: 15px !default;
4
+ $breadcrumb-bg: $sky-light !default;
5
+ $breadcrumb-color: $ink-lightest !default;
6
+ $breadcrumb-active-color: $ink-lightest !default;
7
+ $breadcrumb-separator: "/" !default;
8
+
9
+
10
+ .breadcrumb {
11
+ padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal;
12
+ margin-bottom: $line-height-computed;
13
+ list-style: none;
14
+ background-color: $breadcrumb-bg;
15
+ border-radius: $border-radius-base;
16
+
17
+ > li {
18
+ display: inline-block;
19
+
20
+ + li:before {
21
+ content: "#{$breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
22
+ padding: 0 5px;
23
+ color: $breadcrumb-color;
24
+ }
25
+ }
26
+
27
+ > .active {
28
+ color: $breadcrumb-active-color;
29
+ }
30
+ }
@@ -0,0 +1,71 @@
1
+ //== Pager
2
+ //
3
+ //##
4
+
5
+ $pager-bg: $pagination-bg !default;
6
+ $pager-border: $pagination-border !default;
7
+ $pager-border-radius: 15px !default;
8
+
9
+ $pager-hover-bg: $pagination-hover-bg !default;
10
+
11
+ $pager-active-bg: $pagination-active-bg !default;
12
+ $pager-active-color: $pagination-active-color !default;
13
+
14
+ $pager-disabled-color: $pagination-disabled-color !default;
15
+
16
+ $pager-padding: 9px 15px 10px;
17
+
18
+ //
19
+ // Pager pagination
20
+ // --------------------------------------------------
21
+
22
+
23
+ .pager {
24
+ padding-left: 0;
25
+ margin: $line-height-computed 0;
26
+ list-style: none;
27
+ text-align: center;
28
+ @include clearfix;
29
+ li {
30
+ display: inline;
31
+ > a,
32
+ > span {
33
+ display: inline-block;
34
+ padding: 5px 14px;
35
+ background-color: $pager-bg;
36
+ border: 1px solid $pager-border;
37
+ border-radius: $pager-border-radius;
38
+ }
39
+
40
+ > a:hover,
41
+ > a:focus {
42
+ text-decoration: none;
43
+ background-color: $pager-hover-bg;
44
+ }
45
+ }
46
+
47
+ .next {
48
+ > a,
49
+ > span {
50
+ float: right;
51
+ }
52
+ }
53
+
54
+ .previous {
55
+ > a,
56
+ > span {
57
+ float: left;
58
+ }
59
+ }
60
+
61
+ .disabled {
62
+ > a,
63
+ > a:hover,
64
+ > a:focus,
65
+ > span {
66
+ color: $pager-disabled-color;
67
+ background-color: $pager-bg;
68
+ cursor: $cursor-disabled;
69
+ }
70
+ }
71
+ }
@@ -0,0 +1,212 @@
1
+ //== Pagination
2
+ //
3
+ //##
4
+
5
+
6
+ $pagination-color: mix($brand-primary, white, 20%);
7
+ $pagination-bg: #fff;
8
+ $pagination-border: #ddd;
9
+
10
+ $pagination-hover-color: $link-hover-color;
11
+ $pagination-hover-bg: $gray-5;
12
+ $pagination-hover-border: #ddd;
13
+
14
+ $pagination-active-color: #fff;
15
+ $pagination-active-bg: $brand-primary;
16
+ $pagination-active-border: $brand-primary;
17
+
18
+ $pagination-disabled-color: $gray-light;
19
+ $pagination-disabled-bg: #fff;
20
+ $pagination-disabled-border: #ddd;
21
+
22
+
23
+
24
+ // Pagination
25
+
26
+ @mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
27
+ > li {
28
+ > a,
29
+ > span {
30
+ padding: $padding-vertical $padding-horizontal;
31
+ font-size: $font-size;
32
+ line-height: $line-height;
33
+ }
34
+ &:first-child {
35
+ > a,
36
+ > span {
37
+ @include border-left-radius($border-radius);
38
+ }
39
+ }
40
+ &:last-child {
41
+ > a,
42
+ > span {
43
+ @include border-right-radius($border-radius);
44
+ }
45
+ }
46
+ }
47
+ }
48
+
49
+
50
+
51
+
52
+
53
+ //
54
+ // Pagination (multiple pages)
55
+ // --------------------------------------------------
56
+ .pagination {
57
+ display: inline-block;
58
+ padding-left: 0;
59
+ margin: $line-height-computed 0;
60
+ border-radius: $border-radius-base;
61
+
62
+ > li {
63
+ display: inline; // Remove list-style and block-level defaults
64
+ > a,
65
+ > span {
66
+ position: relative;
67
+ float: left; // Collapse white-space
68
+ padding: 3px 13px;
69
+ line-height: $line-height-base;
70
+ text-decoration: none;
71
+ color: $sky-dark;
72
+ font-size: $font-small;
73
+ @include smooth-font;
74
+ background-color: $white;
75
+ border: 1px solid $border-color;
76
+ margin-left: -1px;
77
+ font-weight: $bold
78
+ }
79
+ &:first-child {
80
+ > a,
81
+ > span {
82
+ margin-left: 0;
83
+ @include border-left-radius($border-radius-base);
84
+ }
85
+ }
86
+ &:last-child {
87
+ > a,
88
+ > span {
89
+ @include border-right-radius($border-radius-base);
90
+ }
91
+ }
92
+ }
93
+
94
+ > li > a,
95
+ > li > span {
96
+ &:hover,
97
+ &:focus {
98
+ z-index: 3;
99
+ color: $ink-lighter;
100
+ // background-color: $pagination-hover-bg;
101
+ // border-color: $border-color;
102
+ }
103
+ }
104
+
105
+ > .active > a,
106
+ > .active > span {
107
+ &,
108
+ &:hover,
109
+ &:focus {
110
+ z-index: 2;
111
+ @include text-color($ink-lighter);
112
+ background-color: $ink-lighter;
113
+ // border-color: $ink-lighter;
114
+ cursor: default;
115
+ }
116
+ }
117
+
118
+ > .disabled {
119
+ display: none;
120
+ > span,
121
+ > span:hover,
122
+ > span:focus,
123
+ > a,
124
+ > a:hover,
125
+ > a:focus {
126
+ color: $pagination-disabled-color;
127
+ background-color: $pagination-disabled-bg;
128
+ border-color: $pagination-disabled-border;
129
+ cursor: $cursor-disabled;
130
+ }
131
+ }
132
+ }
133
+
134
+ // Sizing
135
+ // --------------------------------------------------
136
+
137
+ // Large
138
+ .pagination-lg {
139
+ @include pagination-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large);
140
+ }
141
+
142
+ // Small
143
+ .pagination-sm {
144
+ @include pagination-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small);
145
+ }
146
+
147
+
148
+ // OVERRIDES FROM NITRO
149
+
150
+ /* Only show previous, active and next links in pagination for smaller screens */
151
+ .pagination {
152
+ margin: 10px 0;
153
+
154
+ @media print { display: none; }
155
+
156
+ &.alpha {
157
+ margin: 0 0 15px 0;
158
+
159
+ a {
160
+ font-size: 18px;
161
+ padding: 0 6px;
162
+
163
+ &:hover, &:focus {
164
+ border-radius: 4px;
165
+ background-color: #b6ea64;
166
+ text-decoration: none;
167
+ }
168
+ }
169
+
170
+ .current {
171
+ border-radius: 4px;
172
+ font-size: 18px;
173
+ padding: 0 6px;
174
+ }
175
+
176
+ .disabled {
177
+ font-size: 18px;
178
+ padding: 0 6px;
179
+ }
180
+ }
181
+ }
182
+
183
+ @media only screen and (max-width: 767px) {
184
+ .pagination {
185
+ li {
186
+ display: none;
187
+
188
+ &.prev,
189
+ &.next,
190
+ &.active { display: inline; }
191
+ }
192
+ }
193
+ }
194
+
195
+ /* smallest viewport - like mobile app */
196
+ @media (max-width: 380px) {
197
+
198
+ .pagination {
199
+ &.alpha {
200
+ position: absolute;
201
+ right: 22px;
202
+ top: 163px;
203
+ width: 20px;
204
+ z-index: 1000;
205
+ line-height: 23px;
206
+ display: block;
207
+
208
+ a:hover, a:focus { font-size: 25px; }
209
+ }
210
+ }
211
+
212
+ } /*end of 380px media query*/
@@ -0,0 +1,25 @@
1
+ // Brand/project name
2
+
3
+ .navbar-brand {
4
+ float: left;
5
+ padding: $navbar-padding-vertical $navbar-padding-horizontal;
6
+ font-size: $font-size-large;
7
+ line-height: $line-height-computed;
8
+ height: $navbar-height;
9
+
10
+ &:hover,
11
+ &:focus {
12
+ text-decoration: none;
13
+ }
14
+
15
+ > img {
16
+ display: block;
17
+ }
18
+
19
+ @media (min-width: $grid-float-breakpoint) {
20
+ .navbar > .container &,
21
+ .navbar > .container-fluid & {
22
+ margin-left: -$navbar-padding-horizontal;
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,49 @@
1
+ // Navbar collapse (body)
2
+ //
3
+ // Group your navbar content into this for easy collapsing and expanding across
4
+ // various device sizes. By default, this content is collapsed when <768px, but
5
+ // will expand past that for a horizontal display.
6
+ //
7
+ // To start (on mobile devices) the navbar links, forms, and buttons are stacked
8
+ // vertically and include a `max-height` to overflow in case you have too much
9
+ // content for the user's viewport.
10
+
11
+ .navbar-collapse {
12
+ overflow-x: visible;
13
+ padding-right: $navbar-padding-horizontal;
14
+ padding-left: $navbar-padding-horizontal;
15
+ border-top: 1px solid transparent;
16
+ box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
17
+ @include clearfix;
18
+ -webkit-overflow-scrolling: touch;
19
+
20
+ &.in {
21
+ overflow-y: auto;
22
+ }
23
+
24
+ @media (min-width: $grid-float-breakpoint) {
25
+ width: auto;
26
+ border-top: 0;
27
+ box-shadow: none;
28
+
29
+ &.collapse {
30
+ display: block !important;
31
+ height: auto !important;
32
+ padding-bottom: 0; // Override default setting
33
+ overflow: visible !important;
34
+ }
35
+
36
+ &.in {
37
+ overflow-y: visible;
38
+ }
39
+
40
+ // Undo the collapse side padding for navbars with containers to ensure
41
+ // alignment of right-aligned contents.
42
+ .navbar-fixed-top &,
43
+ .navbar-static-top &,
44
+ .navbar-fixed-bottom & {
45
+ padding-left: 0;
46
+ padding-right: 0;
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,33 @@
1
+ $navbar-default-color: $gray-9;
2
+ $navbar-default-bg: $white;
3
+ $navbar-default-border: $border-color;
4
+
5
+ // Navbar links
6
+ $navbar-default-link-color: #777 !default;
7
+ $navbar-default-link-hover-color: #333 !default;
8
+ $navbar-default-link-hover-bg: transparent !default;
9
+ $navbar-default-link-active-color: $black;
10
+ $navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%) !default;
11
+ $navbar-default-link-disabled-color: #ccc !default;
12
+ $navbar-default-link-disabled-bg: transparent !default;
13
+
14
+ // Navbar brand label
15
+ $navbar-default-brand-color: $navbar-default-link-color !default;
16
+ $navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%) !default;
17
+ $navbar-default-brand-hover-bg: transparent !default;
18
+
19
+ // Navbar toggle
20
+ $navbar-default-toggle-hover-bg: #ddd !default;
21
+ $navbar-default-toggle-icon-bar-bg: #888 !default;
22
+ $navbar-default-toggle-border-color: #ddd !default;
23
+
24
+
25
+
26
+
27
+ // Alternate navbars
28
+ // --------------------------------------------------
29
+
30
+ // Default navbar
31
+ .navbar-default {
32
+ @include navbar-color($navbar-default-bg, $navbar-default-border, $power-blue);
33
+ }