material 0.4.3 → 0.5.1
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/dist/tracks.svg +10 -0
- package/package.json +4 -4
- package/src/appbar.js +1 -2
- package/src/control/button.js +127 -44
- package/src/control/button.new.js +190 -0
- package/src/control/dialog.js +174 -0
- package/src/control/{upload.js → file.js} +33 -8
- package/src/control/link.js +61 -0
- package/src/control/list.js +77 -0
- package/src/control/loading.js +128 -0
- package/src/control/module/addclass.js +16 -0
- package/src/control/module/attributes.js +3 -1
- package/src/control/search.js +98 -0
- package/src/control/select.js +80 -22
- package/src/control/selecter.js +246 -0
- package/src/control/switch.js +272 -0
- package/src/control/switcher.js +245 -0
- package/src/control/text.js +18 -3
- package/src/control/textfield.js +89 -15
- package/src/field/image.js +9 -3
- package/src/form/build.js +28 -4
- package/src/form/cancel.js +7 -3
- package/src/form/controller.js +90 -0
- package/src/form/create.js +11 -7
- package/src/form/data.js +82 -0
- package/src/form/delete.js +2 -1
- package/src/form/fetch.js +5 -3
- package/src/form/render.js +11 -9
- package/src/form/set.js +27 -12
- package/src/form/submit.js +11 -37
- package/src/form/update.js +35 -16
- package/src/layout.js +25 -21
- package/src/list/add.js +34 -0
- package/src/list/build.js +96 -12
- package/src/list/click.js +10 -5
- package/src/list/collection.js +187 -0
- package/src/list/create.js +21 -11
- package/src/list/display.js +78 -0
- package/src/list/empty.js +4 -1
- package/src/list/filter.js +114 -0
- package/src/list/load.js +2 -2
- package/src/list/remove.js +17 -4
- package/src/list/render.js +32 -9
- package/src/list/request.js +182 -0
- package/src/list/search.js +118 -35
- package/src/list/select.js +151 -30
- package/src/list/status.js +10 -3
- package/src/list/update.js +49 -8
- package/src/list/virtual.js +195 -127
- package/src/map/build.js +103 -0
- package/src/map/countries.js +114 -0
- package/src/map/display.js +135 -0
- package/src/map/focus.js +39 -0
- package/src/map/init.js +24 -0
- package/src/map/label.js +0 -0
- package/src/map/mode.js +44 -0
- package/src/map/mouse.js +65 -0
- package/src/map/select.js +68 -0
- package/src/map/set.js +71 -0
- package/src/map/viewport.js +46 -0
- package/src/map.js +71 -0
- package/src/module/attach.js +9 -2
- package/src/module/mediator.js +56 -0
- package/src/module/object.js +17 -1
- package/src/module/observer.js +1 -1
- package/src/module/passive.js +17 -0
- package/src/module/remove.js +74 -0
- package/src/module/scrollbar.js +48 -0
- package/src/module/smoothscroll.js +20 -0
- package/src/module/viewport.js +20 -0
- package/src/selector.js +239 -0
- package/src/skin/material/base/body.sass +3 -0
- package/src/skin/material/button/file.sass +1 -1
- package/src/skin/material/container/container.sass +1 -1
- package/src/skin/material/container/dialog.sass +57 -1
- package/src/skin/material/container/drawer.sass +3 -3
- package/src/skin/material/control/button.sass +125 -0
- package/src/skin/material/control/dialog.sass +0 -0
- package/src/skin/material/control/progress.sass +136 -0
- package/src/skin/material/control/search.sass +40 -0
- package/src/skin/material/control/selecter.sass +131 -0
- package/src/skin/material/control/selector.sass +38 -0
- package/src/skin/material/control/slider.sass +2 -2
- package/src/skin/material/control/switch.sass +146 -3
- package/src/skin/material/control/switcher.sass +41 -0
- package/src/skin/material/control/textfield.sass +2 -1
- package/src/skin/material/icon/cancel.svg +1 -0
- package/src/skin/material/material.sass +3 -0
- package/src/skin/material/view/list.sass +81 -188
- package/src/skin/material/view/listview.sass +187 -96
- package/src/skin/material/view/tabview.sass +6 -4
- package/src/skin/material.bak/base/body.sass +52 -0
- package/src/skin/material.bak/base/elevation.sass +50 -0
- package/src/skin/material.bak/base/grid.sass +63 -0
- package/src/skin/material.bak/base/typo.sass +107 -0
- package/src/skin/material.bak/button/action.sass +89 -0
- package/src/skin/material.bak/button/button.sass +183 -0
- package/src/skin/material.bak/button/file.sass +24 -0
- package/src/skin/material.bak/button/floating.sass +113 -0
- package/src/skin/material.bak/button/raised.sass +101 -0
- package/src/skin/material.bak/button/stroked.sass +71 -0
- package/src/skin/material.bak/component/component.sass +7 -0
- package/src/skin/material.bak/component/divider.sass +17 -0
- package/src/skin/material.bak/component/image.sass +6 -0
- package/src/skin/material.bak/component/label.sass +2 -0
- package/src/skin/material.bak/component/progress.sass +138 -0
- package/src/skin/material.bak/component/subheader.sass +3 -0
- package/src/skin/material.bak/component/text.sass +85 -0
- package/src/skin/material.bak/container/appbar.sass +167 -0
- package/src/skin/material.bak/container/banner.sass +38 -0
- package/src/skin/material.bak/container/card.sass +18 -0
- package/src/skin/material.bak/container/container.sass +1 -0
- package/src/skin/material.bak/container/dialog.sass +184 -0
- package/src/skin/material.bak/container/drawer.sass +159 -0
- package/src/skin/material.bak/container/drawernew.sass +159 -0
- package/src/skin/material.bak/container/menu.sass +58 -0
- package/src/skin/material.bak/container/snackbar.sass +18 -0
- package/src/skin/material.bak/container/tabs.sass +75 -0
- package/src/skin/material.bak/container/toolbar.sass +161 -0
- package/src/skin/material.bak/control/button.sass +125 -0
- package/src/skin/material.bak/control/checkbox.sass +105 -0
- package/src/skin/material.bak/control/dialog.sass +0 -0
- package/src/skin/material.bak/control/search.sass +40 -0
- package/src/skin/material.bak/control/selecter.sass +128 -0
- package/src/skin/material.bak/control/slider.sass +181 -0
- package/src/skin/material.bak/control/switch.sass +284 -0
- package/src/skin/material.bak/control/switcher.sass +35 -0
- package/src/skin/material.bak/control/textfield.sass +126 -0
- package/src/skin/material.bak/control/tooltip.sass +36 -0
- package/src/skin/material.bak/icon/back.svg +5 -0
- package/src/skin/material.bak/icon/cancel.svg +1 -0
- package/src/skin/material.bak/icon/checkbox.svg +4 -0
- package/src/skin/material.bak/icon/forward.svg +5 -0
- package/src/skin/material.bak/icon/menu.svg +4 -0
- package/src/skin/material.bak/icon/pin.svg +4 -0
- package/src/skin/material.bak/layout/layout.sass +69 -0
- package/src/skin/material.bak/layout/resizer.sass +69 -0
- package/src/skin/material.bak/material.css +2042 -0
- package/src/skin/material.bak/material.css.map +7 -0
- package/src/skin/material.bak/material.sass +65 -0
- package/src/skin/material.bak/module/ripple.sass +9 -0
- package/src/skin/material.bak/theme/default.sass +50 -0
- package/src/skin/material.bak/theme/ocean.sass +29 -0
- package/src/skin/material.bak/theme/theme.sass +3 -0
- package/src/skin/material.bak/view/calendar.sass +193 -0
- package/src/skin/material.bak/view/form.sass +15 -0
- package/src/skin/material.bak/view/grid.sass +116 -0
- package/src/skin/material.bak/view/list.sass +89 -0
- package/src/skin/material.bak/view/listview.sass +195 -0
- package/src/skin/material.bak/view/map.sass +6 -0
- package/src/skin/material.bak/view/page.sass +4 -0
- package/src/skin/material.bak/view/tabview-bak.sass +40 -0
- package/src/skin/material.bak/view/tabview.sass +55 -0
- package/src/skin/material.bak/view/tree.sass +73 -0
- package/src/skin/material.bak/view/view.sass +7 -0
- package/src/switch.js +1 -1
- package/src/tabs/setup.js +0 -0
- package/src/tabview.js +64 -14
- package/src/tooltip.js +23 -5
- package/src/view/build.js +13 -1
- package/src/view/display.js +63 -2
- package/src/form/clean.js +0 -6
- package/src/form/controls.js +0 -56
- package/src/form/mode.js +0 -8
- package/src/form/setup.js +0 -5
- package/src/list/fetch.js +0 -66
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
|
|
2
|
+
// type raised
|
|
3
|
+
.material-button.type-raised
|
|
4
|
+
min-width: 36px
|
|
5
|
+
transition: box-shadow .2s
|
|
6
|
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12)
|
|
7
|
+
.material-ripple
|
|
8
|
+
opacity: .1
|
|
9
|
+
background-color: rgba(0, 0, 0, 1)
|
|
10
|
+
|
|
11
|
+
// states
|
|
12
|
+
.material-button.type-raised
|
|
13
|
+
background-color: rgba(0, 0, 0, 0.05)
|
|
14
|
+
&:focus
|
|
15
|
+
background-color: rgba(0, 0, 0, 0.15)
|
|
16
|
+
&:hover
|
|
17
|
+
background-color: rgba(0, 0, 0, 0.15)
|
|
18
|
+
&:hover
|
|
19
|
+
background-color: rgba(0, 0, 0, 0.1)
|
|
20
|
+
&:active
|
|
21
|
+
box-shadow: 0px 4px 4px -3px rgba(0, 0, 0, 0.2), 0px 6px 8px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)
|
|
22
|
+
|
|
23
|
+
// color
|
|
24
|
+
.material-button.type-raised
|
|
25
|
+
&.primary-color
|
|
26
|
+
background-color: $primary-color
|
|
27
|
+
color: $primary-color-text
|
|
28
|
+
.button-icon
|
|
29
|
+
svg
|
|
30
|
+
fill: $primary-color-text
|
|
31
|
+
.material-ripple
|
|
32
|
+
opacity: .3
|
|
33
|
+
background-color: $default-color-dark
|
|
34
|
+
|
|
35
|
+
&:focus
|
|
36
|
+
background-color: lighten($primary-color, 15%)
|
|
37
|
+
&:hover
|
|
38
|
+
background-color: lighten($primary-color, 15%)
|
|
39
|
+
&:hover
|
|
40
|
+
background-color: lighten($primary-color, 7%)
|
|
41
|
+
|
|
42
|
+
&.secondary-color
|
|
43
|
+
background-color: $secondary-color
|
|
44
|
+
color: $secondary-color-text
|
|
45
|
+
.button-icon
|
|
46
|
+
svg
|
|
47
|
+
fill: $secondary-color-text
|
|
48
|
+
.material-ripple
|
|
49
|
+
opacity: .3
|
|
50
|
+
background-color: $default-color-dark
|
|
51
|
+
&:focus
|
|
52
|
+
background-color: lighten($secondary-color, 10%)
|
|
53
|
+
&:hover
|
|
54
|
+
background-color: lighten($secondary-color, 10%)
|
|
55
|
+
&:hover
|
|
56
|
+
background-color: lighten($secondary-color, 5%)
|
|
57
|
+
|
|
58
|
+
// theme
|
|
59
|
+
.dark-mode .material-button.type-raised,
|
|
60
|
+
.material-button.type-raised.dark-mode
|
|
61
|
+
.material-ripple
|
|
62
|
+
opacity: .1
|
|
63
|
+
background-color: rgba(255, 255, 255, 1)
|
|
64
|
+
background-color: rgba(255, 255, 255, 0.1)
|
|
65
|
+
&:focus
|
|
66
|
+
background-color: rgba(255, 255, 255, 0.2)
|
|
67
|
+
&:hover
|
|
68
|
+
background-color: rgba(255, 255, 255, 0.2)
|
|
69
|
+
&:hover
|
|
70
|
+
background-color: rgba(255, 255, 255, 0.15)
|
|
71
|
+
//background-color: rgba(255, 255, 255, 0.95)
|
|
72
|
+
color: $primary-color-text-dark
|
|
73
|
+
.button-icon
|
|
74
|
+
svg
|
|
75
|
+
fill: $primary-color-text-dark
|
|
76
|
+
&.primary-color
|
|
77
|
+
background-color: $primary-color-dark
|
|
78
|
+
color: $primary-color-text-dark
|
|
79
|
+
.button-icon
|
|
80
|
+
svg
|
|
81
|
+
fill: $primary-color-text-dark
|
|
82
|
+
&:focus
|
|
83
|
+
background-color: lighten($primary-color, 15%)
|
|
84
|
+
&:hover
|
|
85
|
+
background-color: lighten($primary-color, 15%)
|
|
86
|
+
&:hover
|
|
87
|
+
background-color: lighten($primary-color, 7%)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
&.secondary-color
|
|
91
|
+
background-color: $secondary-color-dark
|
|
92
|
+
color: $secondary-color-text-dark
|
|
93
|
+
.button-icon
|
|
94
|
+
svg
|
|
95
|
+
fill: $secondary-color-text-dark
|
|
96
|
+
&:focus
|
|
97
|
+
background-color: lighten($secondary-color, 10%)
|
|
98
|
+
&:hover
|
|
99
|
+
background-color: lighten($secondary-color, 10%)
|
|
100
|
+
&:hover
|
|
101
|
+
background-color: lighten($secondary-color, 5%)
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
|
|
2
|
+
// type stroked
|
|
3
|
+
.material-button.type-stroked
|
|
4
|
+
min-width: 36px
|
|
5
|
+
transition: box-shadow .2s
|
|
6
|
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12)
|
|
7
|
+
.material-ripple
|
|
8
|
+
background-color: rgba(255, 255, 255, .3)
|
|
9
|
+
|
|
10
|
+
// states
|
|
11
|
+
.material-button.type-stroked
|
|
12
|
+
&:hover
|
|
13
|
+
//background-color: #E0E0E0;
|
|
14
|
+
&:focus
|
|
15
|
+
background-color: darken(rgba(255, 255, 255, 0.95), 5%)
|
|
16
|
+
&:active
|
|
17
|
+
background-color: transparent
|
|
18
|
+
&:active
|
|
19
|
+
box-shadow: 0px 4px 4px -3px rgba(0, 0, 0, 0.2), 0px 6px 8px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)
|
|
20
|
+
|
|
21
|
+
// color
|
|
22
|
+
.material-button.type-stroked
|
|
23
|
+
&.primary-color
|
|
24
|
+
background-color: $primary-color
|
|
25
|
+
color: $primary-color-text
|
|
26
|
+
.button-icon
|
|
27
|
+
svg
|
|
28
|
+
fill: $primary-color-text
|
|
29
|
+
&:focus
|
|
30
|
+
background-color: lighten($primary-color, 10%)
|
|
31
|
+
color: $primary-color-text
|
|
32
|
+
&:active
|
|
33
|
+
background-color: $primary-color
|
|
34
|
+
|
|
35
|
+
&.secondary-color
|
|
36
|
+
background-color: $secondary-color
|
|
37
|
+
color: $secondary-color-text
|
|
38
|
+
.button-icon
|
|
39
|
+
svg
|
|
40
|
+
fill: $secondary-color-text
|
|
41
|
+
|
|
42
|
+
&:focus
|
|
43
|
+
background-color: lighten($secondary-color, 5%)
|
|
44
|
+
color: $secondary-color-text
|
|
45
|
+
&:active
|
|
46
|
+
background-color: $secondary-color
|
|
47
|
+
|
|
48
|
+
// theme
|
|
49
|
+
.dark-mode .material-button.type-stroked,
|
|
50
|
+
.material-button.type-stroked.dark-mode
|
|
51
|
+
|
|
52
|
+
//background-color: rgba(255, 255, 255, 0.95)
|
|
53
|
+
color: $primary-color-text-dark
|
|
54
|
+
.button-icon
|
|
55
|
+
svg
|
|
56
|
+
fill: $primary-color-text-dark
|
|
57
|
+
|
|
58
|
+
&.primary-color
|
|
59
|
+
background-color: $primary-color-dark
|
|
60
|
+
color: $primary-color-text-dark
|
|
61
|
+
.button-icon
|
|
62
|
+
svg
|
|
63
|
+
fill: $primary-color-text-dark
|
|
64
|
+
|
|
65
|
+
&.secondary-color
|
|
66
|
+
background-color: $secondary-color-dark
|
|
67
|
+
color: $secondary-color-text-dark
|
|
68
|
+
.button-icon
|
|
69
|
+
svg
|
|
70
|
+
fill: $secondary-color-text-dark
|
|
71
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.material-divider
|
|
2
|
+
display: block
|
|
3
|
+
font-size: .8em
|
|
4
|
+
text-transform: uppercase
|
|
5
|
+
padding: 8px 0
|
|
6
|
+
margin: 0
|
|
7
|
+
&.divider-horizontal
|
|
8
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1)
|
|
9
|
+
&.divider-vertical
|
|
10
|
+
border-right: 1px solid rgba(0, 0, 0, 0.1)
|
|
11
|
+
//background-color: rgba(0, 0, 0, 0.1);
|
|
12
|
+
&.divider-space
|
|
13
|
+
display: block
|
|
14
|
+
padding: 0
|
|
15
|
+
margin: 0
|
|
16
|
+
height: 16px
|
|
17
|
+
border-bottom: none
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
// Here is where the magic happens
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.material-progress
|
|
5
|
+
width: 100%
|
|
6
|
+
height: 4px
|
|
7
|
+
background-color: lighten($primary-color, 30%)
|
|
8
|
+
.bar
|
|
9
|
+
width: 0%
|
|
10
|
+
height: 100%
|
|
11
|
+
background-color: $primary-color
|
|
12
|
+
transition: width 3s
|
|
13
|
+
|
|
14
|
+
.material-progress.type-indeterminate
|
|
15
|
+
position: relative
|
|
16
|
+
height: 4px
|
|
17
|
+
display: block
|
|
18
|
+
width: 100%
|
|
19
|
+
background-color: lighten($primary-color, 30%)
|
|
20
|
+
overflow: hidden
|
|
21
|
+
.determinate
|
|
22
|
+
position: absolute
|
|
23
|
+
background-color: inherit
|
|
24
|
+
top: 0
|
|
25
|
+
bottom: 0
|
|
26
|
+
background-color: $primary-color
|
|
27
|
+
transition: width .3s linear
|
|
28
|
+
.bar
|
|
29
|
+
background-color: $primary-color
|
|
30
|
+
&:before
|
|
31
|
+
content: ''
|
|
32
|
+
position: absolute
|
|
33
|
+
background-color: inherit
|
|
34
|
+
top: 0
|
|
35
|
+
left: 0
|
|
36
|
+
bottom: 0
|
|
37
|
+
will-change: left, right
|
|
38
|
+
-webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite
|
|
39
|
+
animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite
|
|
40
|
+
&:after
|
|
41
|
+
content: ''
|
|
42
|
+
position: absolute
|
|
43
|
+
background-color: inherit
|
|
44
|
+
top: 0
|
|
45
|
+
left: 0
|
|
46
|
+
bottom: 0
|
|
47
|
+
will-change: left, right
|
|
48
|
+
-webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite
|
|
49
|
+
animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite
|
|
50
|
+
-webkit-animation-delay: 1.15s
|
|
51
|
+
animation-delay: 1.15s
|
|
52
|
+
|
|
53
|
+
@-webkit-keyframes indeterminate
|
|
54
|
+
0%
|
|
55
|
+
left: -35%
|
|
56
|
+
right: 100%
|
|
57
|
+
|
|
58
|
+
60%
|
|
59
|
+
left: 100%
|
|
60
|
+
right: -90%
|
|
61
|
+
|
|
62
|
+
100%
|
|
63
|
+
left: 100%
|
|
64
|
+
right: -90%
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
@keyframes indeterminate
|
|
68
|
+
0%
|
|
69
|
+
left: -35%
|
|
70
|
+
right: 100%
|
|
71
|
+
|
|
72
|
+
60%
|
|
73
|
+
left: 100%
|
|
74
|
+
right: -90%
|
|
75
|
+
|
|
76
|
+
100%
|
|
77
|
+
left: 100%
|
|
78
|
+
right: -90%
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
@-webkit-keyframes indeterminate-short
|
|
82
|
+
0%
|
|
83
|
+
left: -200%
|
|
84
|
+
right: 100%
|
|
85
|
+
|
|
86
|
+
60%
|
|
87
|
+
left: 107%
|
|
88
|
+
right: -8%
|
|
89
|
+
|
|
90
|
+
100%
|
|
91
|
+
left: 107%
|
|
92
|
+
right: -8%
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
@keyframes indeterminate-short
|
|
96
|
+
0%
|
|
97
|
+
left: -200%
|
|
98
|
+
right: 100%
|
|
99
|
+
|
|
100
|
+
60%
|
|
101
|
+
left: 107%
|
|
102
|
+
right: -8%
|
|
103
|
+
|
|
104
|
+
100%
|
|
105
|
+
left: 107%
|
|
106
|
+
right: -8%
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
.material-progress.type-circular
|
|
111
|
+
.progress
|
|
112
|
+
animation: rotator 1.4s linear infinite
|
|
113
|
+
|
|
114
|
+
@keyframes rotator
|
|
115
|
+
0%
|
|
116
|
+
transform: rotate(0deg)
|
|
117
|
+
|
|
118
|
+
100%
|
|
119
|
+
transform: rotate(270deg)
|
|
120
|
+
|
|
121
|
+
.path
|
|
122
|
+
stroke: #4285F4
|
|
123
|
+
stroke-dasharray: 187
|
|
124
|
+
stroke-dashoffset: 0
|
|
125
|
+
transform-origin: center
|
|
126
|
+
animation: dash 1.4s ease-in-out infinite
|
|
127
|
+
|
|
128
|
+
@keyframes dash
|
|
129
|
+
0%
|
|
130
|
+
stroke-dashoffset: 187
|
|
131
|
+
|
|
132
|
+
50%
|
|
133
|
+
stroke-dashoffset: 187 / 4
|
|
134
|
+
transform: rotate(135deg)
|
|
135
|
+
|
|
136
|
+
100%
|
|
137
|
+
stroke-dashoffset: 187
|
|
138
|
+
transform: rotate(450deg)
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
.material-text
|
|
2
|
+
// -moz-osx-font-smoothing: grayscale
|
|
3
|
+
// -webkit-font-smoothing: antialiased
|
|
4
|
+
|
|
5
|
+
&.text-display4
|
|
6
|
+
font-size: 7rem
|
|
7
|
+
font-weight: 300
|
|
8
|
+
letter-spacing: -0.04em
|
|
9
|
+
line-height: 7rem
|
|
10
|
+
|
|
11
|
+
&.text-display3
|
|
12
|
+
font-size: 3.5rem
|
|
13
|
+
font-weight: 400
|
|
14
|
+
letter-spacing: -0.02em
|
|
15
|
+
line-height: 3.5rem
|
|
16
|
+
|
|
17
|
+
&.text-display2
|
|
18
|
+
font-size: 2.813rem
|
|
19
|
+
font-weight: 400
|
|
20
|
+
letter-spacing: normal
|
|
21
|
+
line-height: 3rem
|
|
22
|
+
|
|
23
|
+
&.text-display1
|
|
24
|
+
font-size: 2.125rem
|
|
25
|
+
font-weight: 400
|
|
26
|
+
letter-spacing: normal
|
|
27
|
+
line-height: 2.5rem
|
|
28
|
+
|
|
29
|
+
&.text-headline
|
|
30
|
+
font-size: 1.5rem
|
|
31
|
+
font-weight: 400
|
|
32
|
+
letter-spacing: normal
|
|
33
|
+
line-height: 2rem
|
|
34
|
+
|
|
35
|
+
&.text-title
|
|
36
|
+
font-size: 1.25rem
|
|
37
|
+
font-weight: 500
|
|
38
|
+
letter-spacing: 0.02em
|
|
39
|
+
line-height: 2rem
|
|
40
|
+
|
|
41
|
+
// margin-bottom: 30px;
|
|
42
|
+
|
|
43
|
+
&.text-subheading2
|
|
44
|
+
font-size: 1rem
|
|
45
|
+
font-weight: 400
|
|
46
|
+
letter-spacing: 0.04em
|
|
47
|
+
line-height: 1.75rem
|
|
48
|
+
|
|
49
|
+
&.text-subheading1
|
|
50
|
+
font-size: 0.938rem
|
|
51
|
+
font-weight: 400
|
|
52
|
+
letter-spacing: 0.04em
|
|
53
|
+
line-height: 1.5rem
|
|
54
|
+
|
|
55
|
+
&.text-body2
|
|
56
|
+
font-size: 0.875rem
|
|
57
|
+
font-weight: 500
|
|
58
|
+
letter-spacing: 0.04em
|
|
59
|
+
line-height: 1.5rem
|
|
60
|
+
|
|
61
|
+
&.text-body1
|
|
62
|
+
font-size: 0.875rem
|
|
63
|
+
font-weight: 400
|
|
64
|
+
letter-spacing: 0.04em
|
|
65
|
+
line-height: 1.25rem
|
|
66
|
+
|
|
67
|
+
&.text-caption
|
|
68
|
+
font-size: 0.75rem
|
|
69
|
+
font-weight: 400
|
|
70
|
+
letter-spacing: 0.08em
|
|
71
|
+
line-height: 1.25rem
|
|
72
|
+
|
|
73
|
+
&.text-button
|
|
74
|
+
font-size: 14px
|
|
75
|
+
font-weight: 500
|
|
76
|
+
text-transform: uppercase
|
|
77
|
+
|
|
78
|
+
&.secondary-color
|
|
79
|
+
color: $secondary-color
|
|
80
|
+
|
|
81
|
+
&.primary-color
|
|
82
|
+
color: $primary-color
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
// margin-bottom: 30px;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
.material-appbar
|
|
2
|
+
display: flex
|
|
3
|
+
flex-direction: row
|
|
4
|
+
height: 64px
|
|
5
|
+
|
|
6
|
+
position: absolute
|
|
7
|
+
top: 0
|
|
8
|
+
left: 0
|
|
9
|
+
right: 0
|
|
10
|
+
|
|
11
|
+
z-index: 3
|
|
12
|
+
flex: none
|
|
13
|
+
display: flex
|
|
14
|
+
flex-direction: row
|
|
15
|
+
flex-wrap: nowrap
|
|
16
|
+
padding: 14px 16px
|
|
17
|
+
|
|
18
|
+
&.type-bottom
|
|
19
|
+
bottom: 0
|
|
20
|
+
top: inherit
|
|
21
|
+
|
|
22
|
+
&.type-app
|
|
23
|
+
z-index: 5
|
|
24
|
+
padding: 14px 16px
|
|
25
|
+
position: fixed
|
|
26
|
+
&.is-flexible
|
|
27
|
+
position: fixed
|
|
28
|
+
&.is-scrolled
|
|
29
|
+
transition: box-shadow .3s
|
|
30
|
+
box-shadow: 0 0 4px rgba(0, 0, 0, 0.14),0 4px 8px rgba(0, 0, 0, 0.28)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
&.is-flexible
|
|
34
|
+
position: absolute
|
|
35
|
+
top: 0
|
|
36
|
+
left: 0
|
|
37
|
+
right: 0
|
|
38
|
+
//display: block
|
|
39
|
+
|
|
40
|
+
&.is-fixed
|
|
41
|
+
position: absolute
|
|
42
|
+
top: 0
|
|
43
|
+
left: 0
|
|
44
|
+
right: 0
|
|
45
|
+
//display: block
|
|
46
|
+
&.is-scrolled
|
|
47
|
+
transition: box-shadow .3s
|
|
48
|
+
box-shadow: 0 0 4px rgba(0, 0, 0, 0.14),0 4px 8px rgba(0, 0, 0, 0.28)
|
|
49
|
+
&.type-bottom
|
|
50
|
+
bottom: 0
|
|
51
|
+
top: inherit
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
> *
|
|
60
|
+
&:first-child
|
|
61
|
+
margin-left: 0
|
|
62
|
+
|
|
63
|
+
&:last-child
|
|
64
|
+
margin-right: 0
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
.material-text
|
|
68
|
+
flex: 1
|
|
69
|
+
display: inline-block
|
|
70
|
+
font-size: 1.3rem
|
|
71
|
+
font-weight: 300
|
|
72
|
+
line-height: 2.3rem
|
|
73
|
+
color: $primary-color-text
|
|
74
|
+
padding: 0
|
|
75
|
+
margin-left: 16px
|
|
76
|
+
overflow: hidden
|
|
77
|
+
white-space: nowrap
|
|
78
|
+
text-overflow: ellipsis
|
|
79
|
+
|
|
80
|
+
.material-checkbox
|
|
81
|
+
padding: 0
|
|
82
|
+
.checkbox-control
|
|
83
|
+
height: 36px
|
|
84
|
+
width: 36px
|
|
85
|
+
margin: 0
|
|
86
|
+
.checkbox-icon
|
|
87
|
+
border: 2px solid rgba(255, 255, 255, 0.95)
|
|
88
|
+
.checkbox-label
|
|
89
|
+
color: $primary-color-text
|
|
90
|
+
padding: 10px 0 6px
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
.material-button
|
|
95
|
+
.button-icon
|
|
96
|
+
svg
|
|
97
|
+
fill: $primary-color-text
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
&.transparent-color
|
|
101
|
+
background-color: transparent
|
|
102
|
+
.material-text
|
|
103
|
+
color: $default-color-text
|
|
104
|
+
.material-button
|
|
105
|
+
.button-icon
|
|
106
|
+
svg
|
|
107
|
+
fill: $default-color-text
|
|
108
|
+
.material-checkbox
|
|
109
|
+
padding: 0
|
|
110
|
+
.checkbox-control
|
|
111
|
+
height: 36px
|
|
112
|
+
width: 36px
|
|
113
|
+
margin: 0
|
|
114
|
+
.checkbox-icon
|
|
115
|
+
border: 2px solid rgba(255, 255, 255, 0.95)
|
|
116
|
+
.checkbox-label
|
|
117
|
+
color: $default-color-text
|
|
118
|
+
padding: 10px 0 6px
|
|
119
|
+
|
|
120
|
+
&.primary-color
|
|
121
|
+
background-color: $primary-color
|
|
122
|
+
.material-text
|
|
123
|
+
color: $primary-color-text
|
|
124
|
+
.material-button
|
|
125
|
+
.button-icon
|
|
126
|
+
svg
|
|
127
|
+
fill: $primary-color-text
|
|
128
|
+
.material-checkbox
|
|
129
|
+
padding: 0
|
|
130
|
+
.checkbox-control
|
|
131
|
+
height: 36px
|
|
132
|
+
width: 36px
|
|
133
|
+
margin: 0
|
|
134
|
+
.checkbox-icon
|
|
135
|
+
border: 2px solid rgba(255, 255, 255, 0.95)
|
|
136
|
+
.checkbox-label
|
|
137
|
+
color: $primary-color-text
|
|
138
|
+
padding: 10px 0 6px
|
|
139
|
+
|
|
140
|
+
&.secondary-color
|
|
141
|
+
background-color: $secondary-color
|
|
142
|
+
.material-text
|
|
143
|
+
color: $secondary-color-text
|
|
144
|
+
.material-button
|
|
145
|
+
.button-icon
|
|
146
|
+
svg
|
|
147
|
+
fill: $secondary-color-text
|
|
148
|
+
.material-checkbox
|
|
149
|
+
padding: 0
|
|
150
|
+
.checkbox-control
|
|
151
|
+
height: 36px
|
|
152
|
+
width: 36px
|
|
153
|
+
margin: 0
|
|
154
|
+
.checkbox-icon
|
|
155
|
+
border: 2px solid rgba(255, 255, 255, 0.95)
|
|
156
|
+
.checkbox-label
|
|
157
|
+
color: $secondary-color-text
|
|
158
|
+
padding: 10px 0 6px
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
// @media only screen and (max-width: 768px)
|
|
164
|
+
// .material-appbar
|
|
165
|
+
// &.type-app
|
|
166
|
+
// padding: 10px 16px
|
|
167
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.material-banner
|
|
2
|
+
|
|
3
|
+
padding: 20px 16px 16px
|
|
4
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1)
|
|
5
|
+
background-color: white
|
|
6
|
+
position: absolute
|
|
7
|
+
overflow: hidden
|
|
8
|
+
bottom: 0
|
|
9
|
+
left: 0
|
|
10
|
+
right: 0
|
|
11
|
+
//transform: translateY(0)
|
|
12
|
+
// &.is-fixed
|
|
13
|
+
// position: absolute
|
|
14
|
+
// top: 0
|
|
15
|
+
// left: 0
|
|
16
|
+
// right: 0
|
|
17
|
+
//transition: top .3s
|
|
18
|
+
.material-toolbar
|
|
19
|
+
padding-top: 16px
|
|
20
|
+
|
|
21
|
+
.banner-wrapper
|
|
22
|
+
position: relative
|
|
23
|
+
overflow: hidden
|
|
24
|
+
z-index: 4
|
|
25
|
+
height: 0
|
|
26
|
+
transition: height .2s
|
|
27
|
+
&.is-fixed
|
|
28
|
+
z-index: 4
|
|
29
|
+
position: absolute
|
|
30
|
+
top: 0
|
|
31
|
+
left: 0
|
|
32
|
+
right: 0
|
|
33
|
+
&.is-shown
|
|
34
|
+
transition: height .2s
|
|
35
|
+
//padding: 0
|
|
36
|
+
//border: none
|
|
37
|
+
//transform: translateY(-150px)
|
|
38
|
+
//
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.card
|
|
2
|
+
flex-direction: column
|
|
3
|
+
-webkit-box-pack: end
|
|
4
|
+
-ms-flex-pack: end
|
|
5
|
+
justify-content: flex-end
|
|
6
|
+
padding: 0
|
|
7
|
+
-webkit-box-sizing: border-box
|
|
8
|
+
box-sizing: border-box
|
|
9
|
+
border-radius: 2px
|
|
10
|
+
overflow: hidden
|
|
11
|
+
display: block
|
|
12
|
+
background-color: rgba(255,255,255,1)
|
|
13
|
+
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)
|
|
14
|
+
.material-container
|
|
15
|
+
padding: 1rem
|
|
16
|
+
.toolbar-action
|
|
17
|
+
text-align: right
|
|
18
|
+
padding: 8px
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|