@madie/madie-design-system 1.2.39 → 1.2.41
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.
- package/components/TruncateText/TruncateText.stories.js +25 -0
- package/components/TruncateText/index.js +52 -0
- package/components/index.js +2 -0
- package/coverage/clover.xml +3 -646
- package/coverage/coverage-final.json +1 -39
- package/coverage/lcov-report/index.html +11 -431
- package/coverage/lcov.info +0 -1389
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/doctor-storybook.log +41 -0
- package/migration-storybook.log +329 -0
- package/package.json +2 -1
- package/storybook-static/149.65bbc904.iframe.bundle.js +2 -0
- package/storybook-static/149.65bbc904.iframe.bundle.js.LICENSE.txt +14 -0
- package/storybook-static/164.e319e208c2d3a626e1f5.manager.bundle.js +1 -0
- package/storybook-static/192.69f71338.iframe.bundle.js +1 -0
- package/storybook-static/198.80608638.iframe.bundle.js +2 -0
- package/storybook-static/198.80608638.iframe.bundle.js.LICENSE.txt +31 -0
- package/storybook-static/217.b9975326.iframe.bundle.js +2 -0
- package/storybook-static/217.b9975326.iframe.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/261.70d64bef7770b201fb77.manager.bundle.js +1 -0
- package/storybook-static/303.0d9893ef.iframe.bundle.js +1 -0
- package/storybook-static/319.3e8dc6b4a7d2f3e67eb0.manager.bundle.js +2 -0
- package/storybook-static/319.3e8dc6b4a7d2f3e67eb0.manager.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/322.8b797be6.iframe.bundle.js +103 -0
- package/storybook-static/322.8b797be6.iframe.bundle.js.LICENSE.txt +140 -0
- package/storybook-static/322.8b797be6.iframe.bundle.js.map +1 -0
- package/storybook-static/40.df6534995de03601f813.manager.bundle.js +2 -0
- package/storybook-static/40.df6534995de03601f813.manager.bundle.js.LICENSE.txt +31 -0
- package/storybook-static/45.b37f580f.iframe.bundle.js +2 -0
- package/storybook-static/45.b37f580f.iframe.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/467.7fabc4cd8819eddb42f9.manager.bundle.js +2 -0
- package/storybook-static/467.7fabc4cd8819eddb42f9.manager.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/582.ffbf0b74.iframe.bundle.js +1 -0
- package/storybook-static/609.e27a5f77.iframe.bundle.js +2 -0
- package/storybook-static/609.e27a5f77.iframe.bundle.js.LICENSE.txt +11 -0
- package/storybook-static/794.cbe100d1870b4d8a130a.manager.bundle.js +1 -0
- package/storybook-static/861.0b692bf7.iframe.bundle.js +1 -0
- package/storybook-static/931.51f69825a96d7bce33f5.manager.bundle.js +2 -0
- package/storybook-static/931.51f69825a96d7bce33f5.manager.bundle.js.LICENSE.txt +94 -0
- package/storybook-static/987.874321cb40e99203aabe.manager.bundle.js +1 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/iframe.html +364 -0
- package/storybook-static/index.html +59 -0
- package/storybook-static/main.07b67595538d689438e4.manager.bundle.js +1 -0
- package/storybook-static/main.8ae59f4f.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/runtime~main.09b9b14c88359f235007.manager.bundle.js +1 -0
- package/storybook-static/runtime~main.c9dcb6d8.iframe.bundle.js +1 -0
- package/storybook-static/static/media/Bitter-Bold.091bd4b7.woff +0 -0
- package/storybook-static/static/media/Bitter-Bold.24bf01e4.woff2 +0 -0
- package/storybook-static/static/media/Bitter-Bold.46bc29e4.ttf +0 -0
- package/storybook-static/static/media/Bitter-Bold.790f4f2f.eot +0 -0
- package/storybook-static/static/media/Bitter-Italic.1fa5390c.eot +0 -0
- package/storybook-static/static/media/Bitter-Italic.25e5675f.woff +0 -0
- package/storybook-static/static/media/Bitter-Italic.2eb18f5a.ttf +0 -0
- package/storybook-static/static/media/Bitter-Italic.34644574.woff2 +0 -0
- package/storybook-static/static/media/Bitter-Regular.4b22b6e8.woff +0 -0
- package/storybook-static/static/media/Bitter-Regular.559e7075.eot +0 -0
- package/storybook-static/static/media/Bitter-Regular.8db0301b.ttf +0 -0
- package/storybook-static/static/media/Bitter-Regular.f4e2f1f1.woff2 +0 -0
- package/storybook-static/static/media/FontAwesome.91f80bba.otf +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.202d819d.eot +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.92e570c6.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.da71e99a.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.e75949bb.woff +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.72daa33a.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.74ead3a8.woff +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.ae19388f.eot +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.ec7a2746.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.63a5fa7d.woff +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.66451be4.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.7882d20f.eot +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.ca4dd835.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.17ded75f.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.2a5adf6c.woff +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.6059fecb.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.c9808185.eot +0 -0
- package/storybook-static/static/media/Rubik-Bold.31bbd4d2.ttf +0 -0
- package/storybook-static/static/media/Rubik-Light.c90e2014.ttf +0 -0
- package/storybook-static/static/media/Rubik-Medium.5daa89aa.ttf +0 -0
- package/storybook-static/static/media/Rubik-Regular.cdf97d58.ttf +0 -0
- package/storybook-static/static/media/arrow-both.a0959e13.svg +3 -0
- package/storybook-static/static/media/fontawesome-webfont.1e59d233.ttf +0 -0
- package/storybook-static/static/media/fontawesome-webfont.20fd1704.woff2 +0 -0
- package/storybook-static/static/media/fontawesome-webfont.8b43027f.eot +0 -0
- package/storybook-static/static/media/fontawesome-webfont.c1e38fd9.svg +2671 -0
- package/storybook-static/static/media/fontawesome-webfont.f691f37e.woff +0 -0
- package/storybook.log +26 -0
- package/styles/_global.scss +66 -66
- package/styles/_main.scss +7 -7
- package/styles/_paths.scss +1 -1
- package/styles/_qpp-style.scss +35 -35
- package/styles/components/_accordion.scss +254 -254
- package/styles/components/_breadcrumbs.scss +7 -7
- package/styles/components/_buttons.scss +535 -535
- package/styles/components/_error-page.scss +4 -4
- package/styles/components/_flash-notification.scss +4 -4
- package/styles/components/_fonts.scss +16 -16
- package/styles/components/_forms.scss +1 -1
- package/styles/components/_grid.scss +22 -22
- package/styles/components/_links.scss +5 -3
- package/styles/components/_madie-alert.scss +80 -71
- package/styles/components/_madie-confirm-dialog.scss +33 -33
- package/styles/components/_madie-delete-dialog.scss +33 -33
- package/styles/components/_madie-discard-dialog.scss +27 -27
- package/styles/components/_madie-tooltip.scss +59 -60
- package/styles/components/_modals.scss +9 -9
- package/styles/components/_score-chart.scss +3 -3
- package/styles/components/_tables.scss +74 -74
- package/styles/components/_tabs.scss +3 -3
- package/styles/components/_text-field-variable.scss +13 -13
- package/styles/components/_toast.scss +75 -75
- package/styles/components/_variables.scss +13 -13
- package/styles/qppds/base/_backgrounds.scss +3 -3
- package/styles/qppds/base/_fonts.scss +17 -17
- package/styles/qppds/base/_icon.scss +6 -6
- package/styles/qppds/base/_layout.scss +2 -2
- package/styles/qppds/base/_typography.scss +51 -51
- package/styles/qppds/base/index.scss +4 -4
- package/styles/qppds/components/_alert.scss +73 -73
- package/styles/qppds/components/_breadcrumbs.scss +54 -54
- package/styles/qppds/components/_button.scss +437 -437
- package/styles/qppds/components/_card.scss +172 -172
- package/styles/qppds/components/_dropdown.scss +40 -40
- package/styles/qppds/components/_footer.scss +604 -605
- package/styles/qppds/components/_header.scss +804 -804
- package/styles/qppds/components/_link.scss +35 -35
- package/styles/qppds/components/_madie-alert.scss +80 -71
- package/styles/qppds/components/_madie-confirm-dialog.scss +33 -34
- package/styles/qppds/components/_madie-delete-dialog.scss +33 -33
- package/styles/qppds/components/_madie-discard-dialog.scss +27 -27
- package/styles/qppds/components/_madie-tooltip.scss +59 -60
- package/styles/qppds/components/_modal.scss +109 -109
- package/styles/qppds/components/_page-header.scss +59 -55
- package/styles/qppds/components/_pagination.scss +154 -154
- package/styles/qppds/components/_search.scss +100 -100
- package/styles/qppds/components/_sidebar.scss +8 -8
- package/styles/qppds/components/_table.scss +129 -129
- package/styles/qppds/components/_tabs.scss +172 -172
- package/styles/qppds/components/_text-field-variable.scss +12 -12
- package/styles/qppds/components/_text-input.scss +57 -57
- package/styles/qppds/components/_toast.scss +75 -75
- package/styles/qppds/components/index.scss +23 -23
- package/styles/qppds/components/sidebar/_cms.scss +5 -5
- package/styles/qppds/components/sidebar/_details.scss +5 -5
- package/styles/qppds/components/sidebar/_links.scss +12 -11
- package/styles/qppds/components/sidebar/_sidebar-animation.scss +9 -9
- package/styles/qppds/components/sidebar/_sidebar-tooltip.scss +1 -1
- package/styles/qppds/components/sidebar/_sidebar.scss +140 -140
- package/styles/qppds/components/sidebar/project-specific/_wi.scss +3 -3
- package/styles/qppds/index.scss +4 -4
- package/styles/qppds/settings/_functions.scss +1 -1
- package/styles/qppds/settings/_index.scss +3 -3
- package/styles/qppds/settings/mixins/_borders.scss +3 -3
- package/styles/qppds/settings/mixins/_focus.scss +20 -20
- package/styles/qppds/settings/mixins/_icons.scss +19 -19
- package/styles/qppds/settings/mixins/_index.scss +8 -8
- package/styles/qppds/settings/mixins/_layout.scss +59 -59
- package/styles/qppds/settings/mixins/_lists.scss +8 -8
- package/styles/qppds/settings/mixins/_table.scss +75 -75
- package/styles/qppds/settings/mixins/_type.scss +43 -43
- package/styles/qppds/settings/mixins/_visually-hidden.scss +12 -12
- package/styles/qppds/settings/variables/_color.scss +41 -41
- package/styles/qppds/settings/variables/_index.scss +3 -3
- package/styles/qppds/settings/variables/_layout.scss +43 -43
- package/styles/qppds/settings/variables/_type.scss +90 -90
- package/styles/qppds/utilities/_background-color.scss +34 -34
- package/styles/qppds/utilities/_color.scss +8 -8
- package/styles/qppds/utilities/_display-visibility.scss +40 -40
- package/styles/qppds/utilities/_flexbox.scss +188 -188
- package/styles/qppds/utilities/_font-family.scss +2 -2
- package/styles/qppds/utilities/_font-size.scss +4 -4
- package/styles/qppds/utilities/_font-weight.scss +2 -2
- package/styles/qppds/utilities/_height.scss +24 -24
- package/styles/qppds/utilities/_margin.scss +108 -108
- package/styles/qppds/utilities/_padding.scss +69 -69
- package/styles/qppds/utilities/_position.scss +12 -12
- package/styles/qppds/utilities/_text-align.scss +20 -20
- package/styles/qppds/utilities/_text-transform.scss +2 -2
- package/styles/qppds/utilities/_truncate.scss +4 -4
- package/styles/qppds/utilities/_width.scss +53 -53
- package/styles/qppds/utilities/index.scss +15 -15
- package/styles/qppds.scss +2 -2
- package/styles/third-party/_legacy-bootstrap.scss +10 -10
- package/styles/third-party/legacy-bootstrap/_buttons.scss +91 -91
- package/styles/third-party/legacy-bootstrap/_dropdowns.scss +136 -136
- package/styles/third-party/legacy-bootstrap/_forms.scss +328 -324
- package/styles/third-party/legacy-bootstrap/_grid.scss +19 -19
- package/styles/third-party/legacy-bootstrap/_mixins.scss +19 -19
- package/styles/third-party/legacy-bootstrap/_navbar.scss +525 -525
- package/styles/third-party/legacy-bootstrap/_navs.scss +156 -156
- package/styles/third-party/legacy-bootstrap/_normalize.scss +70 -70
- package/styles/third-party/legacy-bootstrap/_scaffolding.scss +47 -47
- package/styles/third-party/legacy-bootstrap/_variables.scss +18 -18
- package/styles/third-party/legacy-bootstrap/mixins/_buttons.scss +52 -52
- package/styles/third-party/legacy-bootstrap/mixins/_clearfix.scss +8 -8
- package/styles/third-party/legacy-bootstrap/mixins/_forms.scss +70 -70
- package/styles/third-party/legacy-bootstrap/mixins/_grid-framework.scss +58 -58
- package/styles/third-party/legacy-bootstrap/mixins/_grid.scss +63 -63
- package/styles/third-party/legacy-bootstrap/mixins/_labels.scss +7 -7
- package/styles/third-party/legacy-bootstrap/mixins/_nav-divider.scss +4 -4
- package/styles/third-party/legacy-bootstrap/mixins/_nav-vertical-align.scss +2 -2
- package/styles/third-party/legacy-bootstrap/mixins/_opacity.scss +3 -3
- package/styles/third-party/legacy-bootstrap/mixins/_panels.scss +22 -22
- package/styles/third-party/legacy-bootstrap/mixins/_reset-filter.scss +1 -1
- package/styles/third-party/legacy-bootstrap/mixins/_reset-text.scss +16 -16
- package/styles/third-party/legacy-bootstrap/mixins/_resize.scss +2 -2
- package/styles/third-party/legacy-bootstrap/mixins/_responsive-visibility.scss +16 -16
- package/styles/third-party/legacy-bootstrap/mixins/_size.scss +3 -3
- package/styles/third-party/legacy-bootstrap/mixins/_tab-focus.scss +5 -5
- package/styles/third-party/legacy-bootstrap/mixins/_table-row.scss +23 -23
- package/styles/third-party/legacy-bootstrap/mixins/_text-emphasis.scss +7 -7
- package/styles/third-party/legacy-bootstrap/mixins/_text-overflow.scss +3 -3
- package/styles/third-party/legacy-bootstrap/mixins/_vendor-prefixes.scss +85 -85
- package/test/components/DateField.test.js +5 -10
- package/test/components/DateTimeField.test.js +3 -1
- package/test/components/Instant.test.js +37 -32
- package/test/components/MadieAlert.test.js +54 -11
- package/test/components/MadieConfirmDialog.test.js +1 -1
- package/coverage/lcov-report/react/components/Accordion/index.html +0 -116
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +0 -370
- package/coverage/lcov-report/react/components/Button/index.html +0 -116
- package/coverage/lcov-report/react/components/Button/index.js.html +0 -385
- package/coverage/lcov-report/react/components/DateField/DateField.jsx.html +0 -427
- package/coverage/lcov-report/react/components/DateField/index.html +0 -116
- package/coverage/lcov-report/react/components/DateTimeField/DateTimeField.jsx.html +0 -352
- package/coverage/lcov-report/react/components/DateTimeField/index.html +0 -116
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +0 -364
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +0 -178
- package/coverage/lcov-report/react/components/Error/error.js.html +0 -163
- package/coverage/lcov-report/react/components/Error/index.html +0 -146
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +0 -496
- package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +0 -697
- package/coverage/lcov-report/react/components/Footer/footer.js.html +0 -175
- package/coverage/lcov-report/react/components/Footer/index.html +0 -146
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +0 -310
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +0 -208
- package/coverage/lcov-report/react/components/Infotip/index.html +0 -146
- package/coverage/lcov-report/react/components/Infotip/index.js.html +0 -94
- package/coverage/lcov-report/react/components/InputLabel/index.html +0 -116
- package/coverage/lcov-report/react/components/InputLabel/index.jsx.html +0 -244
- package/coverage/lcov-report/react/components/Instant/index.html +0 -116
- package/coverage/lcov-report/react/components/Instant/index.jsx.html +0 -886
- package/coverage/lcov-report/react/components/MadieAlert/index.html +0 -116
- package/coverage/lcov-report/react/components/MadieAlert/index.jsx.html +0 -565
- package/coverage/lcov-report/react/components/MadieConfirmDialog/index.html +0 -116
- package/coverage/lcov-report/react/components/MadieConfirmDialog/index.jsx.html +0 -277
- package/coverage/lcov-report/react/components/MadieDeleteDialog/index.html +0 -116
- package/coverage/lcov-report/react/components/MadieDeleteDialog/index.jsx.html +0 -247
- package/coverage/lcov-report/react/components/MadieDialog/index.html +0 -116
- package/coverage/lcov-report/react/components/MadieDialog/index.jsx.html +0 -1021
- package/coverage/lcov-report/react/components/MadieDiscardDialog/index.html +0 -116
- package/coverage/lcov-report/react/components/MadieDiscardDialog/index.jsx.html +0 -232
- package/coverage/lcov-report/react/components/MadieSpinner/index.html +0 -116
- package/coverage/lcov-report/react/components/MadieSpinner/index.jsx.html +0 -190
- package/coverage/lcov-report/react/components/MadieTooltip/index.html +0 -116
- package/coverage/lcov-report/react/components/MadieTooltip/index.jsx.html +0 -232
- package/coverage/lcov-report/react/components/MadieTooltipIcon/index.html +0 -116
- package/coverage/lcov-report/react/components/MadieTooltipIcon/index.jsx.html +0 -178
- package/coverage/lcov-report/react/components/Pagination/index.html +0 -116
- package/coverage/lcov-report/react/components/Pagination/index.jsx.html +0 -736
- package/coverage/lcov-report/react/components/Popover/index.html +0 -116
- package/coverage/lcov-report/react/components/Popover/index.js.html +0 -478
- package/coverage/lcov-report/react/components/ReadOnlyTextField/index.html +0 -116
- package/coverage/lcov-report/react/components/ReadOnlyTextField/index.jsx.html +0 -514
- package/coverage/lcov-report/react/components/Select/index.html +0 -116
- package/coverage/lcov-report/react/components/Select/index.jsx.html +0 -646
- package/coverage/lcov-report/react/components/Tabs/Tab.js.html +0 -325
- package/coverage/lcov-report/react/components/Tabs/index.html +0 -131
- package/coverage/lcov-report/react/components/Tabs/index.js.html +0 -370
- package/coverage/lcov-report/react/components/TextArea/index.html +0 -116
- package/coverage/lcov-report/react/components/TextArea/index.jsx.html +0 -436
- package/coverage/lcov-report/react/components/TextField/index.html +0 -116
- package/coverage/lcov-report/react/components/TextField/index.jsx.html +0 -655
- package/coverage/lcov-report/react/components/Toast/index.html +0 -116
- package/coverage/lcov-report/react/components/Toast/index.jsx.html +0 -436
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +0 -349
- package/coverage/lcov-report/react/components/Tooltip/index.html +0 -146
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +0 -94
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +0 -313
- package/coverage/lcov-report/react/index.html +0 -116
- package/coverage/lcov-report/react/index.js.html +0 -133
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +0 -181
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +0 -1777
- package/coverage/lcov-report/react/lib/index.html +0 -131
- package/package-lock.json +0 -22162
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
// Provide a static navbar from which we expand to create full-width, fixed, and
|
|
8
8
|
// other navbar variations.
|
|
9
9
|
.navbar {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
position: relative;
|
|
11
|
+
min-height: $navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
|
|
12
|
+
margin-bottom: $navbar-margin-bottom;
|
|
13
|
+
border: 1px solid transparent;
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
// Prevent floats from breaking the navbar
|
|
16
|
+
@include clearfix;
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
19
|
+
border-radius: $navbar-border-radius;
|
|
20
|
+
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
// Navbar heading
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
// Groups `.navbar-brand` and `.navbar-toggle` into a single component for easy
|
|
26
26
|
// styling of responsive aspects.
|
|
27
27
|
.navbar-header {
|
|
28
|
-
|
|
28
|
+
@include clearfix;
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
31
|
+
float: left;
|
|
32
|
+
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
// Navbar collapse (body)
|
|
@@ -42,76 +42,76 @@
|
|
|
42
42
|
// vertically and include a `max-height` to overflow in case you have too much
|
|
43
43
|
// content for the user's viewport.
|
|
44
44
|
.navbar-collapse {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
45
|
+
padding-right: $navbar-padding-horizontal;
|
|
46
|
+
padding-left: $navbar-padding-horizontal;
|
|
47
|
+
overflow-x: visible;
|
|
48
|
+
border-top: 1px solid transparent;
|
|
49
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
50
|
+
@include clearfix;
|
|
51
|
+
-webkit-overflow-scrolling: touch;
|
|
52
|
+
|
|
53
|
+
&.in {
|
|
54
|
+
overflow-y: auto;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
58
|
+
width: auto;
|
|
59
|
+
border-top: 0;
|
|
60
|
+
box-shadow: none;
|
|
61
|
+
|
|
62
|
+
&.collapse {
|
|
63
|
+
display: block !important;
|
|
64
|
+
height: auto !important;
|
|
65
|
+
padding-bottom: 0; // Override default setting
|
|
66
|
+
overflow: visible !important;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.in {
|
|
70
|
+
overflow-y: visible;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Undo the collapse side padding for navbars with containers to ensure
|
|
74
|
+
// alignment of right-aligned contents.
|
|
75
|
+
.navbar-fixed-top &,
|
|
76
|
+
.navbar-static-top &,
|
|
77
|
+
.navbar-fixed-bottom & {
|
|
78
|
+
padding-right: 0;
|
|
79
|
+
padding-left: 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.navbar-fixed-top,
|
|
85
85
|
.navbar-fixed-bottom {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
86
|
+
.navbar-collapse {
|
|
87
|
+
max-height: $navbar-collapse-max-height;
|
|
88
|
+
|
|
89
|
+
@media (max-device-width: $screen-xs-min) and (orientation: landscape) {
|
|
90
|
+
max-height: 200px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Fix the top/bottom navbars when screen real estate supports it
|
|
95
|
+
position: fixed;
|
|
96
|
+
right: 0;
|
|
97
|
+
left: 0;
|
|
98
|
+
z-index: $zindex-navbar-fixed;
|
|
99
|
+
|
|
100
|
+
// Undo the rounded corners
|
|
101
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
102
|
+
border-radius: 0;
|
|
103
|
+
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.navbar-fixed-top {
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
top: 0;
|
|
108
|
+
border-width: 0 0 1px;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.navbar-fixed-bottom {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
bottom: 0;
|
|
113
|
+
margin-bottom: 0; // override .navbar defaults
|
|
114
|
+
border-width: 1px 0 0;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
// Both navbar header and collapse
|
|
@@ -119,16 +119,16 @@
|
|
|
119
119
|
// When a container is present, change the behavior of the header and collapse.
|
|
120
120
|
.container,
|
|
121
121
|
.container-fluid {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
122
|
+
> .navbar-header,
|
|
123
|
+
> .navbar-collapse {
|
|
124
|
+
margin-right: -$navbar-padding-horizontal;
|
|
125
|
+
margin-left: -$navbar-padding-horizontal;
|
|
126
|
+
|
|
127
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
128
|
+
margin-right: 0;
|
|
129
|
+
margin-left: 0;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
132
|
}
|
|
133
133
|
//
|
|
134
134
|
// Navbar alignment options
|
|
@@ -138,37 +138,37 @@
|
|
|
138
138
|
|
|
139
139
|
// Static top (unfixed, but 100% wide) navbar
|
|
140
140
|
.navbar-static-top {
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
z-index: $zindex-navbar;
|
|
142
|
+
border-width: 0 0 1px;
|
|
143
143
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
145
|
+
border-radius: 0;
|
|
146
|
+
}
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
// Brand/project name
|
|
150
150
|
.navbar-brand {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
151
|
+
float: left;
|
|
152
|
+
height: $navbar-height;
|
|
153
|
+
padding: $navbar-padding-vertical $navbar-padding-horizontal;
|
|
154
|
+
font-size: $font-size-large;
|
|
155
|
+
line-height: $line-height-computed;
|
|
156
|
+
|
|
157
|
+
&:hover,
|
|
158
|
+
&:focus {
|
|
159
|
+
text-decoration: none;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
> img {
|
|
163
|
+
display: block;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
167
|
+
.navbar > .container &,
|
|
168
|
+
.navbar > .container-fluid & {
|
|
169
|
+
margin-left: -$navbar-padding-horizontal;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
// Navbar toggle
|
|
@@ -176,37 +176,37 @@
|
|
|
176
176
|
// Custom button for toggling the `.navbar-collapse`, powered by the collapse
|
|
177
177
|
// JavaScript plugin.
|
|
178
178
|
.navbar-toggle {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
179
|
+
position: relative;
|
|
180
|
+
float: right;
|
|
181
|
+
padding: 9px 10px;
|
|
182
|
+
margin-right: $navbar-padding-horizontal;
|
|
183
|
+
@include navbar-vertical-align(34px);
|
|
184
|
+
background-color: transparent;
|
|
185
|
+
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
|
186
|
+
border: 1px solid transparent;
|
|
187
|
+
border-radius: $border-radius-base;
|
|
188
|
+
|
|
189
|
+
// We remove the `outline` here, but later compensate by attaching `:hover`
|
|
190
|
+
// styles to `:focus`.
|
|
191
|
+
&:focus {
|
|
192
|
+
outline: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// Bars
|
|
196
|
+
.icon-bar {
|
|
197
|
+
display: block;
|
|
198
|
+
width: 22px;
|
|
199
|
+
height: 2px;
|
|
200
|
+
border-radius: 1px;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.icon-bar + .icon-bar {
|
|
204
|
+
margin-top: 4px;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
208
|
+
display: none;
|
|
209
|
+
}
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
// Navbar nav links
|
|
@@ -214,55 +214,55 @@
|
|
|
214
214
|
// Builds on top of the `.nav` components with its own modifier class to make
|
|
215
215
|
// the nav the full height of the horizontal nav (above 768px).
|
|
216
216
|
.navbar-nav {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
217
|
+
margin: ($navbar-padding-vertical / 2) (-$navbar-padding-horizontal);
|
|
218
|
+
|
|
219
|
+
> li > a {
|
|
220
|
+
padding-top: 10px;
|
|
221
|
+
padding-bottom: 10px;
|
|
222
|
+
line-height: $line-height-computed;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
@media (max-width: $grid-float-breakpoint-max) {
|
|
226
|
+
// Dropdowns get custom display when collapsed
|
|
227
|
+
.open .dropdown-menu {
|
|
228
|
+
position: static;
|
|
229
|
+
float: none;
|
|
230
|
+
width: auto;
|
|
231
|
+
margin-top: 0;
|
|
232
|
+
background-color: transparent;
|
|
233
|
+
border: 0;
|
|
234
|
+
box-shadow: none;
|
|
235
|
+
|
|
236
|
+
> li > a,
|
|
237
|
+
.dropdown-header {
|
|
238
|
+
padding: 5px 15px 5px 25px;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
> li > a {
|
|
242
|
+
line-height: $line-height-computed;
|
|
243
|
+
|
|
244
|
+
&:hover,
|
|
245
|
+
&:focus {
|
|
246
|
+
background-image: none;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
// Uncollapse the nav
|
|
253
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
254
|
+
float: left;
|
|
255
|
+
margin: 0;
|
|
256
|
+
|
|
257
|
+
> li {
|
|
258
|
+
float: left;
|
|
259
|
+
|
|
260
|
+
> a {
|
|
261
|
+
padding-top: $navbar-padding-vertical;
|
|
262
|
+
padding-bottom: $navbar-padding-vertical;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
// Navbar form
|
|
@@ -270,40 +270,40 @@
|
|
|
270
270
|
// Extension of the `.form-inline` with some extra flavor for optimum display in
|
|
271
271
|
// our navbars.
|
|
272
272
|
.navbar-form {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
273
|
+
padding: 10px $navbar-padding-horizontal;
|
|
274
|
+
margin-right: -$navbar-padding-horizontal;
|
|
275
|
+
margin-left: -$navbar-padding-horizontal;
|
|
276
|
+
border-top: 1px solid transparent;
|
|
277
|
+
border-bottom: 1px solid transparent;
|
|
278
|
+
$shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
|
|
279
|
+
0 1px 0 rgba(255, 255, 255, 0.1);
|
|
280
|
+
@include box-shadow($shadow);
|
|
281
|
+
|
|
282
|
+
// Mixin behavior for optimum display
|
|
283
|
+
// @include form-inline;
|
|
284
|
+
.form-group {
|
|
285
|
+
@media (max-width: $grid-float-breakpoint-max) {
|
|
286
|
+
margin-bottom: 5px;
|
|
287
|
+
|
|
288
|
+
&:last-child {
|
|
289
|
+
margin-bottom: 0;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
// Vertically center in expanded, horizontal navbar
|
|
295
|
+
@include navbar-vertical-align($input-height-base);
|
|
296
|
+
|
|
297
|
+
// Undo 100% width for pull classes
|
|
298
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
299
|
+
width: auto;
|
|
300
|
+
padding-top: 0;
|
|
301
|
+
padding-bottom: 0;
|
|
302
|
+
margin-right: 0;
|
|
303
|
+
margin-left: 0;
|
|
304
|
+
border: 0;
|
|
305
|
+
@include box-shadow(none);
|
|
306
|
+
}
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
// Dropdown menus
|
|
@@ -311,28 +311,28 @@
|
|
|
311
311
|
//
|
|
312
312
|
// Vertically center a button within a navbar (when *not* in a form).
|
|
313
313
|
.navbar-btn {
|
|
314
|
-
|
|
314
|
+
@include navbar-vertical-align($input-height-base);
|
|
315
315
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
316
|
+
&.btn-sm {
|
|
317
|
+
@include navbar-vertical-align($input-height-small);
|
|
318
|
+
}
|
|
319
319
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
320
|
+
&.btn-xs {
|
|
321
|
+
@include navbar-vertical-align(22);
|
|
322
|
+
}
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
// Text in navbars
|
|
326
326
|
//
|
|
327
327
|
// Add a class to make any element properly align itself vertically within the navbars.
|
|
328
328
|
.navbar-text {
|
|
329
|
-
|
|
329
|
+
@include navbar-vertical-align($line-height-computed);
|
|
330
330
|
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
331
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
332
|
+
float: left;
|
|
333
|
+
margin-right: $navbar-padding-horizontal;
|
|
334
|
+
margin-left: $navbar-padding-horizontal;
|
|
335
|
+
}
|
|
336
336
|
}
|
|
337
337
|
// Component alignment
|
|
338
338
|
//
|
|
@@ -342,303 +342,303 @@
|
|
|
342
342
|
//
|
|
343
343
|
// Declared after the navbar components to ensure more specificity on the margins.
|
|
344
344
|
@media (min-width: $grid-float-breakpoint) {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
345
|
+
.navbar-left {
|
|
346
|
+
float: left !important;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.navbar-right {
|
|
350
|
+
float: right !important;
|
|
351
|
+
margin-right: -$navbar-padding-horizontal;
|
|
352
|
+
|
|
353
|
+
~ .navbar-right {
|
|
354
|
+
margin-right: 0;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
357
|
}
|
|
358
358
|
// Alternate navbars
|
|
359
359
|
// --------------------------------------------------
|
|
360
360
|
|
|
361
361
|
// Default navbar
|
|
362
362
|
.navbar-default {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
363
|
+
background-color: $navbar-default-bg;
|
|
364
|
+
border-color: $navbar-default-border;
|
|
365
|
+
|
|
366
|
+
.navbar-brand {
|
|
367
|
+
color: $navbar-default-brand-color;
|
|
368
|
+
|
|
369
|
+
&:hover,
|
|
370
|
+
&:focus {
|
|
371
|
+
color: $navbar-default-brand-hover-color;
|
|
372
|
+
background-color: $navbar-default-brand-hover-bg;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.navbar-text {
|
|
377
|
+
color: $navbar-default-color;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.navbar-nav {
|
|
381
|
+
> li > a {
|
|
382
|
+
color: $navbar-default-link-color;
|
|
383
|
+
|
|
384
|
+
&:hover,
|
|
385
|
+
&:focus {
|
|
386
|
+
color: $navbar-default-link-hover-color;
|
|
387
|
+
background-color: $navbar-default-link-hover-bg;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
> .active > a {
|
|
392
|
+
&,
|
|
393
|
+
&:hover,
|
|
394
|
+
&:focus {
|
|
395
|
+
color: $navbar-default-link-active-color;
|
|
396
|
+
background-color: $navbar-default-link-active-bg;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
> .disabled > a {
|
|
401
|
+
&,
|
|
402
|
+
&:hover,
|
|
403
|
+
&:focus {
|
|
404
|
+
color: $navbar-default-link-disabled-color;
|
|
405
|
+
background-color: $navbar-default-link-disabled-bg;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
// Dropdown menu items
|
|
410
|
+
// Remove background color from open dropdown
|
|
411
|
+
> .open > a {
|
|
412
|
+
&,
|
|
413
|
+
&:hover,
|
|
414
|
+
&:focus {
|
|
415
|
+
color: $navbar-default-link-active-color;
|
|
416
|
+
background-color: $navbar-default-link-active-bg;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
@media (max-width: $grid-float-breakpoint-max) {
|
|
421
|
+
// Dropdowns get custom display when collapsed
|
|
422
|
+
.open .dropdown-menu {
|
|
423
|
+
> li > a {
|
|
424
|
+
color: $navbar-default-link-color;
|
|
425
|
+
|
|
426
|
+
&:hover,
|
|
427
|
+
&:focus {
|
|
428
|
+
color: $navbar-default-link-hover-color;
|
|
429
|
+
background-color: $navbar-default-link-hover-bg;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
> .active > a {
|
|
434
|
+
&,
|
|
435
|
+
&:hover,
|
|
436
|
+
&:focus {
|
|
437
|
+
color: $navbar-default-link-active-color;
|
|
438
|
+
background-color: $navbar-default-link-active-bg;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
> .disabled > a {
|
|
443
|
+
&,
|
|
444
|
+
&:hover,
|
|
445
|
+
&:focus {
|
|
446
|
+
color: $navbar-default-link-disabled-color;
|
|
447
|
+
background-color: $navbar-default-link-disabled-bg;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.navbar-toggle {
|
|
455
|
+
border-color: $navbar-default-toggle-border-color;
|
|
456
|
+
|
|
457
|
+
&:hover,
|
|
458
|
+
&:focus {
|
|
459
|
+
background-color: $navbar-default-toggle-hover-bg;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.icon-bar {
|
|
463
|
+
background-color: $navbar-default-toggle-icon-bar-bg;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.navbar-collapse,
|
|
468
|
+
.navbar-form {
|
|
469
|
+
border-color: $navbar-default-border;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
// Links in navbars
|
|
473
|
+
//
|
|
474
|
+
// Add a class to ensure links outside the navbar nav are colored correctly.
|
|
475
|
+
.navbar-link {
|
|
476
|
+
color: $navbar-default-link-color;
|
|
477
|
+
|
|
478
|
+
&:hover {
|
|
479
|
+
color: $navbar-default-link-hover-color;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.btn-link {
|
|
484
|
+
color: $navbar-default-link-color;
|
|
485
|
+
|
|
486
|
+
&:hover,
|
|
487
|
+
&:focus {
|
|
488
|
+
color: $navbar-default-link-hover-color;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
&[disabled],
|
|
492
|
+
fieldset[disabled] & {
|
|
493
|
+
&:hover,
|
|
494
|
+
&:focus {
|
|
495
|
+
color: $navbar-default-link-disabled-color;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
// Inverse navbar
|
|
502
502
|
.navbar-inverse {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
503
|
+
background-color: $navbar-inverse-bg;
|
|
504
|
+
border-color: $navbar-inverse-border;
|
|
505
|
+
|
|
506
|
+
.navbar-brand {
|
|
507
|
+
color: $navbar-inverse-brand-color;
|
|
508
|
+
|
|
509
|
+
&:hover,
|
|
510
|
+
&:focus {
|
|
511
|
+
color: $navbar-inverse-brand-hover-color;
|
|
512
|
+
background-color: $navbar-inverse-brand-hover-bg;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.navbar-text {
|
|
517
|
+
color: $navbar-inverse-color;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.navbar-nav {
|
|
521
|
+
> li > a {
|
|
522
|
+
color: $navbar-inverse-link-color;
|
|
523
|
+
|
|
524
|
+
&:hover,
|
|
525
|
+
&:focus {
|
|
526
|
+
color: $navbar-inverse-link-hover-color;
|
|
527
|
+
background-color: $navbar-inverse-link-hover-bg;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
> .active > a {
|
|
532
|
+
&,
|
|
533
|
+
&:hover,
|
|
534
|
+
&:focus {
|
|
535
|
+
color: $navbar-inverse-link-active-color;
|
|
536
|
+
background-color: $navbar-inverse-link-active-bg;
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
> .disabled > a {
|
|
541
|
+
&,
|
|
542
|
+
&:hover,
|
|
543
|
+
&:focus {
|
|
544
|
+
color: $navbar-inverse-link-disabled-color;
|
|
545
|
+
background-color: $navbar-inverse-link-disabled-bg;
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
// Dropdowns
|
|
550
|
+
> .open > a {
|
|
551
|
+
&,
|
|
552
|
+
&:hover,
|
|
553
|
+
&:focus {
|
|
554
|
+
color: $navbar-inverse-link-active-color;
|
|
555
|
+
background-color: $navbar-inverse-link-active-bg;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
@media (max-width: $grid-float-breakpoint-max) {
|
|
560
|
+
// Dropdowns get custom display
|
|
561
|
+
.open .dropdown-menu {
|
|
562
|
+
> .dropdown-header {
|
|
563
|
+
border-color: $navbar-inverse-border;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.divider {
|
|
567
|
+
background-color: $navbar-inverse-border;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
> li > a {
|
|
571
|
+
color: $navbar-inverse-link-color;
|
|
572
|
+
|
|
573
|
+
&:hover,
|
|
574
|
+
&:focus {
|
|
575
|
+
color: $navbar-inverse-link-hover-color;
|
|
576
|
+
background-color: $navbar-inverse-link-hover-bg;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
> .active > a {
|
|
581
|
+
&,
|
|
582
|
+
&:hover,
|
|
583
|
+
&:focus {
|
|
584
|
+
color: $navbar-inverse-link-active-color;
|
|
585
|
+
background-color: $navbar-inverse-link-active-bg;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
> .disabled > a {
|
|
590
|
+
&,
|
|
591
|
+
&:hover,
|
|
592
|
+
&:focus {
|
|
593
|
+
color: $navbar-inverse-link-disabled-color;
|
|
594
|
+
background-color: $navbar-inverse-link-disabled-bg;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
// Darken the responsive nav toggle
|
|
602
|
+
.navbar-toggle {
|
|
603
|
+
border-color: $navbar-inverse-toggle-border-color;
|
|
604
|
+
|
|
605
|
+
&:hover,
|
|
606
|
+
&:focus {
|
|
607
|
+
background-color: $navbar-inverse-toggle-hover-bg;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.icon-bar {
|
|
611
|
+
background-color: $navbar-inverse-toggle-icon-bar-bg;
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.navbar-collapse,
|
|
616
|
+
.navbar-form {
|
|
617
|
+
border-color: darken($navbar-inverse-bg, 7%);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.navbar-link {
|
|
621
|
+
color: $navbar-inverse-link-color;
|
|
622
|
+
|
|
623
|
+
&:hover {
|
|
624
|
+
color: $navbar-inverse-link-hover-color;
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.btn-link {
|
|
629
|
+
color: $navbar-inverse-link-color;
|
|
630
|
+
|
|
631
|
+
&:hover,
|
|
632
|
+
&:focus {
|
|
633
|
+
color: $navbar-inverse-link-hover-color;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
&[disabled],
|
|
637
|
+
fieldset[disabled] & {
|
|
638
|
+
&:hover,
|
|
639
|
+
&:focus {
|
|
640
|
+
color: $navbar-inverse-link-disabled-color;
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
644
|
}
|