@shortfuse/materialdesignweb 0.2.0 → 0.5.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/.browserslistrc +2 -1
- package/.eslintrc.json +188 -30
- package/.stylelintrc.json +643 -2
- package/.vscode/launch.json +20 -5
- package/.vscode/settings.json +3 -0
- package/CHANGELOG.md +36 -0
- package/README.md +82 -2
- package/adapters/datatable/column.js +176 -0
- package/adapters/datatable/index.js +253 -437
- package/adapters/dom/index.js +586 -0
- package/adapters/list/index.js +36 -113
- package/adapters/search/index.js +153 -180
- package/components/appbar/_spec.scss +165 -0
- package/components/appbar/_theme.scss +0 -0
- package/components/appbar/index.scss +2 -0
- package/components/banner/_spec.scss +83 -0
- package/components/banner/_theme.scss +0 -0
- package/components/banner/index.scss +2 -0
- package/components/bottomnav/README.md +4 -4
- package/components/bottomnav/_spec.scss +149 -0
- package/components/bottomnav/_theme.scss +0 -0
- package/components/bottomnav/index.js +100 -120
- package/components/bottomnav/index.scss +2 -0
- package/components/bottomnav/item.js +88 -0
- package/components/button/README.md +16 -22
- package/components/button/_spec.scss +162 -0
- package/components/button/_theme.scss +42 -0
- package/components/button/index.eta +32 -0
- package/components/button/index.js +37 -48
- package/components/button/index.pug +18 -0
- package/components/button/index.scss +2 -0
- package/components/card/_spec.scss +241 -0
- package/components/card/_theme.scss +0 -0
- package/components/card/index.scss +2 -0
- package/components/chip/_spec.scss +111 -0
- package/components/chip/_theme.scss +105 -0
- package/components/chip/index.js +23 -0
- package/components/chip/index.scss +2 -0
- package/components/chip/item.js +20 -0
- package/components/datatable/_spec.scss +225 -0
- package/components/datatable/_theme.scss +128 -0
- package/components/datatable/cell.js +44 -0
- package/components/datatable/columnheader.js +46 -0
- package/components/datatable/index.js +339 -443
- package/components/datatable/index.scss +2 -0
- package/components/datatable/row.js +48 -0
- package/components/datatable/rowheader.js +18 -0
- package/components/dialog/_spec.scss +203 -0
- package/components/dialog/_theme.scss +7 -0
- package/components/dialog/index.js +512 -437
- package/components/dialog/index.scss +2 -0
- package/components/divider/_spec.scss +11 -0
- package/components/divider/_theme.scss +0 -0
- package/components/divider/index.scss +2 -0
- package/components/elevation/_spec.scss +9 -0
- package/components/elevation/_theme.scss +0 -0
- package/components/elevation/index.scss +2 -0
- package/components/fab/{style.scss → _spec.scss} +104 -79
- package/components/fab/_theme.scss +0 -0
- package/components/fab/index.js +85 -79
- package/components/fab/index.scss +2 -0
- package/components/grid/_spec.scss +169 -0
- package/components/grid/_theme.scss +0 -0
- package/components/grid/index.scss +2 -0
- package/components/layout/_mixins.scss +11 -0
- package/components/layout/_spec.scss +916 -0
- package/components/layout/_theme.scss +19 -0
- package/components/layout/index.js +454 -0
- package/components/layout/index.scss +2 -0
- package/components/list/_spec.scss +363 -0
- package/components/list/_theme.scss +102 -0
- package/components/list/content.js +106 -0
- package/components/list/index.js +234 -79
- package/components/list/index.scss +2 -0
- package/components/list/item.js +167 -0
- package/components/list/secondary.js +45 -0
- package/components/menu/_spec.scss +329 -0
- package/components/menu/_theme.scss +0 -0
- package/components/menu/index.js +636 -651
- package/components/menu/index.scss +2 -0
- package/components/menu/item.js +231 -0
- package/components/progress/_spec.scss +156 -0
- package/components/progress/_theme.scss +0 -0
- package/components/progress/index.js +29 -13
- package/components/progress/index.scss +2 -0
- package/components/selection/_spec.scss +376 -0
- package/components/selection/_theme.scss +134 -0
- package/components/selection/index.eta +60 -0
- package/components/selection/index.js +70 -0
- package/components/selection/index.pug +30 -0
- package/components/selection/index.scss +2 -0
- package/components/selection/input.js +54 -0
- package/components/selection/radiogroup.js +40 -0
- package/components/slider/{style.scss → _spec.scss} +31 -34
- package/components/slider/_theme.scss +0 -0
- package/components/slider/index.scss +2 -0
- package/components/snackbar/_spec.scss +150 -0
- package/components/snackbar/_theme.scss +0 -0
- package/components/snackbar/index.js +293 -206
- package/components/snackbar/index.scss +2 -0
- package/components/tab/_spec.scss +220 -0
- package/components/tab/_theme.scss +0 -0
- package/components/tab/content.js +210 -0
- package/components/tab/index.js +229 -213
- package/components/tab/index.scss +2 -0
- package/components/tab/item.js +88 -0
- package/components/tab/list.js +196 -0
- package/components/tab/panel.js +54 -0
- package/components/textfield/README.md +4 -4
- package/components/textfield/_spec.scss +763 -0
- package/components/textfield/_theme.scss +264 -0
- package/components/textfield/index.eta +74 -0
- package/components/textfield/index.js +132 -138
- package/components/textfield/index.pug +30 -0
- package/components/textfield/index.scss +2 -0
- package/components/tooltip/_spec.scss +185 -0
- package/components/tooltip/_theme.scss +0 -0
- package/components/tooltip/index.scss +2 -0
- package/components/type/_spec.scss +227 -0
- package/components/type/_theme.scss +0 -0
- package/components/type/index.scss +2 -0
- package/core/_breakpoint.scss +189 -0
- package/core/_elevation.scss +78 -0
- package/core/_length.scss +8 -0
- package/core/_motion.scss +31 -0
- package/core/_platform.scss +12 -0
- package/core/_type.scss +128 -0
- package/core/aria/attributes.js +141 -0
- package/core/aria/button.js +49 -0
- package/core/aria/keyboard.js +92 -0
- package/core/aria/rovingtabindex.js +175 -0
- package/core/aria/tab.js +59 -0
- package/core/document/index.js +39 -0
- package/core/dom.js +180 -0
- package/core/overlay/_spec.scss +28 -0
- package/core/overlay/_theme.scss +147 -0
- package/core/overlay/index.js +95 -0
- package/core/overlay/index.scss +2 -0
- package/core/ripple/_spec.scss +196 -0
- package/core/ripple/_theme.scss +20 -0
- package/core/ripple/index.js +286 -0
- package/core/ripple/index.scss +2 -0
- package/core/theme/_aliases.scss +15 -0
- package/core/theme/_config.scss +8 -0
- package/core/theme/_functions.scss +22 -0
- package/{components/theming/palettes.scss → core/theme/_palettes.scss} +173 -151
- package/core/theme/_spec.scss +0 -0
- package/core/theme/_theme.scss +268 -0
- package/core/theme/index.js +50 -0
- package/core/theme/index.scss +4 -0
- package/core/throttler.js +42 -0
- package/core/transition/index.js +465 -0
- package/docs/_flex.scss +28 -0
- package/docs/_menuoptions.js +183 -0
- package/docs/_partials/_androidnavbar.eta +5 -0
- package/docs/_partials/_androidstatusbar.eta +13 -0
- package/docs/_partials/_appbar.eta +27 -0
- package/docs/_partials/_buttontest.eta +31 -0
- package/docs/_partials/_header.eta +146 -0
- package/docs/_partials/_navlistitem.eta +16 -0
- package/docs/_partials/_target.eta +1 -0
- package/docs/_sample-utils.js +88 -0
- package/docs/{src/storage.js → _storage.js} +0 -0
- package/docs/docs.scss +331 -0
- package/docs/framework.scss +26 -0
- package/docs/index.eta +12 -0
- package/docs/index.js +7 -0
- package/docs/pages/appbar.eta +108 -0
- package/docs/pages/appbar.js +0 -0
- package/docs/pages/bottomnav.eta +188 -0
- package/docs/pages/bottomnav.js +118 -0
- package/docs/pages/button.eta +124 -0
- package/docs/pages/button.js +224 -0
- package/docs/pages/card.eta +90 -0
- package/docs/pages/card.js +175 -0
- package/docs/pages/chip.eta +122 -0
- package/docs/pages/chip.js +80 -0
- package/docs/pages/color.eta +143 -0
- package/docs/pages/color.js +261 -0
- package/docs/pages/datatable.eta +323 -0
- package/docs/pages/datatable.js +160 -0
- package/docs/pages/dialog.eta +184 -0
- package/docs/{src/components → pages}/dialog.js +35 -48
- package/docs/pages/dom.eta +26 -0
- package/docs/pages/dom.js +140 -0
- package/docs/pages/elevation.eta +35 -0
- package/docs/pages/elevation.js +0 -0
- package/docs/pages/fab.eta +99 -0
- package/docs/{src/components → pages}/fab.js +6 -13
- package/docs/pages/grid.eta +135 -0
- package/docs/pages/grid.js +128 -0
- package/docs/pages/layout.eta +8 -0
- package/docs/pages/layout.js +0 -0
- package/docs/pages/list.eta +465 -0
- package/docs/pages/list.js +8 -0
- package/docs/pages/menu.eta +274 -0
- package/docs/{src/components → pages}/menu.js +26 -42
- package/docs/pages/overlay.eta +69 -0
- package/docs/pages/overlay.js +3 -0
- package/docs/pages/progress.eta +23 -0
- package/docs/{src/components → pages}/progress.js +2 -4
- package/docs/pages/ripple.eta +27 -0
- package/docs/pages/ripple.js +3 -0
- package/docs/pages/search.eta +242 -0
- package/docs/pages/search.js +226 -0
- package/docs/pages/selection.eta +107 -0
- package/docs/pages/selection.js +12 -0
- package/docs/pages/slider.eta +23 -0
- package/docs/pages/slider.js +0 -0
- package/docs/pages/snackbar.eta +83 -0
- package/docs/{src/components → pages}/snackbar.js +31 -36
- package/docs/pages/tab.eta +407 -0
- package/docs/pages/tab.js +152 -0
- package/docs/pages/textfield.eta +487 -0
- package/docs/{src/components → pages}/textfield.js +41 -45
- package/docs/pages/tooltip.eta +92 -0
- package/docs/pages/tooltip.js +0 -0
- package/docs/pages/transition.eta +117 -0
- package/docs/pages/transition.js +52 -0
- package/docs/pages/type.eta +31 -0
- package/docs/pages/type.js +0 -0
- package/docs/postrender.js +41 -0
- package/docs/prerender.js +16 -0
- package/docs/pwa/_dialogs.eta +143 -0
- package/docs/pwa/_menus.eta +16 -0
- package/docs/pwa/pwa-prerender.js +3 -0
- package/docs/pwa/pwa.eta +478 -0
- package/docs/pwa/pwa.js +298 -0
- package/docs/pwa/pwa.scss +31 -0
- package/docs/themes/theme-colored.scss +15 -0
- package/docs/themes/theme-default.scss +3 -0
- package/index.scss +27 -0
- package/jsconfig.json +8 -2
- package/package.json +54 -27
- package/scripts/deploy-docs.sh +9 -0
- package/templates/index.eta +2 -0
- package/templates/index.pug +3 -0
- package/tsconfig.json +16 -0
- package/utils/function.js +3 -0
- package/webpack.config.js +224 -68
- package/_index.scss +0 -4
- package/components/all-components.scss +0 -21
- package/components/bottomnav/style.scss +0 -190
- package/components/bottomnav/theming.scss +0 -76
- package/components/button/style.scss +0 -315
- package/components/button/theming.scss +0 -134
- package/components/card/style.scss +0 -175
- package/components/card/theming.scss +0 -43
- package/components/common/dom.js +0 -51
- package/components/common/functions.scss +0 -174
- package/components/common/mixins.scss +0 -122
- package/components/common/motion.scss +0 -36
- package/components/common/type.scss +0 -104
- package/components/common/variables.scss +0 -46
- package/components/datatable/style.scss +0 -257
- package/components/datatable/theming.scss +0 -119
- package/components/dialog/style.scss +0 -159
- package/components/dialog/theming.scss +0 -29
- package/components/divider/style.scss +0 -7
- package/components/divider/theming.scss +0 -20
- package/components/elevation/style.scss +0 -32
- package/components/layout/style.scss +0 -223
- package/components/list/style.scss +0 -358
- package/components/list/theming.scss +0 -83
- package/components/menu/style.scss +0 -280
- package/components/menu/theming.scss +0 -80
- package/components/navdrawer/index.js +0 -200
- package/components/navdrawer/style.scss +0 -595
- package/components/navdrawer/theming.scss +0 -62
- package/components/progress/style.scss +0 -136
- package/components/ripple/index.js +0 -63
- package/components/ripple/ripple.scss +0 -122
- package/components/selection/style.scss +0 -320
- package/components/selection/theming.scss +0 -98
- package/components/snackbar/style.scss +0 -212
- package/components/switch/style.scss +0 -3
- package/components/tab/style.scss +0 -275
- package/components/tab/theming.scss +0 -34
- package/components/template/theming.scss +0 -31
- package/components/textfield/style.scss +0 -795
- package/components/textfield/theming.scss +0 -256
- package/components/theming/globals.scss +0 -25
- package/components/theming/theming.scss +0 -559
- package/components/toolbar/style.scss +0 -190
- package/components/toolbar/theming.scss +0 -32
- package/components/tooltip/style.scss +0 -135
- package/components/type/style.scss +0 -167
- package/components/type/theming.scss +0 -25
- package/docs/bottomnav.html +0 -1
- package/docs/bottomnav.min.js +0 -2
- package/docs/bottomnav.min.js.map +0 -1
- package/docs/button.html +0 -1
- package/docs/button.min.js +0 -2
- package/docs/button.min.js.map +0 -1
- package/docs/card.html +0 -1
- package/docs/card.min.js +0 -2
- package/docs/card.min.js.map +0 -1
- package/docs/components.min.css +0 -1
- package/docs/components.min.js +0 -2
- package/docs/components.min.js.map +0 -1
- package/docs/datatable.html +0 -1
- package/docs/datatable.min.js +0 -2
- package/docs/datatable.min.js.map +0 -1
- package/docs/dialog.html +0 -1
- package/docs/dialog.min.js +0 -2
- package/docs/dialog.min.js.map +0 -1
- package/docs/docs.min.css +0 -1
- package/docs/docs.min.js +0 -2
- package/docs/docs.min.js.map +0 -1
- package/docs/elevation.html +0 -1
- package/docs/elevation.min.js +0 -2
- package/docs/elevation.min.js.map +0 -1
- package/docs/fab.html +0 -1
- package/docs/fab.min.js +0 -2
- package/docs/fab.min.js.map +0 -1
- package/docs/index.html +0 -1
- package/docs/index.min.js +0 -2
- package/docs/index.min.js.map +0 -1
- package/docs/layout.html +0 -1
- package/docs/layout.min.js +0 -2
- package/docs/layout.min.js.map +0 -1
- package/docs/list.html +0 -1
- package/docs/list.min.js +0 -2
- package/docs/list.min.js.map +0 -1
- package/docs/menu.html +0 -1
- package/docs/menu.min.js +0 -2
- package/docs/menu.min.js.map +0 -1
- package/docs/navdrawer.html +0 -1
- package/docs/navdrawer.min.js +0 -2
- package/docs/navdrawer.min.js.map +0 -1
- package/docs/prerender.min.js +0 -2
- package/docs/prerender.min.js.map +0 -1
- package/docs/progress.html +0 -1
- package/docs/progress.min.js +0 -2
- package/docs/progress.min.js.map +0 -1
- package/docs/search.html +0 -1
- package/docs/search.min.js +0 -2
- package/docs/search.min.js.map +0 -1
- package/docs/selection.html +0 -1
- package/docs/selection.min.js +0 -2
- package/docs/selection.min.js.map +0 -1
- package/docs/slider.html +0 -1
- package/docs/slider.min.js +0 -2
- package/docs/slider.min.js.map +0 -1
- package/docs/snackbar.html +0 -1
- package/docs/snackbar.min.js +0 -2
- package/docs/snackbar.min.js.map +0 -1
- package/docs/src/components/bottomnav.js +0 -16
- package/docs/src/components/bottomnav.pug +0 -112
- package/docs/src/components/button.js +0 -156
- package/docs/src/components/button.pug +0 -194
- package/docs/src/components/card.js +0 -136
- package/docs/src/components/card.pug +0 -133
- package/docs/src/components/datatable.js +0 -183
- package/docs/src/components/datatable.pug +0 -324
- package/docs/src/components/dialog.pug +0 -138
- package/docs/src/components/elevation.js +0 -3
- package/docs/src/components/elevation.pug +0 -17
- package/docs/src/components/fab.pug +0 -84
- package/docs/src/components/layout.js +0 -116
- package/docs/src/components/layout.pug +0 -104
- package/docs/src/components/list.js +0 -15
- package/docs/src/components/list.pug +0 -293
- package/docs/src/components/menu.pug +0 -292
- package/docs/src/components/navdrawer.js +0 -112
- package/docs/src/components/navdrawer.pug +0 -113
- package/docs/src/components/progress.pug +0 -17
- package/docs/src/components/search.js +0 -206
- package/docs/src/components/search.pug +0 -149
- package/docs/src/components/selection.js +0 -6
- package/docs/src/components/selection.pug +0 -116
- package/docs/src/components/slider.js +0 -3
- package/docs/src/components/slider.pug +0 -19
- package/docs/src/components/snackbar.pug +0 -145
- package/docs/src/components/tab.js +0 -137
- package/docs/src/components/tab.pug +0 -329
- package/docs/src/components/textfield.pug +0 -416
- package/docs/src/components/toolbar.js +0 -6
- package/docs/src/components/toolbar.pug +0 -86
- package/docs/src/components/tooltip.js +0 -6
- package/docs/src/components/tooltip.pug +0 -76
- package/docs/src/components/type.js +0 -6
- package/docs/src/components/type.pug +0 -34
- package/docs/src/components.scss +0 -1
- package/docs/src/docs.scss +0 -284
- package/docs/src/index.js +0 -3
- package/docs/src/index.pug +0 -6
- package/docs/src/menuoptions.js +0 -136
- package/docs/src/mixins.pug +0 -139
- package/docs/src/prerender.js +0 -26
- package/docs/src/sample-utils.js +0 -108
- package/docs/src/targetHandler.js +0 -50
- package/docs/src/theming.ie11.scss +0 -18
- package/docs/src/theming.scss +0 -18
- package/docs/tab.html +0 -1
- package/docs/tab.min.js +0 -2
- package/docs/tab.min.js.map +0 -1
- package/docs/textfield.html +0 -2
- package/docs/textfield.min.js +0 -2
- package/docs/textfield.min.js.map +0 -1
- package/docs/theming.ie11.min.css +0 -1
- package/docs/theming.ie11.min.js +0 -2
- package/docs/theming.ie11.min.js.map +0 -1
- package/docs/theming.min.css +0 -1
- package/docs/theming.min.js +0 -2
- package/docs/theming.min.js.map +0 -1
- package/docs/toolbar.html +0 -1
- package/docs/toolbar.min.js +0 -2
- package/docs/toolbar.min.js.map +0 -1
- package/docs/tooltip.html +0 -1
- package/docs/tooltip.min.js +0 -2
- package/docs/tooltip.min.js.map +0 -1
- package/docs/type.html +0 -1
- package/docs/type.min.js +0 -2
- package/docs/type.min.js.map +0 -1
- package/index.js +0 -16
|
@@ -1,595 +0,0 @@
|
|
|
1
|
-
// https://material.io/guidelines/patterns/navigation-drawer.html
|
|
2
|
-
// https://material.io/guidelines/layout/metrics-keylines.html#metrics-keylines-keylines-spacing
|
|
3
|
-
|
|
4
|
-
@import '../common/functions.scss';
|
|
5
|
-
@import '../common/motion.scss';
|
|
6
|
-
@import '../common/variables.scss';
|
|
7
|
-
|
|
8
|
-
$navdrawer__min-width: dp(256) !default;
|
|
9
|
-
$navdrawer__min-width__mini: dp(56) !default;
|
|
10
|
-
|
|
11
|
-
.mdw-navdrawer {
|
|
12
|
-
height: 100%;
|
|
13
|
-
width: 100%;
|
|
14
|
-
display: grid;
|
|
15
|
-
display: -ms-grid;
|
|
16
|
-
position: relative;
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
grid-template-rows: auto 1fr 16px;
|
|
19
|
-
-ms-grid-rows: auto 1fr 16px;
|
|
20
|
-
grid-template-columns: auto 16px 1fr;
|
|
21
|
-
-ms-grid-columns: auto 16px 1fr;
|
|
22
|
-
transition-timing-function: $motion-easing-deceleration;
|
|
23
|
-
transition-duration: $motion-duration-desktop-leave;
|
|
24
|
-
@include allHandsets {
|
|
25
|
-
transition-duration: $motion-duration-mobile-leave;
|
|
26
|
-
}
|
|
27
|
-
@include allTablets {
|
|
28
|
-
transition-duration: $motion-duration-tablet-leave;
|
|
29
|
-
}
|
|
30
|
-
&[id]:target,
|
|
31
|
-
&[mdw-show]:not([mdw-hide]) {
|
|
32
|
-
transition-timing-function: $motion-easing-acceleration;
|
|
33
|
-
transition-duration: $motion-duration-desktop-enter;
|
|
34
|
-
@include allHandsets {
|
|
35
|
-
transition-duration: $motion-duration-mobile-enter;
|
|
36
|
-
}
|
|
37
|
-
@include allTablets {
|
|
38
|
-
transition-duration: $motion-duration-tablet-enter;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.mdw-navdrawer__scrim {
|
|
44
|
-
content: '';
|
|
45
|
-
position: absolute;
|
|
46
|
-
left: 0;
|
|
47
|
-
right: 0;
|
|
48
|
-
top: 0;
|
|
49
|
-
bottom: 0;
|
|
50
|
-
z-index: 16;
|
|
51
|
-
cursor: auto;
|
|
52
|
-
pointer-events: none;
|
|
53
|
-
background-color: transparent;
|
|
54
|
-
transition-property: background-color;
|
|
55
|
-
transition-timing-function: inherit;
|
|
56
|
-
transition-duration: inherit;
|
|
57
|
-
|
|
58
|
-
display: none;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.mdw-navdrawer__toolbar {
|
|
62
|
-
grid-row-start: 1;
|
|
63
|
-
-ms-grid-row: 1;
|
|
64
|
-
grid-row-end: span 1;
|
|
65
|
-
-ms-grid-row-span: 1;
|
|
66
|
-
|
|
67
|
-
grid-column: 2;
|
|
68
|
-
-ms-grid-column: 2;
|
|
69
|
-
grid-column-end: span 2;
|
|
70
|
-
-ms-grid-column-span: 2;
|
|
71
|
-
.mdw-toolbar__start {
|
|
72
|
-
display: none;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
.mdw-navdrawer__close {
|
|
78
|
-
grid-row: 1;
|
|
79
|
-
-ms-grid-row: 1;
|
|
80
|
-
grid-column: 2;
|
|
81
|
-
-ms-grid-column: 2;
|
|
82
|
-
display: none;
|
|
83
|
-
height: 40px;
|
|
84
|
-
width: 40px;
|
|
85
|
-
&,
|
|
86
|
-
&.mdw-button {
|
|
87
|
-
margin: 0;
|
|
88
|
-
padding: 0;
|
|
89
|
-
margin-top: 16px;
|
|
90
|
-
margin-left: 8px;
|
|
91
|
-
margin-right: 8px;
|
|
92
|
-
}
|
|
93
|
-
align-self: flex-start;
|
|
94
|
-
color: white !important;
|
|
95
|
-
}
|
|
96
|
-
.mdw-navdrawer__drawer {
|
|
97
|
-
position: relative;
|
|
98
|
-
align-self: flex-start;
|
|
99
|
-
-ms-grid-row-align: start;
|
|
100
|
-
z-index: 16;
|
|
101
|
-
max-height: 100%;
|
|
102
|
-
height: 100%;
|
|
103
|
-
grid-column: 1;
|
|
104
|
-
-ms-grid-column: 1;
|
|
105
|
-
grid-column-end: span 1;
|
|
106
|
-
-ms-grid-column-span: 1;
|
|
107
|
-
|
|
108
|
-
grid-row: 1;
|
|
109
|
-
-ms-grid-row: 1;
|
|
110
|
-
grid-row-end: span 3;
|
|
111
|
-
-ms-grid-row-span: 3;
|
|
112
|
-
max-width: calc(100vw - 64px); // Tablet or Desktop
|
|
113
|
-
@include allHandsets {
|
|
114
|
-
max-width: calc(100vw - 56px);
|
|
115
|
-
}
|
|
116
|
-
min-width: $navdrawer__min-width;
|
|
117
|
-
transform: translateX(0);
|
|
118
|
-
box-shadow: elevation(0);
|
|
119
|
-
transition-property: box-shadow, transform, min-width, max-width;
|
|
120
|
-
transition-timing-function: inherit;
|
|
121
|
-
transition-duration: inherit;
|
|
122
|
-
pointer-events: auto;
|
|
123
|
-
overflow-y: auto;
|
|
124
|
-
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
125
|
-
border-style: solid;
|
|
126
|
-
border-width: 0;
|
|
127
|
-
border-right-width: 1px;
|
|
128
|
-
|
|
129
|
-
@include IEOnly() {
|
|
130
|
-
// Fix IE min-height flexbug
|
|
131
|
-
&::after {
|
|
132
|
-
content: '';
|
|
133
|
-
min-width: inherit;
|
|
134
|
-
height: 0;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
html[mdw-ios][mdw-standalone] & {
|
|
138
|
-
padding-left: constant(safe-area-inset-left);
|
|
139
|
-
padding-left: env(safe-area-inset-left);
|
|
140
|
-
padding-right: 0;
|
|
141
|
-
padding-top: 20px;
|
|
142
|
-
padding-top: constant(safe-area-inset-top);
|
|
143
|
-
padding-top: env(safe-area-inset-top);
|
|
144
|
-
}
|
|
145
|
-
html[mdw-ios][mdw-standalone][dir=rtl] & {
|
|
146
|
-
padding-right: constant(safe-area-inset-right);
|
|
147
|
-
padding-right: env(safe-area-inset-right);
|
|
148
|
-
padding-left: 0;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.mdw-navdrawer__content {
|
|
153
|
-
position: relative;
|
|
154
|
-
grid-row: 2;
|
|
155
|
-
-ms-grid-row: 2;
|
|
156
|
-
grid-row-end: span 2;
|
|
157
|
-
-ms-grid-row-span: 2;
|
|
158
|
-
|
|
159
|
-
grid-column: 2;
|
|
160
|
-
-ms-grid-column: 2;
|
|
161
|
-
grid-column-end: span 2;
|
|
162
|
-
-ms-grid-column-span: 2;
|
|
163
|
-
overflow-y: auto;
|
|
164
|
-
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.mdw-navdrawer__drawer .mdw-list__item {
|
|
168
|
-
&:before,
|
|
169
|
-
& > .mdw-ripple {
|
|
170
|
-
margin: 4px 8px;
|
|
171
|
-
border-radius: dp(4);
|
|
172
|
-
}
|
|
173
|
-
&:before {
|
|
174
|
-
transition-property: background-color, opacity;
|
|
175
|
-
}
|
|
176
|
-
&[mdw-selected] {
|
|
177
|
-
background-color: transparent;
|
|
178
|
-
.mdw-list__icon,
|
|
179
|
-
.mdw-list__text {
|
|
180
|
-
color: inherit;
|
|
181
|
-
}
|
|
182
|
-
&::before {
|
|
183
|
-
background-color: currentColor;
|
|
184
|
-
opacity: 0.12;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
.mdw-navdrawer__drawer .mdw-list__text {
|
|
189
|
-
font-weight: $font-weight-medium;
|
|
190
|
-
font-size: sp(14);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.mdw-navdrawer__drawer .mdw-list__subheader {
|
|
194
|
-
font-weight: $font-weight-medium;
|
|
195
|
-
font-size: sp(14);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.mdw-navdrawer__account {
|
|
199
|
-
display: grid;
|
|
200
|
-
display: -ms-grid;
|
|
201
|
-
grid-template-rows: auto minmax(64px, auto);
|
|
202
|
-
-ms-grid-rows: auto minmax(64px, auto);
|
|
203
|
-
grid-template-columns: auto minmax(0, 56px);
|
|
204
|
-
-ms-grid-columns: auto minmax(0, 56px);
|
|
205
|
-
|
|
206
|
-
position: relative;
|
|
207
|
-
&::after {
|
|
208
|
-
// Maintains a minimum 16:9 ratio
|
|
209
|
-
content: '';
|
|
210
|
-
grid-column: 1;
|
|
211
|
-
-ms-grid-column: 1;
|
|
212
|
-
grid-column-end: span 2;
|
|
213
|
-
-ms-grid-column-span: 2;
|
|
214
|
-
|
|
215
|
-
grid-row: 1;
|
|
216
|
-
-ms-grid-row: 1;
|
|
217
|
-
grid-row-end: span 2;
|
|
218
|
-
-ms-grid-row-span: 2;
|
|
219
|
-
width: auto;
|
|
220
|
-
height: 0;
|
|
221
|
-
padding-bottom: 56.25%;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.mdw-navdrawer__avatars {
|
|
226
|
-
grid-column: 1;
|
|
227
|
-
-ms-grid-column: 1;
|
|
228
|
-
grid-column-end: span 2;
|
|
229
|
-
-ms-grid-column-span: 2;
|
|
230
|
-
grid-row: 1;
|
|
231
|
-
-ms-grid-row: 1;
|
|
232
|
-
align-self: flex-end;
|
|
233
|
-
height: 64px;
|
|
234
|
-
padding-top: 16px;
|
|
235
|
-
padding-bottom: 4px;
|
|
236
|
-
display: flex;
|
|
237
|
-
align-items: flex-start;
|
|
238
|
-
justify-content: space-between;
|
|
239
|
-
padding-left: 16px;
|
|
240
|
-
padding-right: 16px;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.mdw-navdrawer__avatars-current,
|
|
244
|
-
.mdw-navdrawer__avatars-others {
|
|
245
|
-
> .mdw-button {
|
|
246
|
-
box-sizing: border-box;
|
|
247
|
-
border-width: 1px;
|
|
248
|
-
border-style: solid;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.mdw-navdrawer__avatars-current {
|
|
253
|
-
> .mdw-button {
|
|
254
|
-
width: 64px;
|
|
255
|
-
height: 64px;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.mdw-navdrawer__avatars-others {
|
|
260
|
-
display: flex;
|
|
261
|
-
> .mdw-button {
|
|
262
|
-
width: 40px;
|
|
263
|
-
height: 40px;
|
|
264
|
-
&:not(:last-child) {
|
|
265
|
-
margin: 0 16px;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.mdw-navdrawer__image {
|
|
271
|
-
grid-column: 1;
|
|
272
|
-
-ms-grid-column: 1;
|
|
273
|
-
grid-column-end: span 2;
|
|
274
|
-
-ms-grid-column-span: 2;
|
|
275
|
-
|
|
276
|
-
grid-row: 1;
|
|
277
|
-
-ms-grid-row: 1;
|
|
278
|
-
grid-row-end: span 2;
|
|
279
|
-
-ms-grid-row-span: 2;
|
|
280
|
-
|
|
281
|
-
position: relative;
|
|
282
|
-
// z-index: -1; // Safari has a negative z-index bug
|
|
283
|
-
overflow: hidden;
|
|
284
|
-
> * {
|
|
285
|
-
position: absolute;
|
|
286
|
-
left: 0;
|
|
287
|
-
top: 0;
|
|
288
|
-
width: 100%;
|
|
289
|
-
height: auto;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.mdw-navdrawer__subtitle {
|
|
294
|
-
grid-column: 1;
|
|
295
|
-
-ms-grid-column: 1;
|
|
296
|
-
grid-column-end: span 2;
|
|
297
|
-
-ms-grid-column-span: 2;
|
|
298
|
-
grid-row: 2;
|
|
299
|
-
-ms-grid-row: 2;
|
|
300
|
-
position: relative;
|
|
301
|
-
min-height: dp(56);
|
|
302
|
-
display: flex;
|
|
303
|
-
flex-direction: column;
|
|
304
|
-
justify-content: center;
|
|
305
|
-
padding-left: 16px;
|
|
306
|
-
padding-right: 16px;
|
|
307
|
-
align-items: flex-start;
|
|
308
|
-
&,
|
|
309
|
-
&.mdw-button {
|
|
310
|
-
color: white !important;
|
|
311
|
-
margin: 0 0 dp(8) 0;
|
|
312
|
-
}
|
|
313
|
-
&.mdw-button {
|
|
314
|
-
align-items: flex-start;
|
|
315
|
-
text-transform: none;
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
.mdw-navdrawer__name {
|
|
319
|
-
font-size: sp(14);
|
|
320
|
-
font-weight: $font-weight-medium;
|
|
321
|
-
color: inherit;
|
|
322
|
-
text-overflow: ellipsis;
|
|
323
|
-
overflow-x: hidden;
|
|
324
|
-
max-width: 100%;
|
|
325
|
-
box-sizing: border-box;
|
|
326
|
-
&::after {
|
|
327
|
-
content: '\25BE';
|
|
328
|
-
position: absolute;
|
|
329
|
-
bottom: 16px;
|
|
330
|
-
right: 24px;
|
|
331
|
-
font-size: 16px;
|
|
332
|
-
padding: inherit;
|
|
333
|
-
[dir=rtl] & {
|
|
334
|
-
right: auto;
|
|
335
|
-
left: 24px;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.mdw-navdrawer__email {
|
|
341
|
-
font-size: sp(14);
|
|
342
|
-
font-weight: $font-weight-regular;
|
|
343
|
-
color: inherit;
|
|
344
|
-
text-overflow: ellipsis;
|
|
345
|
-
overflow-x: hidden;
|
|
346
|
-
max-width: 100%;
|
|
347
|
-
box-sizing: border-box;
|
|
348
|
-
padding-right: 32px;
|
|
349
|
-
[dir=rtl] & {
|
|
350
|
-
padding-left: 32px;
|
|
351
|
-
padding-right: 0;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
@mixin mdw-navdrawer__modal {
|
|
357
|
-
> .mdw-navdrawer__content,
|
|
358
|
-
> .mdw-navdrawer__toolbar {
|
|
359
|
-
grid-column: 1;
|
|
360
|
-
-ms-grid-column: 1;
|
|
361
|
-
grid-column-end: span 4;
|
|
362
|
-
-ms-grid-column-span: 4;
|
|
363
|
-
}
|
|
364
|
-
> .mdw-navdrawer__toolbar .mdw-toolbar__start {
|
|
365
|
-
display: flex;
|
|
366
|
-
}
|
|
367
|
-
> .mdw-navdrawer__drawer .mdw-navdrawer__avatars {
|
|
368
|
-
grid-column-end: span 2;
|
|
369
|
-
-ms-grid-column-span: 2;
|
|
370
|
-
padding-right: 16px;
|
|
371
|
-
}
|
|
372
|
-
> .mdw-navdrawer__drawer {
|
|
373
|
-
position: absolute;
|
|
374
|
-
grid-row: 1;
|
|
375
|
-
-ms-grid-row: 1;
|
|
376
|
-
grid-column-end: span 3;
|
|
377
|
-
-ms-grid-column-span: 3;
|
|
378
|
-
min-width: auto;
|
|
379
|
-
box-shadow: elevation(0);
|
|
380
|
-
transform: translateX(-100%);
|
|
381
|
-
[dir=rtl] & {
|
|
382
|
-
transform: translateX(100%);
|
|
383
|
-
}
|
|
384
|
-
border-right-width: 0;
|
|
385
|
-
height: 100%;
|
|
386
|
-
z-index: 16;
|
|
387
|
-
margin: 0;
|
|
388
|
-
border-radius: 0px;
|
|
389
|
-
}
|
|
390
|
-
> .mdw-navdrawer__scrim {
|
|
391
|
-
display: block;
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
@mixin mdw-navdrawer__modal__shown {
|
|
396
|
-
> .mdw-navdrawer__drawer {
|
|
397
|
-
transform: translateX(0);
|
|
398
|
-
box-shadow: elevation(16);
|
|
399
|
-
grid-row-end: span 3;
|
|
400
|
-
-ms-grid-row-span: 3;
|
|
401
|
-
}
|
|
402
|
-
> .mdw-navdrawer__scrim {
|
|
403
|
-
display: block;
|
|
404
|
-
background-color: rgba(0, 0, 0, 0.50);
|
|
405
|
-
cursor: pointer;
|
|
406
|
-
-webkit-tap-highlight-color: transparent;
|
|
407
|
-
pointer-events: auto;
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.mdw-navdrawer[mdw-mini],
|
|
412
|
-
.mdw-navdrawer[mdw-dismissible] {
|
|
413
|
-
> .mdw-navdrawer__toolbar .mdw-toolbar__start {
|
|
414
|
-
display: flex;
|
|
415
|
-
}
|
|
416
|
-
.mdw-navdrawer__close {
|
|
417
|
-
display: flex;
|
|
418
|
-
}
|
|
419
|
-
.mdw-navdrawer__open {
|
|
420
|
-
display: none;
|
|
421
|
-
}
|
|
422
|
-
&:not([mdw-show]):not(:target),
|
|
423
|
-
&[mdw-hide] {
|
|
424
|
-
.mdw-navdrawer__close {
|
|
425
|
-
display: none;
|
|
426
|
-
}
|
|
427
|
-
.mdw-navdrawer__open {
|
|
428
|
-
display: flex;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
.mdw-navdrawer[mdw-dismissible] {
|
|
434
|
-
&:not([mdw-show]):not(:target),
|
|
435
|
-
&[mdw-hide] {
|
|
436
|
-
// grid-template-columns: minmax(0, auto) dp(16) 1fr;
|
|
437
|
-
> .mdw-navdrawer__drawer {
|
|
438
|
-
max-width: 0;
|
|
439
|
-
min-width: 0;
|
|
440
|
-
margin-left: 0;
|
|
441
|
-
margin-right: 0;
|
|
442
|
-
border-style: none;
|
|
443
|
-
box-shadow: none;
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
.mdw-navdrawer[mdw-mini] {
|
|
448
|
-
&:not([mdw-show]):not(:target),
|
|
449
|
-
&[mdw-hide] {
|
|
450
|
-
// grid-template-columns: minmax($navdrawer__min-width__mini, auto) dp(16) 1fr;
|
|
451
|
-
.mdw-navdrawer__close {
|
|
452
|
-
display: none;
|
|
453
|
-
}
|
|
454
|
-
.mdw-navdrawer__open {
|
|
455
|
-
display: flex;
|
|
456
|
-
}
|
|
457
|
-
.mdw-navdrawer__image {
|
|
458
|
-
display:none;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
.mdw-navdrawer__account {
|
|
462
|
-
// IE11 Grid does not center properly
|
|
463
|
-
display: flex;
|
|
464
|
-
justify-content: center;
|
|
465
|
-
}
|
|
466
|
-
.mdw-navdrawer__avatars {
|
|
467
|
-
height: 32px;
|
|
468
|
-
padding-top: 20px;
|
|
469
|
-
padding-left: 20px;
|
|
470
|
-
padding-right: 20px;
|
|
471
|
-
justify-content: center;
|
|
472
|
-
grid-column-end: span 1;
|
|
473
|
-
-ms-grid-column-span: 1;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
.mdw-navdrawer__avatars-current {
|
|
477
|
-
> .mdw-button {
|
|
478
|
-
width: 32px;
|
|
479
|
-
height: 32px;
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
.mdw-navdrawer__avatars-others {
|
|
483
|
-
display:none;
|
|
484
|
-
}
|
|
485
|
-
.mdw-list__subheader {
|
|
486
|
-
display:none;
|
|
487
|
-
}
|
|
488
|
-
.mdw-list__divider {
|
|
489
|
-
display: none;
|
|
490
|
-
}
|
|
491
|
-
> .mdw-navdrawer__toolbar {
|
|
492
|
-
grid-column: 1;
|
|
493
|
-
-ms-grid-column: 1;
|
|
494
|
-
grid-column-end: span 3;
|
|
495
|
-
-ms-grid-column-span: 3;
|
|
496
|
-
}
|
|
497
|
-
> .mdw-navdrawer__drawer {
|
|
498
|
-
grid-row: 2;
|
|
499
|
-
-ms-grid-row: 2;
|
|
500
|
-
z-index: auto;
|
|
501
|
-
> .mdw-list ~ .mdw-list {
|
|
502
|
-
display: none;
|
|
503
|
-
}
|
|
504
|
-
min-width: $navdrawer__min-width__mini;
|
|
505
|
-
}
|
|
506
|
-
.mdw-navdrawer__account {
|
|
507
|
-
grid-template-rows: auto;
|
|
508
|
-
-ms-grid-rows: auto;
|
|
509
|
-
grid-template-columns: auto;
|
|
510
|
-
-ms-grid-columns: auto;
|
|
511
|
-
&::after {
|
|
512
|
-
content: none;
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
.mdw-list__icon {
|
|
516
|
-
justify-content: center;
|
|
517
|
-
min-width: 100%;
|
|
518
|
-
margin-top: 0;
|
|
519
|
-
align-items: center;
|
|
520
|
-
min-height: 56px;
|
|
521
|
-
}
|
|
522
|
-
.mdw-navdrawer__subtitle {
|
|
523
|
-
display: none;
|
|
524
|
-
}
|
|
525
|
-
.mdw-list__text {
|
|
526
|
-
display:none;
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
.mdw-navdrawer {
|
|
532
|
-
&[mdw-floating] {
|
|
533
|
-
> .mdw-navdrawer__drawer {
|
|
534
|
-
border-right-width: 0;
|
|
535
|
-
height: auto;
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
&[mdw-floating=card] {
|
|
539
|
-
> .mdw-navdrawer__content {
|
|
540
|
-
grid-column: 3;
|
|
541
|
-
-ms-grid-column: 3;
|
|
542
|
-
}
|
|
543
|
-
> .mdw-navdrawer__drawer {
|
|
544
|
-
grid-column-end: span 1;
|
|
545
|
-
-ms-grid-column-span: 1;
|
|
546
|
-
margin: 8px;
|
|
547
|
-
border-radius: dp(2);
|
|
548
|
-
box-shadow: elevation(8);
|
|
549
|
-
grid-row-end: span 1;
|
|
550
|
-
-ms-grid-row-span: 1;
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
&[mdw-clipped],
|
|
554
|
-
&[mdw-floating] {
|
|
555
|
-
> .mdw-navdrawer__toolbar {
|
|
556
|
-
grid-column: 1;
|
|
557
|
-
-ms-grid-column: 1;
|
|
558
|
-
grid-column-end: span 3;
|
|
559
|
-
-ms-grid-column-span: 3;
|
|
560
|
-
}
|
|
561
|
-
> .mdw-navdrawer__drawer {
|
|
562
|
-
grid-row: 2;
|
|
563
|
-
-ms-grid-row: 2;
|
|
564
|
-
z-index: auto;
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
&[mdw-modal] {
|
|
568
|
-
@include mdw-navdrawer__modal;
|
|
569
|
-
&[id]:target,
|
|
570
|
-
&[mdw-show]:not([mdw-hide]) {
|
|
571
|
-
@include mdw-navdrawer__modal__shown;
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
&,
|
|
575
|
-
&[mdw-mini],
|
|
576
|
-
&[mdw-clipped],
|
|
577
|
-
&[mdw-floating] {
|
|
578
|
-
@media screen and (max-width: dp(600) - 1) {
|
|
579
|
-
@include mdw-navdrawer__modal;
|
|
580
|
-
&[id]:target,
|
|
581
|
-
&[mdw-show]:not([mdw-hide]) {
|
|
582
|
-
@include mdw-navdrawer__modal__shown;
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
&:not([mdw-dismissible]) {
|
|
586
|
-
@media screen and (max-width: dp(1280) - 1) {
|
|
587
|
-
@include mdw-navdrawer__modal;
|
|
588
|
-
&[id]:target,
|
|
589
|
-
&[mdw-show]:not([mdw-hide]) {
|
|
590
|
-
@include mdw-navdrawer__modal__shown;
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
@import '../common/functions.scss';
|
|
2
|
-
@import '../common/mixins.scss';
|
|
3
|
-
|
|
4
|
-
$navdrawerColors: (
|
|
5
|
-
selected-color: ((#000, 1.00), (#fff, 1.00)),
|
|
6
|
-
text-color: ((#000, 0.87), (#fff, 1.00)),
|
|
7
|
-
secondary-text-color: ((#000, 0.54), (#fff, 0.70)),
|
|
8
|
-
divider-color: ((#000, 0.12), (#fff, 0.12)),
|
|
9
|
-
drawer-background: ((#fff, 1.00), ('background', '800', 1.00)),
|
|
10
|
-
content-background: (('background', '50', 1.00), (#303030 , 1.00))
|
|
11
|
-
);
|
|
12
|
-
|
|
13
|
-
@function navdrawerThemeValue($key, $type, $theme) {
|
|
14
|
-
@return themeValue('navdrawer', $navdrawerColors, $key, $type, $theme);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@mixin navdrawerThemeVariables($color, $lightness) {
|
|
18
|
-
@include themeVariables('navdrawer', $navdrawerColors, $color, $lightness);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// Vary by contrast or theme
|
|
22
|
-
@mixin navdrawerContrastRules($type: 'var', $theme: null) {
|
|
23
|
-
.mdw-navdrawer__avatars-current,
|
|
24
|
-
.mdw-navdrawer__avatars-others {
|
|
25
|
-
> .mdw-button {
|
|
26
|
-
border-color: navdrawerThemeValue("divider-color", $type, $theme);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
.mdw-navdrawer {
|
|
30
|
-
background-color: navdrawerThemeValue("content-background", $type, $theme);
|
|
31
|
-
color: navdrawerThemeValue("text-color", $type, $theme);
|
|
32
|
-
}
|
|
33
|
-
.mdw-navdrawer__drawer {
|
|
34
|
-
border-color: navdrawerThemeValue("divider-color", $type, $theme);
|
|
35
|
-
.mdw-list__item[mdw-selected]:not([mdw-theme-color]) {
|
|
36
|
-
color: navdrawerThemeValue("selected-color", $type, $theme);
|
|
37
|
-
}
|
|
38
|
-
.mdw-list__item:not([mdw-selected]) {
|
|
39
|
-
.mdw-list__icon {
|
|
40
|
-
color: navdrawerThemeValue("secondary-text-color", $type, $theme);
|
|
41
|
-
}
|
|
42
|
-
.mdw-list__text {
|
|
43
|
-
color: navdrawerThemeValue("text-color", $type, $theme);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
.mdw-list__subheader {
|
|
47
|
-
color: navdrawerThemeValue("secondary-text-color", $type, $theme);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
@include allHandsetsAndTablets {
|
|
51
|
-
.mdw-navdrawer[mdw-floating] .mdw-navdrawer__drawer,
|
|
52
|
-
.mdw-navdrawer__drawer {
|
|
53
|
-
background-color: navdrawerThemeValue("drawer-background", $type, $theme);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
.mdw-navdrawer[mdw-floating=card],
|
|
57
|
-
.mdw-navdrawer:not([mdw-floating]) {
|
|
58
|
-
.mdw-navdrawer__drawer {
|
|
59
|
-
background-color: navdrawerThemeValue("drawer-background", $type, $theme);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|