material 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tracks.svg +10 -0
- package/package.json +1 -1
- package/src/appbar.js +1 -2
- package/src/control/button.js +263 -0
- package/src/control/button.new.js +190 -0
- package/src/control/datehour.js +65 -0
- package/src/control/dialog.js +174 -0
- package/src/control/file.js +123 -0
- package/src/control/image.js +92 -0
- 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 +21 -0
- package/src/control/search.js +98 -0
- package/src/control/select.js +130 -0
- 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 +66 -0
- package/src/control/textfield.js +177 -0
- package/src/field/image.js +9 -3
- package/src/form/build.js +60 -6
- package/src/form/cancel.js +7 -3
- package/src/form/controller.js +90 -0
- package/src/form/create.js +12 -6
- package/src/form/data.js +82 -0
- package/src/form/delete.js +2 -1
- package/src/form/fetch.js +30 -0
- package/src/form/render.js +14 -19
- package/src/form/set.js +27 -12
- package/src/form/submit.js +24 -49
- package/src/form/update.js +46 -0
- package/src/layout.js +26 -22
- package/src/list/add.js +34 -0
- package/src/list/build.js +100 -6
- 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 +15 -16
- package/src/module/extract.js +35 -28
- 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 +7 -5
- 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 +15 -3
- package/src/view/display.js +79 -7
- package/src/form/clean.js +0 -6
- package/src/form/mode.js +0 -16
- package/src/form/setup.js +0 -30
- package/src/list/fetch.js +0 -66
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/><path d="M0 0h24v24H0z" fill="none"/></svg>
|
|
@@ -43,11 +43,14 @@
|
|
|
43
43
|
@import button/file.sass
|
|
44
44
|
|
|
45
45
|
// control
|
|
46
|
+
@import control/button.sass
|
|
46
47
|
@import control/textfield.sass
|
|
47
48
|
@import control/switch.sass
|
|
48
49
|
@import control/checkbox.sass
|
|
50
|
+
@import control/selector.sass
|
|
49
51
|
@import control/slider.sass
|
|
50
52
|
@import control/tooltip.sass
|
|
53
|
+
@import control/search.sass
|
|
51
54
|
|
|
52
55
|
// view
|
|
53
56
|
@import view/view.sass
|
|
@@ -1,195 +1,88 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
flex-wrap: nowrap
|
|
9
|
-
text-align: left
|
|
10
|
-
width: 100%
|
|
11
|
-
display: block
|
|
12
|
-
font-size: 1rem
|
|
13
|
-
line-height: 1.2rem
|
|
14
|
-
appearance: span
|
|
15
|
-
padding: 14px 16px
|
|
16
|
-
|
|
17
|
-
//border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
18
|
-
transition: .1s
|
|
19
|
-
|
|
20
|
-
&.is-selected
|
|
21
|
-
background-color: rgba(0, 0, 0, 0.05)
|
|
22
|
-
transition: .1s
|
|
1
|
+
.list
|
|
2
|
+
flex: 1
|
|
3
|
+
display: flex
|
|
4
|
+
flex-direction: column
|
|
5
|
+
|
|
6
|
+
&.hide
|
|
7
|
+
display: none
|
|
23
8
|
|
|
24
|
-
.ui-icon
|
|
25
|
-
flex: none
|
|
26
|
-
padding: 24px
|
|
27
9
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
padding: 16px 12px 16px 0
|
|
31
|
-
|
|
32
|
-
.material-button
|
|
10
|
+
>.head
|
|
11
|
+
position: relative
|
|
33
12
|
display: flex
|
|
34
|
-
flex-direction:
|
|
35
|
-
flex
|
|
36
|
-
|
|
37
|
-
width: 100%
|
|
38
|
-
display: block
|
|
39
|
-
-ms-appearance: span
|
|
40
|
-
-moz-appearance: span
|
|
41
|
-
-webkit-appearance: span
|
|
42
|
-
appearance: span
|
|
43
|
-
|
|
44
|
-
.ui-icon
|
|
45
|
-
flex: none
|
|
46
|
-
padding: 24px
|
|
47
|
-
|
|
48
|
-
.button-label
|
|
13
|
+
flex-direction: row
|
|
14
|
+
flex: none
|
|
15
|
+
>.divider
|
|
49
16
|
flex: 1
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
&.type-image
|
|
65
|
-
max-width: 1000px
|
|
66
|
-
display: flex
|
|
67
|
-
flex-wrap: wrap
|
|
68
|
-
margin: 0 auto
|
|
69
|
-
padding: 0
|
|
70
|
-
|
|
71
|
-
.material-image
|
|
72
|
-
//float: left
|
|
73
|
-
//background-color: red
|
|
74
|
-
position: relative
|
|
75
|
-
display: list-item
|
|
76
|
-
//height: 125px
|
|
77
|
-
width: 125px
|
|
78
|
-
overflow: hidden
|
|
79
|
-
margin: 2px 2px
|
|
80
|
-
padding: 0
|
|
81
|
-
//background-color: red
|
|
82
|
-
-webkit-column-break-inside: avoid
|
|
83
|
-
break-inside: avoid-column
|
|
84
|
-
display: list-item
|
|
85
|
-
text-align: -webkit-match-parent
|
|
86
|
-
position: relative
|
|
87
|
-
box-sizing: border-box
|
|
88
|
-
//margin-bottom: 16px
|
|
89
|
-
|
|
90
|
-
.image-image
|
|
91
|
-
//height: 125px
|
|
92
|
-
width: 125px
|
|
93
|
-
display: block
|
|
94
|
-
|
|
95
|
-
.image-info
|
|
96
|
-
// padding: 16px
|
|
97
|
-
background-color: rgba(0,0,0,.6)
|
|
98
|
-
display: block
|
|
99
|
-
position: absolute
|
|
100
|
-
bottom: 0
|
|
101
|
-
left: 0
|
|
102
|
-
right: 0
|
|
103
|
-
display: flex
|
|
104
|
-
flex-direction: row
|
|
105
|
-
flex-wrap: nowrap
|
|
106
|
-
padding: 8px 16px
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
.image-label
|
|
110
|
-
line-height: 24px
|
|
111
|
-
flex: 1
|
|
112
|
-
color: rgba(255,255,255,.8)
|
|
113
|
-
overflow: hidden
|
|
114
|
-
text-overflow: ellipsis
|
|
115
|
-
height: 24px
|
|
116
|
-
// background-color: rgba(0,0,0,.6)
|
|
117
|
-
// display: block
|
|
118
|
-
// position: absolute
|
|
119
|
-
// bottom: 0
|
|
120
|
-
// left: 0
|
|
121
|
-
// right: 0
|
|
122
|
-
.image-icon
|
|
123
|
-
flex: none
|
|
124
|
-
svg
|
|
125
|
-
fill: white
|
|
126
|
-
|
|
127
|
-
&.hide-info
|
|
128
|
-
.image-info
|
|
129
|
-
display: none !important
|
|
130
|
-
|
|
131
|
-
&.info-below
|
|
132
|
-
.image-info
|
|
133
|
-
//display: none !important
|
|
134
|
-
color: initial !important
|
|
135
|
-
padding: 16px
|
|
136
|
-
background-color: transparent !important
|
|
137
|
-
//display: block
|
|
138
|
-
position: initial !important
|
|
139
|
-
padding: 8px 0 !important
|
|
140
|
-
line-height: 16px
|
|
141
|
-
// bottom: 0
|
|
142
|
-
// left: 0
|
|
143
|
-
// right: 0
|
|
144
|
-
.image-label
|
|
145
|
-
line-height: 24px
|
|
146
|
-
flex: 1
|
|
147
|
-
color: rgba(0,0,0,.8)
|
|
148
|
-
.image-icon
|
|
149
|
-
flex: none
|
|
150
|
-
svg
|
|
151
|
-
fill: rgba(0,0,0,.8)
|
|
152
|
-
|
|
153
|
-
&.layout-masonry
|
|
154
|
-
-webkit-column-count: 3
|
|
155
|
-
column-count: 3
|
|
156
|
-
-webkit-column-gap: 16px
|
|
157
|
-
column-gap: 16px
|
|
158
|
-
max-width: 1000px
|
|
17
|
+
>.button.search
|
|
18
|
+
flex: none
|
|
19
|
+
&.selected
|
|
20
|
+
// background-color: $primary-color
|
|
21
|
+
.button-icon svg
|
|
22
|
+
fill: rgba(255, 255, 255, 1)
|
|
23
|
+
|
|
24
|
+
>.body.search
|
|
25
|
+
display: none
|
|
26
|
+
overflow: scroll
|
|
27
|
+
flex: 1
|
|
28
|
+
&.show
|
|
159
29
|
display: block
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
30
|
+
|
|
31
|
+
>.body
|
|
32
|
+
overflow: scroll
|
|
33
|
+
flex: 1
|
|
34
|
+
// overscroll-behavior: none
|
|
35
|
+
// height: 100%
|
|
36
|
+
.item
|
|
37
|
+
user-select: none
|
|
38
|
+
width: 100%
|
|
39
|
+
display: flex
|
|
40
|
+
flex-direction: row
|
|
41
|
+
padding: 8px 16px 8px 24px
|
|
42
|
+
border: none
|
|
43
|
+
background-color: transparent
|
|
44
|
+
border-radius: 0
|
|
45
|
+
box-shadow: none
|
|
46
|
+
border-bottom: 1px solid rgba(0,0,0,.1)
|
|
47
|
+
|
|
48
|
+
.image
|
|
49
|
+
flex: none
|
|
166
50
|
position: relative
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
background-
|
|
174
|
-
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
// // width: 177px
|
|
185
|
-
// display: block
|
|
51
|
+
width: 64px
|
|
52
|
+
height: 64px
|
|
53
|
+
background-color: rgba(0,0,0,.05)
|
|
54
|
+
//border: 1px solid rgba(0,0,0,.2)
|
|
55
|
+
background-size: contain
|
|
56
|
+
background-repeat: no-repeat
|
|
57
|
+
background-position: center
|
|
58
|
+
margin-right: 16px
|
|
59
|
+
|
|
60
|
+
&.hide
|
|
61
|
+
display: none
|
|
62
|
+
.item
|
|
63
|
+
.info
|
|
64
|
+
display: flex
|
|
65
|
+
flex-direction: row
|
|
66
|
+
&.selected
|
|
67
|
+
background-color: rgba(0,0,0,.05)
|
|
186
68
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
69
|
+
>.foot
|
|
70
|
+
display: flex
|
|
71
|
+
flex-direction: row
|
|
72
|
+
flex: none
|
|
73
|
+
border-top: 1px solid rgba(0, 0, 0, 0.1)
|
|
74
|
+
padding: 8px 16px 8px 24px
|
|
75
|
+
|
|
76
|
+
.virtual
|
|
77
|
+
overflow: auto
|
|
78
|
+
position: relative
|
|
79
|
+
padding: 0
|
|
80
|
+
margin: 0
|
|
81
|
+
width: 100%
|
|
82
|
+
height: 100%
|
|
83
|
+
.scroller
|
|
84
|
+
opacity: 1
|
|
85
|
+
position: absolute
|
|
86
|
+
top: 0
|
|
87
|
+
left: 0
|
|
88
|
+
width: 1px
|
|
@@ -1,104 +1,195 @@
|
|
|
1
|
-
.list
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
flex-direction: column
|
|
5
|
-
min-width: 260px
|
|
6
|
-
|
|
7
|
-
&.hide
|
|
8
|
-
display: none
|
|
9
|
-
|
|
1
|
+
.material-list
|
|
2
|
+
padding: 0
|
|
3
|
+
overflow: scroll
|
|
10
4
|
|
|
11
|
-
|
|
12
|
-
position: relative
|
|
5
|
+
.material-item
|
|
13
6
|
display: flex
|
|
14
|
-
flex-direction:
|
|
15
|
-
flex:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
flex-direction: horizontal
|
|
8
|
+
flex-wrap: nowrap
|
|
9
|
+
text-align: left
|
|
10
|
+
width: 100%
|
|
11
|
+
display: block
|
|
12
|
+
font-size: 1rem
|
|
13
|
+
line-height: 1.2rem
|
|
14
|
+
appearance: span
|
|
15
|
+
padding: 14px 16px
|
|
16
|
+
|
|
17
|
+
//border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
18
|
+
transition: .1s
|
|
19
|
+
|
|
20
|
+
&.is-selected
|
|
21
|
+
background-color: rgba(0, 0, 0, 0.05)
|
|
22
|
+
transition: .1s
|
|
23
|
+
|
|
24
|
+
.ui-icon
|
|
19
25
|
flex: none
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
padding: 24px
|
|
27
|
+
|
|
28
|
+
.ui-text
|
|
29
|
+
flex: 1
|
|
30
|
+
padding: 16px 12px 16px 0
|
|
24
31
|
|
|
25
|
-
|
|
26
|
-
display:
|
|
32
|
+
.material-button
|
|
33
|
+
display: flex
|
|
34
|
+
flex-direction: horizontal
|
|
35
|
+
flex-wrap: nowrap
|
|
36
|
+
text-align: left
|
|
27
37
|
width: 100%
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
38
|
+
display: block
|
|
39
|
+
-ms-appearance: span
|
|
40
|
+
-moz-appearance: span
|
|
41
|
+
-webkit-appearance: span
|
|
42
|
+
appearance: span
|
|
43
|
+
|
|
44
|
+
.ui-icon
|
|
45
|
+
flex: none
|
|
46
|
+
padding: 24px
|
|
47
|
+
|
|
48
|
+
.button-label
|
|
49
|
+
flex: 1
|
|
50
|
+
padding: 16px 12px 16px 0
|
|
51
|
+
|
|
52
|
+
.ui-separator
|
|
53
|
+
display: block
|
|
54
|
+
height: 1px
|
|
55
|
+
margin: 12px
|
|
56
|
+
background-color: #DDD
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
&.type-image
|
|
65
|
+
max-width: 1000px
|
|
66
|
+
display: flex
|
|
67
|
+
flex-wrap: wrap
|
|
68
|
+
margin: 0 auto
|
|
69
|
+
padding: 0
|
|
70
|
+
|
|
71
|
+
.material-image
|
|
72
|
+
//float: left
|
|
73
|
+
//background-color: red
|
|
74
|
+
position: relative
|
|
75
|
+
display: list-item
|
|
76
|
+
//height: 125px
|
|
77
|
+
width: 125px
|
|
78
|
+
overflow: hidden
|
|
79
|
+
margin: 2px 2px
|
|
80
|
+
padding: 0
|
|
81
|
+
//background-color: red
|
|
82
|
+
-webkit-column-break-inside: avoid
|
|
83
|
+
break-inside: avoid-column
|
|
84
|
+
display: list-item
|
|
85
|
+
text-align: -webkit-match-parent
|
|
86
|
+
position: relative
|
|
87
|
+
box-sizing: border-box
|
|
88
|
+
//margin-bottom: 16px
|
|
89
|
+
|
|
90
|
+
.image-image
|
|
91
|
+
//height: 125px
|
|
92
|
+
width: 125px
|
|
93
|
+
display: block
|
|
94
|
+
|
|
95
|
+
.image-info
|
|
96
|
+
// padding: 16px
|
|
97
|
+
background-color: rgba(0,0,0,.6)
|
|
98
|
+
display: block
|
|
99
|
+
position: absolute
|
|
100
|
+
bottom: 0
|
|
101
|
+
left: 0
|
|
102
|
+
right: 0
|
|
80
103
|
display: flex
|
|
81
104
|
flex-direction: row
|
|
82
|
-
|
|
83
|
-
|
|
105
|
+
flex-wrap: nowrap
|
|
106
|
+
padding: 8px 16px
|
|
107
|
+
|
|
84
108
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
109
|
+
.image-label
|
|
110
|
+
line-height: 24px
|
|
111
|
+
flex: 1
|
|
112
|
+
color: rgba(255,255,255,.8)
|
|
113
|
+
overflow: hidden
|
|
114
|
+
text-overflow: ellipsis
|
|
115
|
+
height: 24px
|
|
116
|
+
// background-color: rgba(0,0,0,.6)
|
|
117
|
+
// display: block
|
|
118
|
+
// position: absolute
|
|
119
|
+
// bottom: 0
|
|
120
|
+
// left: 0
|
|
121
|
+
// right: 0
|
|
122
|
+
.image-icon
|
|
123
|
+
flex: none
|
|
124
|
+
svg
|
|
125
|
+
fill: white
|
|
126
|
+
|
|
127
|
+
&.hide-info
|
|
128
|
+
.image-info
|
|
129
|
+
display: none !important
|
|
130
|
+
|
|
131
|
+
&.info-below
|
|
132
|
+
.image-info
|
|
133
|
+
//display: none !important
|
|
134
|
+
color: initial !important
|
|
135
|
+
padding: 16px
|
|
136
|
+
background-color: transparent !important
|
|
137
|
+
//display: block
|
|
138
|
+
position: initial !important
|
|
139
|
+
padding: 8px 0 !important
|
|
140
|
+
line-height: 16px
|
|
141
|
+
// bottom: 0
|
|
142
|
+
// left: 0
|
|
143
|
+
// right: 0
|
|
144
|
+
.image-label
|
|
145
|
+
line-height: 24px
|
|
146
|
+
flex: 1
|
|
147
|
+
color: rgba(0,0,0,.8)
|
|
148
|
+
.image-icon
|
|
149
|
+
flex: none
|
|
150
|
+
svg
|
|
151
|
+
fill: rgba(0,0,0,.8)
|
|
152
|
+
|
|
153
|
+
&.layout-masonry
|
|
154
|
+
-webkit-column-count: 3
|
|
155
|
+
column-count: 3
|
|
156
|
+
-webkit-column-gap: 16px
|
|
157
|
+
column-gap: 16px
|
|
158
|
+
max-width: 1000px
|
|
159
|
+
display: block
|
|
160
|
+
flex-wrap: wrap
|
|
161
|
+
margin: 0 auto
|
|
162
|
+
padding: 0
|
|
163
|
+
.material-image
|
|
164
|
+
//float: left
|
|
165
|
+
//background-color: red
|
|
166
|
+
position: relative
|
|
167
|
+
display: list-item
|
|
168
|
+
// height: 118px
|
|
169
|
+
// width: 177px
|
|
170
|
+
overflow: hidden
|
|
171
|
+
margin: 0 2px
|
|
172
|
+
padding: 0
|
|
173
|
+
background-color: red
|
|
174
|
+
-webkit-column-break-inside: avoid
|
|
175
|
+
break-inside: avoid-column
|
|
176
|
+
display: list-item
|
|
177
|
+
text-align: -webkit-match-parent
|
|
178
|
+
position: relative
|
|
179
|
+
box-sizing: border-box
|
|
180
|
+
margin-bottom: 16px
|
|
181
|
+
|
|
182
|
+
// .image-image
|
|
183
|
+
// // height: 118px
|
|
184
|
+
// // width: 177px
|
|
185
|
+
// display: block
|
|
186
|
+
|
|
187
|
+
// .image-label
|
|
188
|
+
// color: rgba(255,255,255,.8)
|
|
189
|
+
// padding: 16px
|
|
190
|
+
// background-color: rgba(0,0,0,.6)
|
|
191
|
+
// display: block
|
|
192
|
+
// position: absolute
|
|
193
|
+
// bottom: 0
|
|
194
|
+
// left: 0
|
|
195
|
+
// right: 0
|
|
@@ -6,10 +6,12 @@
|
|
|
6
6
|
width: 100%
|
|
7
7
|
white-space: no-wrap
|
|
8
8
|
overflow: hidden
|
|
9
|
+
-webkit-touch-callout: none
|
|
10
|
+
-webkit-user-select: none
|
|
9
11
|
>.indicator
|
|
10
12
|
position: absolute
|
|
11
13
|
height: 2px
|
|
12
|
-
transition: 0.2s
|
|
14
|
+
// transition: 0.2s
|
|
13
15
|
>.tabs
|
|
14
16
|
flex: none
|
|
15
17
|
display: flex
|
|
@@ -30,13 +32,13 @@
|
|
|
30
32
|
margin: 0
|
|
31
33
|
text-align: center
|
|
32
34
|
background-repeat: no-repeat
|
|
33
|
-
background-size:
|
|
35
|
+
background-size: 25%
|
|
34
36
|
background-position: center
|
|
35
|
-
transition: 50ms transform
|
|
37
|
+
// transition: 50ms transform
|
|
36
38
|
&:hover, &.selected
|
|
37
39
|
background-color: transparent
|
|
38
|
-
transform: scale(1.1)
|
|
39
|
-
transition: 50ms transform
|
|
40
|
+
// transform: scale(1.1)
|
|
41
|
+
// transition: 50ms transform
|
|
40
42
|
|
|
41
43
|
&.type-action
|
|
42
44
|
max-width: 60px
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
// set all container boder-box
|
|
48
|
+
*
|
|
49
|
+
box-sizing: border-box
|
|
50
|
+
|
|
51
|
+
a
|
|
52
|
+
color: rgba(0, 0, 0, 0.7)
|