material 0.9.25 → 0.9.26
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/package.json +1 -1
- package/src/skin/material/base/body.scss +83 -0
- package/src/skin/material/base/{elevation.sass → elevation.scss} +76 -50
- package/src/skin/material/base/{grid.sass → grid.scss} +44 -32
- package/src/skin/material/base/typo.scss +133 -0
- package/src/skin/material/button/action.scss +124 -0
- package/src/skin/material/button/button.scss +245 -0
- package/src/skin/material/button/file.scss +27 -0
- package/src/skin/material/button/floating.scss +160 -0
- package/src/skin/material/button/raised.scss +145 -0
- package/src/skin/material/button/stroked.scss +102 -0
- package/src/skin/material/component/component.scss +11 -0
- package/src/skin/material/component/divider.scss +22 -0
- package/src/skin/material/component/image.scss +9 -0
- package/src/skin/material/component/label.scss +4 -0
- package/src/skin/material/component/navigation.scss +15 -0
- package/src/skin/material/component/progress.scss +176 -0
- package/src/skin/material/component/subheader.scss +5 -0
- package/src/skin/material/component/text.scss +101 -0
- package/src/skin/material/container/appbar.scss +215 -0
- package/src/skin/material/container/banner.scss +44 -0
- package/src/skin/material/container/card.scss +23 -0
- package/src/skin/material/container/container.scss +2 -0
- package/src/skin/material/container/dialog.scss +196 -0
- package/src/skin/material/container/drawer.scss +185 -0
- package/src/skin/material/container/menu.scss +69 -0
- package/src/skin/material/container/snackbar.scss +21 -0
- package/src/skin/material/container/tabs.scss +94 -0
- package/src/skin/material/container/toolbar.scss +207 -0
- package/src/skin/material/control/button.scss +172 -0
- package/src/skin/material/control/checkbox.scss +134 -0
- package/src/skin/material/control/colorpicker.scss +220 -0
- package/src/skin/material/control/menu.scss +25 -0
- package/src/skin/material/control/progress.scss +174 -0
- package/src/skin/material/control/search.scss +50 -0
- package/src/skin/material/control/selecter.scss +152 -0
- package/src/skin/material/control/selector.scss +46 -0
- package/src/skin/material/control/slider.scss +221 -0
- package/src/skin/material/control/snackbar.scss +77 -0
- package/src/skin/material/control/switch.scss +349 -0
- package/src/skin/material/control/switcher.scss +48 -0
- package/src/skin/material/control/textfield.scss +159 -0
- package/src/skin/material/control/tooltip.scss +42 -0
- package/src/skin/material/layout/layout.scss +92 -0
- package/src/skin/material/layout/resizer.scss +97 -0
- package/src/skin/material/material.scss +67 -0
- package/src/skin/material/module/ripple.scss +11 -0
- package/src/skin/material/theme/{default.sass → default.scss} +18 -17
- package/src/skin/material/theme/ocean.scss +30 -0
- package/src/skin/material/theme/theme.scss +4 -0
- package/src/skin/material/view/calendar.scss +219 -0
- package/src/skin/material/view/form.scss +21 -0
- package/src/skin/material/view/grid.scss +134 -0
- package/src/skin/material/view/list.scss +107 -0
- package/src/skin/material/view/listview.scss +221 -0
- package/src/skin/material/view/map.scss +8 -0
- package/src/skin/material/view/page.scss +5 -0
- package/src/skin/material/view/tabview-bak.scss +49 -0
- package/src/skin/material/view/tabview.scss +65 -0
- package/src/skin/material/view/tree.scss +85 -0
- package/src/skin/material/view/{view.sass → view.scss} +1 -0
- package/src/skin/material/base/body.sass +0 -55
- package/src/skin/material/base/typo.sass +0 -107
- package/src/skin/material/button/action.sass +0 -89
- package/src/skin/material/button/button.sass +0 -183
- package/src/skin/material/button/file.sass +0 -24
- package/src/skin/material/button/floating.sass +0 -113
- package/src/skin/material/button/raised.sass +0 -101
- package/src/skin/material/button/stroked.sass +0 -71
- package/src/skin/material/component/component.sass +0 -7
- package/src/skin/material/component/divider.sass +0 -17
- package/src/skin/material/component/image.sass +0 -6
- package/src/skin/material/component/label.sass +0 -2
- package/src/skin/material/component/navigation.sass +0 -13
- package/src/skin/material/component/progress.sass +0 -138
- package/src/skin/material/component/subheader.sass +0 -3
- package/src/skin/material/component/text.sass +0 -85
- package/src/skin/material/container/appbar.sass +0 -167
- package/src/skin/material/container/banner.sass +0 -38
- package/src/skin/material/container/card.sass +0 -19
- package/src/skin/material/container/dialog.sass +0 -172
- package/src/skin/material/container/drawer.sass +0 -159
- package/src/skin/material/container/menu.sass +0 -58
- package/src/skin/material/container/snackbar.sass +0 -18
- package/src/skin/material/container/tabs.sass +0 -75
- package/src/skin/material/container/toolbar.sass +0 -161
- package/src/skin/material/control/button.sass +0 -135
- package/src/skin/material/control/checkbox.sass +0 -105
- package/src/skin/material/control/colorpicker.sass +0 -188
- package/src/skin/material/control/dialog.sass +0 -0
- package/src/skin/material/control/menu.sass +0 -18
- package/src/skin/material/control/progress.sass +0 -136
- package/src/skin/material/control/search.sass +0 -40
- package/src/skin/material/control/selecter.sass +0 -131
- package/src/skin/material/control/selector.sass +0 -38
- package/src/skin/material/control/slider.sass +0 -181
- package/src/skin/material/control/snackbar.sass +0 -65
- package/src/skin/material/control/switch.sass +0 -284
- package/src/skin/material/control/switcher.sass +0 -41
- package/src/skin/material/control/textfield.sass +0 -126
- package/src/skin/material/control/tooltip.sass +0 -36
- package/src/skin/material/layout/layout.sass +0 -69
- package/src/skin/material/layout/resizer.sass +0 -69
- package/src/skin/material/material.sass +0 -66
- package/src/skin/material/module/ripple.sass +0 -9
- package/src/skin/material/theme/ocean.sass +0 -29
- package/src/skin/material/theme/theme.sass +0 -3
- package/src/skin/material/view/calendar.sass +0 -193
- package/src/skin/material/view/form.sass +0 -15
- package/src/skin/material/view/grid.sass +0 -116
- package/src/skin/material/view/list.sass +0 -87
- package/src/skin/material/view/listview.sass +0 -195
- package/src/skin/material/view/map.sass +0 -6
- package/src/skin/material/view/page.sass +0 -4
- package/src/skin/material/view/tabview-bak.sass +0 -40
- package/src/skin/material/view/tabview.sass +0 -55
- package/src/skin/material/view/tree.sass +0 -73
- /package/src/skin/material/{container/container.sass → control/dialog.scss} +0 -0
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// HTML Tags General Defintion
|
|
3
|
-
html
|
|
4
|
-
font-size: 100%
|
|
5
|
-
line-height: 1.15
|
|
6
|
-
width: 100%
|
|
7
|
-
height: 100%
|
|
8
|
-
|
|
9
|
-
body
|
|
10
|
-
color: rgba(0, 0, 0, 0.67)
|
|
11
|
-
font-family: Roboto, arial, serif
|
|
12
|
-
font-size: 100%
|
|
13
|
-
// position: relative
|
|
14
|
-
// display: block
|
|
15
|
-
// height: 100%
|
|
16
|
-
// width: 100%
|
|
17
|
-
// overflow: hidden
|
|
18
|
-
margin: 0
|
|
19
|
-
padding: 0
|
|
20
|
-
// user-select: none
|
|
21
|
-
|
|
22
|
-
input,
|
|
23
|
-
textarea,
|
|
24
|
-
keygen,
|
|
25
|
-
select,
|
|
26
|
-
button
|
|
27
|
-
font-size: 1em
|
|
28
|
-
font-family: Roboto, arial, serif
|
|
29
|
-
color: rgb(51, 51, 51)
|
|
30
|
-
|
|
31
|
-
p
|
|
32
|
-
line-height: 20px
|
|
33
|
-
padding-top: 6px
|
|
34
|
-
margin-bottom: 14px
|
|
35
|
-
letter-spacing: 0
|
|
36
|
-
font-weight: 400
|
|
37
|
-
|
|
38
|
-
// get rid of outline
|
|
39
|
-
select,
|
|
40
|
-
input,
|
|
41
|
-
textarea,
|
|
42
|
-
button
|
|
43
|
-
outline: none
|
|
44
|
-
&:hover
|
|
45
|
-
outline: none
|
|
46
|
-
|
|
47
|
-
button
|
|
48
|
-
user-select: none
|
|
49
|
-
|
|
50
|
-
// set all container boder-box
|
|
51
|
-
*
|
|
52
|
-
box-sizing: border-box
|
|
53
|
-
|
|
54
|
-
a
|
|
55
|
-
color: rgba(0, 0, 0, 0.7)
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
.material-text
|
|
2
|
-
&.type-display4
|
|
3
|
-
font-size: 7rem
|
|
4
|
-
font-weight: 300
|
|
5
|
-
letter-spacing: -0.04em
|
|
6
|
-
line-height: 7rem
|
|
7
|
-
|
|
8
|
-
&.type-display3
|
|
9
|
-
font-size: 3.5rem
|
|
10
|
-
font-weight: 400
|
|
11
|
-
letter-spacing: -0.02em
|
|
12
|
-
line-height: 3.5rem
|
|
13
|
-
|
|
14
|
-
&.type-display2
|
|
15
|
-
font-size: 2.813rem
|
|
16
|
-
font-weight: 400
|
|
17
|
-
letter-spacing: normal
|
|
18
|
-
line-height: 3rem
|
|
19
|
-
|
|
20
|
-
&.type-display1
|
|
21
|
-
font-size: 2.125rem
|
|
22
|
-
font-weight: 400
|
|
23
|
-
letter-spacing: normal
|
|
24
|
-
line-height: 2.5rem
|
|
25
|
-
|
|
26
|
-
&.type-headline
|
|
27
|
-
font-size: 1.5rem
|
|
28
|
-
font-weight: 400
|
|
29
|
-
letter-spacing: normal
|
|
30
|
-
line-height: 2rem
|
|
31
|
-
|
|
32
|
-
&.type-title
|
|
33
|
-
font-size: 1.25rem
|
|
34
|
-
font-weight: 500
|
|
35
|
-
letter-spacing: 0.02em
|
|
36
|
-
line-height: 2rem
|
|
37
|
-
|
|
38
|
-
&.type-subheading2
|
|
39
|
-
font-size: 1rem
|
|
40
|
-
font-weight: 400
|
|
41
|
-
letter-spacing: 0.04em
|
|
42
|
-
line-height: 1.75rem
|
|
43
|
-
|
|
44
|
-
&.type-subheading1
|
|
45
|
-
font-size: 0.938rem
|
|
46
|
-
font-weight: 400
|
|
47
|
-
letter-spacing: 0.04em
|
|
48
|
-
line-height: 1.5rem
|
|
49
|
-
|
|
50
|
-
&.type-body1
|
|
51
|
-
font-size: 0.875rem
|
|
52
|
-
font-weight: 400
|
|
53
|
-
letter-spacing: 0.04em
|
|
54
|
-
line-height: 1.25rem
|
|
55
|
-
|
|
56
|
-
&.type-body2
|
|
57
|
-
font-size: 0.875rem
|
|
58
|
-
font-weight: 500
|
|
59
|
-
letter-spacing: 0.04em
|
|
60
|
-
line-height: 1.5rem
|
|
61
|
-
|
|
62
|
-
&.type-caption
|
|
63
|
-
font-size: 0.75rem
|
|
64
|
-
font-weight: 400
|
|
65
|
-
letter-spacing: 0.08em
|
|
66
|
-
line-height: 1.25rem
|
|
67
|
-
|
|
68
|
-
&.type-button
|
|
69
|
-
font-size: 14px
|
|
70
|
-
font-weight: 500
|
|
71
|
-
|
|
72
|
-
// margin-bottom: 30px;
|
|
73
|
-
margin-left: 8px
|
|
74
|
-
|
|
75
|
-
&.style-adjust
|
|
76
|
-
&.type-display4
|
|
77
|
-
margin: -1rem 0 3.5rem -0.085em
|
|
78
|
-
|
|
79
|
-
&.type-display3
|
|
80
|
-
margin: -8px 0 64px -0.07em
|
|
81
|
-
|
|
82
|
-
&.type-display2
|
|
83
|
-
margin: -0.5rem 0 4rem -0.07em
|
|
84
|
-
|
|
85
|
-
&.type-display1
|
|
86
|
-
margin: -0.5rem 0 4rem -0.07em
|
|
87
|
-
|
|
88
|
-
&.type-headline
|
|
89
|
-
margin: -0.5rem 0 1rem -0.06em
|
|
90
|
-
|
|
91
|
-
&.type-title
|
|
92
|
-
margin: -0.5rem 0 1rem -0.05em
|
|
93
|
-
|
|
94
|
-
&.type-subheading2
|
|
95
|
-
margin: -0.5rem 0 1rem -0.06em
|
|
96
|
-
|
|
97
|
-
&.type-subheading1
|
|
98
|
-
margin: -0.313rem 0 0.813rem -0.06em
|
|
99
|
-
|
|
100
|
-
&.type-body1
|
|
101
|
-
margin: -0.25rem 0 0.75rem 0
|
|
102
|
-
|
|
103
|
-
&.type-body2
|
|
104
|
-
margin: -0.25rem 0 0.75rem 0
|
|
105
|
-
|
|
106
|
-
&.type-caption
|
|
107
|
-
line-height: 1.25rem
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// type action
|
|
3
|
-
.button.type-action
|
|
4
|
-
min-width: 36px
|
|
5
|
-
transition: box-shadow .2s
|
|
6
|
-
box-shadow: none
|
|
7
|
-
border-radius: 50%
|
|
8
|
-
padding: 6px
|
|
9
|
-
.button-icon
|
|
10
|
-
padding: 0
|
|
11
|
-
height: 24px
|
|
12
|
-
width: 24px
|
|
13
|
-
margin-left: 0
|
|
14
|
-
svg
|
|
15
|
-
fill: $default-color-text
|
|
16
|
-
|
|
17
|
-
// styles
|
|
18
|
-
.button.type-action
|
|
19
|
-
&.style-dense,
|
|
20
|
-
&.style-compact
|
|
21
|
-
height: 32px
|
|
22
|
-
width: 32px
|
|
23
|
-
min-width: 32px
|
|
24
|
-
border-radius: 50%
|
|
25
|
-
.button-icon
|
|
26
|
-
width: 20px
|
|
27
|
-
height: 20px
|
|
28
|
-
svg
|
|
29
|
-
width: 20px
|
|
30
|
-
height: 20px
|
|
31
|
-
viewbox: 0 0 20 20
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
// states
|
|
35
|
-
.button.type-action
|
|
36
|
-
&:hover
|
|
37
|
-
//background-color: #E0E0E0;
|
|
38
|
-
|
|
39
|
-
&:focus
|
|
40
|
-
//background-color: darken(rgba(255, 255, 255, 0.95), 5%)
|
|
41
|
-
|
|
42
|
-
.material-ripple
|
|
43
|
-
//background-color: rgba(255, 255, 255, 1)
|
|
44
|
-
|
|
45
|
-
// color
|
|
46
|
-
.button.type-action
|
|
47
|
-
&.primary-color
|
|
48
|
-
background-color: $primary-color
|
|
49
|
-
color: $primary-color-text
|
|
50
|
-
.button-icon
|
|
51
|
-
svg
|
|
52
|
-
fill: $primary-color-text
|
|
53
|
-
&:focus
|
|
54
|
-
background-color: lighten($primary-color, 10%)
|
|
55
|
-
color: $primary-color-text
|
|
56
|
-
&.secondary-color
|
|
57
|
-
background-color: $secondary-color
|
|
58
|
-
color: $secondary-color-text
|
|
59
|
-
.button-icon
|
|
60
|
-
svg
|
|
61
|
-
fill: $secondary-color-text
|
|
62
|
-
&:focus
|
|
63
|
-
background-color: lighten($secondary-color, 5%)
|
|
64
|
-
color: $secondary-color-text
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
// theme
|
|
68
|
-
.dark-mode .button.type-action,
|
|
69
|
-
.button.type-action.dark-mode
|
|
70
|
-
|
|
71
|
-
//background-color: rgba(255, 255, 255, 0.95)
|
|
72
|
-
color: $primary-color-text-dark
|
|
73
|
-
|
|
74
|
-
&.primary-color
|
|
75
|
-
background-color: $primary-color-dark
|
|
76
|
-
color: $primary-color-text-dark
|
|
77
|
-
.button-icon
|
|
78
|
-
svg
|
|
79
|
-
fill: $primary-color-text-dark
|
|
80
|
-
&.secondary-color
|
|
81
|
-
background-color: $secondary-color-dark
|
|
82
|
-
color: $secondary-color-text-dark
|
|
83
|
-
.button-icon
|
|
84
|
-
svg
|
|
85
|
-
fill: $secondary-color-text-dark
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
.button
|
|
2
|
-
display: flex
|
|
3
|
-
-webkit-font-smoothing: antialiased
|
|
4
|
-
white-space: nowrap
|
|
5
|
-
position: relative
|
|
6
|
-
vertical-align: middle
|
|
7
|
-
cursor: default
|
|
8
|
-
height: 36px
|
|
9
|
-
padding: 6px 8px 6px 8px
|
|
10
|
-
margin: 0 8px
|
|
11
|
-
border: none
|
|
12
|
-
border-radius: 2px
|
|
13
|
-
overflow: hidden
|
|
14
|
-
background-color: transparent
|
|
15
|
-
> *
|
|
16
|
-
pointer-events: none
|
|
17
|
-
|
|
18
|
-
.button-icon
|
|
19
|
-
flex: none
|
|
20
|
-
pointer-events: none
|
|
21
|
-
z-index: 2
|
|
22
|
-
display: inline-block
|
|
23
|
-
width: 24px
|
|
24
|
-
height: 24px
|
|
25
|
-
padding: 0 8px
|
|
26
|
-
vertical-align: bottom
|
|
27
|
-
padding: 0
|
|
28
|
-
background-repeat: no-repeat
|
|
29
|
-
background-position: center center
|
|
30
|
-
svg
|
|
31
|
-
fill: $default-color-text
|
|
32
|
-
|
|
33
|
-
.button-label
|
|
34
|
-
flex: 1
|
|
35
|
-
order: 2
|
|
36
|
-
pointer-events: none
|
|
37
|
-
font-size: 0.875rem
|
|
38
|
-
font-weight: 600
|
|
39
|
-
line-height: 1.1rem
|
|
40
|
-
display: inline-block
|
|
41
|
-
z-index: 2
|
|
42
|
-
text-transform: uppercase
|
|
43
|
-
padding: 3px 8px 3px 8px
|
|
44
|
-
margin: 0
|
|
45
|
-
|
|
46
|
-
.material-ripple
|
|
47
|
-
opacity: 1
|
|
48
|
-
pointer-events: none
|
|
49
|
-
z-index: 1
|
|
50
|
-
position: absolute
|
|
51
|
-
background-color: rgba(0, 0, 0, 0.1)
|
|
52
|
-
height: 5px
|
|
53
|
-
width: 5px
|
|
54
|
-
border-radius: 50%
|
|
55
|
-
|
|
56
|
-
&.iconend
|
|
57
|
-
.button-icon
|
|
58
|
-
order: 2
|
|
59
|
-
.button-label
|
|
60
|
-
order: 1
|
|
61
|
-
|
|
62
|
-
// states
|
|
63
|
-
.button
|
|
64
|
-
&.is-disabled
|
|
65
|
-
pointer-events: none
|
|
66
|
-
opacity: .3
|
|
67
|
-
|
|
68
|
-
&:focus
|
|
69
|
-
//transition-delay: .2s
|
|
70
|
-
transition-duration: .3s
|
|
71
|
-
background-color: rgba($default-color-text, 0.05)
|
|
72
|
-
&:hover
|
|
73
|
-
background-color: rgba($default-color-text, 0.05)
|
|
74
|
-
|
|
75
|
-
&:active
|
|
76
|
-
transition-duration: .2s
|
|
77
|
-
&:focus
|
|
78
|
-
//transition-delay: .2s
|
|
79
|
-
|
|
80
|
-
&:hover
|
|
81
|
-
transition-duration: .2s
|
|
82
|
-
background-color: rgba($default-color-text, 0.03)
|
|
83
|
-
|
|
84
|
-
&:disabled
|
|
85
|
-
pointer-events: none
|
|
86
|
-
opacity: .3
|
|
87
|
-
|
|
88
|
-
// styles
|
|
89
|
-
.button
|
|
90
|
-
&.style-compact
|
|
91
|
-
> .button-label
|
|
92
|
-
padding-left: 0
|
|
93
|
-
padding-right: 0
|
|
94
|
-
|
|
95
|
-
&.style-dense
|
|
96
|
-
height: 32px
|
|
97
|
-
> .button-label
|
|
98
|
-
font-size: 0.8125rem
|
|
99
|
-
padding-top: 2px
|
|
100
|
-
padding-bottom: 2px
|
|
101
|
-
|
|
102
|
-
// color
|
|
103
|
-
.button
|
|
104
|
-
&.primary-color
|
|
105
|
-
color: $primary-color
|
|
106
|
-
&:focus
|
|
107
|
-
background-color: rgba($primary-color, .1)
|
|
108
|
-
&:hover
|
|
109
|
-
background-color: rgba($primary-color, .1)
|
|
110
|
-
&:hover
|
|
111
|
-
background-color: rgba($primary-color, .05)
|
|
112
|
-
|
|
113
|
-
.button-icon
|
|
114
|
-
svg
|
|
115
|
-
fill: $primary-color
|
|
116
|
-
|
|
117
|
-
.material-ripple
|
|
118
|
-
background-color: rgba($primary-color, .1)
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
&.secondary-color
|
|
123
|
-
color: $secondary-color
|
|
124
|
-
.button-icon
|
|
125
|
-
svg
|
|
126
|
-
fill: $secondary-color
|
|
127
|
-
.material-ripple
|
|
128
|
-
background-color: rgba($secondary-color, .1)
|
|
129
|
-
&:focus
|
|
130
|
-
background-color: rgba($secondary-color, .10)
|
|
131
|
-
&:hover
|
|
132
|
-
background-color: rgba($secondary-color, .10)
|
|
133
|
-
&:hover
|
|
134
|
-
background-color: rgba($secondary-color, .05)
|
|
135
|
-
|
|
136
|
-
// theme
|
|
137
|
-
.dark-mode .button,
|
|
138
|
-
.button.dark-mode
|
|
139
|
-
color: $default-color-text-dark
|
|
140
|
-
.button-icon
|
|
141
|
-
svg
|
|
142
|
-
fill: $default-color-text-dark
|
|
143
|
-
.material-ripple
|
|
144
|
-
background-color: rgba($default-color-text-dark, .1)
|
|
145
|
-
&:focus
|
|
146
|
-
//background-color: rgba($default-color-text-dark, .1)
|
|
147
|
-
&:hover
|
|
148
|
-
//background-color: rgba($default-color-text-dark, .1)
|
|
149
|
-
&:hover
|
|
150
|
-
background-color: rgba($default-color-text-dark, .05)
|
|
151
|
-
|
|
152
|
-
// primary color
|
|
153
|
-
&.primary-color
|
|
154
|
-
//background-color: $primary-color;
|
|
155
|
-
color: $primary-color-dark
|
|
156
|
-
.button-icon
|
|
157
|
-
svg
|
|
158
|
-
fill: $primary-color-dark
|
|
159
|
-
.material-ripple
|
|
160
|
-
background-color: rgba($primary-color-dark, .3)
|
|
161
|
-
&:focus
|
|
162
|
-
background-color: rgba($primary-color-dark, .2)
|
|
163
|
-
&:hover
|
|
164
|
-
background-color: rgba($primary-color-dark, .2)
|
|
165
|
-
&:hover
|
|
166
|
-
background-color: rgba($primary-color-dark, .1)
|
|
167
|
-
|
|
168
|
-
// secondary color
|
|
169
|
-
&.secondary-color
|
|
170
|
-
color: $secondary-color-dark
|
|
171
|
-
.button-icon
|
|
172
|
-
svg
|
|
173
|
-
fill: $secondary-color-dark
|
|
174
|
-
.material-ripple
|
|
175
|
-
background-color: rgba($secondary-color-dark, .3)
|
|
176
|
-
|
|
177
|
-
&:focus
|
|
178
|
-
background-color: rgba($secondary-color-dark, .2)
|
|
179
|
-
&:hover
|
|
180
|
-
background-color: rgba($secondary-color-dark, .2)
|
|
181
|
-
|
|
182
|
-
&:hover
|
|
183
|
-
background-color: rgba($secondary-color-dark, .1)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// type file
|
|
3
|
-
.button.type-file
|
|
4
|
-
overflow: hidden
|
|
5
|
-
position: relative
|
|
6
|
-
vertical-align: middle
|
|
7
|
-
|
|
8
|
-
input[type=file]
|
|
9
|
-
z-index: 20
|
|
10
|
-
position: absolute
|
|
11
|
-
height: 48px
|
|
12
|
-
width: 48px
|
|
13
|
-
top: 0
|
|
14
|
-
right: 0
|
|
15
|
-
margin: 0
|
|
16
|
-
padding: 0
|
|
17
|
-
font-size: 10px
|
|
18
|
-
cursor: pointer
|
|
19
|
-
opacity: 0
|
|
20
|
-
filter: alpha(opacity = 0)
|
|
21
|
-
|
|
22
|
-
.button-icon
|
|
23
|
-
z-index: 1
|
|
24
|
-
padding-right: 6px
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// type floating
|
|
3
|
-
.button.type-floating
|
|
4
|
-
min-width: 56px
|
|
5
|
-
min-height: 56px
|
|
6
|
-
transition: box-shadow .2s
|
|
7
|
-
border-radius: 28px
|
|
8
|
-
padding: 6px
|
|
9
|
-
box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)
|
|
10
|
-
.button-label
|
|
11
|
-
display: none
|
|
12
|
-
.button-icon
|
|
13
|
-
padding: 0
|
|
14
|
-
height: 24px
|
|
15
|
-
width: 24px
|
|
16
|
-
margin-left: 0
|
|
17
|
-
svg
|
|
18
|
-
fill: $default-color-text
|
|
19
|
-
.material-ripple
|
|
20
|
-
opacity: .1
|
|
21
|
-
background-color: rgba(0, 0, 0, 1)
|
|
22
|
-
|
|
23
|
-
// states
|
|
24
|
-
.button.type-floating
|
|
25
|
-
background-color: rgba(0, 0, 0, 0.05)
|
|
26
|
-
&:focus
|
|
27
|
-
background-color: rgba(0, 0, 0, 0.15)
|
|
28
|
-
&:hover
|
|
29
|
-
background-color: rgba(0, 0, 0, 0.15)
|
|
30
|
-
&:hover
|
|
31
|
-
background-color: rgba(0, 0, 0, 0.1)
|
|
32
|
-
&:active
|
|
33
|
-
box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)
|
|
34
|
-
|
|
35
|
-
// color
|
|
36
|
-
.button.type-floating
|
|
37
|
-
&.primary-color
|
|
38
|
-
background-color: $primary-color
|
|
39
|
-
color: $primary-color-text
|
|
40
|
-
.button-icon
|
|
41
|
-
svg
|
|
42
|
-
fill: $primary-color-text
|
|
43
|
-
.material-ripple
|
|
44
|
-
opacity: .3
|
|
45
|
-
background-color: $default-color-dark
|
|
46
|
-
|
|
47
|
-
&:focus
|
|
48
|
-
background-color: lighten($primary-color, 15%)
|
|
49
|
-
&:hover
|
|
50
|
-
background-color: lighten($primary-color, 15%)
|
|
51
|
-
&:hover
|
|
52
|
-
background-color: lighten($primary-color, 7%)
|
|
53
|
-
|
|
54
|
-
&.secondary-color
|
|
55
|
-
background-color: $secondary-color
|
|
56
|
-
color: $secondary-color-text
|
|
57
|
-
.button-icon
|
|
58
|
-
svg
|
|
59
|
-
fill: $secondary-color-text
|
|
60
|
-
.material-ripple
|
|
61
|
-
opacity: .3
|
|
62
|
-
background-color: $default-color-dark
|
|
63
|
-
&:focus
|
|
64
|
-
background-color: lighten($secondary-color, 10%)
|
|
65
|
-
&:hover
|
|
66
|
-
background-color: lighten($secondary-color, 10%)
|
|
67
|
-
&:hover
|
|
68
|
-
background-color: lighten($secondary-color, 5%)
|
|
69
|
-
|
|
70
|
-
// theme
|
|
71
|
-
.dark-mode .button.type-floating,
|
|
72
|
-
.button.type-floating.dark-mode
|
|
73
|
-
.material-ripple
|
|
74
|
-
opacity: .1
|
|
75
|
-
background-color: rgba(255, 255, 255, 1)
|
|
76
|
-
background-color: rgba(255, 255, 255, 0.1)
|
|
77
|
-
&:focus
|
|
78
|
-
background-color: rgba(255, 255, 255, 0.2)
|
|
79
|
-
&:hover
|
|
80
|
-
background-color: rgba(255, 255, 255, 0.2)
|
|
81
|
-
&:hover
|
|
82
|
-
background-color: rgba(255, 255, 255, 0.15)
|
|
83
|
-
//background-color: rgba(255, 255, 255, 0.95)
|
|
84
|
-
color: $primary-color-text-dark
|
|
85
|
-
.button-icon
|
|
86
|
-
svg
|
|
87
|
-
fill: $primary-color-text-dark
|
|
88
|
-
&.primary-color
|
|
89
|
-
background-color: $primary-color-dark
|
|
90
|
-
color: $primary-color-text-dark
|
|
91
|
-
.button-icon
|
|
92
|
-
svg
|
|
93
|
-
fill: $primary-color-text-dark
|
|
94
|
-
&:focus
|
|
95
|
-
background-color: lighten($primary-color, 15%)
|
|
96
|
-
&:hover
|
|
97
|
-
background-color: lighten($primary-color, 15%)
|
|
98
|
-
&:hover
|
|
99
|
-
background-color: lighten($primary-color, 7%)
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
&.secondary-color
|
|
103
|
-
background-color: $secondary-color-dark
|
|
104
|
-
color: $secondary-color-text-dark
|
|
105
|
-
.button-icon
|
|
106
|
-
svg
|
|
107
|
-
fill: $secondary-color-text-dark
|
|
108
|
-
&:focus
|
|
109
|
-
background-color: lighten($secondary-color, 10%)
|
|
110
|
-
&:hover
|
|
111
|
-
background-color: lighten($secondary-color, 10%)
|
|
112
|
-
&:hover
|
|
113
|
-
background-color: lighten($secondary-color, 5%)
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// type raised
|
|
3
|
-
.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
|
-
.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
|
-
.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 .button.type-raised,
|
|
60
|
-
.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%)
|