material 0.9.25 → 0.9.27
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 +64 -0
- package/src/skin/material/base/{elevation.sass → elevation.scss} +75 -50
- package/src/skin/material/base/{grid.sass → grid.scss} +40 -32
- package/src/skin/material/base/typo.scss +132 -0
- package/src/skin/material/button/action.scss +112 -0
- package/src/skin/material/button/button.scss +239 -0
- package/src/skin/material/button/file.scss +27 -0
- package/src/skin/material/button/floating.scss +156 -0
- package/src/skin/material/button/raised.scss +141 -0
- package/src/skin/material/button/stroked.scss +97 -0
- package/src/skin/material/component/component.scss +8 -0
- package/src/skin/material/component/divider.scss +21 -0
- package/src/skin/material/component/image.scss +8 -0
- package/src/skin/material/component/label.scss +3 -0
- package/src/skin/material/component/navigation.scss +15 -0
- package/src/skin/material/component/progress.scss +166 -0
- package/src/skin/material/component/subheader.scss +4 -0
- package/src/skin/material/component/text.scss +100 -0
- package/src/skin/material/container/appbar.scss +202 -0
- package/src/skin/material/container/banner.scss +43 -0
- package/src/skin/material/container/card.scss +22 -0
- package/src/skin/material/container/container.scss +2 -0
- package/src/skin/material/container/dialog.scss +192 -0
- package/src/skin/material/container/drawer.scss +176 -0
- package/src/skin/material/container/menu.scss +66 -0
- package/src/skin/material/container/snackbar.scss +21 -0
- package/src/skin/material/container/tabs.scss +93 -0
- package/src/skin/material/container/toolbar.scss +193 -0
- package/src/skin/material/control/button.scss +169 -0
- package/src/skin/material/control/checkbox.scss +131 -0
- package/src/skin/material/control/colorpicker.scss +218 -0
- package/src/skin/material/control/menu.scss +21 -0
- package/src/skin/material/control/progress.scss +166 -0
- package/src/skin/material/control/search.scss +49 -0
- package/src/skin/material/control/selecter.scss +150 -0
- package/src/skin/material/control/selector.scss +44 -0
- package/src/skin/material/control/slider.scss +219 -0
- package/src/skin/material/control/snackbar.scss +74 -0
- package/src/skin/material/control/switch.scss +345 -0
- package/src/skin/material/control/switcher.scss +47 -0
- package/src/skin/material/control/textfield.scss +152 -0
- package/src/skin/material/control/tooltip.scss +40 -0
- package/src/skin/material/layout/layout.scss +88 -0
- package/src/skin/material/layout/resizer.scss +77 -0
- package/src/skin/material/material.scss +67 -0
- package/src/skin/material/module/ripple.scss +10 -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 +214 -0
- package/src/skin/material/view/form.scss +20 -0
- package/src/skin/material/view/grid.scss +133 -0
- package/src/skin/material/view/list.scss +105 -0
- package/src/skin/material/view/listview.scss +214 -0
- package/src/skin/material/view/map.scss +7 -0
- package/src/skin/material/view/page.scss +4 -0
- package/src/skin/material/view/tabview-bak.scss +48 -0
- package/src/skin/material/view/tabview.scss +63 -0
- package/src/skin/material/view/tree.scss +84 -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
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.tabview {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
height: 100%;
|
|
6
|
+
width: 100%;
|
|
7
|
+
white-space: no-wrap;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
>.indicator {
|
|
10
|
+
position: absolute;
|
|
11
|
+
height: 2px;
|
|
12
|
+
transition: 0.2s;
|
|
13
|
+
background-color: $secondary-color;
|
|
14
|
+
}
|
|
15
|
+
>.tabs {
|
|
16
|
+
flex: none;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
overflow: hidden ;
|
|
20
|
+
//height: 48px
|
|
21
|
+
>.material-divider {
|
|
22
|
+
margin: 0;
|
|
23
|
+
padding: 0;
|
|
24
|
+
flex: 1 ;
|
|
25
|
+
display: inline-block;
|
|
26
|
+
}
|
|
27
|
+
>button {
|
|
28
|
+
flex: 1;
|
|
29
|
+
display: inline-block;
|
|
30
|
+
padding: 0 10px;
|
|
31
|
+
height: 48px;
|
|
32
|
+
border-radius: 0;
|
|
33
|
+
margin: 0;
|
|
34
|
+
text-align: center;
|
|
35
|
+
background-repeat: no-repeat;
|
|
36
|
+
background-size: 30%;
|
|
37
|
+
background-position: center;
|
|
38
|
+
>label {
|
|
39
|
+
color: $default-color-text;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
>.views {
|
|
44
|
+
>div {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
.tabview {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
height: 100%;
|
|
6
|
+
width: 100%;
|
|
7
|
+
white-space: no-wrap;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
-webkit-touch-callout: none;
|
|
10
|
+
-webkit-user-select: none;
|
|
11
|
+
>.indicator {
|
|
12
|
+
position: absolute;
|
|
13
|
+
height: 2px;
|
|
14
|
+
// transition: 0.2s
|
|
15
|
+
}
|
|
16
|
+
>.tabs {
|
|
17
|
+
flex: none;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
overflow: hidden ;
|
|
21
|
+
//height: 48px
|
|
22
|
+
>.divider {
|
|
23
|
+
margin: 0;
|
|
24
|
+
padding: 0;
|
|
25
|
+
flex: 1 ;
|
|
26
|
+
display: inline-block;
|
|
27
|
+
}
|
|
28
|
+
>button {
|
|
29
|
+
flex: 1;
|
|
30
|
+
display: inline-block;
|
|
31
|
+
padding: 0;
|
|
32
|
+
height: 48px;
|
|
33
|
+
border-radius: 0;
|
|
34
|
+
margin: 0;
|
|
35
|
+
text-align: center;
|
|
36
|
+
background-repeat: no-repeat;
|
|
37
|
+
background-size: 25%;
|
|
38
|
+
background-position: center;
|
|
39
|
+
// transition: 50ms transform
|
|
40
|
+
&:hover, &.selected {
|
|
41
|
+
background-color: transparent;
|
|
42
|
+
// transform: scale(1.1)
|
|
43
|
+
// transition: 50ms transform
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.type-action {
|
|
47
|
+
max-width: 60px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
>.views {
|
|
53
|
+
position: relative;
|
|
54
|
+
flex: 1;
|
|
55
|
+
>div {
|
|
56
|
+
position: absolute;
|
|
57
|
+
left: 0;
|
|
58
|
+
top: 0;
|
|
59
|
+
right: 0;
|
|
60
|
+
bottom: 0;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
.material-tree {
|
|
2
|
+
padding: 16px 0;
|
|
3
|
+
overflow: scroll;
|
|
4
|
+
|
|
5
|
+
ul {
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
.item-tree {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: horizontal;
|
|
11
|
+
flex-wrap: nowrap;
|
|
12
|
+
text-align: left;
|
|
13
|
+
width: 100%;
|
|
14
|
+
display: block;
|
|
15
|
+
-ms-appearance: span;
|
|
16
|
+
-moz-appearance: span;
|
|
17
|
+
-webkit-appearance: span;
|
|
18
|
+
appearance: span;
|
|
19
|
+
padding: 8px 16px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.material-item {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: horizontal;
|
|
25
|
+
flex-wrap: nowrap;
|
|
26
|
+
text-align: left;
|
|
27
|
+
width: 100%;
|
|
28
|
+
display: block;
|
|
29
|
+
-ms-appearance: span;
|
|
30
|
+
-moz-appearance: span;
|
|
31
|
+
-webkit-appearance: span;
|
|
32
|
+
appearance: span;
|
|
33
|
+
padding: 8px 16px;
|
|
34
|
+
|
|
35
|
+
//border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
36
|
+
transition: .3s;
|
|
37
|
+
|
|
38
|
+
&.is-selected {
|
|
39
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
40
|
+
transition: .3s;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.ui-icon {
|
|
44
|
+
flex: none;
|
|
45
|
+
padding: 24px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ui-text {
|
|
49
|
+
flex: 1;
|
|
50
|
+
padding: 16px 12px 16px 0;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.material-button {
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: horizontal;
|
|
57
|
+
flex-wrap: nowrap;
|
|
58
|
+
text-align: left;
|
|
59
|
+
width: 100%;
|
|
60
|
+
display: block;
|
|
61
|
+
-ms-appearance: span;
|
|
62
|
+
-moz-appearance: span;
|
|
63
|
+
-webkit-appearance: span;
|
|
64
|
+
appearance: span;
|
|
65
|
+
|
|
66
|
+
.ui-icon {
|
|
67
|
+
flex: none;
|
|
68
|
+
padding: 24px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ui-text {
|
|
72
|
+
flex: 1;
|
|
73
|
+
padding: 16px 12px 16px 0;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ui-separator {
|
|
78
|
+
display: block;
|
|
79
|
+
height: 1px;
|
|
80
|
+
margin: 12px;
|
|
81
|
+
background-color: #DDD;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -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
|