@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,223 +0,0 @@
|
|
|
1
|
-
// https://material.io/guidelines/layout/responsive-ui.html
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
@import '../common/mixins.scss';
|
|
5
|
-
|
|
6
|
-
$layout__margin: dp(24);
|
|
7
|
-
$layout__gutter: dp(24);
|
|
8
|
-
|
|
9
|
-
.mdw-layout {
|
|
10
|
-
display: flex;
|
|
11
|
-
grid-auto-flow: row;
|
|
12
|
-
grid-template-columns: repeat(12, 1fr);
|
|
13
|
-
-ms-grid-columns: (1fr)[12];
|
|
14
|
-
grid-auto-rows: auto;
|
|
15
|
-
-ms-grid-rows: auto;
|
|
16
|
-
&[mdw-grid] {
|
|
17
|
-
// IE11 is unsupported due to lack of automatic placement
|
|
18
|
-
display: grid;
|
|
19
|
-
display: -ms-grid;
|
|
20
|
-
}
|
|
21
|
-
&[mdw-dense] {
|
|
22
|
-
grid-auto-flow: row dense;
|
|
23
|
-
}
|
|
24
|
-
&[mdw-stretch] {
|
|
25
|
-
> .mdw-layout__item {
|
|
26
|
-
flex-grow: 1;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&[mdw-center] {
|
|
31
|
-
justify-content: center;
|
|
32
|
-
}
|
|
33
|
-
flex-wrap: wrap;
|
|
34
|
-
|
|
35
|
-
border-width: $layout__margin;
|
|
36
|
-
border-color: transparent;
|
|
37
|
-
border-style: solid;
|
|
38
|
-
|
|
39
|
-
border-top-style: none;
|
|
40
|
-
border-bottom-style: none;
|
|
41
|
-
|
|
42
|
-
margin-left: -$layout__gutter;
|
|
43
|
-
margin-top: -$layout__gutter;
|
|
44
|
-
|
|
45
|
-
&[mdw-margin-bottom] {
|
|
46
|
-
border-bottom-style: solid;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&[mdw-margin-top] {
|
|
50
|
-
border-top-style: solid;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@each $value in (0, 8, 16, 24, 40) {
|
|
54
|
-
&[mdw-margin="#{$value}"] {
|
|
55
|
-
border-width: dp($value);
|
|
56
|
-
}
|
|
57
|
-
&[mdw-gutter="#{$value}"] {
|
|
58
|
-
margin-left: dp(-$value);
|
|
59
|
-
margin-top: dp(-$value);
|
|
60
|
-
> .mdw-layout__item {
|
|
61
|
-
border-width: dp($value);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
@include gutter16dp {
|
|
68
|
-
border-width: dp(16);
|
|
69
|
-
margin-left: dp(-16);
|
|
70
|
-
margin-top: dp(-16);
|
|
71
|
-
& > .mdw-layout__item {
|
|
72
|
-
border-width: dp(16);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@include allHandsets {
|
|
77
|
-
@each $value in (0, 8, 16, 24, 40) {
|
|
78
|
-
&[mdw-margin-mobile][mdw-margin-mobile="#{$value}"] {
|
|
79
|
-
border-width: dp($value);
|
|
80
|
-
}
|
|
81
|
-
&[mdw-gutter-mobile][mdw-gutter-mobile="#{$value}"] {
|
|
82
|
-
margin-left: dp(-$value);
|
|
83
|
-
margin-top: dp(-$value);
|
|
84
|
-
> .mdw-layout__item {
|
|
85
|
-
border-width: dp($value);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@include allTablets {
|
|
92
|
-
@each $value in (0, 8, 16, 24, 40) {
|
|
93
|
-
&[mdw-margin-tablet][mdw-margin-tablet="#{$value}"] {
|
|
94
|
-
border-width: dp($value);
|
|
95
|
-
}
|
|
96
|
-
&[mdw-gutter-tablet][mdw-gutter-tablet="#{$value}"] {
|
|
97
|
-
margin-left: dp(-$value);
|
|
98
|
-
margin-top: dp(-$value);
|
|
99
|
-
> .mdw-layout__item {
|
|
100
|
-
border-width: dp($value);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
@mixin layoutItem($columnCount) {
|
|
108
|
-
flex-basis: calc(100% / #{$columnCount});
|
|
109
|
-
@for $i from 2 to 12 {
|
|
110
|
-
&[mdw-colspan="#{$i}"] {
|
|
111
|
-
flex-basis: calc((#{$i} * 100% / #{$columnCount}));
|
|
112
|
-
@if ($i > #{$columnCount}) {
|
|
113
|
-
grid-column-end: span #{$columnCount};
|
|
114
|
-
-ms-grid-column-span: span #{$columnCount};
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
&[mdw-colspan="25%"] {
|
|
119
|
-
grid-column-end: span (#{1/4 * $columnCount});
|
|
120
|
-
-ms-grid-column-span: (#{1/4 * $columnCount});
|
|
121
|
-
}
|
|
122
|
-
&[mdw-colspan="50%"] {
|
|
123
|
-
grid-column-end: span (#{2/4 * $columnCount});
|
|
124
|
-
-ms-grid-column-span: (#{2/4 * $columnCount});
|
|
125
|
-
}
|
|
126
|
-
&[mdw-colspan="75%"] {
|
|
127
|
-
grid-column-end: span (#{3/4 * $columnCount});
|
|
128
|
-
-ms-grid-column-span: (#{3/4 * $columnCount});
|
|
129
|
-
}
|
|
130
|
-
&[mdw-colspan="100%"] {
|
|
131
|
-
grid-column-end: span (#{4/4 * $columnCount});
|
|
132
|
-
-ms-grid-column-span: (#{4/4 * $columnCount});
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.mdw-layout__item {
|
|
137
|
-
flex-grow: 0;
|
|
138
|
-
flex-shrink: 1;
|
|
139
|
-
box-sizing: border-box;
|
|
140
|
-
border-width: $layout__gutter;
|
|
141
|
-
border-color: transparent;
|
|
142
|
-
border-style: solid;
|
|
143
|
-
|
|
144
|
-
border-bottom-style: none;
|
|
145
|
-
border-right-style: none;
|
|
146
|
-
|
|
147
|
-
@for $i from 2 to 8 {
|
|
148
|
-
&[mdw-rowspan="#{$i}"] {
|
|
149
|
-
grid-row-end: span #{$i};
|
|
150
|
-
-ms-grid-row-span: span #{$i};
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
transition-property: flex-basis;
|
|
154
|
-
transition-timing-function: $motion-easing-standard;
|
|
155
|
-
transition-duration: $motion-duration-desktop-default;
|
|
156
|
-
@include allHandsets {
|
|
157
|
-
transition-duration: $motion-duration-mobile-default;
|
|
158
|
-
}
|
|
159
|
-
@include allTablets {
|
|
160
|
-
transition-duration: $motion-duration-tablet-default;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@include layoutItem(12);
|
|
164
|
-
|
|
165
|
-
&[mdw-colspan="25%"] {
|
|
166
|
-
flex-basis: 25%;
|
|
167
|
-
}
|
|
168
|
-
&[mdw-colspan="50%"] {
|
|
169
|
-
flex-basis: 50%;
|
|
170
|
-
}
|
|
171
|
-
&[mdw-colspan="75%"] {
|
|
172
|
-
flex-basis: 75%;
|
|
173
|
-
}
|
|
174
|
-
&[mdw-colspan="100%"] {
|
|
175
|
-
flex-basis: 100%;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
// Stretch children
|
|
179
|
-
display: flex;
|
|
180
|
-
& > :first-child {
|
|
181
|
-
flex: auto;
|
|
182
|
-
max-height: 100%;
|
|
183
|
-
max-width: 100%;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
// 8 Columns (Explicit on Desktop + Implicit on Tablet)
|
|
188
|
-
.mdw-layout[mdw-columns="8"] {
|
|
189
|
-
grid-template-columns: repeat(8, 1fr);
|
|
190
|
-
-ms-grid-columns: (1fr)[8];
|
|
191
|
-
.mdw-layout__item {
|
|
192
|
-
@include layoutItem(8);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
@media screen and (max-width: dp(840) - 1) {
|
|
196
|
-
.mdw-layout {
|
|
197
|
-
grid-template-columns: repeat(8, 1fr);
|
|
198
|
-
-ms-grid-columns: (1fr)[8];
|
|
199
|
-
}
|
|
200
|
-
.mdw-layout__item {
|
|
201
|
-
@include layoutItem(8);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
// 4 Columns (Explicit on Desktop and Tablet, Implicit on Mobile)
|
|
206
|
-
.mdw-layout[mdw-columns="4"] {
|
|
207
|
-
grid-template-columns: repeat(4, 1fr);
|
|
208
|
-
-ms-grid-columns: (1fr)[4];
|
|
209
|
-
.mdw-layout__item {
|
|
210
|
-
@include layoutItem(4);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
@media screen and (max-width: dp(600) - 1) {
|
|
214
|
-
.mdw-layout[mdw-columns="8"],
|
|
215
|
-
.mdw-layout {
|
|
216
|
-
grid-template-columns: repeat(4, 1fr);
|
|
217
|
-
-ms-grid-columns: (1fr)[4];
|
|
218
|
-
}
|
|
219
|
-
.mdw-layout[mdw-columns="8"] .mdw-layout__item,
|
|
220
|
-
.mdw-layout__item {
|
|
221
|
-
@include layoutItem(4);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
// https://material.io/guidelines/components/lists.html
|
|
2
|
-
// https://material.io/guidelines/components/lists-controls.html
|
|
3
|
-
|
|
4
|
-
@import '../common/variables.scss';
|
|
5
|
-
@import '../ripple/ripple.scss';
|
|
6
|
-
|
|
7
|
-
$list__divider-height: dp(1);
|
|
8
|
-
|
|
9
|
-
.mdw-list {
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
padding: 0;
|
|
13
|
-
margin: 0;
|
|
14
|
-
min-width: 100%;
|
|
15
|
-
padding-top: 8px;
|
|
16
|
-
padding-bottom: 8px;
|
|
17
|
-
}
|
|
18
|
-
.mdw-list__divider {
|
|
19
|
-
min-width: 100%;
|
|
20
|
-
border-top-style: solid;
|
|
21
|
-
border-top-width: 1px;
|
|
22
|
-
height: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.mdw-list__subheader {
|
|
26
|
-
@include type-rules('body-2');
|
|
27
|
-
display: flex;
|
|
28
|
-
flex-direction: row;
|
|
29
|
-
min-height: dp(48);
|
|
30
|
-
align-items: center;
|
|
31
|
-
justify-content: stretch;
|
|
32
|
-
padding-left: dp(16);
|
|
33
|
-
padding-right: dp(16);
|
|
34
|
-
&:first-child {
|
|
35
|
-
margin-top: -8px;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
.mdw-list__item {
|
|
39
|
-
@include type-rules('subtitle');
|
|
40
|
-
position: relative;
|
|
41
|
-
display: flex;
|
|
42
|
-
flex-direction: row;
|
|
43
|
-
min-height: dp(48);
|
|
44
|
-
align-items: center;
|
|
45
|
-
justify-content: stretch;
|
|
46
|
-
margin: 0;
|
|
47
|
-
padding: 0 dp(16);
|
|
48
|
-
text-transform: none;
|
|
49
|
-
text-decoration: none;
|
|
50
|
-
|
|
51
|
-
text-align: start;
|
|
52
|
-
white-space: nowrap;
|
|
53
|
-
text-overflow: ellipsis;
|
|
54
|
-
overflow: hidden; // Contain ripple
|
|
55
|
-
z-index: 0;
|
|
56
|
-
outline: none;
|
|
57
|
-
|
|
58
|
-
cursor: pointer;
|
|
59
|
-
-webkit-tap-highlight-color: transparent;
|
|
60
|
-
&[hidden] {
|
|
61
|
-
display: none;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.mdw-list__avatar,
|
|
66
|
-
.mdw-list__icon {
|
|
67
|
-
display: flex;
|
|
68
|
-
flex-direction: row;
|
|
69
|
-
order: -1;
|
|
70
|
-
min-width: dp(72 - 16);
|
|
71
|
-
max-width: dp(72 - 16);
|
|
72
|
-
align-self: flex-start;
|
|
73
|
-
justify-content: flex-start;
|
|
74
|
-
margin: dp(16) 0;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
.mdw-list__avatar {
|
|
79
|
-
min-height: dp(40);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.mdw-list__expander {
|
|
83
|
-
position: relative;
|
|
84
|
-
&::before,
|
|
85
|
-
&::after {
|
|
86
|
-
content: none;
|
|
87
|
-
position: absolute;
|
|
88
|
-
left: 0;
|
|
89
|
-
right: 0;
|
|
90
|
-
height: 1px;
|
|
91
|
-
}
|
|
92
|
-
&::before {
|
|
93
|
-
top: -1;
|
|
94
|
-
}
|
|
95
|
-
&::after {
|
|
96
|
-
bottom: 0;
|
|
97
|
-
}
|
|
98
|
-
&[mdw-expanded] {
|
|
99
|
-
&::before,
|
|
100
|
-
&::after {
|
|
101
|
-
content: '';
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&[mdw-theme-color][mdw-expanded] {
|
|
106
|
-
.mdw-list__item:first-child {
|
|
107
|
-
color: inherit;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
display: flex;
|
|
112
|
-
flex-direction: column;
|
|
113
|
-
& > .mdw-list__item {
|
|
114
|
-
flex-basis: auto;
|
|
115
|
-
animation-fill-mode: forwards;
|
|
116
|
-
animation-timing-function: $motion-easing-acceleration;
|
|
117
|
-
animation-duration: $motion-duration-desktop-leave;
|
|
118
|
-
@include allHandsets {
|
|
119
|
-
animation-duration: $motion-duration-mobile-leave;
|
|
120
|
-
}
|
|
121
|
-
@include allTablets {
|
|
122
|
-
animation-duration: $motion-duration-tablet-leave;
|
|
123
|
-
}
|
|
124
|
-
&:not(:first-child) {
|
|
125
|
-
flex-basis: 0;
|
|
126
|
-
animation-name: collapseRow;
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
&:first-child .mdw-list__secondary {
|
|
130
|
-
pointer-events: none;
|
|
131
|
-
min-height: dp(48);
|
|
132
|
-
transform: rotate(0deg);
|
|
133
|
-
transition-property: transform;
|
|
134
|
-
transition-timing-function: $motion-easing-standard;
|
|
135
|
-
transition-duration: $motion-duration-desktop-default;
|
|
136
|
-
@include allHandsets {
|
|
137
|
-
transition-duration: $motion-duration-mobile-default;
|
|
138
|
-
}
|
|
139
|
-
@include allTablets {
|
|
140
|
-
transition-duration: $motion-duration-tablet-default;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&[mdw-expanded] > .mdw-list__item:first-child .mdw-list__secondary {
|
|
146
|
-
transform: rotate(180deg);
|
|
147
|
-
}
|
|
148
|
-
&[mdw-expanded] > .mdw-list__item:not(:first-child) {
|
|
149
|
-
animation-name: expandRow;
|
|
150
|
-
animation-timing-function: $motion-easing-deceleration;
|
|
151
|
-
animation-duration: $motion-duration-desktop-enter;
|
|
152
|
-
@include allHandsets {
|
|
153
|
-
animation-duration: $motion-duration-mobile-enter;
|
|
154
|
-
}
|
|
155
|
-
@include allTablets {
|
|
156
|
-
animation-duration: $motion-duration-tablet-enter;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
@keyframes expandRow {
|
|
162
|
-
0% { min-height: 0 ; flex-basis: 0 }
|
|
163
|
-
99.99% { min-height: dp(48); flex-basis: 0 }
|
|
164
|
-
100% { min-height: dp(48); flex-basis: 100% }
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
@keyframes collapseRow {
|
|
168
|
-
0% { min-height: dp(48); flex-basis: 0 }
|
|
169
|
-
100% { min-height: 0 ; flex-basis: 0 }
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.mdw-list__expand-checkbox {
|
|
173
|
-
appearance: none;
|
|
174
|
-
-moz-appearance: none;
|
|
175
|
-
-webkit-appearance: none;
|
|
176
|
-
max-height: 0;
|
|
177
|
-
max-width: 0;
|
|
178
|
-
pointer-events: none;
|
|
179
|
-
display: none;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.mdw-list__secondary {
|
|
183
|
-
z-index: 1;
|
|
184
|
-
order: 1;
|
|
185
|
-
grid-column: 3;
|
|
186
|
-
-ms-grid-column: 3;
|
|
187
|
-
grid-column-end: span 1;
|
|
188
|
-
-ms-grid-column-span: 1;
|
|
189
|
-
min-width: dp(24);
|
|
190
|
-
margin-left: dp(16);
|
|
191
|
-
margin-right: 0;
|
|
192
|
-
html[dir=rtl] & {
|
|
193
|
-
margin-left: 0;
|
|
194
|
-
margin-right: dp(16);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
min-height: dp(56);
|
|
198
|
-
display: flex;
|
|
199
|
-
flex-direction: row;
|
|
200
|
-
align-items: center;
|
|
201
|
-
justify-content: center;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.mdw-list__icon,
|
|
205
|
-
.mdw-list__secondary {
|
|
206
|
-
@include IEOnly() {
|
|
207
|
-
// Fix IE min-height flexbug
|
|
208
|
-
&::after {
|
|
209
|
-
content: '';
|
|
210
|
-
min-height: inherit;
|
|
211
|
-
width: 0;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
// In order to render 48px, 64px, 72px and 88px heights, lines are rendered bottom-up
|
|
217
|
-
|
|
218
|
-
.mdw-list__text {
|
|
219
|
-
position: static;
|
|
220
|
-
pointer-events: none;
|
|
221
|
-
flex-grow: 1;
|
|
222
|
-
display: flex;
|
|
223
|
-
flex-direction: column;
|
|
224
|
-
align-items: stretch;
|
|
225
|
-
justify-content: flex-end;
|
|
226
|
-
overflow-x: hidden;
|
|
227
|
-
text-overflow: ellipsis;
|
|
228
|
-
|
|
229
|
-
[mdw-divider] > .mdw-list__item:not(:last-child) &::after {
|
|
230
|
-
content: '';
|
|
231
|
-
position: absolute;
|
|
232
|
-
bottom: 0;
|
|
233
|
-
left: 0;
|
|
234
|
-
right: 0;
|
|
235
|
-
width: 100%;
|
|
236
|
-
height: $list__divider-height;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
[mdw-divider] > .mdw-list__item:not(:last-child) .mdw-list__avatar ~ &::after,
|
|
240
|
-
[mdw-divider] > .mdw-list__item:not(:last-child) .mdw-list__icon ~ &::after {
|
|
241
|
-
margin-left: dp(72);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
.mdw-list__text-line {
|
|
245
|
-
overflow-y: hidden;
|
|
246
|
-
overflow-x: hidden;
|
|
247
|
-
text-overflow: ellipsis;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
// First line and meta baseline alignment
|
|
253
|
-
.mdw-list__text-line:first-child,
|
|
254
|
-
.mdw-list__meta {
|
|
255
|
-
@include baseline-top(28);
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.mdw-list__meta {
|
|
259
|
-
@include type-rules('caption');
|
|
260
|
-
align-self: flex-start;
|
|
261
|
-
margin-left: dp(28);
|
|
262
|
-
margin-right: 0;
|
|
263
|
-
html[dir=rtl] & {
|
|
264
|
-
margin-left: 0;
|
|
265
|
-
margin-right: dp(28);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
// First line is pushed up 20dp
|
|
271
|
-
.mdw-list__text-line:first-child {
|
|
272
|
-
@include baseline-bottom(20);
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
// Second and third lines are pushed up 20dp and its above element is pushed 20dp
|
|
277
|
-
.mdw-list__text-line:not(:first-child),
|
|
278
|
-
.mdw-list__text-block:not(:first-child) {
|
|
279
|
-
margin-top: dp(-20);
|
|
280
|
-
@include baseline-top(20);
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
// Second line is pushed up 16dp from baseline
|
|
284
|
-
.mdw-list__text-line:last-child {
|
|
285
|
-
@include baseline-bottom(16);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
// When 3-lines, 2nd and 3rd lines are pushed up 20dp
|
|
290
|
-
.mdw-list__text-line:nth-child(3),
|
|
291
|
-
.mdw-list__text-line:not(:first-child):not(:last-child) {
|
|
292
|
-
@include baseline-bottom(20);
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
// Second and third line typography
|
|
296
|
-
.mdw-list__text-line:not(:first-child),
|
|
297
|
-
.mdw-list__text-block:not(:first-child) {
|
|
298
|
-
@include type-rules('body-2');
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.mdw-list__text-block {
|
|
302
|
-
pointer-events: none;
|
|
303
|
-
text-transform: none;
|
|
304
|
-
text-align: start;
|
|
305
|
-
text-overflow: ellipsis;
|
|
306
|
-
overflow-x: hidden;
|
|
307
|
-
overflow-y: hidden;
|
|
308
|
-
white-space: normal;
|
|
309
|
-
display: block;
|
|
310
|
-
display: -webkit-box;
|
|
311
|
-
-webkit-box-orient: vertical;
|
|
312
|
-
-webkit-line-clamp: 2;
|
|
313
|
-
|
|
314
|
-
height: dp(20 * 2);
|
|
315
|
-
max-height: dp(20 * 2);
|
|
316
|
-
padding-bottom: dp(4);
|
|
317
|
-
margin-bottom: dp(16);
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.mdw-list__item {
|
|
321
|
-
// Long press color
|
|
322
|
-
&::before {
|
|
323
|
-
content: '';
|
|
324
|
-
position: absolute;
|
|
325
|
-
top: 0;
|
|
326
|
-
left: 0;
|
|
327
|
-
right: 0;
|
|
328
|
-
bottom: 0;
|
|
329
|
-
// z-index: -1; // Safari has a negative z-index bug
|
|
330
|
-
transition-property: background-color;
|
|
331
|
-
transition-duration: 500ms;
|
|
332
|
-
transition-delay: 5ms;
|
|
333
|
-
transition-timing-function: $motion-easing-standard;
|
|
334
|
-
pointer-events: none;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
> .mdw-ripple {
|
|
338
|
-
@include mdw-ripple__container;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
& > .mdw-ripple > .mdw-ripple__inner,
|
|
342
|
-
&::after {
|
|
343
|
-
@include mdw-ripple__inner;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
& > .mdw-ripple:active > .mdw-ripple__inner,
|
|
347
|
-
&:active::after {
|
|
348
|
-
@include mdw-ripple__active;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
&[mdw-ripple] {
|
|
352
|
-
overflow-y: visible;
|
|
353
|
-
&::after {
|
|
354
|
-
// If using custom ripple, destroy ::after object
|
|
355
|
-
content: none;
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
@import '../common/functions.scss';
|
|
2
|
-
@import '../common/mixins.scss';
|
|
3
|
-
|
|
4
|
-
$listColors: (
|
|
5
|
-
text-color: ((#000, 0.87), (#fff, 1.00)),
|
|
6
|
-
secondary-text-color: ((#000, 0.54), (#fff, 0.70)),
|
|
7
|
-
divider-color: ((#000, 0.12), (#fff, 0.12)),
|
|
8
|
-
press-color: ((#999, 0.40), (#CCC, 0.25)),
|
|
9
|
-
selected-color: ((#999, 0.40), (#CCC, 0.25)),
|
|
10
|
-
ripple-color: ( #000 , #fff ),
|
|
11
|
-
ripple-opacity: ( 0.12 , 0.30, 0.20),
|
|
12
|
-
);
|
|
13
|
-
|
|
14
|
-
@function listThemeValue($key, $type) {
|
|
15
|
-
@return themeValue('list', $listColors, $key, $type);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@mixin listThemeVariables($color, $lightness) {
|
|
19
|
-
@include themeVariables('list', $listColors, $color, $lightness);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// Vary by contrast
|
|
23
|
-
@mixin listContrastRules($type: 'var', $theme: null) {
|
|
24
|
-
.mdw-list__item {
|
|
25
|
-
&:not([mdw-theme-color]) {
|
|
26
|
-
color: listThemeValue("text-color", $type)
|
|
27
|
-
}
|
|
28
|
-
&[mdw-selected] {
|
|
29
|
-
background-color: listThemeValue("selected-color", $type);
|
|
30
|
-
}
|
|
31
|
-
&[tabindex]:active:focus::before {
|
|
32
|
-
background-color: listThemeValue("press-color", $type);
|
|
33
|
-
}
|
|
34
|
-
&:active:not(:focus-within)::before,
|
|
35
|
-
&:active[tabindex]:focus:not(:focus-within)::before {
|
|
36
|
-
background-color: listThemeValue("press-color", $type);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// IE and Edge does not support :focus-within
|
|
40
|
-
@include MSOnly {
|
|
41
|
-
&:active::before {
|
|
42
|
-
background-color: listThemeValue("press-color", $type);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
& > .mdw-ripple > .mdw-ripple__inner,
|
|
46
|
-
&:after {
|
|
47
|
-
opacity: listThemeValue("ripple-opacity", $type);
|
|
48
|
-
color: listThemeValue("ripple-color", $type);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.mdw-list__meta {
|
|
53
|
-
color: listThemeValue("secondary-text-color", $type);
|
|
54
|
-
}
|
|
55
|
-
.mdw-list__text {
|
|
56
|
-
[mdw-divider] > .mdw-list__item:not(:last-child) &::after {
|
|
57
|
-
background-color: listThemeValue("divider-color", $type);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
.mdw-list__divider {
|
|
61
|
-
border-top-color: listThemeValue("divider-color", $type);
|
|
62
|
-
}
|
|
63
|
-
.mdw-list__icon {
|
|
64
|
-
color: listThemeValue("secondary-text-color", $type);
|
|
65
|
-
}
|
|
66
|
-
.mdw-list__expander {
|
|
67
|
-
&::before,
|
|
68
|
-
&::after {
|
|
69
|
-
background-color: listThemeValue("divider-color", $type);
|
|
70
|
-
}
|
|
71
|
-
> .mdw-list__item:first-child {
|
|
72
|
-
.mdw-list__secondary {
|
|
73
|
-
color: listThemeValue("secondary-text-color", $type);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
.mdw-list__text-line,
|
|
78
|
-
.mdw-list__text-block {
|
|
79
|
-
&:not(:first-child) {
|
|
80
|
-
color: listThemeValue("secondary-text-color", $type);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|