@inspark/components-web 14.0.14 → 19.0.0
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/CHANGELOG.md +46 -0
- package/README.md +54 -0
- package/assets/fonts/fontawesome/FontAwesome.otf +0 -0
- package/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- package/assets/fonts/fontawesome/fontawesome-webfont.svg +2671 -0
- package/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- package/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
- package/assets/fonts/fontawesome/fontawesome-webfont.woff2 +0 -0
- package/assets/fonts/lato/Lato-Bold.ttf +0 -0
- package/assets/fonts/lato/Lato-BoldItalic.ttf +0 -0
- package/assets/fonts/lato/Lato-Italic.ttf +0 -0
- package/assets/fonts/lato/Lato-Regular.ttf +0 -0
- package/assets/fonts/open-sans/BoldItalic/OpenSans-BoldItalic.eot +0 -0
- package/assets/fonts/open-sans/BoldItalic/OpenSans-BoldItalic.svg +21121 -0
- package/assets/fonts/open-sans/BoldItalic/OpenSans-BoldItalic.ttf +0 -0
- package/assets/fonts/open-sans/BoldItalic/OpenSans-BoldItalic.woff +0 -0
- package/assets/fonts/open-sans/BoldItalic/OpenSans-BoldItalic.woff2 +0 -0
- package/assets/fonts/open-sans/ExtraBoldItalic/OpenSans-ExtraboldItalic.eot +0 -0
- package/assets/fonts/open-sans/ExtraBoldItalic/OpenSans-ExtraboldItalic.svg +21120 -0
- package/assets/fonts/open-sans/ExtraBoldItalic/OpenSans-ExtraboldItalic.ttf +0 -0
- package/assets/fonts/open-sans/ExtraBoldItalic/OpenSans-ExtraboldItalic.woff +0 -0
- package/assets/fonts/open-sans/ExtraBoldItalic/OpenSans-ExtraboldItalic.woff2 +0 -0
- package/assets/fonts/open-sans/SemiboldItalic/OpenSans-SemiboldItalic.eot +0 -0
- package/assets/fonts/open-sans/SemiboldItalic/OpenSans-SemiboldItalic.svg +21154 -0
- package/assets/fonts/open-sans/SemiboldItalic/OpenSans-SemiboldItalic.ttf +0 -0
- package/assets/fonts/open-sans/SemiboldItalic/OpenSans-SemiboldItalic.woff +0 -0
- package/assets/fonts/open-sans/SemiboldItalic/OpenSans-SemiboldItalic.woff2 +0 -0
- package/assets/fonts/primeicons/primeicons.woff2 +0 -0
- package/copy.json +12 -0
- package/design-tokens/colors.yml +34 -0
- package/migrate-sass-imports.js +87 -0
- package/package.json +46 -1
- package/src/_mixins.scss +39 -40
- package/src/_variables.scss +32 -33
- package/src/badge/_mixins.scss +5 -5
- package/src/badge/_variables.scss +2 -2
- package/src/badge/ids-badge.scss +1 -1
- package/src/base/_functions.scss +1 -1
- package/src/base/_mixins.scss +6 -6
- package/src/base/_variables.scss +1 -1
- package/src/base/ids-base.scss +3 -3
- package/src/box-shadow/_mixins.scss +1 -1
- package/src/box-shadow/_variables.scss +2 -0
- package/src/box-shadow/ids-box-shadow.scss +1 -1
- package/src/button/_mixins.scss +779 -775
- package/src/button/_variables.scss +3 -0
- package/src/button/ids-button.scss +1 -1
- package/src/button-group/_mixins.scss +3 -3
- package/src/button-group/ids-button-group.scss +1 -1
- package/src/card/_mixins.scss +382 -376
- package/src/card/_variables.scss +3 -1
- package/src/card/ids-card.scss +1 -1
- package/src/checkbox/_mixins.scss +430 -428
- package/src/checkbox/_variables.scss +2 -0
- package/src/checkbox/ids-checkbox.scss +1 -1
- package/src/common.scss +44 -45
- package/src/container/_mixins.scss +3 -2
- package/src/container/_variables.scss +3 -1
- package/src/container/ids-container.scss +1 -1
- package/src/crop/_mixins.scss +1 -1
- package/src/crop/_variables.scss +2 -0
- package/src/crop/ids-crop.scss +1 -1
- package/src/crumb/_mixins.scss +37 -36
- package/src/crumb/_variables.scss +2 -0
- package/src/crumb/ids-crumb.scss +1 -1
- package/src/flex/ids-flex.scss +1 -1
- package/src/form/_mixins.scss +3 -3
- package/src/form/_variables.scss +2 -2
- package/src/form/ids-form.scss +1 -1
- package/src/form-group/_mixins.scss +1 -1
- package/src/form-group/ids-form-group.scss +1 -1
- package/src/grid/_mixins.scss +3 -3
- package/src/grid/_variables.scss +3 -1
- package/src/grid/ids-grid.scss +1 -1
- package/src/helpers/helpers.scss +1 -1
- package/src/icon/_mixins.scss +397 -395
- package/src/icon/_variables.scss +2 -2
- package/src/icon/ids-icon.scss +1 -1
- package/src/image/_mixins.scss +1 -1
- package/src/image/_variables.scss +2 -0
- package/src/image/ids-image.scss +1 -1
- package/src/input/_mixins.scss +418 -415
- package/src/input/_variables.scss +4 -2
- package/src/input/ids-input.scss +2 -2
- package/src/input-group/_mixins.scss +108 -104
- package/src/input-group/_variables.scss +2 -2
- package/src/input-group/ids-input-group.scss +1 -1
- package/src/inspark.scss +2 -2
- package/src/label/_mixins.scss +5 -5
- package/src/label/_variables.scss +2 -0
- package/src/label/ids-label.scss +1 -1
- package/src/list/_mixins.scss +288 -287
- package/src/list/_variables.scss +2 -0
- package/src/list/ids-list.scss +1 -1
- package/src/list-group/_mixins.scss +282 -278
- package/src/list-group/_variables.scss +2 -0
- package/src/list-group/ids-list-group.scss +1 -1
- package/src/mediaqueries/_mixins.scss +1 -1
- package/src/mediaqueries/_variables.scss +2 -0
- package/src/mediaqueries/ids-mediaqueries.scss +1 -1
- package/src/nav/_mixins.scss +92 -89
- package/src/nav/_variables.scss +2 -0
- package/src/nav/ids-nav.scss +1 -1
- package/src/navbar/_mixins.scss +653 -650
- package/src/navbar/_variables.scss +3 -2
- package/src/navbar/ids-navbar.scss +1 -1
- package/src/new-component-template/_mixins.scss +2 -2
- package/src/new-component-template/_variables.scss +2 -2
- package/src/new-component-template/ids-new-component-template.scss +1 -1
- package/src/overlay/_mixins.scss +2 -2
- package/src/overlay/ids-overlay.scss +1 -1
- package/src/pallete/blue.scss +1 -1
- package/src/pallete/contrast.scss +1 -1
- package/src/pallete/pallete.scss +5 -5
- package/src/panel/_mixins.scss +765 -763
- package/src/panel/_variables.scss +3 -2
- package/src/panel/ids-panel.scss +1 -1
- package/src/particles/_mixins.scss +65 -64
- package/src/particles/ids-particles.scss +1 -1
- package/src/radio/_mixins.scss +212 -210
- package/src/radio/_variables.scss +2 -0
- package/src/radio/ids-radio.scss +1 -1
- package/src/ratio/_mixins.scss +1 -1
- package/src/ratio/_variables.scss +2 -0
- package/src/ratio/ids-ratio.scss +1 -1
- package/src/sass-mq/_mixins.scss +1 -1
- package/src/sass-mq/_variables.scss +2 -0
- package/src/sass-mq/ids-sass-mq.scss +1 -1
- package/src/select/_mixins.scss +269 -267
- package/src/select/_variables.scss +3 -0
- package/src/select/ids-select.scss +1 -1
- package/src/sidebar/_mixins.scss +3 -3
- package/src/sidebar/_variables.scss +2 -2
- package/src/sidebar/ids-sidebar.scss +1 -1
- package/src/static/_mixins.scss +1 -1
- package/src/static/ids-static.scss +1 -1
- package/src/table/_mixins.scss +522 -518
- package/src/table/_variables.scss +2 -0
- package/src/table/ids-table.scss +1 -1
- package/src/textarea/_mixins.scss +39 -39
- package/src/textarea/_variables.scss +2 -0
- package/src/textarea/ids-textarea.scss +1 -1
- package/src/theme/_mixins.scss +4 -3
- package/src/theme/_variables.scss +5 -4
- package/src/theme/blue.scss +440 -448
- package/src/theme/contrast.scss +398 -406
- package/src/theme/green.scss +432 -440
- package/src/theme/ids-theme.scss +5 -5
- package/src/theme/light.scss +398 -406
- package/src/tools/_tools.border-radius.scss +1 -0
- package/src/tools/_tools.rem.scss +1 -0
- package/src/tools/ids-tools.scss +9 -9
- package/src/tooltip/_mixins.scss +820 -817
- package/src/tooltip/_variables.scss +2 -2
- package/src/tooltip/ids-tooltip.scss +1 -1
- package/src/tree-table/_mixins.scss +335 -331
- package/src/tree-table/_variables.scss +2 -2
- package/src/tree-table/ids-tree-table.scss +1 -1
- package/src/typography/_mixins.scss +6 -1
- package/src/typography/_variables.scss +2 -2
- package/src/typography/ids-typography.scss +2 -2
- package/src/utilities/_loader.utilities.scss +17 -20
- package/src/utilities/_utilities.border.scss +2 -0
- package/src/utilities/_utilities.clearfix.scss +1 -0
- package/src/utilities/_utilities.headings.scss +2 -0
- package/src/utilities/_utilities.hide.scss +58 -56
- package/src/utilities/_utilities.lineheight.scss +2 -0
- package/src/utilities/_utilities.overflow.scss +1 -1
- package/src/utilities/_utilities.position.scss +3 -0
- package/src/utilities/_utilities.spacing.scss +77 -75
- package/src/utilities/_utilities.themes.scss +3 -0
- package/src/utilities/_utilities.typography.scss +179 -177
- package/src/utilities/_utilities.widths.scss +2 -2
- package/src/widgets/_components.widget.scss +3 -0
- package/src/widgets/_components.widget.themes.scss +3 -0
- package/src/widgets/_components.widgetStatus.scss +2 -0
- package/src/widgets/_components.widgetStatus.themes.scss +2 -0
- package/src/widgets/_components.widgetValue.scss +2 -0
- package/src/widgets/ids-widgets.scss +5 -5
- package/update_full.js +14 -0
- package/webpack.config.js +51 -0
- package/index.css +0 -24206
- package/index.js +0 -125
- package/src/nvd3/_components.charts-nvd3.scss +0 -182
- package/src/nvd3/_components.charts-nvd3.themes.scss +0 -179
- package/src/nvd3/_variables-theme-contrast.scss +0 -123
- package/src/nvd3/_variables-theme-green.scss +0 -123
- package/src/nvd3/_variables-theme-light.scss +0 -123
- package/src/nvd3/_variables.scss +0 -123
- package/src/nvd3/angular-nvd3.js +0 -719
- package/src/nvd3/bars/_components.bars.scss +0 -47
- package/src/nvd3/bars/_components.bars.themes.scss +0 -47
- package/src/nvd3/boxplot/_components.boxplot.scss +0 -23
- package/src/nvd3/boxplot/_components.boxplot.themes.scss +0 -21
- package/src/nvd3/bullet/_components.bullet.scss +0 -66
- package/src/nvd3/bullet/_components.bullet.themes.scss +0 -66
- package/src/nvd3/candlestick/_components.candlestick.scss +0 -31
- package/src/nvd3/candlestick/_components.candlestick.themes.scss +0 -31
- package/src/nvd3/force-directed-graph/_components.force-directed-graph.scss +0 -16
- package/src/nvd3/force-directed-graph/_components.force-directed-graph.themes.scss +0 -16
- package/src/nvd3/furious-legend/_components.furious-legend.scss +0 -27
- package/src/nvd3/furious-legend/_components.furious-legend.themes.scss +0 -27
- package/src/nvd3/lineplusbar/_components.lineplusbar.scss +0 -12
- package/src/nvd3/lineplusbar/_components.lineplusbar.themes.scss +0 -12
- package/src/nvd3/lines/_components.lines.scss +0 -172
- package/src/nvd3/lines/_components.lines.themes.scss +0 -170
- package/src/nvd3/ohlc/_components.ohlc.scss +0 -18
- package/src/nvd3/ohlc/_components.ohlc.themes.scss +0 -18
- package/src/nvd3/parallelcoordinates/_components.parallelcoordinates.scss +0 -35
- package/src/nvd3/parallelcoordinates/_components.parallelcoordinates.themes.scss +0 -35
- package/src/nvd3/pie/_components.pie.scss +0 -99
- package/src/nvd3/pie/_components.pie.themes.scss +0 -97
- package/src/nvd3/scatter/_components.scatter.scss +0 -21
- package/src/nvd3/scatter/_components.scatter.themes.scss +0 -21
- package/src/nvd3/sparkline/_components.sparkline.scss +0 -54
- package/src/nvd3/sparkline/_components.sparkline.themes.scss +0 -54
- package/src/nvd3/stackedarea/_components.stackedarea.scss +0 -146
- package/src/nvd3/stackedarea/_components.stackedarea.themes.scss +0 -145
- package/src/nvd3/tooltip/_components.tooltip.scss +0 -186
- package/src/nvd3/tooltip/_components.tooltip.themes.scss +0 -186
- /package/{fonts → assets/fonts/lato}/lato-bold.woff +0 -0
- /package/{fonts → assets/fonts/lato}/lato-bold.woff2 +0 -0
- /package/{fonts → assets/fonts/lato}/lato-bolditalic.woff +0 -0
- /package/{fonts → assets/fonts/lato}/lato-bolditalic.woff2 +0 -0
- /package/{fonts → assets/fonts/lato}/lato-italic.woff +0 -0
- /package/{fonts → assets/fonts/lato}/lato-italic.woff2 +0 -0
- /package/{fonts → assets/fonts/lato}/lato-regular.woff +0 -0
- /package/{fonts → assets/fonts/lato}/lato-regular.woff2 +0 -0
- /package/{fonts → assets/fonts/material-design-icons}/MaterialIcons-Regular.ttf +0 -0
- /package/{fonts → assets/fonts/material-design-icons}/MaterialIcons-Regular.woff +0 -0
- /package/{fonts → assets/fonts/material-design-icons}/MaterialIcons-Regular.woff2 +0 -0
- /package/{fonts → assets/fonts/open-sans/Bold}/OpenSans-Bold.eot +0 -0
- /package/{fonts → assets/fonts/open-sans/Bold}/OpenSans-Bold.svg +0 -0
- /package/{fonts → assets/fonts/open-sans/Bold}/OpenSans-Bold.ttf +0 -0
- /package/{fonts → assets/fonts/open-sans/Bold}/OpenSans-Bold.woff +0 -0
- /package/{fonts → assets/fonts/open-sans/Bold}/OpenSans-Bold.woff2 +0 -0
- /package/{fonts → assets/fonts/open-sans/ExtraBold}/OpenSans-Extrabold.eot +0 -0
- /package/{fonts → assets/fonts/open-sans/ExtraBold}/OpenSans-Extrabold.svg +0 -0
- /package/{fonts → assets/fonts/open-sans/ExtraBold}/OpenSans-Extrabold.ttf +0 -0
- /package/{fonts → assets/fonts/open-sans/ExtraBold}/OpenSans-Extrabold.woff +0 -0
- /package/{fonts → assets/fonts/open-sans/ExtraBold}/OpenSans-Extrabold.woff2 +0 -0
- /package/{fonts → assets/fonts/open-sans/Italic}/OpenSans-Italic.eot +0 -0
- /package/{fonts → assets/fonts/open-sans/Italic}/OpenSans-Italic.svg +0 -0
- /package/{fonts → assets/fonts/open-sans/Italic}/OpenSans-Italic.ttf +0 -0
- /package/{fonts → assets/fonts/open-sans/Italic}/OpenSans-Italic.woff +0 -0
- /package/{fonts → assets/fonts/open-sans/Italic}/OpenSans-Italic.woff2 +0 -0
- /package/{fonts → assets/fonts/open-sans/Light}/OpenSans-Light.eot +0 -0
- /package/{fonts → assets/fonts/open-sans/Light}/OpenSans-Light.svg +0 -0
- /package/{fonts → assets/fonts/open-sans/Light}/OpenSans-Light.ttf +0 -0
- /package/{fonts → assets/fonts/open-sans/Light}/OpenSans-Light.woff +0 -0
- /package/{fonts → assets/fonts/open-sans/Light}/OpenSans-Light.woff2 +0 -0
- /package/{fonts → assets/fonts/open-sans/LightItalic}/OpenSansLight-Italic.eot +0 -0
- /package/{fonts → assets/fonts/open-sans/LightItalic}/OpenSansLight-Italic.svg +0 -0
- /package/{fonts → assets/fonts/open-sans/LightItalic}/OpenSansLight-Italic.ttf +0 -0
- /package/{fonts → assets/fonts/open-sans/LightItalic}/OpenSansLight-Italic.woff +0 -0
- /package/{fonts → assets/fonts/open-sans/LightItalic}/OpenSansLight-Italic.woff2 +0 -0
- /package/{fonts → assets/fonts/open-sans/Regular}/OpenSans.eot +0 -0
- /package/{fonts → assets/fonts/open-sans/Regular}/OpenSans.svg +0 -0
- /package/{fonts → assets/fonts/open-sans/Regular}/OpenSans.ttf +0 -0
- /package/{fonts → assets/fonts/open-sans/Regular}/OpenSans.woff +0 -0
- /package/{fonts → assets/fonts/open-sans/Regular}/OpenSans.woff2 +0 -0
- /package/{fonts → assets/fonts/open-sans/Semibold}/OpenSans-Semibold.eot +0 -0
- /package/{fonts → assets/fonts/open-sans/Semibold}/OpenSans-Semibold.svg +0 -0
- /package/{fonts → assets/fonts/open-sans/Semibold}/OpenSans-Semibold.ttf +0 -0
- /package/{fonts → assets/fonts/open-sans/Semibold}/OpenSans-Semibold.woff +0 -0
- /package/{fonts → assets/fonts/open-sans/Semibold}/OpenSans-Semibold.woff2 +0 -0
- /package/{fonts → assets/fonts/primeicons}/primeicons.eot +0 -0
- /package/{fonts → assets/fonts/primeicons}/primeicons.svg +0 -0
- /package/{fonts → assets/fonts/primeicons}/primeicons.ttf +0 -0
- /package/{fonts → assets/fonts/primeicons}/primeicons.woff +0 -0
package/src/navbar/_mixins.scss
CHANGED
|
@@ -1,650 +1,653 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
|
|
10
|
-
@
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
@include ids-navbar
|
|
15
|
-
@include ids-navbar-
|
|
16
|
-
@include ids-navbar-
|
|
17
|
-
@include ids-navbar-
|
|
18
|
-
@include ids-navbar-
|
|
19
|
-
@include ids-navbar-
|
|
20
|
-
@include ids-navbar-
|
|
21
|
-
@include ids-navbar-
|
|
22
|
-
@include ids-navbar-
|
|
23
|
-
@include ids-navbar-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
<!--<
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
<span class="
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<li class="c-navbar__nav-listitem c-dropdown"
|
|
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
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
//
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
//
|
|
123
|
-
|
|
124
|
-
//
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
//
|
|
134
|
-
//
|
|
135
|
-
//
|
|
136
|
-
//
|
|
137
|
-
//
|
|
138
|
-
//
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
-
|
|
150
|
-
|
|
151
|
-
@
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
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
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
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
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
//
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
color:
|
|
332
|
-
|
|
333
|
-
border
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
//
|
|
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
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
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
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
|
|
1
|
+
@use "../base/variables" as *;
|
|
2
|
+
@use "../grid/variables" as *;
|
|
3
|
+
@use "../mediaqueries/variables" as *;
|
|
4
|
+
@use "../input/variables" as *;
|
|
5
|
+
@use "./variables" as *;
|
|
6
|
+
@use "../tools/tools.clearfix" as *;
|
|
7
|
+
@use "../nav/mixins" as *;
|
|
8
|
+
@use "../tools/tools.border-radius" as *;
|
|
9
|
+
@use "../sidebar/variables" as *;
|
|
10
|
+
@use "../mediaqueries/mixins" as *;
|
|
11
|
+
@use "../typography/variables" as *;
|
|
12
|
+
|
|
13
|
+
@mixin ids-navbar-core-styles {
|
|
14
|
+
@include ids-navbar;
|
|
15
|
+
@include ids-navbar-static;
|
|
16
|
+
@include ids-navbar-header;
|
|
17
|
+
@include ids-navbar-collapse;
|
|
18
|
+
@include ids-navbar-alignment-vertical;
|
|
19
|
+
@include ids-navbar-brand;
|
|
20
|
+
@include ids-navbar-toggle;
|
|
21
|
+
@include ids-navbar-nav;
|
|
22
|
+
@include ids-navbar-dropdown;
|
|
23
|
+
@include ids-navbar-btn;
|
|
24
|
+
@include ids-navbar-text;
|
|
25
|
+
@include ids-navbar-alignment-horizontal;
|
|
26
|
+
@include ids-navbar-default;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/*
|
|
30
|
+
Navbar
|
|
31
|
+
|
|
32
|
+
markup:
|
|
33
|
+
<header class="c-navbar c-navbar_default u-hidden-print" ng-controller="CollapseDemoCtrl">
|
|
34
|
+
<div class="c-navbar__header">
|
|
35
|
+
<a class="c-navbar__brand" > <img class="o-image" src="https://unsplash.it/g/500/200?random" alt="Company logo"></a>
|
|
36
|
+
<!--<span class="c-nav__content u-window-box--none">
|
|
37
|
+
<img class="o-image" src="https://unsplash.it/500/200">
|
|
38
|
+
</span> -->
|
|
39
|
+
<!--<a class="c-navbar__brand c-navbar-brand-collapsed" ui-sref="app.dashboard" href="#/app/dashboard"> <img ng-src="assets/images/logo-collapsed2.png" alt="" src="assets/images/logo-collapsed2.png"> </a>-->
|
|
40
|
+
<!-- start: MENU TOGGLER FOR MOBILE DEVICES -->
|
|
41
|
+
<!-- <div class="close-handle visible-xs-block menu-toggler" ng-click="isNavCollapsed = !isNavCollapsed" ng-swipe-up="navbarCollapsed = true">
|
|
42
|
+
<span class="sr-only">Toggle navigation</span>
|
|
43
|
+
<span class="fa fa-bars"></span>
|
|
44
|
+
</div>-->
|
|
45
|
+
<button type="button" class="c-navbar__toggle" ng-click="isNavCollapsed = !isNavCollapsed" ng-swipe-up="navbarCollapsed = true">
|
|
46
|
+
<span class="sr-only">Toggle navigation</span>
|
|
47
|
+
<span class="fa fa-ellipsis-h"></span>
|
|
48
|
+
</button>
|
|
49
|
+
<!-- end: MENU TOGGLER FOR MOBILE DEVICES -->
|
|
50
|
+
</div>
|
|
51
|
+
<div class="c-navbar__collapse" uib-collapse="isNavCollapsed">
|
|
52
|
+
<ul class="c-navbar__nav c-navbar__right" ng-controller="NavbarCtrl">
|
|
53
|
+
<li class="c-navbar__nav-listitem c-dropdown">
|
|
54
|
+
<a href="" class="c-navbar__nav-content" data-toggle="dropdown"> <span class="badge"> 3 </span> <i class="fa fa-envelope"></i> </a>
|
|
55
|
+
</li>
|
|
56
|
+
<li class="c-navbar__nav-listitem c-dropdown" uib-dropdown>
|
|
57
|
+
<a href id="lang-choose" class="c-navbar__nav-content" uib-dropdown-toggle>
|
|
58
|
+
<i class="flag-icon flag-icon-us"></i> English <span class="c-caret"></span>
|
|
59
|
+
</a>
|
|
60
|
+
<ul class="c-dropdown-menu c-dropdown-menu_right" uib-dropdown-menu role="menu" aria-labelledby="lang-choose">
|
|
61
|
+
<li class="c-dropdown-menu__listitem" role="menuitem" ng-repeat="lang in items">
|
|
62
|
+
<a href="#" class="c-dropdown-menu__content" ng-click="setLanguage('ru')">{{lang}}</a>
|
|
63
|
+
</li>
|
|
64
|
+
</ul>
|
|
65
|
+
</li>
|
|
66
|
+
</ul>
|
|
67
|
+
</div>
|
|
68
|
+
</header>
|
|
69
|
+
|
|
70
|
+
sg-wrapper:
|
|
71
|
+
<div class="sg sg-box-lg">
|
|
72
|
+
<sg-wrapper-content/>
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
*/
|
|
76
|
+
|
|
77
|
+
// Wrapper and base class
|
|
78
|
+
//
|
|
79
|
+
// Provide a static navbar from which we expand to create full-width, fixed, and
|
|
80
|
+
// other navbar variations.
|
|
81
|
+
|
|
82
|
+
@mixin ids-navbar {
|
|
83
|
+
.c-navbar {
|
|
84
|
+
position: fixed;
|
|
85
|
+
top: 0;
|
|
86
|
+
width: 100%;
|
|
87
|
+
height: $navbar-height;
|
|
88
|
+
z-index: $zindex-navbar;
|
|
89
|
+
border: none;
|
|
90
|
+
margin-bottom: $navbar-margin-bottom;
|
|
91
|
+
min-height: $navbar-height; // Ensure a navbar always shows (e.g., without a .c-navbar-brand in collapsed mode)
|
|
92
|
+
|
|
93
|
+
// Prevent floats from breaking the navbar
|
|
94
|
+
@include clearfix;
|
|
95
|
+
|
|
96
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
97
|
+
border-radius: $navbar-border-radius;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@mixin ids-navbar-static {
|
|
103
|
+
.c-navbar_static {
|
|
104
|
+
position: relative;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// Navbar heading
|
|
109
|
+
//
|
|
110
|
+
// Groups `.c-navbar-brand` and `.c-navbar-toggle` into a single component for easy
|
|
111
|
+
// styling of responsive aspects.
|
|
112
|
+
|
|
113
|
+
@mixin ids-navbar-header {
|
|
114
|
+
.c-navbar__header {
|
|
115
|
+
@include clearfix;
|
|
116
|
+
background: $navbar-default-bg;
|
|
117
|
+
height: $navbar-height;
|
|
118
|
+
background: var(--ids-theme-navbar-default-bg, $navbar-default-bg);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// Navbar vertical align
|
|
123
|
+
//
|
|
124
|
+
// Vertically center elements in the navbar.
|
|
125
|
+
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
|
|
126
|
+
|
|
127
|
+
// todo: add _ to mixin name
|
|
128
|
+
@mixin navbar-vertical-align($element-height) {
|
|
129
|
+
margin-top: (($navbar-height - $element-height) * 0.5);
|
|
130
|
+
margin-bottom: (($navbar-height - $element-height) * 0.5);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// Navbar collapse (body)
|
|
134
|
+
//
|
|
135
|
+
// Group your navbar content into this for easy collapsing and expanding across
|
|
136
|
+
// various device sizes. By default, this content is collapsed when <768px, but
|
|
137
|
+
// will expand past that for a horizontal display.
|
|
138
|
+
//
|
|
139
|
+
// To start (on mobile devices) the navbar links, forms, and buttons are stacked
|
|
140
|
+
// vertically and include a `max-height` to overflow in case you have too much
|
|
141
|
+
// content for the user's viewport.
|
|
142
|
+
|
|
143
|
+
@mixin ids-navbar-collapse {
|
|
144
|
+
.c-navbar__collapse {
|
|
145
|
+
display: none;
|
|
146
|
+
overflow-x: visible;
|
|
147
|
+
padding-right: $navbar-padding-horizontal;
|
|
148
|
+
padding-left: $navbar-padding-horizontal;
|
|
149
|
+
border-top: 1px solid transparent;
|
|
150
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
|
|
151
|
+
@include clearfix;
|
|
152
|
+
-webkit-overflow-scrolling: touch;
|
|
153
|
+
|
|
154
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
155
|
+
display: block;
|
|
156
|
+
height: $navbar-height;
|
|
157
|
+
width: auto;
|
|
158
|
+
margin-left: $sidebar-open-width; // todo: отрефакторить кросскомпонентную зависимость
|
|
159
|
+
border-top: 0;
|
|
160
|
+
box-shadow: none;
|
|
161
|
+
padding-bottom: 0; // Override default setting
|
|
162
|
+
overflow: visible !important;
|
|
163
|
+
// TODO(tur): add c-navbar_fixed-top rules
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
167
|
+
&.collapse {
|
|
168
|
+
display: block !important;
|
|
169
|
+
height: auto !important;
|
|
170
|
+
padding-bottom: 0;
|
|
171
|
+
overflow: visible !important;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.is-navbar__collapse_open {
|
|
177
|
+
display: block;
|
|
178
|
+
height: auto !important;
|
|
179
|
+
padding-bottom: 0; // Override default setting
|
|
180
|
+
overflow-y: auto;
|
|
181
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
182
|
+
overflow: visible !important;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.c-navbar_fixed-top,
|
|
188
|
+
.c-navbar_fixed-bottom {
|
|
189
|
+
.c-navbar__collapse {
|
|
190
|
+
max-height: $navbar-collapse-max-height;
|
|
191
|
+
|
|
192
|
+
@media (max-device-width: $screen-xs-min) and (orientation: landscape) {
|
|
193
|
+
max-height: 200px;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
// Both navbar header and collapse
|
|
199
|
+
//
|
|
200
|
+
// When a container is present, change the behavior of the header and collapse.
|
|
201
|
+
// todo: отрефакторить кросскомпонентную зависимость
|
|
202
|
+
.c-container,
|
|
203
|
+
.c-container-fluid {
|
|
204
|
+
> .c-navbar__header,
|
|
205
|
+
> .c-navbar__collapse {
|
|
206
|
+
margin-right: -$navbar-padding-horizontal;
|
|
207
|
+
margin-left: -$navbar-padding-horizontal;
|
|
208
|
+
|
|
209
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
210
|
+
margin-right: 0;
|
|
211
|
+
margin-left: 0;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
//
|
|
218
|
+
// Navbar alignment options
|
|
219
|
+
//
|
|
220
|
+
// Display the navbar across the entirety of the page or fixed it to the top or
|
|
221
|
+
// bottom of the page.
|
|
222
|
+
|
|
223
|
+
@mixin ids-navbar-alignment-vertical {
|
|
224
|
+
// Static top (unfixed, but 100% wide) navbar
|
|
225
|
+
.c-navbar-static-top {
|
|
226
|
+
z-index: $zindex-navbar;
|
|
227
|
+
border-width: 0 0 1px;
|
|
228
|
+
|
|
229
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
230
|
+
border-radius: 0;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
// Fix the top/bottom navbars when screen real estate supports it
|
|
235
|
+
.c-navbar-fixed-top,
|
|
236
|
+
.c-navbar-fixed-bottom {
|
|
237
|
+
position: fixed;
|
|
238
|
+
right: 0;
|
|
239
|
+
left: 0;
|
|
240
|
+
z-index: $zindex-navbar-fixed;
|
|
241
|
+
|
|
242
|
+
// Undo the rounded corners
|
|
243
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
244
|
+
border-radius: 0;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.c-navbar-fixed-top {
|
|
249
|
+
top: 0;
|
|
250
|
+
border-width: 0 0 1px;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.c-navbar-fixed-bottom {
|
|
254
|
+
bottom: 0;
|
|
255
|
+
margin-bottom: 0; // override .c-navbar defaults
|
|
256
|
+
border-width: 1px 0 0;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
// Brand/project name
|
|
261
|
+
|
|
262
|
+
@mixin ids-navbar-brand {
|
|
263
|
+
.c-navbar__brand {
|
|
264
|
+
float: left;
|
|
265
|
+
padding: $navbar-padding-vertical $unit-tiny;
|
|
266
|
+
font-size: $font-size-lg;
|
|
267
|
+
line-height: $line-height-computed;
|
|
268
|
+
height: $navbar-height;
|
|
269
|
+
|
|
270
|
+
&:hover,
|
|
271
|
+
&:focus {
|
|
272
|
+
text-decoration: none;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
&:first-child {
|
|
276
|
+
padding-left: 0;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
> img {
|
|
280
|
+
display: block;
|
|
281
|
+
height: 100%;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
285
|
+
.c-navbar > .c-container &,
|
|
286
|
+
.c-navbar > .c-container-fluid & {
|
|
287
|
+
margin-left: -$navbar-padding-horizontal;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.c-navbar__brand-logo {
|
|
293
|
+
display: flex;
|
|
294
|
+
height: 56px;
|
|
295
|
+
max-height: 100%;
|
|
296
|
+
|
|
297
|
+
svg {
|
|
298
|
+
height: 100%;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
img {
|
|
302
|
+
width: 108px;
|
|
303
|
+
|
|
304
|
+
@include screen_small-and-up {
|
|
305
|
+
width: auto;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@media (max-width: 480px) {
|
|
311
|
+
.c-navbar__brand {
|
|
312
|
+
height: 40px;
|
|
313
|
+
padding: 0;
|
|
314
|
+
margin-top: 8px;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
// Navbar toggle
|
|
320
|
+
//
|
|
321
|
+
// Custom button for toggling the `.c-navbar-collapse`, powered by the collapse
|
|
322
|
+
// JavaScript plugin.
|
|
323
|
+
|
|
324
|
+
@mixin ids-navbar-toggle {
|
|
325
|
+
.c-navbar__toggle {
|
|
326
|
+
position: relative;
|
|
327
|
+
float: right;
|
|
328
|
+
margin-right: $navbar-padding-horizontal;
|
|
329
|
+
padding: $unit-tiny $unit-small;
|
|
330
|
+
@include navbar-vertical-align(38px);
|
|
331
|
+
background-color: transparent;
|
|
332
|
+
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
|
333
|
+
border: none;
|
|
334
|
+
color: $navbar-default-toggle-color;
|
|
335
|
+
color: var(--ids-theme-navbar-default-toggle-color, $navbar-default-toggle-color);
|
|
336
|
+
border-radius: $global-radius;
|
|
337
|
+
|
|
338
|
+
// We remove the `outline` here, but later compensate by attaching `:hover`
|
|
339
|
+
// styles to `:focus`.
|
|
340
|
+
&:focus {
|
|
341
|
+
outline: 0;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
// Bars
|
|
345
|
+
.icon-bar {
|
|
346
|
+
display: block;
|
|
347
|
+
width: 22px;
|
|
348
|
+
height: 2px;
|
|
349
|
+
border-radius: 1px;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.icon-bar + .icon-bar {
|
|
353
|
+
margin-top: 4px;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
357
|
+
display: none;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
// Navbar nav links
|
|
363
|
+
//
|
|
364
|
+
// Builds on top of the `.nav` components with its own modifier class to make
|
|
365
|
+
// the nav the full height of the horizontal nav (above 768px).
|
|
366
|
+
|
|
367
|
+
@mixin ids-navbar-nav {
|
|
368
|
+
.c-navbar__nav {
|
|
369
|
+
@include c-nav;
|
|
370
|
+
|
|
371
|
+
margin-left: $unit-tiny;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.c-navbar__nav-listitem {
|
|
375
|
+
float: left;
|
|
376
|
+
background: none;
|
|
377
|
+
border: none;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.c-navbar__nav-content {
|
|
381
|
+
position: relative;
|
|
382
|
+
padding: 0 $unit-tiny;
|
|
383
|
+
font-size: 13px;
|
|
384
|
+
font-weight: 600;
|
|
385
|
+
letter-spacing: 0;
|
|
386
|
+
line-height: $navbar-height;
|
|
387
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90);
|
|
388
|
+
opacity: 0.9;
|
|
389
|
+
text-align: center;
|
|
390
|
+
|
|
391
|
+
&,
|
|
392
|
+
&:hover,
|
|
393
|
+
&:focus {
|
|
394
|
+
text-decoration: none;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
// Uncollapse the nav
|
|
398
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
399
|
+
padding-top: $navbar-padding-vertical;
|
|
400
|
+
padding-bottom: $navbar-padding-vertical;
|
|
401
|
+
padding: 0 $unit-small;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
// Dropdown menus
|
|
407
|
+
|
|
408
|
+
@mixin ids-navbar-dropdown {
|
|
409
|
+
// Menu position and menu carets
|
|
410
|
+
.c-navbar__nav > li > .c-dropdown-menu {
|
|
411
|
+
margin-top: 0;
|
|
412
|
+
@include border-top-radius(0);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
// Menu position and menu caret support for dropups via extra dropup class
|
|
416
|
+
.c-navbar_fixed-bottom .c-navbar__nav > li > .c-dropdown-menu {
|
|
417
|
+
margin-bottom: 0;
|
|
418
|
+
@include border-top-radius($navbar-border-radius);
|
|
419
|
+
@include border-bottom-radius(0);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
// Buttons in navbars
|
|
424
|
+
//
|
|
425
|
+
// Vertically center a button within a navbar (when *not* in a form).
|
|
426
|
+
|
|
427
|
+
@mixin ids-navbar-btn {
|
|
428
|
+
.c-navbar__btn {
|
|
429
|
+
@include navbar-vertical-align($input-height-base);
|
|
430
|
+
|
|
431
|
+
&.c-btn_small {
|
|
432
|
+
@include navbar-vertical-align($input-height-small);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
&.c-btn_tiny {
|
|
436
|
+
@include navbar-vertical-align($input-height-tiny);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
// Text in navbars
|
|
442
|
+
//
|
|
443
|
+
// Add a class to make any element properly align itself vertically within the navbars.
|
|
444
|
+
|
|
445
|
+
@mixin ids-navbar-text {
|
|
446
|
+
.c-navbar__text {
|
|
447
|
+
@include navbar-vertical-align($line-height-computed);
|
|
448
|
+
|
|
449
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
450
|
+
float: left;
|
|
451
|
+
margin-left: $navbar-padding-horizontal;
|
|
452
|
+
margin-right: $navbar-padding-horizontal;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
// Component alignment
|
|
458
|
+
//
|
|
459
|
+
// Repurpose the pull utilities as their own navbar utilities to avoid specificity
|
|
460
|
+
// issues with parents and chaining. Only do this when the navbar is uncollapsed
|
|
461
|
+
// though so that navbar contents properly stack and align in mobile.
|
|
462
|
+
//
|
|
463
|
+
// Declared after the navbar components to ensure more specificity on the margins.
|
|
464
|
+
|
|
465
|
+
@mixin ids-navbar-alignment-horizontal {
|
|
466
|
+
@media (min-width: $grid-float-breakpoint) {
|
|
467
|
+
.c-navbar_left {
|
|
468
|
+
float: left !important;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.c-navbar_right {
|
|
472
|
+
float: right !important;
|
|
473
|
+
margin-right: -$navbar-padding-horizontal;
|
|
474
|
+
|
|
475
|
+
~ .c-navbar_right {
|
|
476
|
+
margin-right: 0;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
// Alternate navbars
|
|
483
|
+
// --------------------------------------------------
|
|
484
|
+
|
|
485
|
+
// Default navbar
|
|
486
|
+
|
|
487
|
+
@mixin ids-navbar-default {
|
|
488
|
+
.c-navbar_default {
|
|
489
|
+
background-color: $navbar-default-bg;
|
|
490
|
+
background-color: var(--ids-theme-navbar-default-bg, $navbar-default-bg);
|
|
491
|
+
border-color: $navbar-default-border;
|
|
492
|
+
border-color: var(--ids-theme-navbar-default-border, $navbar-default-border);
|
|
493
|
+
|
|
494
|
+
.c-navbar__brand {
|
|
495
|
+
color: $navbar-default-brand-color;
|
|
496
|
+
color: var(--ids-theme-navbar-default-brand-color, $navbar-default-brand-color);
|
|
497
|
+
|
|
498
|
+
&:hover,
|
|
499
|
+
&:focus {
|
|
500
|
+
color: $navbar-default-brand-hover-color;
|
|
501
|
+
color: var(--ids-theme-navbar-default-brand-hover-color, $navbar-default-brand-hover-color);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.c-navbar__text {
|
|
506
|
+
color: $navbar-default-color;
|
|
507
|
+
color: var(--ids-theme-navbar-default-color, $navbar-default-color);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.c-navbar__nav {
|
|
511
|
+
> li > a {
|
|
512
|
+
color: $navbar-default-link-color;
|
|
513
|
+
color: var(--ids-theme-navbar-default-link-color, $navbar-default-link-color);
|
|
514
|
+
|
|
515
|
+
&:hover,
|
|
516
|
+
&:focus {
|
|
517
|
+
color: $navbar-default-link-hover-color;
|
|
518
|
+
color: var(--ids-theme-navbar-default-link-hover-color, $navbar-default-link-hover-color);
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
> .active > a {
|
|
523
|
+
&,
|
|
524
|
+
&:hover,
|
|
525
|
+
&:focus {
|
|
526
|
+
color: $navbar-default-link-active-color;
|
|
527
|
+
color: var(--ids-theme-navbar-default-link-active-color, $navbar-default-link-active-color);
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
> .disabled > a {
|
|
532
|
+
&,
|
|
533
|
+
&:hover,
|
|
534
|
+
&:focus {
|
|
535
|
+
color: $navbar-default-link-disabled-color;
|
|
536
|
+
color: var(--ids-theme-navbar-default-link-disabled-color, $navbar-default-link-disabled-color);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.c-navbar__toggle {
|
|
542
|
+
border-color: $navbar-default-toggle-border-color;
|
|
543
|
+
border-color: var(--ids-theme-navbar-default-toggle-border-color, $navbar-default-toggle-border-color);
|
|
544
|
+
|
|
545
|
+
&:hover,
|
|
546
|
+
&:focus {
|
|
547
|
+
color: $navbar-default-toggle-hover-color;
|
|
548
|
+
color: var(--ids-theme-navbar-default-toggle-hover-color, $navbar-default-toggle-hover-color);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.icon-bar {
|
|
552
|
+
background-color: $navbar-default-toggle-icon-bar-bg;
|
|
553
|
+
background-color: var(--ids-theme-navbar-default-toggle-icon-bar-bg, $navbar-default-toggle-icon-bar-bg);
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.c-navbar__collapse,
|
|
558
|
+
.c-navbar__form {
|
|
559
|
+
border-color: $navbar-default-border;
|
|
560
|
+
border-color: var(--ids-theme-navbar-default-border, $navbar-default-border);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
// Dropdown menu items
|
|
564
|
+
.c-navbar__nav {
|
|
565
|
+
// Remove background color from open dropdown
|
|
566
|
+
> .is-dropdown_open > a {
|
|
567
|
+
&,
|
|
568
|
+
&:hover,
|
|
569
|
+
&:focus {
|
|
570
|
+
//background-color: $navbar-default-link-active-bg;
|
|
571
|
+
color: $navbar-default-link-active-color;
|
|
572
|
+
color: var(--ids-theme-navbar-default-link-active-color, $navbar-default-link-active-color);
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
@media (max-width: $grid-float-breakpoint-max) {
|
|
577
|
+
// Dropdowns get custom display when collapsed
|
|
578
|
+
.is-dropdown_open .c-dropdown-menu {
|
|
579
|
+
> li > a {
|
|
580
|
+
color: $navbar-default-link-color;
|
|
581
|
+
color: var(--ids-theme-navbar-default-link-color, $navbar-default-link-color);
|
|
582
|
+
|
|
583
|
+
&:hover,
|
|
584
|
+
&:focus {
|
|
585
|
+
color: $navbar-default-link-hover-color;
|
|
586
|
+
color: var(--ids-theme-navbar-default-link-hover-color, $navbar-default-link-hover-color);
|
|
587
|
+
background-color: $navbar-default-link-hover-bg;
|
|
588
|
+
background-color: var(--ids-theme-navbar-default-link-hover-bg, $navbar-default-link-hover-bg);
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
> .active > a {
|
|
593
|
+
&,
|
|
594
|
+
&:hover,
|
|
595
|
+
&:focus {
|
|
596
|
+
color: $navbar-default-link-active-color;
|
|
597
|
+
color: var(--ids-theme-navbar-default-link-active-color, $navbar-default-link-active-color);
|
|
598
|
+
background-color: $navbar-default-link-active-bg;
|
|
599
|
+
background-color: var(--ids-theme-navbar-default-link-active-bg, $navbar-default-link-active-bg);
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
> .disabled > a {
|
|
604
|
+
&,
|
|
605
|
+
&:hover,
|
|
606
|
+
&:focus {
|
|
607
|
+
color: $navbar-default-link-disabled-color;
|
|
608
|
+
color: var(--ids-theme-navbar-default-link-disabled-color, $navbar-default-link-disabled-color);
|
|
609
|
+
background-color: $navbar-default-link-disabled-bg;
|
|
610
|
+
background-color: var(--ids-theme-navbar-default-link-disabled-bg, $navbar-default-link-disabled-bg);
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
// Links in navbars
|
|
618
|
+
//
|
|
619
|
+
// Add a class to ensure links outside the navbar nav are colored correctly.
|
|
620
|
+
|
|
621
|
+
.c-navbar__link {
|
|
622
|
+
color: $navbar-default-link-color;
|
|
623
|
+
color: var(--ids-theme-navbar-default-link-color, $navbar-default-link-color);
|
|
624
|
+
|
|
625
|
+
&:hover {
|
|
626
|
+
color: $navbar-default-link-hover-color;
|
|
627
|
+
color: var(--ids-theme-navbar-default-link-hover-color, $navbar-default-link-hover-color);
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.c-btn_link {
|
|
632
|
+
color: $navbar-default-link-color;
|
|
633
|
+
color: var(--ids-theme-navbar-default-link-color, $navbar-default-link-color);
|
|
634
|
+
|
|
635
|
+
&:hover,
|
|
636
|
+
&:focus {
|
|
637
|
+
color: $navbar-default-link-hover-color;
|
|
638
|
+
color: var(--ids-theme-navbar-default-link-hover-color, $navbar-default-link-hover-color);
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
&[disabled],
|
|
642
|
+
fieldset[disabled] & {
|
|
643
|
+
&:hover,
|
|
644
|
+
&:focus {
|
|
645
|
+
color: $navbar-default-link-disabled-color;
|
|
646
|
+
color: var(--ids-theme-navbar-default-link-disabled-color, $navbar-default-link-disabled-color);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
|