@pacem/pacem-theme-less 1.0.0-amaldi
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/LICENSE +191 -0
- package/NOTICE +4 -0
- package/README.md +23 -0
- package/fonts-empty.less +11 -0
- package/pacem/2d/index.less +14 -0
- package/pacem/2d/stage.less +31 -0
- package/pacem/2d/text.less +16 -0
- package/pacem/3d/index.less +24 -0
- package/pacem/3d/stage.less +30 -0
- package/pacem/attributes.less +8 -0
- package/pacem/basic/dock.less +19 -0
- package/pacem/basic/drag-drop.less +75 -0
- package/pacem/basic/index.less +42 -0
- package/pacem/basic/repeater.less +3 -0
- package/pacem/basic/rescale.less +157 -0
- package/pacem/basic/resize.less +3 -0
- package/pacem/basic/scroll-aware.less +4 -0
- package/pacem/basic/swipe.less +22 -0
- package/pacem/basic/viewport-aware.less +4 -0
- package/pacem/body.less +197 -0
- package/pacem/charts/dark/column-line.less +10 -0
- package/pacem/charts/dark/column.less +61 -0
- package/pacem/charts/dark/index.less +9 -0
- package/pacem/charts/dark/line.less +111 -0
- package/pacem/charts/dark/pie.less +210 -0
- package/pacem/charts/dark/shared.less +88 -0
- package/pacem/charts/index.less +1 -0
- package/pacem/charts/light/index.less +2 -0
- package/pacem/charts/phousys/index.less +2 -0
- package/pacem/cms/datagrid-columns.less +41 -0
- package/pacem/cms/grid.less +23 -0
- package/pacem/cms/index.less +3 -0
- package/pacem/cms/shared.less +3 -0
- package/pacem/cms/widget.less +81 -0
- package/pacem/fonts-dark.less +7 -0
- package/pacem/fonts-light.less +7 -0
- package/pacem/fonts-none.less +1 -0
- package/pacem/fonts-phousys.less +8 -0
- package/pacem/fx/fancy.less +138 -0
- package/pacem/fx/gradient.less +21 -0
- package/pacem/fx/hero.less +12 -0
- package/pacem/fx/index.less +6 -0
- package/pacem/fx/list.less +11 -0
- package/pacem/fx/pulse.less +105 -0
- package/pacem/fx/ripple.less +66 -0
- package/pacem/icons.less +76 -0
- package/pacem/layout/animations.less +37 -0
- package/pacem/layout/dark/address.less +37 -0
- package/pacem/layout/dark/borders.less +102 -0
- package/pacem/layout/dark/breadcrumbs.less +85 -0
- package/pacem/layout/dark/cards.less +555 -0
- package/pacem/layout/dark/coloring.less +184 -0
- package/pacem/layout/dark/container.less +50 -0
- package/pacem/layout/dark/datatable.less +454 -0
- package/pacem/layout/dark/elevation.less +74 -0
- package/pacem/layout/dark/fetch-feedback.less +124 -0
- package/pacem/layout/dark/grid-system.less +181 -0
- package/pacem/layout/dark/grids.less +268 -0
- package/pacem/layout/dark/index.less +27 -0
- package/pacem/layout/dark/interactive.less +10 -0
- package/pacem/layout/dark/layout.less +616 -0
- package/pacem/layout/dark/lists.less +112 -0
- package/pacem/layout/dark/other.less +29 -0
- package/pacem/layout/dark/panels.less +299 -0
- package/pacem/layout/dark/positioning.less +273 -0
- package/pacem/layout/dark/scroll.less +93 -0
- package/pacem/layout/dark/shapes.less +22 -0
- package/pacem/layout/dark/sizing.less +108 -0
- package/pacem/layout/dark/spacing.less +296 -0
- package/pacem/layout/dark/superposition-system.less +116 -0
- package/pacem/layout/dark/tiles.less +71 -0
- package/pacem/layout/dark/tokens-chips.less +16 -0
- package/pacem/layout/dark/toolbar.less +32 -0
- package/pacem/layout/dark/typography.less +110 -0
- package/pacem/layout/dark/visibility.less +406 -0
- package/pacem/layout/index.less +2 -0
- package/pacem/layout/light/index.less +2 -0
- package/pacem/layout/light/layout.less +2 -0
- package/pacem/layout/mixins.less +445 -0
- package/pacem/layout/phousys/index.less +2 -0
- package/pacem/layout/phousys/layout.less +2 -0
- package/pacem/layout/shared.less +18 -0
- package/pacem/logging/console.less +3 -0
- package/pacem/logging/fps.less +6 -0
- package/pacem/logging/index.less +2 -0
- package/pacem/maps/index.less +21 -0
- package/pacem/media/dark/index.less +6 -0
- package/pacem/media/index.less +1 -0
- package/pacem/media/light/index.less +2 -0
- package/pacem/media/phousys/index.less +2 -0
- package/pacem/pacem-animations.less +202 -0
- package/pacem/pacem.less +448 -0
- package/pacem/palette-dark.less +0 -0
- package/pacem/palette-light.less +0 -0
- package/pacem/plus/carousel.less +370 -0
- package/pacem/plus/context-menu.less +31 -0
- package/pacem/plus/datagrid/datacell.less +10 -0
- package/pacem/plus/datagrid/headcell.less +32 -0
- package/pacem/plus/datagrid/index.less +48 -0
- package/pacem/plus/edit.less +42 -0
- package/pacem/plus/gallery.less +239 -0
- package/pacem/plus/index.less +7 -0
- package/pacem/plus/modal-form.less +27 -0
- package/pacem/plus/router-hash-state.less +6 -0
- package/pacem/reset.less +51 -0
- package/pacem/scaffolding/dark/calendar-picker.less +415 -0
- package/pacem/scaffolding/dark/char-counter.less +68 -0
- package/pacem/scaffolding/dark/chars.less +29 -0
- package/pacem/scaffolding/dark/checkbox-radio-shared.less +150 -0
- package/pacem/scaffolding/dark/checkbox.less +232 -0
- package/pacem/scaffolding/dark/childform.less +191 -0
- package/pacem/scaffolding/dark/color.less +128 -0
- package/pacem/scaffolding/dark/contenteditable/alignment.less +6 -0
- package/pacem/scaffolding/dark/contenteditable/dashboard.less +253 -0
- package/pacem/scaffolding/dark/contenteditable/index.less +4 -0
- package/pacem/scaffolding/dark/contenteditable/picture.less +74 -0
- package/pacem/scaffolding/dark/contenteditable/placeholder.less +24 -0
- package/pacem/scaffolding/dark/contenteditable.less +157 -0
- package/pacem/scaffolding/dark/datepicker.less +129 -0
- package/pacem/scaffolding/dark/dialog-overrides.less +32 -0
- package/pacem/scaffolding/dark/element-picker.less +11 -0
- package/pacem/scaffolding/dark/expression.less +34 -0
- package/pacem/scaffolding/dark/form.less +16 -0
- package/pacem/scaffolding/dark/formfield.less +1149 -0
- package/pacem/scaffolding/dark/geolocate.less +12 -0
- package/pacem/scaffolding/dark/hierarchy.less +82 -0
- package/pacem/scaffolding/dark/image.less +195 -0
- package/pacem/scaffolding/dark/index.less +57 -0
- package/pacem/scaffolding/dark/input.less +134 -0
- package/pacem/scaffolding/dark/latlng.less +163 -0
- package/pacem/scaffolding/dark/markdown.less +20 -0
- package/pacem/scaffolding/dark/namevalue-list.less +13 -0
- package/pacem/scaffolding/dark/number.less +12 -0
- package/pacem/scaffolding/dark/password.less +12 -0
- package/pacem/scaffolding/dark/property-picker.less +11 -0
- package/pacem/scaffolding/dark/radio.less +78 -0
- package/pacem/scaffolding/dark/search.less +29 -0
- package/pacem/scaffolding/dark/select.less +55 -0
- package/pacem/scaffolding/dark/slider.less +176 -0
- package/pacem/scaffolding/dark/snapshot.less +183 -0
- package/pacem/scaffolding/dark/suggest.less +115 -0
- package/pacem/scaffolding/dark/tags.less +149 -0
- package/pacem/scaffolding/dark/tel.less +11 -0
- package/pacem/scaffolding/dark/textarea.less +29 -0
- package/pacem/scaffolding/dark/upload.less +252 -0
- package/pacem/scaffolding/dark/url.less +9 -0
- package/pacem/scaffolding/dark/validators.less +36 -0
- package/pacem/scaffolding/index.less +2 -0
- package/pacem/scaffolding/light/index.less +2 -0
- package/pacem/scaffolding/phousys/index.less +2 -0
- package/pacem/scaffolding/shared.less +249 -0
- package/pacem/text-overrides.less +219 -0
- package/pacem/theme-dark.less +676 -0
- package/pacem/theme-light.less +119 -0
- package/pacem/theme-phousys-old.less +130 -0
- package/pacem/theme-phousys.less +153 -0
- package/pacem/transforms/index.less +7 -0
- package/pacem/ui/dark/anchor.less +45 -0
- package/pacem/ui/dark/balloon.less +566 -0
- package/pacem/ui/dark/binder.less +50 -0
- package/pacem/ui/dark/blade.less +110 -0
- package/pacem/ui/dark/body.less +5 -0
- package/pacem/ui/dark/bottom-sheet.less +69 -0
- package/pacem/ui/dark/button.less +716 -0
- package/pacem/ui/dark/calendar.less +660 -0
- package/pacem/ui/dark/collapse.less +23 -0
- package/pacem/ui/dark/dialog.less +17 -0
- package/pacem/ui/dark/divider.less +49 -0
- package/pacem/ui/dark/header-footer.less +5 -0
- package/pacem/ui/dark/icon.less +141 -0
- package/pacem/ui/dark/image.less +90 -0
- package/pacem/ui/dark/index.less +82 -0
- package/pacem/ui/dark/infinite-scroller.less +5 -0
- package/pacem/ui/dark/led.less +142 -0
- package/pacem/ui/dark/lightbox.less +140 -0
- package/pacem/ui/dark/loader.less +219 -0
- package/pacem/ui/dark/markdown.less +292 -0
- package/pacem/ui/dark/marquee.less +49 -0
- package/pacem/ui/dark/menu.less +578 -0
- package/pacem/ui/dark/pager.less +166 -0
- package/pacem/ui/dark/picture.less +146 -0
- package/pacem/ui/dark/progressbar.less +167 -0
- package/pacem/ui/dark/sidebar.less +144 -0
- package/pacem/ui/dark/slideshow.less +1 -0
- package/pacem/ui/dark/social.less +5 -0
- package/pacem/ui/dark/sticky-header.less +41 -0
- package/pacem/ui/dark/tabs.less +423 -0
- package/pacem/ui/dark/ticker.less +173 -0
- package/pacem/ui/dark/timeline.less +159 -0
- package/pacem/ui/dark/toast.less +232 -0
- package/pacem/ui/dark/toc.less +47 -0
- package/pacem/ui/dark/tuner.less +155 -0
- package/pacem/ui/dark/view.less +17 -0
- package/pacem/ui/dark/window.less +313 -0
- package/pacem/ui/dialog-vars.less +159 -0
- package/pacem/ui/index.less +1 -0
- package/pacem/ui/light/button.less +8 -0
- package/pacem/ui/light/index.less +3 -0
- package/pacem/ui/light/loader.less +2 -0
- package/pacem/ui/light/menu.less +2 -0
- package/pacem/ui/light/sidebar.less +2 -0
- package/pacem/ui/phousys/button.less +8 -0
- package/pacem/ui/phousys/index.less +3 -0
- package/pacem/ui/phousys/loader.less +2 -0
- package/pacem/ui/phousys/menu.less +2 -0
- package/pacem/ui/phousys/sidebar.less +2 -0
- package/pacem/ui/shared.less +125 -0
- package/package.json +39 -0
- package/shared.less +161 -0
- package/theme-empty.less +116 -0
- package/themebuilder.js +290 -0
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@_h_tab: @grid_spacing * 1.5;
|
|
4
|
+
@_clr_tab: @color_tab_back;
|
|
5
|
+
@_clr_brd_tab: @color_border;
|
|
6
|
+
@_brd_tab: @border_tab;
|
|
7
|
+
|
|
8
|
+
@{P}-tabs {
|
|
9
|
+
display: block;
|
|
10
|
+
//position: relative;
|
|
11
|
+
|
|
12
|
+
@{P}-tab {
|
|
13
|
+
display: none;
|
|
14
|
+
opacity: 0;
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
|
|
17
|
+
&.tab-out,
|
|
18
|
+
&.tab-in,
|
|
19
|
+
&.tab-focus {
|
|
20
|
+
display: block;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.tab-previous {
|
|
24
|
+
transform: translateX(-@grid_spacing);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.tab-next {
|
|
28
|
+
transform: translateX(@grid_spacing);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.tab-focus,
|
|
32
|
+
&.@{PCSS}-tab-focus {
|
|
33
|
+
pointer-events: auto;
|
|
34
|
+
opacity: 1;
|
|
35
|
+
transform: none; // translateX(0) translateY(0) translateZ(0);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.@{PCSS}-tabs-content {
|
|
40
|
+
background: @_clr_tab;
|
|
41
|
+
padding: @grid_spacing;
|
|
42
|
+
border-radius: @border_radius;
|
|
43
|
+
border: @_brd_tab solid @_clr_brd_tab;
|
|
44
|
+
z-index: 0;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
display: grid;
|
|
47
|
+
|
|
48
|
+
> @{P}-tab {
|
|
49
|
+
grid-column: 1;
|
|
50
|
+
grid-row: 1;
|
|
51
|
+
align-self: start;
|
|
52
|
+
overflow: auto;
|
|
53
|
+
}
|
|
54
|
+
/* #region unused */
|
|
55
|
+
|
|
56
|
+
.tab-heading {
|
|
57
|
+
padding: 0 0 @grid_spacing/2 0;
|
|
58
|
+
margin: 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.tab-body,
|
|
62
|
+
.tab-footer {
|
|
63
|
+
padding: @grid_spacing/2 0;
|
|
64
|
+
color: fade(@color_default, 80);
|
|
65
|
+
line-height: 1.3333;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.tab-heading, .tab-body, .tab-footer {
|
|
69
|
+
&:last-child {
|
|
70
|
+
padding-bottom: 0;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.tab-heading {
|
|
75
|
+
line-height: 1.1;
|
|
76
|
+
.FontMain(1.5);
|
|
77
|
+
min-height: @grid_spacing;
|
|
78
|
+
|
|
79
|
+
&.heading-bigger {
|
|
80
|
+
.FontMainSize(2);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
h1, h2, h3, h4, h5, h6 {
|
|
84
|
+
font-size: 1em;
|
|
85
|
+
margin: 0;
|
|
86
|
+
padding: 0;
|
|
87
|
+
line-height: 1;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.tab-heading when (@shadows = true) {
|
|
92
|
+
text-shadow: 0 2px 5px rgba(0,0,0,0.5);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.tab-heading when (@uppercase_headings = true) {
|
|
96
|
+
text-transform: uppercase;
|
|
97
|
+
|
|
98
|
+
h1, h2, h3, h4, h5, h6 {
|
|
99
|
+
font-weight: normal;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
/* #endregion */
|
|
103
|
+
}
|
|
104
|
+
/*.@{PCSS}-tabs-content {
|
|
105
|
+
z-index: 1;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.@{PCSS}-tabs-adapter {
|
|
109
|
+
z-index: 0;
|
|
110
|
+
}*/
|
|
111
|
+
&.rise,
|
|
112
|
+
&.tabs-rise {
|
|
113
|
+
|
|
114
|
+
&when(@dark_theme = true) {
|
|
115
|
+
|
|
116
|
+
.@{PCSS}-tabs-content {
|
|
117
|
+
box-shadow: 0 4px 16px rgba(0,0,0,0.125);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.@{PCSS}-tabs.tabs-vertical {
|
|
121
|
+
|
|
122
|
+
@{P}-button.@{PCSS}-adapter-page.@{PCSS}-adapter-active {
|
|
123
|
+
box-shadow: -2px 2px 4px rgba(0,0,0,0.125);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&when(@dark_theme = false) {
|
|
129
|
+
|
|
130
|
+
.@{PCSS}-tabs-content {
|
|
131
|
+
box-shadow: 0 2px 24px rgba(0,0,0,0.075);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.@{PCSS}-tabs.tabs-vertical {
|
|
135
|
+
|
|
136
|
+
@{P}-button.@{PCSS}-adapter-page.@{PCSS}-adapter-active {
|
|
137
|
+
box-shadow: -2px 2px 4px rgba(0,0,0,0.05);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&.tabs-flat {
|
|
144
|
+
.@{PCSS}-tabs-content {
|
|
145
|
+
box-shadow: none;
|
|
146
|
+
background: none;
|
|
147
|
+
border: none;
|
|
148
|
+
padding-left: ~"var(--@{PCSS}-size-1)";
|
|
149
|
+
padding-right: $padding-left;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.@{PCSS}-tabs.tabs-vertical {
|
|
153
|
+
|
|
154
|
+
@{P}-button.@{PCSS}-adapter-page.@{PCSS}-adapter-active {
|
|
155
|
+
box-shadow: none;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&.tabs-no-ypad {
|
|
161
|
+
.@{PCSS}-tabs-content {
|
|
162
|
+
padding-top: 0;
|
|
163
|
+
padding-bottom: 0;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&.tabs-no-xpad {
|
|
168
|
+
.@{PCSS}-tabs-content {
|
|
169
|
+
padding-left: 0;
|
|
170
|
+
padding-right: 0;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&.tabs-nopad {
|
|
175
|
+
.@{PCSS}-tabs-content {
|
|
176
|
+
padding: 0;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@_s_btn: @grid_spacing;
|
|
182
|
+
|
|
183
|
+
// tabs (header)
|
|
184
|
+
@{P}-tabs {
|
|
185
|
+
|
|
186
|
+
.@{PCSS}-tabs {
|
|
187
|
+
|
|
188
|
+
@{P}-adapter.@{PCSS}-tabs-adapter {
|
|
189
|
+
|
|
190
|
+
.@{PCSS}-adapter-dashboard {
|
|
191
|
+
list-style-type: none;
|
|
192
|
+
display: flex;
|
|
193
|
+
flex-direction: row;
|
|
194
|
+
align-items: flex-start;
|
|
195
|
+
margin: 0 0 0 round(2 * @_h_tab);
|
|
196
|
+
padding: 0;
|
|
197
|
+
clear: right;
|
|
198
|
+
|
|
199
|
+
> li {
|
|
200
|
+
|
|
201
|
+
> @{P}-button.@{PCSS}-adapter-page {
|
|
202
|
+
padding: @grid_spacing/6 @grid_spacing/2 0 @grid_spacing/2;
|
|
203
|
+
margin: 0;
|
|
204
|
+
background-color: transparent;
|
|
205
|
+
height: @_h_tab;
|
|
206
|
+
box-sizing: border-box;
|
|
207
|
+
border-top-left-radius: @border_radius;
|
|
208
|
+
border-top-right-radius: @border_radius;
|
|
209
|
+
|
|
210
|
+
&.@{PCSS}-disabled {
|
|
211
|
+
box-shadow: none;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
> @{P}-span {
|
|
215
|
+
display: block;
|
|
216
|
+
box-sizing: border-box;
|
|
217
|
+
height: @_h_tab - @grid_spacing/6;
|
|
218
|
+
line-height: @_h_tab - @grid_spacing/6;
|
|
219
|
+
margin: 0 @grid_spacing/2;
|
|
220
|
+
border-bottom: 1px solid transparent;
|
|
221
|
+
transition: border-color .3s linear;
|
|
222
|
+
|
|
223
|
+
> span {
|
|
224
|
+
display: block;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
&.@{PCSS}-adapter-active {
|
|
229
|
+
background-color: @_clr_tab;
|
|
230
|
+
border-top: @_brd_tab solid @_clr_brd_tab;
|
|
231
|
+
border-right: @_brd_tab solid @_clr_brd_tab;
|
|
232
|
+
border-left: @_brd_tab solid @_clr_brd_tab;
|
|
233
|
+
border-bottom: 0;
|
|
234
|
+
z-index: 1;
|
|
235
|
+
transform: translateY(@_brd_tab);
|
|
236
|
+
|
|
237
|
+
> @{P}-span {
|
|
238
|
+
border-color: @color_tab_highlight;
|
|
239
|
+
//background-color: @color_teal;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.@{PCSS}-adapter-next,
|
|
247
|
+
.@{PCSS}-adapter-previous {
|
|
248
|
+
font-size: 0;
|
|
249
|
+
float: left;
|
|
250
|
+
height: @_h_tab;
|
|
251
|
+
line-height: @_h_tab;
|
|
252
|
+
display: block;
|
|
253
|
+
width: @_h_tab;
|
|
254
|
+
background-color: transparent;
|
|
255
|
+
margin: 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.@{PCSS}-adapter-next::before {
|
|
259
|
+
.Icon('chevron_right', @_s_btn);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.@{PCSS}-adapter-previous::before {
|
|
263
|
+
.Icon('chevron_left', @_s_btn);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.@{PCSS}-adapter-next,
|
|
267
|
+
.@{PCSS}-adapter-previous {
|
|
268
|
+
|
|
269
|
+
&::before {
|
|
270
|
+
left: 0;
|
|
271
|
+
width: 100%;
|
|
272
|
+
line-height: @_h_tab;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&.tabs-vertical {
|
|
278
|
+
display: flex;
|
|
279
|
+
flex-direction: row;
|
|
280
|
+
|
|
281
|
+
@{P}-adapter.@{PCSS}-tabs-adapter {
|
|
282
|
+
flex-basis: @grid_cell * 2;
|
|
283
|
+
flex-grow: 0;
|
|
284
|
+
flex-shrink: 0;
|
|
285
|
+
/*> @{P}-panel:last-child {
|
|
286
|
+
// overlap border-size (1px) on content
|
|
287
|
+
transform: translateX(1px);
|
|
288
|
+
}*/
|
|
289
|
+
|
|
290
|
+
.@{PCSS}-adapter-dashboard {
|
|
291
|
+
display: block;
|
|
292
|
+
margin: 2 * @_s_btn 0 0 0;
|
|
293
|
+
|
|
294
|
+
> li {
|
|
295
|
+
display: list-item;
|
|
296
|
+
|
|
297
|
+
> @{P}-button.@{PCSS}-adapter-page {
|
|
298
|
+
padding: @grid_spacing/4 0 @grid_spacing/4 @grid_spacing/2;
|
|
299
|
+
display: block;
|
|
300
|
+
border-bottom-left-radius: @border_radius;
|
|
301
|
+
border-top-right-radius: 0;
|
|
302
|
+
|
|
303
|
+
> @{P}-span {
|
|
304
|
+
display: block;
|
|
305
|
+
text-align: left;
|
|
306
|
+
margin: 0;
|
|
307
|
+
padding: 0 @grid_spacing/2 0 0;
|
|
308
|
+
height: @_h_tab - 2 * @grid_spacing/4;
|
|
309
|
+
line-height: @_h_tab - 2 * @grid_spacing/4;
|
|
310
|
+
border-bottom: none;
|
|
311
|
+
border-right: 1px solid transparent;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
&.@{PCSS}-adapter-active {
|
|
315
|
+
border-top: @_brd_tab solid @_clr_brd_tab;
|
|
316
|
+
border-bottom: @_brd_tab solid @_clr_brd_tab;
|
|
317
|
+
border-left: @_brd_tab solid @_clr_brd_tab;
|
|
318
|
+
border-right: 0;
|
|
319
|
+
z-index: 1;
|
|
320
|
+
transform: translateX(@_brd_tab);
|
|
321
|
+
|
|
322
|
+
> @{P}-span {
|
|
323
|
+
border-color: @color_tab_highlight;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.@{PCSS}-adapter-next,
|
|
331
|
+
.@{PCSS}-adapter-previous {
|
|
332
|
+
margin-left: @grid_spacing/2;
|
|
333
|
+
margin-bottom: 0;
|
|
334
|
+
margin-right: 0;
|
|
335
|
+
|
|
336
|
+
&::before {
|
|
337
|
+
position: static;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.@{PCSS}-adapter-next::before {
|
|
342
|
+
content: 'keyboard_arrow_down';
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.@{PCSS}-adapter-previous::before {
|
|
346
|
+
content: 'keyboard_arrow_up';
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.@{PCSS}-tabs-content {
|
|
351
|
+
flex-grow: 1;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
&.tabs-flat {
|
|
357
|
+
> .@{PCSS}-tabs {
|
|
358
|
+
|
|
359
|
+
@{P}-adapter.@{PCSS}-tabs-adapter {
|
|
360
|
+
|
|
361
|
+
.@{PCSS}-adapter-dashboard {
|
|
362
|
+
> li {
|
|
363
|
+
|
|
364
|
+
> @{P}-button.@{PCSS}-adapter-page {
|
|
365
|
+
&.@{PCSS}-adapter-active {
|
|
366
|
+
background: none;
|
|
367
|
+
border: none;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
&.tabs-rise {
|
|
377
|
+
|
|
378
|
+
@_brd_rise: 1px;
|
|
379
|
+
|
|
380
|
+
.@{PCSS}-tabs-content,
|
|
381
|
+
.@{PCSS}-tabs @{P}-adapter.@{PCSS}-tabs-adapter .@{PCSS}-adapter-dashboard > li > @{P}-button.@{PCSS}-adapter-page.@{PCSS}-adapter-active {
|
|
382
|
+
border: @_brd_rise solid;
|
|
383
|
+
border-top-color: @color_border_light;
|
|
384
|
+
border-left-color: @color_border_dawn;
|
|
385
|
+
border-right-color: @color_border_dusk;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.@{PCSS}-tabs-content {
|
|
389
|
+
border-bottom-color: @color_border_dark;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.@{PCSS}-tabs @{P}-adapter.@{PCSS}-tabs-adapter .@{PCSS}-adapter-dashboard > li > @{P}-button.@{PCSS}-adapter-page.@{PCSS}-adapter-active {
|
|
393
|
+
border-bottom: 0;
|
|
394
|
+
transform: translateY(@_brd_rise);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
> .@{PCSS}-tabs.tabs-vertical {
|
|
398
|
+
@{P}-adapter.@{PCSS}-tabs-adapter .@{PCSS}-adapter-dashboard > li > @{P}-button.@{PCSS}-adapter-page.@{PCSS}-adapter-active {
|
|
399
|
+
border: @_brd_rise solid;
|
|
400
|
+
border-top-color: @color_border_light;
|
|
401
|
+
border-bottom-color: @color_border_dark;
|
|
402
|
+
border-left-color: @color_border_dawn;
|
|
403
|
+
border-right: 0;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
@{P}-adapter.@{PCSS}-tabs-adapter .@{PCSS}-adapter-dashboard > li > @{P}-button.@{PCSS}-adapter-page.@{PCSS}-adapter-active {
|
|
407
|
+
transform: translateX(@_brd_rise);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
@{P}-tab::part(label) {
|
|
414
|
+
.Inert();
|
|
415
|
+
}
|
|
416
|
+
// animations
|
|
417
|
+
.@{PCSS}-animations {
|
|
418
|
+
@{P}-tabs {
|
|
419
|
+
@{P}-tab {
|
|
420
|
+
transition: opacity .2s, transform .2s @easing_out_sine;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@{P}-ticker {
|
|
4
|
+
display: inline-grid;
|
|
5
|
+
grid-template-columns: 1fr;
|
|
6
|
+
grid-template-rows: 1fr;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
|
|
9
|
+
&::part(ticker-outgoing),
|
|
10
|
+
&::part(ticker-incoming) {
|
|
11
|
+
// display: block;
|
|
12
|
+
/*width: 100%;
|
|
13
|
+
height: 100%;*/
|
|
14
|
+
grid-area: ~"1/1";
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&::part(ticker-outgoing) {
|
|
18
|
+
transform: none;
|
|
19
|
+
z-index: 1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&::part(ticker-incoming) {
|
|
23
|
+
transform: translateX(100%);
|
|
24
|
+
opacity: 0;
|
|
25
|
+
z-index: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.ticking {
|
|
29
|
+
|
|
30
|
+
&::part(ticker-outgoing) {
|
|
31
|
+
transform: translateX(-100%);
|
|
32
|
+
opacity: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&::part(ticker-incoming) {
|
|
36
|
+
transform: translateX(0);
|
|
37
|
+
opacity: 1;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
// transitions IN
|
|
41
|
+
// 1. bottom -> top
|
|
42
|
+
&.ticker-bottom-in {
|
|
43
|
+
|
|
44
|
+
&::part(ticker-incoming) {
|
|
45
|
+
transform: translateY(100%);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&::part(ticker-outgoing) {
|
|
49
|
+
transform: translateY(0);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&.ticking {
|
|
53
|
+
&::part(ticker-incoming) {
|
|
54
|
+
transform: translateY(0);
|
|
55
|
+
}
|
|
56
|
+
// default combo with top-out
|
|
57
|
+
&::part(ticker-outgoing) {
|
|
58
|
+
transform: translateY(-100%);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
// 2. top -> bottom
|
|
63
|
+
&.ticker-top-in {
|
|
64
|
+
|
|
65
|
+
&::part(ticker-incoming) {
|
|
66
|
+
transform: translateY(-100%);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&::part(ticker-outgoing) {
|
|
70
|
+
transform: translateY(0);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.ticking {
|
|
74
|
+
&::part(ticker-incoming) {
|
|
75
|
+
transform: translateY(0);
|
|
76
|
+
}
|
|
77
|
+
// default combo with bottom-out
|
|
78
|
+
&::part(ticker-outgoing) {
|
|
79
|
+
transform: translateY(100%);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
// 3. left -> right
|
|
84
|
+
&.ticker-left-in {
|
|
85
|
+
|
|
86
|
+
&::part(ticker-incoming) {
|
|
87
|
+
transform: translateX(-100%);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&::part(ticker-outgoing) {
|
|
91
|
+
transform: translateX(0);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&.ticking {
|
|
95
|
+
&::part(ticker-incoming) {
|
|
96
|
+
transform: translateX(0);
|
|
97
|
+
}
|
|
98
|
+
// default combo with right-out
|
|
99
|
+
&::part(ticker-outgoing) {
|
|
100
|
+
transform: translateX(100%);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
// 4. right -> left (default)
|
|
105
|
+
&.ticker-right-in {
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&.ticker-left-out {
|
|
109
|
+
}
|
|
110
|
+
// transitions out
|
|
111
|
+
// 1. -> top
|
|
112
|
+
&.ticker-top-out {
|
|
113
|
+
|
|
114
|
+
&::part(ticker-outgoing) {
|
|
115
|
+
transform: translateY(0);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&.ticking {
|
|
119
|
+
&::part(ticker-outgoing) {
|
|
120
|
+
transform: translateY(-100%);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
// 2 -> bottom
|
|
125
|
+
&.ticker-bottom-out {
|
|
126
|
+
|
|
127
|
+
&::part(ticker-outgoing) {
|
|
128
|
+
transform: translateY(0);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&.ticking {
|
|
132
|
+
&::part(ticker-outgoing) {
|
|
133
|
+
transform: translateY(100%);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
// 3 -> right
|
|
138
|
+
&.ticker-right-out {
|
|
139
|
+
|
|
140
|
+
&::part(ticker-outgoing) {
|
|
141
|
+
transform: translateX(0);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&.ticking {
|
|
145
|
+
&::part(ticker-outgoing) {
|
|
146
|
+
transform: translateX(100%);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
// 4 -> left
|
|
151
|
+
&.ticker-left-out {
|
|
152
|
+
|
|
153
|
+
&::part(ticker-outgoing) {
|
|
154
|
+
transform: translateX(0);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&.ticking {
|
|
158
|
+
&::part(ticker-outgoing) {
|
|
159
|
+
transform: translateX(-100%);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// animations
|
|
166
|
+
.@{PCSS}-animations {
|
|
167
|
+
@{P}-ticker.ticking {
|
|
168
|
+
&::part(ticker-outgoing),
|
|
169
|
+
&::part(ticker-incoming) {
|
|
170
|
+
transition: all @easing_in_out_sine .3s;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|