@covalent/components 0.0.0-COVALENT
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/.babelrc +10 -0
- package/.eslintrc.json +18 -0
- package/.storybook/main.js +34 -0
- package/.storybook/manager-head.html +62 -0
- package/.storybook/manager.js +1 -0
- package/.storybook/preview-head.html +20 -0
- package/.storybook/preview.js +20 -0
- package/README.md +179 -0
- package/component-config.json +313 -0
- package/index.html +288 -0
- package/jest.config.js +18 -0
- package/package.json +315 -0
- package/project.json +104 -0
- package/public/index.scss +1 -0
- package/public/reset.css +128 -0
- package/src/action-ribbon/_action-ribbon.theme.scss +90 -0
- package/src/action-ribbon/action-ribbon-base.ts +164 -0
- package/src/action-ribbon/action-ribbon.scss +20 -0
- package/src/action-ribbon/action-ribbon.spec.ts +11 -0
- package/src/action-ribbon/action-ribbon.stories.js +78 -0
- package/src/action-ribbon/action-ribbon.ts +26 -0
- package/src/alert/_alert.theme.scss +116 -0
- package/src/alert/alert-base.ts +175 -0
- package/src/alert/alert.scss +55 -0
- package/src/alert/alert.spec.ts +26 -0
- package/src/alert/alert.stories.js +76 -0
- package/src/alert/alert.ts +26 -0
- package/src/app-shell/app-shell.scss +387 -0
- package/src/app-shell/app-shell.stories.js +323 -0
- package/src/app-shell/app-shell.ts +388 -0
- package/src/badge/badge.scss +60 -0
- package/src/badge/badge.spec.ts +40 -0
- package/src/badge/badge.stories.js +88 -0
- package/src/badge/badge.ts +122 -0
- package/src/button/Overview.mdx +160 -0
- package/src/button/button.scss +28 -0
- package/src/button/button.spec.ts +11 -0
- package/src/button/button.stories.js +102 -0
- package/src/button/button.ts +17 -0
- package/src/card/card-base.ts +69 -0
- package/src/card/card.scss +45 -0
- package/src/card/card.spec.ts +11 -0
- package/src/card/card.ts +21 -0
- package/src/card/cards.stories.js +40 -0
- package/src/checkbox/checkbox.scss +8 -0
- package/src/checkbox/checkbox.spec.ts +11 -0
- package/src/checkbox/checkbox.stories.js +61 -0
- package/src/checkbox/checkbox.ts +18 -0
- package/src/chips/chip-base.ts +276 -0
- package/src/chips/chip-set-base.ts +184 -0
- package/src/chips/chip-set.scss +15 -0
- package/src/chips/chip-set.spec.ts +11 -0
- package/src/chips/chip-set.ts +27 -0
- package/src/chips/chip.scss +40 -0
- package/src/chips/chip.spec.ts +11 -0
- package/src/chips/chip.ts +26 -0
- package/src/chips/chips.stories.js +81 -0
- package/src/circular-progress/circular-progress.spec.ts +11 -0
- package/src/circular-progress/circular-progress.stories.js +40 -0
- package/src/circular-progress/circular-progress.ts +16 -0
- package/src/code-editor/code-editor.scss +20 -0
- package/src/code-editor/code-editor.spec.ts +11 -0
- package/src/code-editor/code-editor.stories.js +44 -0
- package/src/code-editor/code-editor.theme.ts +199 -0
- package/src/code-editor/code-editor.ts +231 -0
- package/src/code-snippet/code-snippet.scss +126 -0
- package/src/code-snippet/code-snippet.spec.ts +11 -0
- package/src/code-snippet/code-snippet.stories.js +134 -0
- package/src/code-snippet/code-snippet.ts +93 -0
- package/src/data-table/_data-table.theme.scss +39 -0
- package/src/data-table/data-table.stories.js +24 -0
- package/src/data-table/data-table.stories.scss +11 -0
- package/src/dialog/Overview.mdx +39 -0
- package/src/dialog/dialog.scss +17 -0
- package/src/dialog/dialog.spec.ts +11 -0
- package/src/dialog/dialog.stories.js +89 -0
- package/src/dialog/dialog.ts +44 -0
- package/src/drawer/drawer.scss +4 -0
- package/src/drawer/drawer.spec.ts +11 -0
- package/src/drawer/drawer.ts +18 -0
- package/src/empty-state/_empty-state.theme.scss +0 -0
- package/src/empty-state/empty-state.scss +67 -0
- package/src/empty-state/empty-state.spec.ts +11 -0
- package/src/empty-state/empty-state.stories.js +117 -0
- package/src/empty-state/empty-state.ts +61 -0
- package/src/expansion-panel/Overview.mdx +108 -0
- package/src/expansion-panel/expansion-panel-incorrect-example.png +0 -0
- package/src/expansion-panel/expansion-panel-item.scss +243 -0
- package/src/expansion-panel/expansion-panel-item.ts +95 -0
- package/src/expansion-panel/expansion-panel.spec.ts +11 -0
- package/src/expansion-panel/expansion-panel.stories.js +76 -0
- package/src/expansion-panel/expansion-panel.ts +94 -0
- package/src/focused-page/focused-page.scss +113 -0
- package/src/focused-page/focused-page.spec.ts +11 -0
- package/src/focused-page/focused-page.stories.js +167 -0
- package/src/focused-page/focused-page.ts +201 -0
- package/src/formfield/formfield.scss +8 -0
- package/src/formfield/formfield.spec.ts +11 -0
- package/src/formfield/formfield.ts +24 -0
- package/src/full-screen-dialog/full-screen-dialog.scss +37 -0
- package/src/full-screen-dialog/full-screen-dialog.spec.ts +11 -0
- package/src/full-screen-dialog/full-screen-dialog.stories.js +172 -0
- package/src/full-screen-dialog/full-screen-dialog.ts +84 -0
- package/src/icon/_icon-list.ts +316 -0
- package/src/icon/icon-demo.scss +25 -0
- package/src/icon/icon-demo.ts +37 -0
- package/src/icon/icon.spec.ts +11 -0
- package/src/icon/icon.stories.js +55 -0
- package/src/icon/icon.ts +16 -0
- package/src/icon-button/_icon-button.theme.scss +9 -0
- package/src/icon-button/icon-button.scss +12 -0
- package/src/icon-button/icon-button.spec.ts +11 -0
- package/src/icon-button/icon-button.stories.js +24 -0
- package/src/icon-button/icon-button.ts +19 -0
- package/src/icon-button-toggle/icon-button-toggle.scss +19 -0
- package/src/icon-button-toggle/icon-button-toggle.spec.ts +11 -0
- package/src/icon-button-toggle/icon-button-toggle.stories.js +32 -0
- package/src/icon-button-toggle/icon-button-toggle.ts +50 -0
- package/src/icon-checkbox/icon-check-toggle.ts +64 -0
- package/src/icon-checkbox/icon-check.spec.ts +11 -0
- package/src/icon-checkbox/icon-checkbox.scss +95 -0
- package/src/icon-checkbox/icon-checkbox.stories.js +77 -0
- package/src/icon-lockup/icon-lockup.scss +47 -0
- package/src/icon-lockup/icon-lockup.spec.ts +11 -0
- package/src/icon-lockup/icon-lockup.stories.js +93 -0
- package/src/icon-lockup/icon-lockup.ts +125 -0
- package/src/icon-radio/icon-radio-toggle.ts +43 -0
- package/src/icon-radio/icon-radio.scss +63 -0
- package/src/icon-radio/icon-radio.spec.ts +11 -0
- package/src/icon-radio/icon-radio.stories.js +23 -0
- package/src/index.scss +1 -0
- package/src/index.ts +57 -0
- package/src/linear-progress/linear-progress.scss +4 -0
- package/src/linear-progress/linear-progress.spec.ts +11 -0
- package/src/linear-progress/linear-progress.stories.js +43 -0
- package/src/linear-progress/linear-progress.ts +18 -0
- package/src/list/Overview.mdx +91 -0
- package/src/list/_list.theme.scss +100 -0
- package/src/list/check-list-item.spec.ts +11 -0
- package/src/list/check-list-item.ts +25 -0
- package/src/list/list-item.scss +56 -0
- package/src/list/list-item.spec.ts +11 -0
- package/src/list/list-item.ts +31 -0
- package/src/list/list.scss +25 -0
- package/src/list/list.stories.js +120 -0
- package/src/list/list.ts +23 -0
- package/src/list/nav-list-item.scss +159 -0
- package/src/list/nav-list-item.ts +223 -0
- package/src/list/radio-list-item.ts +25 -0
- package/src/menu/menu.scss +3 -0
- package/src/menu/menu.spec.ts +11 -0
- package/src/menu/menu.stories.js +110 -0
- package/src/menu/menu.ts +23 -0
- package/src/notebook-cell/notebook-cell.scss +185 -0
- package/src/notebook-cell/notebook-cell.spec.ts +11 -0
- package/src/notebook-cell/notebook-cell.stories.js +87 -0
- package/src/notebook-cell/notebook-cell.ts +300 -0
- package/src/radio/radio.scss +3 -0
- package/src/radio/radio.spec.ts +11 -0
- package/src/radio/radio.stories.js +56 -0
- package/src/radio/radio.ts +18 -0
- package/src/select/select.scss +16 -0
- package/src/select/select.spec.ts +11 -0
- package/src/select/select.stories.js +57 -0
- package/src/select/select.ts +18 -0
- package/src/side-sheet/side-sheet.scss +49 -0
- package/src/side-sheet/side-sheet.spec.ts +11 -0
- package/src/side-sheet/side-sheet.stories.js +96 -0
- package/src/side-sheet/side-sheet.ts +37 -0
- package/src/skeleton/_skeleton.styles.scss +24 -0
- package/src/skeleton/skeleton.stories.js +77 -0
- package/src/slider/slider-range.ts +16 -0
- package/src/slider/slider.spec.ts +11 -0
- package/src/slider/slider.stories.js +54 -0
- package/src/slider/slider.ts +16 -0
- package/src/snackbar/snackbar.scss +8 -0
- package/src/snackbar/snackbar.spec.ts +11 -0
- package/src/snackbar/snackbar.stories.js +42 -0
- package/src/snackbar/snackbar.ts +18 -0
- package/src/status-dialog/status-dialog.scss +204 -0
- package/src/status-dialog/status-dialog.spec.ts +48 -0
- package/src/status-dialog/status-dialog.stories.js +136 -0
- package/src/status-dialog/status-dialog.ts +188 -0
- package/src/status-header/_status-header.theme.scss +79 -0
- package/src/status-header/status-header-base.ts +42 -0
- package/src/status-header/status-header-item.scss +17 -0
- package/src/status-header/status-header-item.spec.ts +11 -0
- package/src/status-header/status-header-item.ts +32 -0
- package/src/status-header/status-header.scss +57 -0
- package/src/status-header/status-header.spec.ts +11 -0
- package/src/status-header/status-header.stories.js +114 -0
- package/src/status-header/status-header.ts +26 -0
- package/src/switch/switch.scss +17 -0
- package/src/switch/switch.spec.ts +11 -0
- package/src/switch/switch.stories.js +41 -0
- package/src/switch/switch.ts +18 -0
- package/src/tab/Overview.mdx +38 -0
- package/src/tab/tab-bar.spec.ts +11 -0
- package/src/tab/tab-bar.ts +16 -0
- package/src/tab/tab.scss +10 -0
- package/src/tab/tab.spec.ts +11 -0
- package/src/tab/tab.stories.js +30 -0
- package/src/tab/tab.ts +18 -0
- package/src/text-lockup/text-lockup.scss +66 -0
- package/src/text-lockup/text-lockup.spec.ts +11 -0
- package/src/text-lockup/text-lockup.stories.js +67 -0
- package/src/text-lockup/text-lockup.ts +55 -0
- package/src/textarea/textarea.spec.ts +11 -0
- package/src/textarea/textarea.stories.js +39 -0
- package/src/textarea/textarea.ts +19 -0
- package/src/textfield/textfield.scss +34 -0
- package/src/textfield/textfield.spec.ts +11 -0
- package/src/textfield/textfield.stories.js +60 -0
- package/src/textfield/textfield.ts +25 -0
- package/src/theme/_index.scss +46 -0
- package/src/theme/prebuilt/dark-theme.scss +17 -0
- package/src/theme/prebuilt/light-theme.scss +17 -0
- package/src/toolbar/toolbar.scss +37 -0
- package/src/toolbar/toolbar.spec.ts +11 -0
- package/src/toolbar/toolbar.stories.js +66 -0
- package/src/toolbar/toolbar.ts +27 -0
- package/src/tooltip/tooltip.scss +16 -0
- package/src/tooltip/tooltip.spec.ts +11 -0
- package/src/tooltip/tooltip.stories.js +72 -0
- package/src/tooltip/tooltip.ts +185 -0
- package/src/top-app-bar/top-app-bar-fixed.ts +23 -0
- package/src/top-app-bar/top-app-bar.scss +14 -0
- package/src/top-app-bar/top-app-bar.spec.ts +11 -0
- package/src/top-app-bar/top-app-bar.stories.js +41 -0
- package/src/top-app-bar/top-app-bar.ts +23 -0
- package/src/tree-list/tree-list-item.scss +96 -0
- package/src/tree-list/tree-list-item.spec.ts +11 -0
- package/src/tree-list/tree-list-item.ts +87 -0
- package/src/tree-list/tree-list.scss +13 -0
- package/src/tree-list/tree-list.spec.ts +11 -0
- package/src/tree-list/tree-list.stories.js +151 -0
- package/src/tree-list/tree-list.ts +53 -0
- package/src/typography/typography.scss +45 -0
- package/src/typography/typography.spec.ts +11 -0
- package/src/typography/typography.stories.js +23 -0
- package/src/typography/typography.ts +27 -0
- package/stories/Introduction.mdx +47 -0
- package/stories/color-use.mdx +509 -0
- package/stories/demos/dialog.component.html +187 -0
- package/stories/demos/dialog.component.js +57 -0
- package/stories/demos/grid.content.html +99 -0
- package/stories/demos/lorem-ipsum.content.html +338 -0
- package/stories/demos/material-web.content.html +2125 -0
- package/stories/demos/table-column-sorting.content.html +92 -0
- package/stories/demos/table-pagination.content.html +139 -0
- package/stories/demos/table-progress-indicator.content.html +77 -0
- package/stories/demos/table-row-selection.content.html +219 -0
- package/stories/demos/table.content.html +64 -0
- package/stories/demos/top-app-bar.component.js +57 -0
- package/stories/guide-representing-state.mdx +282 -0
- package/stories/info-and-help.mdx +484 -0
- package/stories/item-detail-and-editing.mdx +529 -0
- package/stories/markdown-elements.mdx +194 -0
- package/stories/writing-and-naming.mdx +157 -0
- package/tsconfig.json +34 -0
- package/tsconfig.lib.json +17 -0
- package/tsconfig.spec.json +14 -0
- package/types.d.ts +15 -0
- package/vite.config.js +58 -0
@@ -0,0 +1,2125 @@
|
|
1
|
+
<!-- Required styles for Material Web -->
|
2
|
+
<link
|
3
|
+
rel="stylesheet"
|
4
|
+
href="https://unpkg.com/material-components-web@13.0.0/dist/material-components-web.min.css"
|
5
|
+
/>
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
display: flex;
|
9
|
+
margin: 0;
|
10
|
+
}
|
11
|
+
|
12
|
+
.remix-fab {
|
13
|
+
position: fixed;
|
14
|
+
right: 24px;
|
15
|
+
bottom: 24px;
|
16
|
+
z-index: 200;
|
17
|
+
}
|
18
|
+
|
19
|
+
.drawer-content--theme-summary {
|
20
|
+
display: none;
|
21
|
+
}
|
22
|
+
|
23
|
+
.theme-name {
|
24
|
+
margin-bottom: 0;
|
25
|
+
}
|
26
|
+
.theme-name:focus {
|
27
|
+
outline: 1px solid rgba(0, 0, 0, 0.12);
|
28
|
+
}
|
29
|
+
.theme-name:empty:before {
|
30
|
+
content: attr(placeholder);
|
31
|
+
color: rgba(0, 0, 0, 0.6);
|
32
|
+
}
|
33
|
+
|
34
|
+
.mdc-list-divider.theme-summary-divider {
|
35
|
+
border-bottom-width: 2px;
|
36
|
+
margin: 20px 0;
|
37
|
+
}
|
38
|
+
|
39
|
+
.theme-summary-line {
|
40
|
+
display: flex;
|
41
|
+
align-items: center;
|
42
|
+
justify-content: space-between;
|
43
|
+
margin: 8px 0;
|
44
|
+
}
|
45
|
+
.theme-summary-line figure {
|
46
|
+
margin: 0;
|
47
|
+
}
|
48
|
+
.theme-summary-line .theme-summary-code {
|
49
|
+
background: none;
|
50
|
+
}
|
51
|
+
.theme-summary-line .theme-summary-color {
|
52
|
+
width: 20px;
|
53
|
+
height: 20px;
|
54
|
+
border-radius: 50%;
|
55
|
+
}
|
56
|
+
.theme-summary-line .theme-summary-shape {
|
57
|
+
width: 48px;
|
58
|
+
height: 36px;
|
59
|
+
line-height: 36px;
|
60
|
+
text-align: center;
|
61
|
+
}
|
62
|
+
.theme-summary-line.theme-summary-line--typography {
|
63
|
+
margin: 0;
|
64
|
+
}
|
65
|
+
.theme-summary-line .theme-summary-typography {
|
66
|
+
width: 120px;
|
67
|
+
}
|
68
|
+
|
69
|
+
.mdc-list-divider.typography-baseline-divider {
|
70
|
+
margin-top: 0;
|
71
|
+
margin-bottom: 12px;
|
72
|
+
}
|
73
|
+
|
74
|
+
.mdc-drawer-app-content {
|
75
|
+
width: 100%;
|
76
|
+
}
|
77
|
+
|
78
|
+
.theme-builder-desc-banner {
|
79
|
+
display: none;
|
80
|
+
width: 100%;
|
81
|
+
text-align: center;
|
82
|
+
padding: 10px;
|
83
|
+
}
|
84
|
+
|
85
|
+
@media (max-width: 1310px) {
|
86
|
+
.theme-builder-app-bar,
|
87
|
+
.theme-builder-desc-banner {
|
88
|
+
display: block;
|
89
|
+
}
|
90
|
+
|
91
|
+
.theme-builder-drawer {
|
92
|
+
display: none;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
.main-content {
|
96
|
+
display: flex;
|
97
|
+
justify-content: space-evenly;
|
98
|
+
flex-wrap: wrap;
|
99
|
+
}
|
100
|
+
.main-content:not(.mdc-top-app-bar--fixed-adjust) {
|
101
|
+
padding: 2vh 0;
|
102
|
+
}
|
103
|
+
.main-content .column {
|
104
|
+
width: 420px;
|
105
|
+
}
|
106
|
+
|
107
|
+
.component-section-row {
|
108
|
+
display: flex;
|
109
|
+
}
|
110
|
+
.component-section-row .component-section:first-child {
|
111
|
+
width: 200px;
|
112
|
+
}
|
113
|
+
|
114
|
+
.component-section {
|
115
|
+
margin: 16px 20px 40px 20px;
|
116
|
+
}
|
117
|
+
.component-section.dialog-component-section {
|
118
|
+
margin-bottom: 60px;
|
119
|
+
}
|
120
|
+
|
121
|
+
@media only screen and (max-width: 600px) {
|
122
|
+
.component-section {
|
123
|
+
margin-left: auto;
|
124
|
+
margin-right: auto;
|
125
|
+
}
|
126
|
+
|
127
|
+
.mdc-image-list {
|
128
|
+
width: auto;
|
129
|
+
}
|
130
|
+
|
131
|
+
.mdc-drawer {
|
132
|
+
width: 60%;
|
133
|
+
min-width: calc(100% - 56px);
|
134
|
+
}
|
135
|
+
|
136
|
+
.column {
|
137
|
+
width: auto;
|
138
|
+
max-width: 420px;
|
139
|
+
padding-right: 8px;
|
140
|
+
padding-left: 8px;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
@media only screen and (max-width: 485px) {
|
144
|
+
.column {
|
145
|
+
overflow: hidden;
|
146
|
+
}
|
147
|
+
|
148
|
+
.remix-fab {
|
149
|
+
position: fixed;
|
150
|
+
bottom: 16px;
|
151
|
+
right: auto;
|
152
|
+
margin: 0;
|
153
|
+
z-index: 200;
|
154
|
+
}
|
155
|
+
|
156
|
+
.mdc-dialog .mdc-dialog__surface {
|
157
|
+
max-width: calc(100% - 100px);
|
158
|
+
}
|
159
|
+
}
|
160
|
+
.section-header {
|
161
|
+
display: flex;
|
162
|
+
height: 36px;
|
163
|
+
font-family: Inter, sans-serif;
|
164
|
+
}
|
165
|
+
.section-header a {
|
166
|
+
display: flex;
|
167
|
+
align-items: center;
|
168
|
+
}
|
169
|
+
.section-header a:hover,
|
170
|
+
.section-header a:focus {
|
171
|
+
text-decoration: none;
|
172
|
+
}
|
173
|
+
.section-header .material-icons {
|
174
|
+
font-size: 1rem;
|
175
|
+
padding: 8px;
|
176
|
+
}
|
177
|
+
.section-header .material-icons.leading-icon {
|
178
|
+
padding-left: 0;
|
179
|
+
}
|
180
|
+
|
181
|
+
.component-wrapper {
|
182
|
+
margin: 16px 0;
|
183
|
+
}
|
184
|
+
|
185
|
+
.print .column {
|
186
|
+
width: 30vw;
|
187
|
+
}
|
188
|
+
.print .component-wrapper {
|
189
|
+
margin-bottom: 60px;
|
190
|
+
}
|
191
|
+
.print .component-wrapper.text-field-component-wrapper,
|
192
|
+
.print .component-wrapper.chips-component-wrapper {
|
193
|
+
margin-bottom: 96px;
|
194
|
+
}
|
195
|
+
.print .theme-name {
|
196
|
+
margin-bottom: 8px;
|
197
|
+
}
|
198
|
+
.print .glitch-url {
|
199
|
+
font-size: 1rem;
|
200
|
+
}
|
201
|
+
.print .drawer-content--instructions .mdc-typography--overline {
|
202
|
+
font-size: 0.9rem;
|
203
|
+
}
|
204
|
+
.print .drawer-content--instructions .mdc-typography--body2 {
|
205
|
+
font-size: 1.2rem;
|
206
|
+
line-height: 1.75rem;
|
207
|
+
}
|
208
|
+
.print .drawer-content--options {
|
209
|
+
display: none;
|
210
|
+
}
|
211
|
+
.print .button-component-wrapper,
|
212
|
+
.print .fab-component-wrapper {
|
213
|
+
margin: 24px 0 44px;
|
214
|
+
}
|
215
|
+
.print .top-bar-component-wrapper {
|
216
|
+
margin: 24px 0 52px;
|
217
|
+
}
|
218
|
+
.print .switch-component-wrapper {
|
219
|
+
margin-left: -8px;
|
220
|
+
margin-top: 24px;
|
221
|
+
}
|
222
|
+
.print .component-wrapper.checkbox-component-wrapper {
|
223
|
+
margin-left: -18px;
|
224
|
+
}
|
225
|
+
.print .component-wrapper.chips-component-wrapper-1 {
|
226
|
+
margin: 12px 0 92px -8px;
|
227
|
+
}
|
228
|
+
.print .select-component {
|
229
|
+
margin: 0 20px 40px 20px;
|
230
|
+
}
|
231
|
+
.print .column-2 {
|
232
|
+
transform: translate(-16px);
|
233
|
+
}
|
234
|
+
.print .card-component-wrapper {
|
235
|
+
margin: 16px 0 38px;
|
236
|
+
}
|
237
|
+
.print .component-wrapper.text-field-component-wrapper-1 {
|
238
|
+
margin: 22px 0 90px;
|
239
|
+
}
|
240
|
+
.print .dialog-component-wrapper {
|
241
|
+
margin: 8px 0 52px;
|
242
|
+
}
|
243
|
+
.print .linear-progress-section {
|
244
|
+
margin-top: -8px;
|
245
|
+
}
|
246
|
+
.print .tabs-section {
|
247
|
+
margin-top: -16px;
|
248
|
+
}
|
249
|
+
.print .radio-row {
|
250
|
+
margin-top: -24px;
|
251
|
+
margin-bottom: -16px;
|
252
|
+
}
|
253
|
+
.print .snackbar-section {
|
254
|
+
margin-top: -16px;
|
255
|
+
}
|
256
|
+
.print .image-section {
|
257
|
+
margin-top: -4px;
|
258
|
+
}
|
259
|
+
.print .switch-section {
|
260
|
+
margin-top: 0;
|
261
|
+
}
|
262
|
+
.print .short-app-bar-section,
|
263
|
+
.print .menu-section {
|
264
|
+
margin-top: 0px;
|
265
|
+
}
|
266
|
+
.print .switch-checkbox-row {
|
267
|
+
margin-bottom: 16px;
|
268
|
+
}
|
269
|
+
.print .list-section {
|
270
|
+
margin-top: 8px;
|
271
|
+
}
|
272
|
+
.print .dialog-component-section {
|
273
|
+
margin-bottom: 52px;
|
274
|
+
margin-top: -16px;
|
275
|
+
}
|
276
|
+
.print .chips-section {
|
277
|
+
margin: 16px 20px -32px 20px;
|
278
|
+
}
|
279
|
+
.print .image-list-section {
|
280
|
+
transform: translateY(-8px);
|
281
|
+
}
|
282
|
+
|
283
|
+
.typography-callout {
|
284
|
+
font-size: 12px;
|
285
|
+
padding: 16px;
|
286
|
+
}
|
287
|
+
|
288
|
+
.font-link {
|
289
|
+
font-size: 12px;
|
290
|
+
margin-top: 8px;
|
291
|
+
display: flex;
|
292
|
+
justify-content: flex-end;
|
293
|
+
align-items: center;
|
294
|
+
margin-bottom: -16px;
|
295
|
+
}
|
296
|
+
|
297
|
+
.font-link i {
|
298
|
+
font-size: 16px;
|
299
|
+
margin-left: 8px;
|
300
|
+
}
|
301
|
+
|
302
|
+
.theme-shape .varValue {
|
303
|
+
display: block;
|
304
|
+
}
|
305
|
+
|
306
|
+
.varValue {
|
307
|
+
font-weight: 600;
|
308
|
+
}
|
309
|
+
|
310
|
+
.mdc-checkbox,
|
311
|
+
.mdc-radio {
|
312
|
+
margin-right: 4px;
|
313
|
+
}
|
314
|
+
|
315
|
+
.component-wrapper .mdc-top-app-bar {
|
316
|
+
position: relative;
|
317
|
+
z-index: 1;
|
318
|
+
}
|
319
|
+
.component-wrapper .mdc-top-app-bar:not(.mdc-top-app-bar--short) {
|
320
|
+
width: 100%;
|
321
|
+
}
|
322
|
+
|
323
|
+
.mdc-card {
|
324
|
+
width: 100%;
|
325
|
+
}
|
326
|
+
.mdc-card .demo-card__primary {
|
327
|
+
padding: 1rem;
|
328
|
+
}
|
329
|
+
.mdc-card .demo-card__title,
|
330
|
+
.mdc-card .demo-card__subtitle {
|
331
|
+
margin: 0;
|
332
|
+
}
|
333
|
+
.mdc-card .demo-card__secondary {
|
334
|
+
padding: 0 1rem 8px;
|
335
|
+
opacity: 0.87;
|
336
|
+
}
|
337
|
+
|
338
|
+
.mdc-linear-progress {
|
339
|
+
width: 100%;
|
340
|
+
}
|
341
|
+
|
342
|
+
.mdc-menu-surface--anchor > .mdc-menu {
|
343
|
+
position: relative;
|
344
|
+
z-index: 1;
|
345
|
+
}
|
346
|
+
|
347
|
+
.mdc-select {
|
348
|
+
width: 160px;
|
349
|
+
}
|
350
|
+
|
351
|
+
.drawer-component-wrapper {
|
352
|
+
background: rgba(0, 0, 0, 0.3);
|
353
|
+
}
|
354
|
+
.drawer-component-wrapper .mdc-drawer .mdc-drawer__content {
|
355
|
+
padding: 0;
|
356
|
+
}
|
357
|
+
|
358
|
+
.mdc-text-field {
|
359
|
+
width: 100%;
|
360
|
+
}
|
361
|
+
|
362
|
+
.mdc-snackbar {
|
363
|
+
position: relative;
|
364
|
+
margin: 0;
|
365
|
+
justify-content: start;
|
366
|
+
z-index: 1;
|
367
|
+
}
|
368
|
+
|
369
|
+
.mdc-dialog {
|
370
|
+
position: relative;
|
371
|
+
justify-content: start;
|
372
|
+
z-index: 1;
|
373
|
+
}
|
374
|
+
.mdc-dialog .mdc-dialog__surface {
|
375
|
+
max-width: 100%;
|
376
|
+
}
|
377
|
+
|
378
|
+
.mdc-image-list {
|
379
|
+
max-width: 400px;
|
380
|
+
max-height: 600px;
|
381
|
+
margin: 0;
|
382
|
+
}
|
383
|
+
|
384
|
+
.component-wrapper.button-component-wrapper,
|
385
|
+
.component-wrapper.fab-component-wrapper {
|
386
|
+
display: flex;
|
387
|
+
justify-content: space-between;
|
388
|
+
align-items: center;
|
389
|
+
}
|
390
|
+
</style>
|
391
|
+
|
392
|
+
<!-- Required styles for Material Web -->
|
393
|
+
<div class="mdc-typography">
|
394
|
+
<div class="mdc-drawer-app-content">
|
395
|
+
<main class="main-content">
|
396
|
+
<div class="theme-builder-desc-banner mdc-typography--caption">
|
397
|
+
An HTML rendering of MDC styled Components themed with Covalent
|
398
|
+
</div>
|
399
|
+
|
400
|
+
<!-- <button onclick=" window.open('https://glitch.com/edit/#!/remix/material-theme-builder','_blank')" class="mdc-fab mdc-fab--extended remix-fab" >
|
401
|
+
<span class="material-icons mdc-fab__icon">photo_filter</span>
|
402
|
+
<span class="mdc-fab__label">Create a new Theme</span>
|
403
|
+
</button> -->
|
404
|
+
<div class="column">
|
405
|
+
<!-- Button -->
|
406
|
+
<section class="component-section">
|
407
|
+
<div class="section-header">
|
408
|
+
<a
|
409
|
+
href="https://material.io/design/components/buttons.html"
|
410
|
+
class="mdc-typography--button"
|
411
|
+
target="_blank"
|
412
|
+
>
|
413
|
+
Button
|
414
|
+
<i class="material-icons">open_in_new</i>
|
415
|
+
</a>
|
416
|
+
</div>
|
417
|
+
<div class="component-wrapper button-component-wrapper">
|
418
|
+
<button class="mdc-button mdc-button--raised">
|
419
|
+
<span class="mdc-button__ripple"></span>
|
420
|
+
Button
|
421
|
+
</button>
|
422
|
+
<button class="mdc-button">
|
423
|
+
<span class="mdc-button__ripple"></span>
|
424
|
+
Button
|
425
|
+
</button>
|
426
|
+
<button class="mdc-button mdc-button--outlined">
|
427
|
+
<span class="mdc-button__ripple"></span>
|
428
|
+
Button
|
429
|
+
</button>
|
430
|
+
</div>
|
431
|
+
</section>
|
432
|
+
|
433
|
+
<!-- Top app bar -->
|
434
|
+
<section class="component-section">
|
435
|
+
<div class="section-header">
|
436
|
+
<a
|
437
|
+
href="https://material.io/design/components/app-bars-top.html"
|
438
|
+
class="mdc-typography--button"
|
439
|
+
target="_blank"
|
440
|
+
>
|
441
|
+
Top App Bar
|
442
|
+
<i class="material-icons">open_in_new</i>
|
443
|
+
</a>
|
444
|
+
</div>
|
445
|
+
<div class="component-wrapper top-bar-component-wrapper">
|
446
|
+
<header class="mdc-top-app-bar mdc-top-app-bar--fixed">
|
447
|
+
<div class="mdc-top-app-bar__row">
|
448
|
+
<section
|
449
|
+
class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start"
|
450
|
+
>
|
451
|
+
<a class="material-icons mdc-top-app-bar__navigation-icon"
|
452
|
+
>menu</a
|
453
|
+
>
|
454
|
+
<span class="mdc-top-app-bar__title">Headline 6</span>
|
455
|
+
</section>
|
456
|
+
<section
|
457
|
+
class="mdc-top-app-bar__section mdc-top-app-bar__section--align-end"
|
458
|
+
role="toolbar"
|
459
|
+
>
|
460
|
+
<a
|
461
|
+
class="material-icons mdc-icon-button mdc-top-app-bar__action-item"
|
462
|
+
aria-label="Share"
|
463
|
+
alt="Share"
|
464
|
+
>share</a
|
465
|
+
>
|
466
|
+
<a
|
467
|
+
class="material-icons mdc-icon-button mdc-top-app-bar__action-item"
|
468
|
+
aria-label="Bookmark this page"
|
469
|
+
alt="Bookmark this page"
|
470
|
+
>bookmark</a
|
471
|
+
>
|
472
|
+
<a
|
473
|
+
class="material-icons mdc-icon-button mdc-top-app-bar__action-item"
|
474
|
+
aria-label="Search this page"
|
475
|
+
alt="Search this page"
|
476
|
+
>search</a
|
477
|
+
>
|
478
|
+
</section>
|
479
|
+
</div>
|
480
|
+
</header>
|
481
|
+
</div>
|
482
|
+
</section>
|
483
|
+
|
484
|
+
<!-- Drawer -->
|
485
|
+
<section class="component-section">
|
486
|
+
<div class="section-header">
|
487
|
+
<a
|
488
|
+
href="https://material.io/design/components/navigation-drawer.html"
|
489
|
+
class="mdc-typography--button"
|
490
|
+
target="_blank"
|
491
|
+
>
|
492
|
+
Drawer
|
493
|
+
<i class="material-icons">open_in_new</i>
|
494
|
+
</a>
|
495
|
+
</div>
|
496
|
+
<div class="component-wrapper drawer-component-wrapper">
|
497
|
+
<aside class="mdc-drawer">
|
498
|
+
<div class="mdc-drawer__header">
|
499
|
+
<h3 class="mdc-drawer__title">Headline 6</h3>
|
500
|
+
<h6 class="mdc-drawer__subtitle">Body 2</h6>
|
501
|
+
</div>
|
502
|
+
<div class="mdc-list-divider"></div>
|
503
|
+
<div class="mdc-drawer__content">
|
504
|
+
<nav class="mdc-list" role="listbox">
|
505
|
+
<a
|
506
|
+
class="mdc-list-item mdc-list-item--activated"
|
507
|
+
aria-selected="true"
|
508
|
+
>
|
509
|
+
<i
|
510
|
+
class="material-icons mdc-deprecated-list-item__graphic"
|
511
|
+
aria-hidden="true"
|
512
|
+
>inbox</i
|
513
|
+
>
|
514
|
+
<span class="mdc-list-item__ripple"></span>
|
515
|
+
<span class="mdc-list-item__text">Body 2</span>
|
516
|
+
</a>
|
517
|
+
<a class="mdc-list-item">
|
518
|
+
<i
|
519
|
+
class="material-icons mdc-deprecated-list-item__graphic"
|
520
|
+
aria-hidden="true"
|
521
|
+
>star</i
|
522
|
+
>
|
523
|
+
<span class="mdc-list-item__ripple"></span>
|
524
|
+
<span class="mdc-list-item__text">Body 2</span>
|
525
|
+
</a>
|
526
|
+
<a class="mdc-list-item">
|
527
|
+
<i
|
528
|
+
class="material-icons mdc-deprecated-list-item__graphic"
|
529
|
+
aria-hidden="true"
|
530
|
+
>bookmark</i
|
531
|
+
>
|
532
|
+
<span class="mdc-list-item__ripple"></span>
|
533
|
+
<span class="mdc-list-item__text">Body 2</span>
|
534
|
+
</a>
|
535
|
+
<a class="mdc-list-item">
|
536
|
+
<i
|
537
|
+
class="material-icons mdc-deprecated-list-item__graphic"
|
538
|
+
aria-hidden="true"
|
539
|
+
>send</i
|
540
|
+
>
|
541
|
+
<span class="mdc-list-item__ripple"></span>
|
542
|
+
<span class="mdc-list-item__text">Body 2</span>
|
543
|
+
</a>
|
544
|
+
<a class="mdc-list-item">
|
545
|
+
<i
|
546
|
+
class="material-icons mdc-deprecated-list-item__graphic"
|
547
|
+
aria-hidden="true"
|
548
|
+
>drafts</i
|
549
|
+
>
|
550
|
+
<span class="mdc-list-item__ripple"></span>
|
551
|
+
<span class="mdc-list-item__text">Body 2</span>
|
552
|
+
</a>
|
553
|
+
</nav>
|
554
|
+
</div>
|
555
|
+
</aside>
|
556
|
+
</div>
|
557
|
+
</section>
|
558
|
+
|
559
|
+
<div class="component-section-row">
|
560
|
+
<!-- Short top app bar -->
|
561
|
+
<section class="component-section short-app-bar-section">
|
562
|
+
<div class="section-header">
|
563
|
+
<a
|
564
|
+
href="https://material.io/design/components/app-bars-top.html"
|
565
|
+
class="mdc-typography--button"
|
566
|
+
target="_blank"
|
567
|
+
>
|
568
|
+
Short App Bar
|
569
|
+
<i class="material-icons">open_in_new</i>
|
570
|
+
</a>
|
571
|
+
</div>
|
572
|
+
<div class="component-wrapper">
|
573
|
+
<header
|
574
|
+
class="mdc-top-app-bar mdc-top-app-bar--short mdc-top-app-bar--short-collapsed"
|
575
|
+
>
|
576
|
+
<div class="mdc-top-app-bar__row">
|
577
|
+
<section
|
578
|
+
class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start"
|
579
|
+
>
|
580
|
+
<a
|
581
|
+
class="material-icons mdc-icon-button mdc-top-app-bar__navigation-icon"
|
582
|
+
>menu</a
|
583
|
+
>
|
584
|
+
</section>
|
585
|
+
<section
|
586
|
+
class="mdc-top-app-bar__section mdc-top-app-bar__section--align-end"
|
587
|
+
role="toolbar"
|
588
|
+
>
|
589
|
+
<a
|
590
|
+
class="material-icons mdc-icon-button mdc-top-app-bar__action-item"
|
591
|
+
aria-label="Open shopping cart"
|
592
|
+
alt="Open shopping cart"
|
593
|
+
>shopping_cart</a
|
594
|
+
>
|
595
|
+
</section>
|
596
|
+
</div>
|
597
|
+
</header>
|
598
|
+
</div>
|
599
|
+
</section>
|
600
|
+
|
601
|
+
<!-- Menu -->
|
602
|
+
<section class="component-section menu-section">
|
603
|
+
<div class="section-header">
|
604
|
+
<a
|
605
|
+
href="https://material.io/design/components/menus.html"
|
606
|
+
class="mdc-typography--button"
|
607
|
+
target="_blank"
|
608
|
+
>
|
609
|
+
Menu
|
610
|
+
<i class="material-icons">open_in_new</i>
|
611
|
+
</a>
|
612
|
+
</div>
|
613
|
+
<div class="component-wrapper">
|
614
|
+
<div class="mdc-menu-surface--anchor">
|
615
|
+
<div class="mdc-menu mdc-menu-surface mdc-menu-surface--open">
|
616
|
+
<ul
|
617
|
+
class="mdc-list"
|
618
|
+
role="menu"
|
619
|
+
aria-hidden="true"
|
620
|
+
aria-orientation="vertical"
|
621
|
+
tabindex="-1"
|
622
|
+
>
|
623
|
+
<li class="mdc-list-item" role="menuitem">
|
624
|
+
<span class="mdc-list-item__ripple"></span>
|
625
|
+
<span class="mdc-list-item__text">A Menu Item</span>
|
626
|
+
</li>
|
627
|
+
<li class="mdc-list-item" role="menuitem">
|
628
|
+
<span class="mdc-list-item__ripple"></span>
|
629
|
+
<span class="mdc-list-item__text">Another Menu Item</span>
|
630
|
+
</li>
|
631
|
+
</ul>
|
632
|
+
</div>
|
633
|
+
</div>
|
634
|
+
</div>
|
635
|
+
</section>
|
636
|
+
</div>
|
637
|
+
|
638
|
+
<!-- Linear progress -->
|
639
|
+
<section class="component-section linear-progress-section">
|
640
|
+
<div class="section-header">
|
641
|
+
<a
|
642
|
+
href="https://material.io/design/components/progress-indicators.html#linear-progress-indicators"
|
643
|
+
class="mdc-typography--button"
|
644
|
+
target="_blank"
|
645
|
+
>
|
646
|
+
Linear Progress
|
647
|
+
<i class="material-icons">open_in_new</i>
|
648
|
+
</a>
|
649
|
+
</div>
|
650
|
+
<div class="component-wrapper linear-progress-component-wrapper">
|
651
|
+
<div
|
652
|
+
role="progressbar"
|
653
|
+
class="mdc-linear-progress mdc-linear-progress--indeterminate"
|
654
|
+
>
|
655
|
+
<div class="mdc-linear-progress__buffering-dots"></div>
|
656
|
+
<div class="mdc-linear-progress__buffer"></div>
|
657
|
+
<div
|
658
|
+
class="mdc-linear-progress__bar mdc-linear-progress__primary-bar"
|
659
|
+
>
|
660
|
+
<span class="mdc-linear-progress__bar-inner"></span>
|
661
|
+
</div>
|
662
|
+
<div
|
663
|
+
class="mdc-linear-progress__bar mdc-linear-progress__secondary-bar"
|
664
|
+
>
|
665
|
+
<span class="mdc-linear-progress__bar-inner"></span>
|
666
|
+
</div>
|
667
|
+
</div>
|
668
|
+
</div>
|
669
|
+
</section>
|
670
|
+
|
671
|
+
<div class="component-section-row switch-checkbox-row">
|
672
|
+
<!-- Switch -->
|
673
|
+
<section class="component-section switch-section">
|
674
|
+
<div class="section-header">
|
675
|
+
<a
|
676
|
+
href="https://material.io/design/components/selection-controls.html#switches"
|
677
|
+
class="mdc-typography--button"
|
678
|
+
target="_blank"
|
679
|
+
>
|
680
|
+
Switch
|
681
|
+
<i class="material-icons">open_in_new</i>
|
682
|
+
</a>
|
683
|
+
</div>
|
684
|
+
<div class="component-wrapper switch-component-wrapper">
|
685
|
+
<button
|
686
|
+
id="basic-switch"
|
687
|
+
class="mdc-switch mdc-switch--unselected"
|
688
|
+
type="button"
|
689
|
+
role="switch"
|
690
|
+
aria-checked="false"
|
691
|
+
>
|
692
|
+
<div class="mdc-switch__track"></div>
|
693
|
+
<div class="mdc-switch__handle-track">
|
694
|
+
<div class="mdc-switch__handle">
|
695
|
+
<div class="mdc-switch__shadow">
|
696
|
+
<div class="mdc-elevation-overlay"></div>
|
697
|
+
</div>
|
698
|
+
<div class="mdc-switch__ripple"></div>
|
699
|
+
<div class="mdc-switch__icons">
|
700
|
+
<svg
|
701
|
+
class="mdc-switch__icon mdc-switch__icon--on"
|
702
|
+
viewBox="0 0 24 24"
|
703
|
+
>
|
704
|
+
<path
|
705
|
+
d="M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"
|
706
|
+
/>
|
707
|
+
</svg>
|
708
|
+
<svg
|
709
|
+
class="mdc-switch__icon mdc-switch__icon--off"
|
710
|
+
viewBox="0 0 24 24"
|
711
|
+
>
|
712
|
+
<path d="M20 13H4v-2h16v2z" />
|
713
|
+
</svg>
|
714
|
+
</div>
|
715
|
+
</div>
|
716
|
+
</div>
|
717
|
+
</button>
|
718
|
+
<label for="basic-switch">off/on</label>
|
719
|
+
</div>
|
720
|
+
</section>
|
721
|
+
|
722
|
+
<!-- Checkbox -->
|
723
|
+
<section class="component-section">
|
724
|
+
<div class="section-header">
|
725
|
+
<a
|
726
|
+
href="https://material.io/design/components/selection-controls.html#checkboxes"
|
727
|
+
class="mdc-typography--button"
|
728
|
+
target="_blank"
|
729
|
+
>
|
730
|
+
Checkbox
|
731
|
+
<i class="material-icons">open_in_new</i>
|
732
|
+
</a>
|
733
|
+
</div>
|
734
|
+
<div class="component-wrapper checkbox-component-wrapper">
|
735
|
+
<div class="mdc-checkbox">
|
736
|
+
<input type="checkbox" class="mdc-checkbox__native-control" />
|
737
|
+
<div class="mdc-checkbox__background">
|
738
|
+
<svg class="mdc-checkbox__checkmark" viewbox="0 0 24 24">
|
739
|
+
<path
|
740
|
+
class="mdc-checkbox__checkmark-path"
|
741
|
+
fill="none"
|
742
|
+
d="M1.73,12.91 8.1,19.28 22.79,4.59"
|
743
|
+
/>
|
744
|
+
</svg>
|
745
|
+
<div class="mdc-checkbox__mixedmark"></div>
|
746
|
+
</div>
|
747
|
+
</div>
|
748
|
+
<div class="mdc-checkbox indeterminate-checkbox">
|
749
|
+
<input type="checkbox" class="mdc-checkbox__native-control" />
|
750
|
+
<div class="mdc-checkbox__background">
|
751
|
+
<svg class="mdc-checkbox__checkmark" viewbox="0 0 24 24">
|
752
|
+
<path
|
753
|
+
class="mdc-checkbox__checkmark-path"
|
754
|
+
fill="none"
|
755
|
+
d="M1.73,12.91 8.1,19.28 22.79,4.59"
|
756
|
+
/>
|
757
|
+
</svg>
|
758
|
+
<div class="mdc-checkbox__mixedmark"></div>
|
759
|
+
</div>
|
760
|
+
</div>
|
761
|
+
<div class="mdc-checkbox">
|
762
|
+
<input
|
763
|
+
type="checkbox"
|
764
|
+
class="mdc-checkbox__native-control"
|
765
|
+
checked
|
766
|
+
/>
|
767
|
+
<div class="mdc-checkbox__background">
|
768
|
+
<svg class="mdc-checkbox__checkmark" viewbox="0 0 24 24">
|
769
|
+
<path
|
770
|
+
class="mdc-checkbox__checkmark-path"
|
771
|
+
fill="none"
|
772
|
+
d="M1.73,12.91 8.1,19.28 22.79,4.59"
|
773
|
+
/>
|
774
|
+
</svg>
|
775
|
+
<div class="mdc-checkbox__mixedmark"></div>
|
776
|
+
</div>
|
777
|
+
</div>
|
778
|
+
</div>
|
779
|
+
</section>
|
780
|
+
</div>
|
781
|
+
|
782
|
+
<div class="component-section-row radio-row">
|
783
|
+
<!-- Radio -->
|
784
|
+
<section class="component-section">
|
785
|
+
<div class="section-header">
|
786
|
+
<a
|
787
|
+
href="https://material.io/design/components/selection-controls.html#radio-buttons"
|
788
|
+
class="mdc-typography--button"
|
789
|
+
target="_blank"
|
790
|
+
>
|
791
|
+
Radio Button
|
792
|
+
<i class="material-icons">open_in_new</i>
|
793
|
+
</a>
|
794
|
+
</div>
|
795
|
+
<div class="component-wrapper radio-component-wrapper">
|
796
|
+
<div class="mdc-radio">
|
797
|
+
<input
|
798
|
+
class="mdc-radio__native-control"
|
799
|
+
type="radio"
|
800
|
+
id="radio-1"
|
801
|
+
name="radios"
|
802
|
+
checked
|
803
|
+
/>
|
804
|
+
<div class="mdc-radio__background">
|
805
|
+
<div class="mdc-radio__outer-circle"></div>
|
806
|
+
<div class="mdc-radio__inner-circle"></div>
|
807
|
+
</div>
|
808
|
+
</div>
|
809
|
+
<div class="mdc-radio">
|
810
|
+
<input
|
811
|
+
class="mdc-radio__native-control"
|
812
|
+
type="radio"
|
813
|
+
id="radio-2"
|
814
|
+
name="radios"
|
815
|
+
checked
|
816
|
+
/>
|
817
|
+
<div class="mdc-radio__background">
|
818
|
+
<div class="mdc-radio__outer-circle"></div>
|
819
|
+
<div class="mdc-radio__inner-circle"></div>
|
820
|
+
</div>
|
821
|
+
</div>
|
822
|
+
</div>
|
823
|
+
</section>
|
824
|
+
|
825
|
+
<!-- Icon button -->
|
826
|
+
<section class="component-section">
|
827
|
+
<div class="section-header">
|
828
|
+
<a
|
829
|
+
href="https://material.io/design/components/buttons.html#toggle-button"
|
830
|
+
class="mdc-typography--button"
|
831
|
+
target="_blank"
|
832
|
+
>
|
833
|
+
Icon Button
|
834
|
+
<i class="material-icons">open_in_new</i>
|
835
|
+
</a>
|
836
|
+
</div>
|
837
|
+
<div class="component-wrapper icon-button-component-wrapper">
|
838
|
+
<button
|
839
|
+
id="icon-toggle-button"
|
840
|
+
class="mdc-icon-button"
|
841
|
+
aria-label="Add to favorites"
|
842
|
+
aria-pressed="false"
|
843
|
+
>
|
844
|
+
<div class="mdc-icon-button__ripple"></div>
|
845
|
+
<i
|
846
|
+
class="material-icons mdc-icon-button__icon mdc-icon-button__icon--on"
|
847
|
+
>music_off</i
|
848
|
+
>
|
849
|
+
<i class="material-icons mdc-icon-button__icon">music_note</i>
|
850
|
+
</button>
|
851
|
+
</div>
|
852
|
+
</section>
|
853
|
+
</div>
|
854
|
+
|
855
|
+
<!-- Chips -->
|
856
|
+
<section class="component-section">
|
857
|
+
<div class="section-header">
|
858
|
+
<a
|
859
|
+
href="https://material.io/design/components/chips.html"
|
860
|
+
class="mdc-typography--button"
|
861
|
+
target="_blank"
|
862
|
+
>
|
863
|
+
Chips
|
864
|
+
<i class="material-icons">open_in_new</i>
|
865
|
+
</a>
|
866
|
+
</div>
|
867
|
+
<div
|
868
|
+
class="component-wrapper chips-component-wrapper chips-component-wrapper-1"
|
869
|
+
>
|
870
|
+
<span
|
871
|
+
class="mdc-evolution-chip-set"
|
872
|
+
role="listbox"
|
873
|
+
aria-orientation="horizontal"
|
874
|
+
aria-multiselectable="true"
|
875
|
+
>
|
876
|
+
<span class="mdc-evolution-chip-set__chips" role="presentation">
|
877
|
+
<span class="mdc-evolution-chip" role="row" id="c1">
|
878
|
+
<span
|
879
|
+
class="mdc-evolution-chip__cell mdc-evolution-chip__cell--primary"
|
880
|
+
role="gridcell"
|
881
|
+
>
|
882
|
+
<button
|
883
|
+
class="mdc-evolution-chip__action mdc-evolution-chip__action--primary"
|
884
|
+
type="button"
|
885
|
+
tabindex="-1"
|
886
|
+
>
|
887
|
+
<span
|
888
|
+
class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--primary"
|
889
|
+
></span>
|
890
|
+
<span class="mdc-evolution-chip__text-label"
|
891
|
+
>Regular chip</span
|
892
|
+
>
|
893
|
+
</button>
|
894
|
+
</span>
|
895
|
+
</span>
|
896
|
+
<span
|
897
|
+
class="mdc-evolution-chip mdc-evolution-chip--with-trailing-action"
|
898
|
+
role="row"
|
899
|
+
id="c2"
|
900
|
+
data-mdc-deletable="true"
|
901
|
+
>
|
902
|
+
<span
|
903
|
+
class="mdc-evolution-chip__cell mdc-evolution-chip__cell--primary"
|
904
|
+
role="gridcell"
|
905
|
+
>
|
906
|
+
<button
|
907
|
+
class="mdc-evolution-chip__action mdc-evolution-chip__action--primary"
|
908
|
+
type="button"
|
909
|
+
tabindex="0"
|
910
|
+
>
|
911
|
+
<span
|
912
|
+
class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--primary"
|
913
|
+
></span>
|
914
|
+
<span class="mdc-evolution-chip__text-label"
|
915
|
+
>Trialing chip</span
|
916
|
+
>
|
917
|
+
</button>
|
918
|
+
</span>
|
919
|
+
<span
|
920
|
+
class="mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"
|
921
|
+
role="gridcell"
|
922
|
+
>
|
923
|
+
<button
|
924
|
+
class="mdc-evolution-chip__action mdc-evolution-chip__action--trailing"
|
925
|
+
type="button"
|
926
|
+
tabindex="-1"
|
927
|
+
aria-label="Remove chip foo"
|
928
|
+
>
|
929
|
+
<span
|
930
|
+
class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--trailing"
|
931
|
+
></span>
|
932
|
+
<span
|
933
|
+
class="mdc-evolution-chip__icon material-icons mdc-evolution-chip__icon--trailing"
|
934
|
+
>close</span
|
935
|
+
>
|
936
|
+
</button>
|
937
|
+
</span>
|
938
|
+
</span>
|
939
|
+
|
940
|
+
<span
|
941
|
+
class="mdc-evolution-chip mdc-evolution-chip--with-primary-graphic mdc-evolution-chip--with-primary-icon"
|
942
|
+
role="row"
|
943
|
+
id="c0"
|
944
|
+
>
|
945
|
+
<span
|
946
|
+
class="mdc-evolution-chip__cell mdc-evolution-chip__cell--primary"
|
947
|
+
role="gridcell"
|
948
|
+
>
|
949
|
+
<button
|
950
|
+
class="mdc-evolution-chip__action mdc-evolution-chip__action--primary"
|
951
|
+
type="button"
|
952
|
+
tabindex="0"
|
953
|
+
>
|
954
|
+
<span
|
955
|
+
class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--primary"
|
956
|
+
></span>
|
957
|
+
<span class="mdc-evolution-chip__graphic">
|
958
|
+
<span
|
959
|
+
class="mdc-evolution-chip__icon mdc-evolution-chip__icon--primary material-icons"
|
960
|
+
>favorite</span
|
961
|
+
>
|
962
|
+
</span>
|
963
|
+
<span class="mdc-evolution-chip__text-label"
|
964
|
+
>Leading chip</span
|
965
|
+
>
|
966
|
+
</button>
|
967
|
+
</span>
|
968
|
+
</span>
|
969
|
+
|
970
|
+
<span
|
971
|
+
class="mdc-evolution-chip mdc-evolution-chip--with-primary-graphic mdc-evolution-chip--with-primary-icon mdc-evolution-chip--with-avatar"
|
972
|
+
role="row"
|
973
|
+
id="c0"
|
974
|
+
>
|
975
|
+
<span
|
976
|
+
class="mdc-evolution-chip__cell mdc-evolution-chip__cell--primary"
|
977
|
+
role="gridcell"
|
978
|
+
>
|
979
|
+
<button
|
980
|
+
class="mdc-evolution-chip__action mdc-evolution-chip__action--primary"
|
981
|
+
type="button"
|
982
|
+
tabindex="0"
|
983
|
+
>
|
984
|
+
<span
|
985
|
+
class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--primary"
|
986
|
+
></span>
|
987
|
+
<span class="mdc-evolution-chip__graphic">
|
988
|
+
<span
|
989
|
+
class="mdc-evolution-chip__icon mdc-evolution-chip__icon--primary material-icons"
|
990
|
+
style="background: rgba(0, 0, 0, 0.3)"
|
991
|
+
>person</span
|
992
|
+
>
|
993
|
+
</span>
|
994
|
+
<span class="mdc-evolution-chip__text-label"
|
995
|
+
>Avatar chip</span
|
996
|
+
>
|
997
|
+
</button>
|
998
|
+
</span>
|
999
|
+
</span>
|
1000
|
+
|
1001
|
+
<span
|
1002
|
+
class="mdc-evolution-chip mdc-evolution-chip--disabled"
|
1003
|
+
role="row"
|
1004
|
+
id="c1"
|
1005
|
+
>
|
1006
|
+
<span
|
1007
|
+
class="mdc-evolution-chip__cell mdc-evolution-chip__cell--primary"
|
1008
|
+
role="gridcell"
|
1009
|
+
>
|
1010
|
+
<button
|
1011
|
+
class="mdc-evolution-chip__action mdc-evolution-chip__action--primary"
|
1012
|
+
type="button"
|
1013
|
+
tabindex="-1"
|
1014
|
+
disabled
|
1015
|
+
>
|
1016
|
+
<span
|
1017
|
+
class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--primary"
|
1018
|
+
></span>
|
1019
|
+
<span class="mdc-evolution-chip__text-label"
|
1020
|
+
>Disabled chip</span
|
1021
|
+
>
|
1022
|
+
</button>
|
1023
|
+
</span>
|
1024
|
+
</span>
|
1025
|
+
|
1026
|
+
<span
|
1027
|
+
class="mdc-evolution-chip mdc-evolution-chip--filter mdc-evolution-chip--with-primary-graphic mdc-evolution-chip--selectable"
|
1028
|
+
role="presentation"
|
1029
|
+
id="c5"
|
1030
|
+
>
|
1031
|
+
<span
|
1032
|
+
class="mdc-evolution-chip__action mdc-evolution-chip__action--primary"
|
1033
|
+
role="option"
|
1034
|
+
aria-selected="false"
|
1035
|
+
tabindex="0"
|
1036
|
+
>
|
1037
|
+
<span
|
1038
|
+
class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--primary"
|
1039
|
+
></span>
|
1040
|
+
<span class="mdc-evolution-chip__graphic">
|
1041
|
+
<span class="mdc-evolution-chip__checkmark">
|
1042
|
+
<svg
|
1043
|
+
class="mdc-evolution-chip__checkmark-svg"
|
1044
|
+
viewBox="-2 -3 30 30"
|
1045
|
+
>
|
1046
|
+
<path
|
1047
|
+
class="mdc-evolution-chip__checkmark-path"
|
1048
|
+
fill="none"
|
1049
|
+
stroke="black"
|
1050
|
+
d="M1.73,12.91 8.1,19.28 22.79,4.59"
|
1051
|
+
/>
|
1052
|
+
</svg>
|
1053
|
+
</span>
|
1054
|
+
</span>
|
1055
|
+
<span class="mdc-evolution-chip__text-label"
|
1056
|
+
>Filter chip</span
|
1057
|
+
>
|
1058
|
+
</span>
|
1059
|
+
</span>
|
1060
|
+
|
1061
|
+
<span
|
1062
|
+
class="mdc-evolution-chip mdc-evolution-chip--filter mdc-evolution-chip--with-primary-graphic mdc-evolution-chip--selectable"
|
1063
|
+
role="presentation"
|
1064
|
+
id="c6"
|
1065
|
+
>
|
1066
|
+
<span
|
1067
|
+
class="mdc-evolution-chip__action mdc-evolution-chip__action--primary"
|
1068
|
+
role="option"
|
1069
|
+
aria-selected="false"
|
1070
|
+
tabindex="0"
|
1071
|
+
data-mdc-deletable="true"
|
1072
|
+
>
|
1073
|
+
<span
|
1074
|
+
class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--primary"
|
1075
|
+
></span>
|
1076
|
+
<span class="mdc-evolution-chip__graphic">
|
1077
|
+
<span class="mdc-evolution-chip__checkmark">
|
1078
|
+
<svg
|
1079
|
+
class="mdc-evolution-chip__checkmark-svg"
|
1080
|
+
viewBox="-2 -3 30 30"
|
1081
|
+
>
|
1082
|
+
<path
|
1083
|
+
class="mdc-evolution-chip__checkmark-path"
|
1084
|
+
fill="none"
|
1085
|
+
stroke="black"
|
1086
|
+
d="M1.73,12.91 8.1,19.28 22.79,4.59"
|
1087
|
+
/>
|
1088
|
+
</svg>
|
1089
|
+
</span>
|
1090
|
+
</span>
|
1091
|
+
<span class="mdc-evolution-chip__text-label"
|
1092
|
+
>Filter chip</span
|
1093
|
+
>
|
1094
|
+
</span>
|
1095
|
+
</span>
|
1096
|
+
</span>
|
1097
|
+
</span>
|
1098
|
+
</div>
|
1099
|
+
<div
|
1100
|
+
class="component-wrapper chips-component-wrapper chips-component-wrapper-2"
|
1101
|
+
>
|
1102
|
+
<span
|
1103
|
+
class="mdc-evolution-chip-set"
|
1104
|
+
role="listbox"
|
1105
|
+
aria-orientation="horizontal"
|
1106
|
+
aria-multiselectable="false"
|
1107
|
+
>
|
1108
|
+
<span class="mdc-evolution-chip-set__chips" role="presentation">
|
1109
|
+
<span
|
1110
|
+
class="mdc-evolution-chip mdc-evolution-chip--filter mdc-evolution-chip--with-primary-graphic mdc-evolution-chip--selectable mdc-evolution-chip--selected"
|
1111
|
+
role="presentation"
|
1112
|
+
id="c20"
|
1113
|
+
>
|
1114
|
+
<span
|
1115
|
+
class="mdc-evolution-chip__action mdc-evolution-chip__action--primary"
|
1116
|
+
role="option"
|
1117
|
+
aria-selected="false"
|
1118
|
+
tabindex="0"
|
1119
|
+
>
|
1120
|
+
<span
|
1121
|
+
class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--primary"
|
1122
|
+
></span>
|
1123
|
+
<span class="mdc-evolution-chip__graphic">
|
1124
|
+
<span class="mdc-evolution-chip__checkmark">
|
1125
|
+
<svg
|
1126
|
+
class="mdc-evolution-chip__checkmark-svg"
|
1127
|
+
viewBox="-2 -3 30 30"
|
1128
|
+
>
|
1129
|
+
<path
|
1130
|
+
class="mdc-evolution-chip__checkmark-path"
|
1131
|
+
fill="none"
|
1132
|
+
stroke="black"
|
1133
|
+
d="M1.73,12.91 8.1,19.28 22.79,4.59"
|
1134
|
+
/>
|
1135
|
+
</svg>
|
1136
|
+
</span>
|
1137
|
+
</span>
|
1138
|
+
<span class="mdc-evolution-chip__text-label"
|
1139
|
+
>Filter chip</span
|
1140
|
+
>
|
1141
|
+
</span>
|
1142
|
+
</span>
|
1143
|
+
|
1144
|
+
<span
|
1145
|
+
class="mdc-evolution-chip mdc-evolution-chip--filter mdc-evolution-chip--with-primary-graphic mdc-evolution-chip--selectable"
|
1146
|
+
role="presentation"
|
1147
|
+
id="c21"
|
1148
|
+
>
|
1149
|
+
<span
|
1150
|
+
class="mdc-evolution-chip__action mdc-evolution-chip__action--primary"
|
1151
|
+
role="option"
|
1152
|
+
aria-selected="false"
|
1153
|
+
tabindex="0"
|
1154
|
+
data-mdc-deletable="true"
|
1155
|
+
>
|
1156
|
+
<span
|
1157
|
+
class="mdc-evolution-chip__ripple mdc-evolution-chip__ripple--primary"
|
1158
|
+
></span>
|
1159
|
+
<span class="mdc-evolution-chip__graphic">
|
1160
|
+
<span class="mdc-evolution-chip__checkmark">
|
1161
|
+
<svg
|
1162
|
+
class="mdc-evolution-chip__checkmark-svg"
|
1163
|
+
viewBox="-2 -3 30 30"
|
1164
|
+
>
|
1165
|
+
<path
|
1166
|
+
class="mdc-evolution-chip__checkmark-path"
|
1167
|
+
fill="none"
|
1168
|
+
stroke="black"
|
1169
|
+
d="M1.73,12.91 8.1,19.28 22.79,4.59"
|
1170
|
+
/>
|
1171
|
+
</svg>
|
1172
|
+
</span>
|
1173
|
+
</span>
|
1174
|
+
<span class="mdc-evolution-chip__text-label"
|
1175
|
+
>Filter chip</span
|
1176
|
+
>
|
1177
|
+
</span>
|
1178
|
+
</span>
|
1179
|
+
</span>
|
1180
|
+
</span>
|
1181
|
+
</div>
|
1182
|
+
</section>
|
1183
|
+
|
1184
|
+
<div class="component-section-row">
|
1185
|
+
<!-- Select -->
|
1186
|
+
<section class="component-section select-component">
|
1187
|
+
<div class="section-header">
|
1188
|
+
<a
|
1189
|
+
href="https://material.io/develop/web/components/input-controls/select-menus/"
|
1190
|
+
class="mdc-typography--button"
|
1191
|
+
target="_blank"
|
1192
|
+
>
|
1193
|
+
Select
|
1194
|
+
<i class="material-icons">open_in_new</i>
|
1195
|
+
</a>
|
1196
|
+
</div>
|
1197
|
+
<div class="component-wrapper">
|
1198
|
+
<div class="mdc-select mdc-select--filled demo-width-class">
|
1199
|
+
<div
|
1200
|
+
class="mdc-select__anchor"
|
1201
|
+
role="button"
|
1202
|
+
aria-haspopup="listbox"
|
1203
|
+
aria-expanded="false"
|
1204
|
+
aria-labelledby="demo-label demo-selected-text"
|
1205
|
+
>
|
1206
|
+
<span class="mdc-select__ripple"></span>
|
1207
|
+
<span id="demo-label" class="mdc-floating-label"
|
1208
|
+
>Pick a Food Group</span
|
1209
|
+
>
|
1210
|
+
<span class="mdc-select__selected-text-container">
|
1211
|
+
<span
|
1212
|
+
id="demo-selected-text"
|
1213
|
+
class="mdc-select__selected-text"
|
1214
|
+
></span>
|
1215
|
+
</span>
|
1216
|
+
<span class="mdc-select__dropdown-icon">
|
1217
|
+
<svg
|
1218
|
+
class="mdc-select__dropdown-icon-graphic"
|
1219
|
+
viewBox="7 10 10 5"
|
1220
|
+
focusable="false"
|
1221
|
+
>
|
1222
|
+
<polygon
|
1223
|
+
class="mdc-select__dropdown-icon-inactive"
|
1224
|
+
stroke="none"
|
1225
|
+
fill-rule="evenodd"
|
1226
|
+
points="7 10 12 15 17 10"
|
1227
|
+
></polygon>
|
1228
|
+
<polygon
|
1229
|
+
class="mdc-select__dropdown-icon-active"
|
1230
|
+
stroke="none"
|
1231
|
+
fill-rule="evenodd"
|
1232
|
+
points="7 15 12 10 17 15"
|
1233
|
+
></polygon>
|
1234
|
+
</svg>
|
1235
|
+
</span>
|
1236
|
+
<span class="mdc-line-ripple"></span>
|
1237
|
+
</div>
|
1238
|
+
|
1239
|
+
<div
|
1240
|
+
class="mdc-select__menu mdc-menu mdc-menu-surface mdc-menu-surface--fullwidth"
|
1241
|
+
>
|
1242
|
+
<ul
|
1243
|
+
class="mdc-deprecated-list"
|
1244
|
+
role="listbox"
|
1245
|
+
aria-label="Food picker listbox"
|
1246
|
+
>
|
1247
|
+
<li
|
1248
|
+
class="mdc-deprecated-list-item mdc-deprecated-list-item--selected"
|
1249
|
+
aria-selected="true"
|
1250
|
+
data-value=""
|
1251
|
+
role="option"
|
1252
|
+
>
|
1253
|
+
<span class="mdc-deprecated-list-item__ripple"></span>
|
1254
|
+
</li>
|
1255
|
+
<li
|
1256
|
+
class="mdc-deprecated-list-item"
|
1257
|
+
aria-selected="false"
|
1258
|
+
data-value="grains"
|
1259
|
+
role="option"
|
1260
|
+
>
|
1261
|
+
<span class="mdc-deprecated-list-item__ripple"></span>
|
1262
|
+
<span class="mdc-deprecated-list-item__text">
|
1263
|
+
Bread, Cereal, Rice, and Pasta
|
1264
|
+
</span>
|
1265
|
+
</li>
|
1266
|
+
<li
|
1267
|
+
class="mdc-deprecated-list-item mdc-deprecated-list-item--disabled"
|
1268
|
+
aria-selected="false"
|
1269
|
+
data-value="vegetables"
|
1270
|
+
aria-disabled="true"
|
1271
|
+
role="option"
|
1272
|
+
>
|
1273
|
+
<span class="mdc-deprecated-list-item__ripple"></span>
|
1274
|
+
<span class="mdc-deprecated-list-item__text">
|
1275
|
+
Vegetables
|
1276
|
+
</span>
|
1277
|
+
</li>
|
1278
|
+
<li
|
1279
|
+
class="mdc-deprecated-list-item"
|
1280
|
+
aria-selected="false"
|
1281
|
+
data-value="fruit"
|
1282
|
+
role="option"
|
1283
|
+
>
|
1284
|
+
<span class="mdc-deprecated-list-item__ripple"></span>
|
1285
|
+
<span class="mdc-deprecated-list-item__text">
|
1286
|
+
Fruit
|
1287
|
+
</span>
|
1288
|
+
</li>
|
1289
|
+
</ul>
|
1290
|
+
</div>
|
1291
|
+
</div>
|
1292
|
+
</div>
|
1293
|
+
</section>
|
1294
|
+
|
1295
|
+
<!-- Select -->
|
1296
|
+
<section class="component-section select-component">
|
1297
|
+
<div class="section-header"><!-- Hold space for layout --></div>
|
1298
|
+
<div class="component-wrapper">
|
1299
|
+
<div class="mdc-select mdc-select--outlined">
|
1300
|
+
<div
|
1301
|
+
class="mdc-select__anchor"
|
1302
|
+
aria-labelledby="outlined-select-label"
|
1303
|
+
>
|
1304
|
+
<span class="mdc-notched-outline">
|
1305
|
+
<span class="mdc-notched-outline__leading"></span>
|
1306
|
+
<span class="mdc-notched-outline__notch">
|
1307
|
+
<span
|
1308
|
+
id="outlined-select-label"
|
1309
|
+
class="mdc-floating-label"
|
1310
|
+
>Pick a Food Group</span
|
1311
|
+
>
|
1312
|
+
</span>
|
1313
|
+
<span class="mdc-notched-outline__trailing"></span>
|
1314
|
+
</span>
|
1315
|
+
<span class="mdc-select__selected-text-container">
|
1316
|
+
<span
|
1317
|
+
id="demo-selected-text"
|
1318
|
+
class="mdc-select__selected-text"
|
1319
|
+
></span>
|
1320
|
+
</span>
|
1321
|
+
<span class="mdc-select__dropdown-icon">
|
1322
|
+
<svg
|
1323
|
+
class="mdc-select__dropdown-icon-graphic"
|
1324
|
+
viewBox="7 10 10 5"
|
1325
|
+
focusable="false"
|
1326
|
+
>
|
1327
|
+
<polygon
|
1328
|
+
class="mdc-select__dropdown-icon-inactive"
|
1329
|
+
stroke="none"
|
1330
|
+
fill-rule="evenodd"
|
1331
|
+
points="7 10 12 15 17 10"
|
1332
|
+
></polygon>
|
1333
|
+
<polygon
|
1334
|
+
class="mdc-select__dropdown-icon-active"
|
1335
|
+
stroke="none"
|
1336
|
+
fill-rule="evenodd"
|
1337
|
+
points="7 15 12 10 17 15"
|
1338
|
+
></polygon>
|
1339
|
+
</svg>
|
1340
|
+
</span>
|
1341
|
+
<div
|
1342
|
+
class="mdc-select__menu mdc-menu mdc-menu-surface"
|
1343
|
+
role="listbox"
|
1344
|
+
>
|
1345
|
+
<ul class="mdc-list">
|
1346
|
+
<li
|
1347
|
+
class="mdc-list-item"
|
1348
|
+
data-value=""
|
1349
|
+
role="option"
|
1350
|
+
></li>
|
1351
|
+
<li
|
1352
|
+
class="mdc-list-item"
|
1353
|
+
data-value="outlined-item1"
|
1354
|
+
role="option"
|
1355
|
+
>
|
1356
|
+
Body 2
|
1357
|
+
</li>
|
1358
|
+
<li
|
1359
|
+
class="mdc-list-item"
|
1360
|
+
data-value="outlined-item2"
|
1361
|
+
aria-selected="true"
|
1362
|
+
role="option"
|
1363
|
+
>
|
1364
|
+
Body 2
|
1365
|
+
</li>
|
1366
|
+
<li
|
1367
|
+
class="mdc-list-item"
|
1368
|
+
data-value="outlined-item3"
|
1369
|
+
role="option"
|
1370
|
+
>
|
1371
|
+
Body 2
|
1372
|
+
</li>
|
1373
|
+
</ul>
|
1374
|
+
</div>
|
1375
|
+
</div>
|
1376
|
+
|
1377
|
+
<!-- Other elements from the select remain. -->
|
1378
|
+
<div
|
1379
|
+
class="mdc-select__menu mdc-menu mdc-menu-surface mdc-menu-surface--fullwidth"
|
1380
|
+
>
|
1381
|
+
...
|
1382
|
+
</div>
|
1383
|
+
</div>
|
1384
|
+
</div>
|
1385
|
+
</section>
|
1386
|
+
</div>
|
1387
|
+
|
1388
|
+
<!-- List -->
|
1389
|
+
<section class="component-section list-section">
|
1390
|
+
<div class="section-header">
|
1391
|
+
<a
|
1392
|
+
href="https://material.io/design/components/lists.html"
|
1393
|
+
class="mdc-typography--button"
|
1394
|
+
target="_blank"
|
1395
|
+
>
|
1396
|
+
List
|
1397
|
+
<i class="material-icons">open_in_new</i>
|
1398
|
+
</a>
|
1399
|
+
</div>
|
1400
|
+
<div class="component-wrapper">
|
1401
|
+
<ul class="mdc-list">
|
1402
|
+
<li class="mdc-list-item" tabindex="0">
|
1403
|
+
<span class="mdc-list-item__ripple"></span>
|
1404
|
+
<span class="mdc-list-item__text">Single-line item</span>
|
1405
|
+
</li>
|
1406
|
+
<li class="mdc-list-item">
|
1407
|
+
<span class="mdc-list-item__ripple"></span>
|
1408
|
+
<span class="mdc-list-item__text">Single-line item</span>
|
1409
|
+
</li>
|
1410
|
+
<li class="mdc-list-item">
|
1411
|
+
<span class="mdc-list-item__ripple"></span>
|
1412
|
+
<span class="mdc-list-item__text">Single-line item</span>
|
1413
|
+
</li>
|
1414
|
+
</ul>
|
1415
|
+
|
1416
|
+
<ul class="mdc-list mdc-list--two-line mdc-list--avatar-list">
|
1417
|
+
<li class="mdc-list-item" tabindex="0">
|
1418
|
+
<span class="mdc-list-item__ripple"></span>
|
1419
|
+
<span
|
1420
|
+
class="mdc-deprecated-list-item__graphic material-icons"
|
1421
|
+
aria-hidden="true"
|
1422
|
+
>child_care</span
|
1423
|
+
>
|
1424
|
+
<span class="mdc-list-item__text">
|
1425
|
+
<span class="mdc-list-item__primary-text">Two-line item</span>
|
1426
|
+
<span class="mdc-list-item__secondary-text"
|
1427
|
+
>Secondary text</span
|
1428
|
+
>
|
1429
|
+
</span>
|
1430
|
+
</li>
|
1431
|
+
<li role="separator" class="mdc-list-divider"></li>
|
1432
|
+
<li class="mdc-list-item">
|
1433
|
+
<span class="mdc-list-item__ripple"></span>
|
1434
|
+
<span
|
1435
|
+
class="mdc-deprecated-list-item__graphic material-icons"
|
1436
|
+
aria-hidden="true"
|
1437
|
+
>child_care</span
|
1438
|
+
>
|
1439
|
+
<span class="mdc-list-item__text">
|
1440
|
+
<span class="mdc-list-item__primary-text">Two-line item</span>
|
1441
|
+
<span class="mdc-list-item__secondary-text"
|
1442
|
+
>Secondary text</span
|
1443
|
+
>
|
1444
|
+
</span>
|
1445
|
+
</li>
|
1446
|
+
<li role="separator" class="mdc-list-divider"></li>
|
1447
|
+
<li class="mdc-list-item">
|
1448
|
+
<span class="mdc-list-item__ripple"></span>
|
1449
|
+
<span
|
1450
|
+
class="mdc-deprecated-list-item__graphic material-icons"
|
1451
|
+
aria-hidden="true"
|
1452
|
+
>child_care</span
|
1453
|
+
>
|
1454
|
+
<span class="mdc-list-item__text">
|
1455
|
+
<span class="mdc-list-item__primary-text">Two-line item</span>
|
1456
|
+
<span class="mdc-list-item__secondary-text"
|
1457
|
+
>Secondary text</span
|
1458
|
+
>
|
1459
|
+
</span>
|
1460
|
+
</li>
|
1461
|
+
</ul>
|
1462
|
+
</div>
|
1463
|
+
</section>
|
1464
|
+
|
1465
|
+
<!-- Deprecated List -->
|
1466
|
+
<section class="component-section list-section">
|
1467
|
+
<div class="section-header">
|
1468
|
+
<a
|
1469
|
+
href="https://material.io/design/components/lists.html"
|
1470
|
+
class="mdc-typography--button"
|
1471
|
+
target="_blank"
|
1472
|
+
>
|
1473
|
+
List (Deprecated)
|
1474
|
+
<i class="material-icons">open_in_new</i>
|
1475
|
+
</a>
|
1476
|
+
</div>
|
1477
|
+
<div class="component-wrapper">
|
1478
|
+
<ul class="mdc-deprecated-list">
|
1479
|
+
<li class="mdc-deprecated-list-item" tabindex="0">
|
1480
|
+
<span class="mdc-deprecated-list-item__ripple"></span>
|
1481
|
+
<span class="mdc-deprecated-list-item__text"
|
1482
|
+
>Single-line item</span
|
1483
|
+
>
|
1484
|
+
</li>
|
1485
|
+
<li class="mdc-deprecated-list-item">
|
1486
|
+
<span class="mdc-deprecated-list-item__ripple"></span>
|
1487
|
+
<span class="mdc-deprecated-list-item__text"
|
1488
|
+
>Single-line item</span
|
1489
|
+
>
|
1490
|
+
</li>
|
1491
|
+
<li class="mdc-deprecated-list-item">
|
1492
|
+
<span class="mdc-deprecated-list-item__ripple"></span>
|
1493
|
+
<span class="mdc-deprecated-list-item__text"
|
1494
|
+
>Single-line item</span
|
1495
|
+
>
|
1496
|
+
</li>
|
1497
|
+
</ul>
|
1498
|
+
|
1499
|
+
<ul
|
1500
|
+
class="mdc-deprecated-list mdc-deprecated-list--two-line mdc-deprecated-list--avatar-list"
|
1501
|
+
>
|
1502
|
+
<li class="mdc-deprecated-list-item" tabindex="0">
|
1503
|
+
<span class="mdc-deprecated-list-item__ripple"></span>
|
1504
|
+
<span
|
1505
|
+
class="mdc-deprecated-list-item__graphic material-icons"
|
1506
|
+
aria-hidden="true"
|
1507
|
+
>child_care</span
|
1508
|
+
>
|
1509
|
+
<span class="mdc-deprecated-list-item__text">
|
1510
|
+
<span class="mdc-deprecated-list-item__primary-text"
|
1511
|
+
>Two-line item</span
|
1512
|
+
>
|
1513
|
+
<span class="mdc-deprecated-list-item__secondary-text"
|
1514
|
+
>Secondary text</span
|
1515
|
+
>
|
1516
|
+
</span>
|
1517
|
+
</li>
|
1518
|
+
<li role="separator" class="mdc-deprecated-list-divider"></li>
|
1519
|
+
<li class="mdc-deprecated-list-item">
|
1520
|
+
<span class="mdc-deprecated-list-item__ripple"></span>
|
1521
|
+
<span
|
1522
|
+
class="mdc-deprecated-list-item__graphic material-icons"
|
1523
|
+
aria-hidden="true"
|
1524
|
+
>child_care</span
|
1525
|
+
>
|
1526
|
+
<span class="mdc-deprecated-list-item__text">
|
1527
|
+
<span class="mdc-deprecated-list-item__primary-text"
|
1528
|
+
>Two-line item</span
|
1529
|
+
>
|
1530
|
+
<span class="mdc-deprecated-list-item__secondary-text"
|
1531
|
+
>Secondary text</span
|
1532
|
+
>
|
1533
|
+
</span>
|
1534
|
+
</li>
|
1535
|
+
<li role="separator" class="mdc-deprecated-list-divider"></li>
|
1536
|
+
<li class="mdc-deprecated-list-item">
|
1537
|
+
<span class="mdc-deprecated-list-item__ripple"></span>
|
1538
|
+
<span
|
1539
|
+
class="mdc-deprecated-list-item__graphic material-icons"
|
1540
|
+
aria-hidden="true"
|
1541
|
+
>child_care</span
|
1542
|
+
>
|
1543
|
+
<span class="mdc-deprecated-list-item__text">
|
1544
|
+
<span class="mdc-deprecated-list-item__primary-text"
|
1545
|
+
>Two-line item</span
|
1546
|
+
>
|
1547
|
+
<span class="mdc-deprecated-list-item__secondary-text"
|
1548
|
+
>Secondary text</span
|
1549
|
+
>
|
1550
|
+
</span>
|
1551
|
+
</li>
|
1552
|
+
</ul>
|
1553
|
+
</div>
|
1554
|
+
</section>
|
1555
|
+
|
1556
|
+
<!-- Data Table -->
|
1557
|
+
<section class="component-section data-table-section">
|
1558
|
+
<div class="section-header">
|
1559
|
+
<a
|
1560
|
+
href="https://material.io/design/components/data-tables.html"
|
1561
|
+
class="mdc-typography--button"
|
1562
|
+
target="_blank"
|
1563
|
+
>
|
1564
|
+
Data Table
|
1565
|
+
<i class="material-icons">open_in_new</i>
|
1566
|
+
</a>
|
1567
|
+
</div>
|
1568
|
+
<div class="component-wrapper">
|
1569
|
+
<div class="mdc-data-table">
|
1570
|
+
<table
|
1571
|
+
class="mdc-data-table__table"
|
1572
|
+
aria-label="Dessert calories"
|
1573
|
+
>
|
1574
|
+
<thead>
|
1575
|
+
<tr class="mdc-data-table__header-row">
|
1576
|
+
<th
|
1577
|
+
class="mdc-data-table__header-cell mdc-data-table__header-cell--checkbox"
|
1578
|
+
role="columnheader"
|
1579
|
+
scope="col"
|
1580
|
+
>
|
1581
|
+
<div
|
1582
|
+
class="mdc-checkbox mdc-checkbox--selected mdc-data-table__header-row-checkbox"
|
1583
|
+
>
|
1584
|
+
<input
|
1585
|
+
type="checkbox"
|
1586
|
+
class="mdc-checkbox__native-control"
|
1587
|
+
aria-label="Toggle all rows"
|
1588
|
+
/>
|
1589
|
+
<div class="mdc-checkbox__background">
|
1590
|
+
<svg
|
1591
|
+
class="mdc-checkbox__checkmark"
|
1592
|
+
viewbox="0 0 24 24"
|
1593
|
+
>
|
1594
|
+
<path
|
1595
|
+
class="mdc-checkbox__checkmark-path"
|
1596
|
+
fill="none"
|
1597
|
+
d="M1.73,12.91 8.1,19.28 22.79,4.59"
|
1598
|
+
/>
|
1599
|
+
</svg>
|
1600
|
+
<div class="mdc-checkbox__mixedmark"></div>
|
1601
|
+
</div>
|
1602
|
+
</div>
|
1603
|
+
</th>
|
1604
|
+
<th
|
1605
|
+
class="mdc-data-table__header-cell"
|
1606
|
+
role="columnheader"
|
1607
|
+
scope="col"
|
1608
|
+
>
|
1609
|
+
Dessert
|
1610
|
+
</th>
|
1611
|
+
<th
|
1612
|
+
class="mdc-data-table__header-cell"
|
1613
|
+
role="columnheader"
|
1614
|
+
scope="col"
|
1615
|
+
>
|
1616
|
+
Carbs (g)
|
1617
|
+
</th>
|
1618
|
+
<th
|
1619
|
+
class="mdc-data-table__header-cell"
|
1620
|
+
role="columnheader"
|
1621
|
+
scope="col"
|
1622
|
+
>
|
1623
|
+
Protein (g)
|
1624
|
+
</th>
|
1625
|
+
</tr>
|
1626
|
+
</thead>
|
1627
|
+
<tbody class="mdc-data-table__content">
|
1628
|
+
<tr class="mdc-data-table__row" data-row-id="u0">
|
1629
|
+
<td
|
1630
|
+
class="mdc-data-table__cell mdc-data-table__cell--checkbox"
|
1631
|
+
>
|
1632
|
+
<div class="mdc-checkbox mdc-data-table__row-checkbox">
|
1633
|
+
<input
|
1634
|
+
type="checkbox"
|
1635
|
+
class="mdc-checkbox__native-control"
|
1636
|
+
aria-labelledby="r0"
|
1637
|
+
/>
|
1638
|
+
<div class="mdc-checkbox__background">
|
1639
|
+
<svg
|
1640
|
+
class="mdc-checkbox__checkmark"
|
1641
|
+
viewbox="0 0 24 24"
|
1642
|
+
>
|
1643
|
+
<path
|
1644
|
+
class="mdc-checkbox__checkmark-path"
|
1645
|
+
fill="none"
|
1646
|
+
d="M1.73,12.91 8.1,19.28 22.79,4.59"
|
1647
|
+
/>
|
1648
|
+
</svg>
|
1649
|
+
<div class="mdc-checkbox__mixedmark"></div>
|
1650
|
+
</div>
|
1651
|
+
</div>
|
1652
|
+
</td>
|
1653
|
+
<td class="mdc-data-table__cell" id="r0">Froyo</td>
|
1654
|
+
<td
|
1655
|
+
class="mdc-data-table__cell mdc-data-table__cell--numeric"
|
1656
|
+
>
|
1657
|
+
24
|
1658
|
+
</td>
|
1659
|
+
<td
|
1660
|
+
class="mdc-data-table__cell mdc-data-table__cell--numeric"
|
1661
|
+
>
|
1662
|
+
4.0
|
1663
|
+
</td>
|
1664
|
+
</tr>
|
1665
|
+
<tr
|
1666
|
+
class="mdc-data-table__row mdc-data-table__row--selected"
|
1667
|
+
aria-selected="true"
|
1668
|
+
data-row-id="u1"
|
1669
|
+
>
|
1670
|
+
<td
|
1671
|
+
class="mdc-data-table__cell mdc-data-table__cell--checkbox"
|
1672
|
+
>
|
1673
|
+
<div
|
1674
|
+
class="mdc-checkbox mdc-checkbox--selected mdc-data-table__row-checkbox"
|
1675
|
+
>
|
1676
|
+
<input
|
1677
|
+
type="checkbox"
|
1678
|
+
class="mdc-checkbox__native-control"
|
1679
|
+
checked
|
1680
|
+
aria-labelledby="r1"
|
1681
|
+
/>
|
1682
|
+
<div class="mdc-checkbox__background">
|
1683
|
+
<svg
|
1684
|
+
class="mdc-checkbox__checkmark"
|
1685
|
+
viewbox="0 0 24 24"
|
1686
|
+
>
|
1687
|
+
<path
|
1688
|
+
class="mdc-checkbox__checkmark-path"
|
1689
|
+
fill="none"
|
1690
|
+
d="M1.73,12.91 8.1,19.28 22.79,4.59"
|
1691
|
+
/>
|
1692
|
+
</svg>
|
1693
|
+
<div class="mdc-checkbox__mixedmark"></div>
|
1694
|
+
</div>
|
1695
|
+
</div>
|
1696
|
+
</td>
|
1697
|
+
<td class="mdc-data-table__cell" id="r1">Eclair</td>
|
1698
|
+
<td
|
1699
|
+
class="mdc-data-table__cell mdc-data-table__cell--numeric"
|
1700
|
+
>
|
1701
|
+
37
|
1702
|
+
</td>
|
1703
|
+
<td
|
1704
|
+
class="mdc-data-table__cell mdc-data-table__cell--numeric"
|
1705
|
+
>
|
1706
|
+
4.3
|
1707
|
+
</td>
|
1708
|
+
</tr>
|
1709
|
+
</tbody>
|
1710
|
+
</table>
|
1711
|
+
</div>
|
1712
|
+
</div>
|
1713
|
+
</section>
|
1714
|
+
</div>
|
1715
|
+
<div class="column column-2">
|
1716
|
+
<!-- FAB -->
|
1717
|
+
<section class="component-section">
|
1718
|
+
<div class="section-header">
|
1719
|
+
<a
|
1720
|
+
href="https://material.io/design/components/buttons-floating-action-button.html"
|
1721
|
+
class="mdc-typography--button"
|
1722
|
+
target="_blank"
|
1723
|
+
>
|
1724
|
+
FAB
|
1725
|
+
<i class="material-icons">open_in_new</i>
|
1726
|
+
</a>
|
1727
|
+
</div>
|
1728
|
+
<div class="component-wrapper fab-component-wrapper">
|
1729
|
+
<button class="mdc-fab mdc-fab--extended">
|
1730
|
+
<span class="material-icons mdc-fab__icon">edit</span>
|
1731
|
+
<span class="mdc-fab__ripple"></span>
|
1732
|
+
<span class="mdc-fab__label">Button</span>
|
1733
|
+
</button>
|
1734
|
+
<button class="mdc-fab" aria-label="Favorite">
|
1735
|
+
<span class="mdc-fab__ripple"></span>
|
1736
|
+
<span class="mdc-fab__icon material-icons">favorite</span>
|
1737
|
+
</button>
|
1738
|
+
<button class="mdc-fab mdc-fab--mini" aria-label="Add">
|
1739
|
+
<span class="mdc-fab__ripple"></span>
|
1740
|
+
<span class="mdc-fab__icon material-icons">add</span>
|
1741
|
+
</button>
|
1742
|
+
</div>
|
1743
|
+
</section>
|
1744
|
+
|
1745
|
+
<!-- Card -->
|
1746
|
+
<section class="component-section">
|
1747
|
+
<div class="section-header">
|
1748
|
+
<a
|
1749
|
+
href="https://material.io/design/components/cards.html"
|
1750
|
+
class="mdc-typography--button"
|
1751
|
+
target="_blank"
|
1752
|
+
>
|
1753
|
+
Card
|
1754
|
+
<i class="material-icons">open_in_new</i>
|
1755
|
+
</a>
|
1756
|
+
</div>
|
1757
|
+
<div class="component-wrapper card-component-wrapper">
|
1758
|
+
<div class="mdc-card demo-card">
|
1759
|
+
<div class="mdc-card__primary-action" tabindex="0">
|
1760
|
+
<div
|
1761
|
+
class="mdc-card__media mdc-card__media--16-9 demo-card__media"
|
1762
|
+
style="
|
1763
|
+
background-image: url('https://cdn.glitch.com/9c389208-b279-4e96-bcbc-e5f8712d8706%2Fplaceholder-landscape-short.png?1553629848209');
|
1764
|
+
"
|
1765
|
+
></div>
|
1766
|
+
<div class="demo-card__primary">
|
1767
|
+
<h3
|
1768
|
+
class="demo-card__subtitle mdc-typography mdc-typography--overline"
|
1769
|
+
>
|
1770
|
+
Overline
|
1771
|
+
</h3>
|
1772
|
+
<h2
|
1773
|
+
class="demo-card__title mdc-typography mdc-typography--headline6"
|
1774
|
+
>
|
1775
|
+
Headline 6
|
1776
|
+
</h2>
|
1777
|
+
</div>
|
1778
|
+
<div
|
1779
|
+
class="demo-card__secondary mdc-typography mdc-typography--body2"
|
1780
|
+
>
|
1781
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed
|
1782
|
+
do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
1783
|
+
</div>
|
1784
|
+
</div>
|
1785
|
+
<div class="mdc-card__actions">
|
1786
|
+
<div class="mdc-card__action-buttons">
|
1787
|
+
<button
|
1788
|
+
class="mdc-button mdc-card__action mdc-card__action--button"
|
1789
|
+
>
|
1790
|
+
<span class="mdc-button__ripple"></span>Button
|
1791
|
+
</button>
|
1792
|
+
<button
|
1793
|
+
class="mdc-button mdc-card__action mdc-card__action--button"
|
1794
|
+
>
|
1795
|
+
<span class="mdc-button__ripple"></span>Button
|
1796
|
+
</button>
|
1797
|
+
</div>
|
1798
|
+
</div>
|
1799
|
+
</div>
|
1800
|
+
</div>
|
1801
|
+
</section>
|
1802
|
+
|
1803
|
+
<!-- Text field -->
|
1804
|
+
<section class="component-section">
|
1805
|
+
<div class="section-header">
|
1806
|
+
<a
|
1807
|
+
href="https://material.io/design/components/text-fields.html"
|
1808
|
+
class="mdc-typography--button"
|
1809
|
+
target="_blank"
|
1810
|
+
>
|
1811
|
+
Text field
|
1812
|
+
<i class="material-icons">open_in_new</i>
|
1813
|
+
</a>
|
1814
|
+
</div>
|
1815
|
+
<div
|
1816
|
+
class="component-wrapper text-field-component-wrapper text-field-component-wrapper-1"
|
1817
|
+
>
|
1818
|
+
<label
|
1819
|
+
class="mdc-text-field mdc-text-field--outlined mdc-text-field--with-trialing-icon"
|
1820
|
+
>
|
1821
|
+
<span class="mdc-notched-outline">
|
1822
|
+
<span class="mdc-notched-outline__leading"></span>
|
1823
|
+
<span class="mdc-notched-outline__notch">
|
1824
|
+
<span class="mdc-floating-label" id="my-label-id"
|
1825
|
+
>Your Name</span
|
1826
|
+
>
|
1827
|
+
</span>
|
1828
|
+
<span class="mdc-notched-outline__trailing"></span>
|
1829
|
+
</span>
|
1830
|
+
<input
|
1831
|
+
type="text"
|
1832
|
+
class="mdc-text-field__input"
|
1833
|
+
aria-labelledby="my-label-id"
|
1834
|
+
/>
|
1835
|
+
<i
|
1836
|
+
class="material-icons mdc-text-field__icon mdc-text-field__icon--trailing"
|
1837
|
+
>visibility</i
|
1838
|
+
>
|
1839
|
+
</label>
|
1840
|
+
<div class="mdc-text-field-helper-line">
|
1841
|
+
<div
|
1842
|
+
class="mdc-text-field-helper-text mdc-text-field-helper-text--persistent"
|
1843
|
+
>
|
1844
|
+
Assistive text
|
1845
|
+
</div>
|
1846
|
+
</div>
|
1847
|
+
</div>
|
1848
|
+
<div
|
1849
|
+
class="component-wrapper text-field-component-wrapper text-field-component-wrapper-2"
|
1850
|
+
>
|
1851
|
+
<label
|
1852
|
+
class="mdc-text-field mdc-text-field--filled mdc-text-field--with-leading-icon"
|
1853
|
+
>
|
1854
|
+
<span class="mdc-text-field__ripple"></span>
|
1855
|
+
<span class="mdc-floating-label" id="my-label-id">Hint text</span>
|
1856
|
+
<i
|
1857
|
+
class="material-icons mdc-text-field__icon mdc-text-field__icon--leading"
|
1858
|
+
>visibility</i
|
1859
|
+
>
|
1860
|
+
<input
|
1861
|
+
class="mdc-text-field__input"
|
1862
|
+
type="text"
|
1863
|
+
aria-labelledby="my-label-id"
|
1864
|
+
/>
|
1865
|
+
<span class="mdc-line-ripple"></span>
|
1866
|
+
</label>
|
1867
|
+
<div class="mdc-text-field-helper-line">
|
1868
|
+
<div
|
1869
|
+
class="mdc-text-field-helper-text mdc-text-field-helper-text--persistent"
|
1870
|
+
>
|
1871
|
+
Assistive text
|
1872
|
+
</div>
|
1873
|
+
</div>
|
1874
|
+
</div>
|
1875
|
+
</section>
|
1876
|
+
|
1877
|
+
<!-- Tabs -->
|
1878
|
+
<section class="component-section tabs-section">
|
1879
|
+
<div class="section-header">
|
1880
|
+
<a
|
1881
|
+
href="https://material.io/design/components/tabs.html"
|
1882
|
+
class="mdc-typography--button"
|
1883
|
+
target="_blank"
|
1884
|
+
>
|
1885
|
+
Tabs
|
1886
|
+
<i class="material-icons">open_in_new</i>
|
1887
|
+
</a>
|
1888
|
+
</div>
|
1889
|
+
<div class="component-wrapper">
|
1890
|
+
<div class="mdc-tab-bar" role="tablist">
|
1891
|
+
<div class="mdc-tab-scroller">
|
1892
|
+
<div class="mdc-tab-scroller__scroll-area">
|
1893
|
+
<div class="mdc-tab-scroller__scroll-content">
|
1894
|
+
<button
|
1895
|
+
class="mdc-tab mdc-tab--active"
|
1896
|
+
role="tab"
|
1897
|
+
aria-selected="true"
|
1898
|
+
tabindex="0"
|
1899
|
+
>
|
1900
|
+
<span class="mdc-tab__content">
|
1901
|
+
<span class="mdc-tab__text-label">Button</span>
|
1902
|
+
</span>
|
1903
|
+
<span class="mdc-tab-indicator mdc-tab-indicator--active">
|
1904
|
+
<span
|
1905
|
+
class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"
|
1906
|
+
></span>
|
1907
|
+
</span>
|
1908
|
+
<span class="mdc-tab__ripple"></span>
|
1909
|
+
</button>
|
1910
|
+
<button
|
1911
|
+
class="mdc-tab"
|
1912
|
+
role="tab"
|
1913
|
+
aria-selected="true"
|
1914
|
+
tabindex="0"
|
1915
|
+
>
|
1916
|
+
<span class="mdc-tab__content">
|
1917
|
+
<span class="mdc-tab__text-label">Button</span>
|
1918
|
+
</span>
|
1919
|
+
<span class="mdc-tab-indicator">
|
1920
|
+
<span
|
1921
|
+
class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"
|
1922
|
+
></span>
|
1923
|
+
</span>
|
1924
|
+
<span class="mdc-tab__ripple"></span>
|
1925
|
+
</button>
|
1926
|
+
<button
|
1927
|
+
class="mdc-tab"
|
1928
|
+
role="tab"
|
1929
|
+
aria-selected="true"
|
1930
|
+
tabindex="0"
|
1931
|
+
>
|
1932
|
+
<span class="mdc-tab__content">
|
1933
|
+
<span class="mdc-tab__text-label">Button</span>
|
1934
|
+
</span>
|
1935
|
+
<span class="mdc-tab-indicator">
|
1936
|
+
<span
|
1937
|
+
class="mdc-tab-indicator__content mdc-tab-indicator__content--underline"
|
1938
|
+
></span>
|
1939
|
+
</span>
|
1940
|
+
<span class="mdc-tab__ripple"></span>
|
1941
|
+
</button>
|
1942
|
+
</div>
|
1943
|
+
</div>
|
1944
|
+
</div>
|
1945
|
+
</div>
|
1946
|
+
</div>
|
1947
|
+
</section>
|
1948
|
+
|
1949
|
+
<!-- Slider -->
|
1950
|
+
<section class="component-section">
|
1951
|
+
<div class="section-header">
|
1952
|
+
<a
|
1953
|
+
href="https://material.io/design/components/sliders.html"
|
1954
|
+
class="mdc-typography--button"
|
1955
|
+
target="_blank"
|
1956
|
+
>
|
1957
|
+
Slider
|
1958
|
+
<i class="material-icons">open_in_new</i>
|
1959
|
+
</a>
|
1960
|
+
</div>
|
1961
|
+
<div class="component-wrapper">
|
1962
|
+
<div class="mdc-slider">
|
1963
|
+
<input
|
1964
|
+
class="mdc-slider__input"
|
1965
|
+
type="range"
|
1966
|
+
min="0"
|
1967
|
+
max="100"
|
1968
|
+
value="50"
|
1969
|
+
name="volume"
|
1970
|
+
aria-label="Continuous slider demo"
|
1971
|
+
/>
|
1972
|
+
<div class="mdc-slider__track">
|
1973
|
+
<div class="mdc-slider__track--inactive"></div>
|
1974
|
+
<div class="mdc-slider__track--active">
|
1975
|
+
<div class="mdc-slider__track--active_fill"></div>
|
1976
|
+
</div>
|
1977
|
+
</div>
|
1978
|
+
<div class="mdc-slider__thumb">
|
1979
|
+
<div class="mdc-slider__thumb-knob"></div>
|
1980
|
+
</div>
|
1981
|
+
</div>
|
1982
|
+
</div>
|
1983
|
+
</section>
|
1984
|
+
|
1985
|
+
<!-- Snackbar -->
|
1986
|
+
<section class="component-section snackbar-section">
|
1987
|
+
<div class="section-header">
|
1988
|
+
<a
|
1989
|
+
href="https://material.io/design/components/snackbars.html"
|
1990
|
+
class="mdc-typography--button"
|
1991
|
+
target="_blank"
|
1992
|
+
>
|
1993
|
+
Snackbar
|
1994
|
+
<i class="material-icons">open_in_new</i>
|
1995
|
+
</a>
|
1996
|
+
</div>
|
1997
|
+
<div class="component-wrapper">
|
1998
|
+
<div class="mdc-snackbar mdc-snackbar--open">
|
1999
|
+
<div class="mdc-snackbar__surface">
|
2000
|
+
<div
|
2001
|
+
class="mdc-snackbar__label"
|
2002
|
+
role="status"
|
2003
|
+
aria-live="polite"
|
2004
|
+
>
|
2005
|
+
Marked as favorite.
|
2006
|
+
</div>
|
2007
|
+
</div>
|
2008
|
+
</div>
|
2009
|
+
</div>
|
2010
|
+
</section>
|
2011
|
+
|
2012
|
+
<!-- Dialog -->
|
2013
|
+
<section class="component-section dialog-component-section">
|
2014
|
+
<div class="section-header">
|
2015
|
+
<a
|
2016
|
+
href="https://material.io/design/components/dialogs.html"
|
2017
|
+
class="mdc-typography--button"
|
2018
|
+
target="_blank"
|
2019
|
+
>
|
2020
|
+
Dialog
|
2021
|
+
<i class="material-icons">open_in_new</i>
|
2022
|
+
</a>
|
2023
|
+
</div>
|
2024
|
+
<div class="component-wrapper dialog-component-wrapper">
|
2025
|
+
<div
|
2026
|
+
class="mdc-dialog mdc-dialog--open"
|
2027
|
+
role="alertdialog"
|
2028
|
+
aria-modal="true"
|
2029
|
+
aria-labelledby="my-dialog-title"
|
2030
|
+
aria-describedby="my-dialog-content"
|
2031
|
+
>
|
2032
|
+
<div class="mdc-dialog__container">
|
2033
|
+
<div class="mdc-dialog__surface">
|
2034
|
+
<!-- Title cannot contain leading whitespace due to mdc-typography-baseline-top() -->
|
2035
|
+
<h2 class="mdc-dialog__title" id="my-dialog-title">
|
2036
|
+
Headline 6
|
2037
|
+
</h2>
|
2038
|
+
<div class="mdc-dialog__content" id="my-dialog-content">
|
2039
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed
|
2040
|
+
do eiusmod tempor incididunt ut labore et dolore magna
|
2041
|
+
aliqua.
|
2042
|
+
</div>
|
2043
|
+
<footer class="mdc-dialog__actions">
|
2044
|
+
<button
|
2045
|
+
type="button"
|
2046
|
+
class="mdc-button mdc-dialog__button"
|
2047
|
+
data-mdc-dialog-action="no"
|
2048
|
+
>
|
2049
|
+
<span class="mdc-button__ripple"></span>
|
2050
|
+
<span class="mdc-button__label">Button</span>
|
2051
|
+
</button>
|
2052
|
+
<button
|
2053
|
+
type="button"
|
2054
|
+
class="mdc-button mdc-dialog__button"
|
2055
|
+
data-mdc-dialog-action="yes"
|
2056
|
+
>
|
2057
|
+
<span class="mdc-button__ripple"></span>
|
2058
|
+
<span class="mdc-button__label">Button</span>
|
2059
|
+
</button>
|
2060
|
+
</footer>
|
2061
|
+
</div>
|
2062
|
+
</div>
|
2063
|
+
<!-- Note scrim element has been removed for this stickersheet -->
|
2064
|
+
<!-- <div class="mdc-dialog__scrim"></div> -->
|
2065
|
+
</div>
|
2066
|
+
</div>
|
2067
|
+
</section>
|
2068
|
+
|
2069
|
+
<!-- Image List -->
|
2070
|
+
<section class="component-section image-list-section">
|
2071
|
+
<div class="section-header">
|
2072
|
+
<a
|
2073
|
+
href="https://material.io/design/components/image-lists.html"
|
2074
|
+
class="mdc-typography--button"
|
2075
|
+
target="_blank"
|
2076
|
+
>
|
2077
|
+
Image List
|
2078
|
+
<i class="material-icons">open_in_new</i>
|
2079
|
+
</a>
|
2080
|
+
</div>
|
2081
|
+
<div class="component-wrapper">
|
2082
|
+
<ul class="mdc-image-list mdc-image-list--masonry">
|
2083
|
+
<li class="mdc-image-list__item">
|
2084
|
+
<img
|
2085
|
+
class="mdc-image-list__image"
|
2086
|
+
src="https://cdn.glitch.com/9c389208-b279-4e96-bcbc-e5f8712d8706%2Fplaceholder-portrait.png?1553629847850"
|
2087
|
+
/>
|
2088
|
+
</li>
|
2089
|
+
<li class="mdc-image-list__item">
|
2090
|
+
<img
|
2091
|
+
class="mdc-image-list__image"
|
2092
|
+
src="https://cdn.glitch.com/9c389208-b279-4e96-bcbc-e5f8712d8706%2Fplaceholder-landscape-short.png?1553629848209"
|
2093
|
+
/>
|
2094
|
+
</li>
|
2095
|
+
<li class="mdc-image-list__item">
|
2096
|
+
<img
|
2097
|
+
class="mdc-image-list__image"
|
2098
|
+
src="https://cdn.glitch.com/9c389208-b279-4e96-bcbc-e5f8712d8706%2Fplaceholder-landscape-med.png?1553629847913"
|
2099
|
+
/>
|
2100
|
+
</li>
|
2101
|
+
<li class="mdc-image-list__item">
|
2102
|
+
<img
|
2103
|
+
class="mdc-image-list__image"
|
2104
|
+
src="https://cdn.glitch.com/9c389208-b279-4e96-bcbc-e5f8712d8706%2Fplaceholder-landscape-short.png?1553629848209"
|
2105
|
+
/>
|
2106
|
+
</li>
|
2107
|
+
<li class="mdc-image-list__item">
|
2108
|
+
<img
|
2109
|
+
class="mdc-image-list__image"
|
2110
|
+
src="https://cdn.glitch.com/9c389208-b279-4e96-bcbc-e5f8712d8706%2Fplaceholder-portrait.png?1553629847850"
|
2111
|
+
/>
|
2112
|
+
</li>
|
2113
|
+
<li class="mdc-image-list__item">
|
2114
|
+
<img
|
2115
|
+
class="mdc-image-list__image"
|
2116
|
+
src="https://cdn.glitch.com/9c389208-b279-4e96-bcbc-e5f8712d8706%2Fplaceholder-landscape-short.png?1553629848209"
|
2117
|
+
/>
|
2118
|
+
</li>
|
2119
|
+
</ul>
|
2120
|
+
</div>
|
2121
|
+
</section>
|
2122
|
+
</div>
|
2123
|
+
</main>
|
2124
|
+
</div>
|
2125
|
+
</div>
|