@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,78 @@
|
|
|
1
|
+
@import "../../../shared";
|
|
2
|
+
@import "../shared";
|
|
3
|
+
|
|
4
|
+
//.@{PCSS}-field {
|
|
5
|
+
//.@{PCSS}-input-container {
|
|
6
|
+
|
|
7
|
+
.@{PCSS}-readonly.@{PCSS}-radio,
|
|
8
|
+
label.@{PCSS}-label.@{PCSS}-radio,
|
|
9
|
+
@{P}-radio-list .@{PCSS}-readonly.@{PCSS}-radio {
|
|
10
|
+
|
|
11
|
+
&::before {
|
|
12
|
+
.Icon('radio_button_unchecked', 1.1rem * @font_rem_factor);
|
|
13
|
+
.IconVariation(0);
|
|
14
|
+
left: @input_padding_horiz;
|
|
15
|
+
line-height: @field_height;
|
|
16
|
+
color: @color_input_toggle;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@{P}-radio {
|
|
21
|
+
|
|
22
|
+
&.@{PCSS}-selected label.@{PCSS}-label.@{PCSS}-radio:before {
|
|
23
|
+
content: 'radio_button_checked';
|
|
24
|
+
.IconVariation(0);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@{P}-radio-list,
|
|
29
|
+
@{P}-radio {
|
|
30
|
+
|
|
31
|
+
.@{PCSS}-readonly.@{PCSS}-radio {
|
|
32
|
+
.FormFieldLabelIcon('check_circle');
|
|
33
|
+
.IconVariation(1);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.@{PCSS}-disabled {
|
|
37
|
+
.@{PCSS}-readonly.@{PCSS}-radio,
|
|
38
|
+
label.@{PCSS}-label.@{PCSS}-radio {
|
|
39
|
+
color: @color_disabled;
|
|
40
|
+
|
|
41
|
+
&:before {
|
|
42
|
+
color: @color_disabled;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// just the radio
|
|
49
|
+
.form-minimal > @{P}-form-field:not(.field-full) @{P}-radio-list,
|
|
50
|
+
@{P}-form-field.field-minimal @{P}-radio-list,
|
|
51
|
+
@{P}-radio-list.radio-list-naked {
|
|
52
|
+
.@{PCSS}-radio-list {
|
|
53
|
+
min-width: 0;
|
|
54
|
+
// height: @field_height;
|
|
55
|
+
background: none;
|
|
56
|
+
|
|
57
|
+
label.@{PCSS}-radio {
|
|
58
|
+
border: 0;
|
|
59
|
+
padding-left: @grid_spacing/3;
|
|
60
|
+
position: static;
|
|
61
|
+
line-height: 1.5;
|
|
62
|
+
min-width: 0;
|
|
63
|
+
min-height: 0;
|
|
64
|
+
vertical-align: middle;
|
|
65
|
+
.FontStdSize(@field_minimal_fontsize);
|
|
66
|
+
|
|
67
|
+
&::before {
|
|
68
|
+
position: static;
|
|
69
|
+
vertical-align: middle;
|
|
70
|
+
margin-right: @grid_spacing/4;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/*> li:first-child when (@border_field_underline = false) {
|
|
75
|
+
padding-left: @grid_spacing/4;
|
|
76
|
+
}*/
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@import "../../../shared";
|
|
2
|
+
@import "../shared";
|
|
3
|
+
|
|
4
|
+
display: block;
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
&:before {
|
|
8
|
+
.Icon('search');
|
|
9
|
+
//color: @color_lightblue;
|
|
10
|
+
//top: .125 * @grid_spacing;
|
|
11
|
+
left: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
input[type=search] {
|
|
15
|
+
border: none;
|
|
16
|
+
border-bottom: 1px solid fade(@color_light, 10);
|
|
17
|
+
padding-bottom: @grid_spacing/2;
|
|
18
|
+
padding-left: 1.25 * @grid_spacing;
|
|
19
|
+
margin-bottom: @grid_spacing/1.5;
|
|
20
|
+
display: block;
|
|
21
|
+
width: 100%;
|
|
22
|
+
.FontMain(1.2);
|
|
23
|
+
//font-weight: bold;
|
|
24
|
+
//background: @color_light;
|
|
25
|
+
color: @color_default;
|
|
26
|
+
height: 1.25 * @grid_spacing;
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@{P}-select {
|
|
4
|
+
.FormFieldItemWrapper();
|
|
5
|
+
|
|
6
|
+
&::after {
|
|
7
|
+
.Icon('arrow_drop_down', @grid_spacing);
|
|
8
|
+
line-height: @field_height;
|
|
9
|
+
right: 0;
|
|
10
|
+
top: 0;
|
|
11
|
+
pointer-events: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.@{PCSS}-readonly {
|
|
15
|
+
|
|
16
|
+
&::after {
|
|
17
|
+
display: none;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.@{PCSS}-select {
|
|
22
|
+
.FormFieldItem();
|
|
23
|
+
.FormFieldItemInline();
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
padding-right: @grid_spacing;
|
|
26
|
+
display: block;
|
|
27
|
+
width: 100%;
|
|
28
|
+
|
|
29
|
+
> option {
|
|
30
|
+
background-color: @color_lightblue;
|
|
31
|
+
|
|
32
|
+
&.@{PCSS}-watermark {
|
|
33
|
+
.Watermark();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&[disabled]{
|
|
37
|
+
color: @color_disabled;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
// normalize toggle button:
|
|
41
|
+
-webkit-appearance: none;
|
|
42
|
+
-moz-appearance: none;
|
|
43
|
+
|
|
44
|
+
&:-moz-focusring {
|
|
45
|
+
color: transparent;
|
|
46
|
+
text-shadow: 0 0 0 #000;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&::-ms-expand {
|
|
50
|
+
display: none;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
@import "../../../shared";
|
|
2
|
+
@import "../shared";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
.SliderProgress(@clr) {
|
|
6
|
+
background-color: @clr;
|
|
7
|
+
|
|
8
|
+
& when (@glows = true) {
|
|
9
|
+
box-shadow: 0 0 8px @clr;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@{P}-slider {
|
|
14
|
+
|
|
15
|
+
> .@{PCSS}-slider {
|
|
16
|
+
|
|
17
|
+
@_slider_h: @field_height;
|
|
18
|
+
@_slider_track_h: @grid_spacing/ 6;
|
|
19
|
+
@_slider_thumb_size: @grid_spacing;
|
|
20
|
+
|
|
21
|
+
display: grid;
|
|
22
|
+
grid-template-columns: auto 1fr auto;
|
|
23
|
+
grid-template-rows: auto auto;
|
|
24
|
+
grid-template-areas: 'min track max' 'left footer right';
|
|
25
|
+
align-items: center;
|
|
26
|
+
// min-width: @field_min_width;
|
|
27
|
+
|
|
28
|
+
.slider-track, .slider-progress, .slider-thumb {
|
|
29
|
+
grid-area: track;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
*[min] {
|
|
33
|
+
grid-area: min;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
*[max] {
|
|
37
|
+
grid-area: max;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.slider-track, .slider-progress {
|
|
41
|
+
height: @_slider_track_h;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.slider-track {
|
|
45
|
+
margin: 0 @grid_spacing;
|
|
46
|
+
background-color: @color_disabled;
|
|
47
|
+
|
|
48
|
+
& when (@glows = false) {
|
|
49
|
+
border-radius: @_slider_track_h * .5;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
& when (@gradients = true) {
|
|
54
|
+
.GradientVertical(0%, 100%, rgba(0,0,0,0.25), rgba(255,255,255,0.05));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.slider-thumb {
|
|
59
|
+
width: @_slider_thumb_size;
|
|
60
|
+
height: $width;
|
|
61
|
+
margin-left: @grid_spacing - .5 * $width;
|
|
62
|
+
margin-top: (@_slider_h - $width) / 2;
|
|
63
|
+
margin-bottom: $margin-top;
|
|
64
|
+
|
|
65
|
+
.thumb-label {
|
|
66
|
+
border-radius: 50%;
|
|
67
|
+
background-color: @color_slider_thumb;
|
|
68
|
+
transform-origin: 50% 50%;
|
|
69
|
+
transform: scale(0.75);
|
|
70
|
+
width: @_slider_thumb_size;
|
|
71
|
+
height: $width;
|
|
72
|
+
|
|
73
|
+
& when (@shadows = true) {
|
|
74
|
+
box-shadow: 0 2px @grid_spacing / 3 rgba(0,0,0,0.5);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.@{PCSS}-drag-lock,
|
|
79
|
+
&.@{PCSS}-dragging {
|
|
80
|
+
opacity: 1 !important;
|
|
81
|
+
|
|
82
|
+
.thumb-label {
|
|
83
|
+
transform: scale(1);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&.slider-thumblabel {
|
|
89
|
+
|
|
90
|
+
.slider-thumb:focus {
|
|
91
|
+
|
|
92
|
+
.thumb-label {
|
|
93
|
+
transform: scale(0);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.slider-progress {
|
|
99
|
+
align-self: start;
|
|
100
|
+
transform: scaleX(0);
|
|
101
|
+
transform-origin: 0 0;
|
|
102
|
+
.SliderProgress(@color_default);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.slider-footer {
|
|
106
|
+
grid-area: footer;
|
|
107
|
+
pointer-events: none;
|
|
108
|
+
display: none;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.@{PCSS}-fieldgroup @{P}-slider,
|
|
114
|
+
@{P}-form:not(.form-minimal) @{P}-form-field:not(.field-minimal) > @{P}-form:not(.@{PCSS}-readonly) > .@{PCSS}-input-container > @{P}-slider {
|
|
115
|
+
.FormFieldItemWrapperCore();
|
|
116
|
+
|
|
117
|
+
> .@{PCSS}-slider {
|
|
118
|
+
*[min] {
|
|
119
|
+
padding-left: @grid_spacing/3;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
*[max] {
|
|
123
|
+
padding-right: @grid_spacing/3;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
each(@all_colors,{
|
|
129
|
+
@{P}-form-field.slider-@{value} @{P}-slider,
|
|
130
|
+
@{P}-slider.slider-@{value} {
|
|
131
|
+
.slider-progress {
|
|
132
|
+
.SliderProgress(~"var(--@{PCSS}-color-@{value})");
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
.@{PCSS}-animations {
|
|
139
|
+
|
|
140
|
+
&:not(.@{PCSS}-dragging) @{P}-slider:not(.slider-keydown) {
|
|
141
|
+
|
|
142
|
+
.slider-progress,
|
|
143
|
+
.slider-thumb {
|
|
144
|
+
transition: transform .3333s @easing_in_out_sine;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@{P}-slider {
|
|
149
|
+
|
|
150
|
+
.slider-thumb .thumb-label {
|
|
151
|
+
transition: transform .15s @easing_in_out_sine;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* form-field context */
|
|
157
|
+
@{P}-form-field:not(.slider-nofooter) @{P}-slider > .@{PCSS}-slider {
|
|
158
|
+
|
|
159
|
+
.slider-footer {
|
|
160
|
+
.FontTech(.8);
|
|
161
|
+
display: flex;
|
|
162
|
+
align-items: center;
|
|
163
|
+
flex-direction: row;
|
|
164
|
+
padding-left: @grid_spacing;
|
|
165
|
+
padding-bottom: @grid_spacing/3;
|
|
166
|
+
.Ellipsed();
|
|
167
|
+
// color: fade(@color_tech, 100);
|
|
168
|
+
|
|
169
|
+
&::before {
|
|
170
|
+
.Icon('label', @grid_spacing/1.5);
|
|
171
|
+
position: static;
|
|
172
|
+
margin-right: @grid_spacing/6;
|
|
173
|
+
color: @color_default;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
@import "../../../shared";
|
|
2
|
+
@import "../shared";
|
|
3
|
+
|
|
4
|
+
@{P}-snapshot {
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-template-columns: auto 1fr;
|
|
7
|
+
|
|
8
|
+
@_dim_w: @grid_spacing * 10;
|
|
9
|
+
@_dim_h: @_dim_w;
|
|
10
|
+
|
|
11
|
+
.@{PCSS}-snapshot {
|
|
12
|
+
grid-column: 1;
|
|
13
|
+
height: 100%;
|
|
14
|
+
width: 100%;
|
|
15
|
+
display: grid;
|
|
16
|
+
grid-template-rows: 1fr auto;
|
|
17
|
+
grid-template-areas: "stage" "footer";
|
|
18
|
+
justify-content: center;
|
|
19
|
+
align-items: center;
|
|
20
|
+
|
|
21
|
+
.snapshot-step {
|
|
22
|
+
grid-area: footer;
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
opacity: 0;
|
|
25
|
+
transform: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
canvas, video {
|
|
29
|
+
border: 1px solid @color_border;
|
|
30
|
+
width: @_dim_w;
|
|
31
|
+
height: @_dim_h;
|
|
32
|
+
grid-area: stage;
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 100%;
|
|
35
|
+
// hack to avoid the video element to exceed the allowed size: :S
|
|
36
|
+
border-radius: @grid_spacing / @grid_spacing;
|
|
37
|
+
object-fit: cover;
|
|
38
|
+
visibility: hidden;
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.snapshot-countdown {
|
|
43
|
+
grid-area: stage;
|
|
44
|
+
pointer-events: none;
|
|
45
|
+
border-radius: 50%;
|
|
46
|
+
width: @grid_spacing * 2;
|
|
47
|
+
height: $width;
|
|
48
|
+
background-color: fade(@color_dark, 50);
|
|
49
|
+
color: #fff;
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
justify-self: center;
|
|
54
|
+
.FontTechSize(2);
|
|
55
|
+
|
|
56
|
+
& when(@blur) {
|
|
57
|
+
.Blur(@grid_spacing * .25);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
input[type=file] {
|
|
62
|
+
opacity: 0;
|
|
63
|
+
width: 0;
|
|
64
|
+
height: 0;
|
|
65
|
+
}
|
|
66
|
+
// start viewstep
|
|
67
|
+
&.snapshot-start {
|
|
68
|
+
canvas {
|
|
69
|
+
visibility: visible;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.snapshot-step {
|
|
73
|
+
&.step-start {
|
|
74
|
+
pointer-events: all;
|
|
75
|
+
opacity: 1;
|
|
76
|
+
transform: translateY(0);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.step-taking,
|
|
80
|
+
&.step-confirm {
|
|
81
|
+
transform: translateY(@grid_spacing);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
// taking viewstep
|
|
86
|
+
&.snapshot-taking {
|
|
87
|
+
video {
|
|
88
|
+
visibility: visible;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.snapshot-step {
|
|
92
|
+
&.step-taking {
|
|
93
|
+
pointer-events: all;
|
|
94
|
+
opacity: 1;
|
|
95
|
+
transform: translateY(0);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.step-start {
|
|
99
|
+
transform: translateY(-@grid_spacing);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.step-confirm {
|
|
103
|
+
transform: translateY(@grid_spacing);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
// confirm viewstep
|
|
108
|
+
&.snapshot-confirm {
|
|
109
|
+
canvas {
|
|
110
|
+
visibility: visible;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.snapshot-step {
|
|
114
|
+
&.step-confirm {
|
|
115
|
+
pointer-events: all;
|
|
116
|
+
opacity: 1;
|
|
117
|
+
transform: translateY(0);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.step-taking,
|
|
121
|
+
&.step-start {
|
|
122
|
+
transform: translateY(-@grid_spacing);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&.snapshot-steady .snapshot-preview,
|
|
128
|
+
&.snapshot-preview.snapshot-taking .snapshot-preview,
|
|
129
|
+
&.snapshot-video video {
|
|
130
|
+
visibility: visible;
|
|
131
|
+
pointer-events: all;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.snapshot-preview.snapshot-taking .snapshot-preview {
|
|
135
|
+
border-color: @color_highlight;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
video {
|
|
139
|
+
background-color: #000; // only visible in edge(?) that doesn't obey to object-fit `cover`
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.snapshot-brightout {
|
|
143
|
+
-moz-animation: bright-out 1s 1 normal;
|
|
144
|
+
-o-animation: bright-out 1s 1 normal;
|
|
145
|
+
-webkit-animation: bright-out 1s 1 normal;
|
|
146
|
+
animation: bright-out 1s 1 normal;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&.@{PCSS}-readonly {
|
|
151
|
+
|
|
152
|
+
.@{PCSS}-snapshot {
|
|
153
|
+
|
|
154
|
+
.snapshot-step {
|
|
155
|
+
display: none;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.@{PCSS}-animations {
|
|
162
|
+
|
|
163
|
+
@{P}-snapshot {
|
|
164
|
+
.snapshot-step {
|
|
165
|
+
transition: transform .25s @easing_out_sine, opacity .2s linear;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.snapshot-countdown {
|
|
169
|
+
.Animatable(pop-anim, .25s, @easing_out_back);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@{P}-form-field.field-center > .@{PCSS}-field > .@{PCSS}-input-container {
|
|
175
|
+
// this is a filthy patch
|
|
176
|
+
@{P}-snapshot {
|
|
177
|
+
grid-template-columns: 1fr auto 1fr;
|
|
178
|
+
|
|
179
|
+
.@{PCSS}-snapshot {
|
|
180
|
+
grid-column: 2;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@{P}-suggest {
|
|
4
|
+
|
|
5
|
+
input[type=text] {
|
|
6
|
+
padding-right: @field_height;
|
|
7
|
+
}
|
|
8
|
+
// clear and toggle button
|
|
9
|
+
input[type=text] ~ @{P}-button {
|
|
10
|
+
width: @field_height;
|
|
11
|
+
height: $width;
|
|
12
|
+
|
|
13
|
+
&::before {
|
|
14
|
+
line-height: @field_height;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
// clear button
|
|
18
|
+
input[type=text] + @{P}-button {
|
|
19
|
+
&::before {
|
|
20
|
+
content: 'close';
|
|
21
|
+
font-size: @grid_spacing/2;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@{P}-balloon.suggest {
|
|
27
|
+
/*border: none;
|
|
28
|
+
background: none;
|
|
29
|
+
padding: 0;
|
|
30
|
+
z-index: @lightbox-z-index; // needed for modal form*/
|
|
31
|
+
min-height: 0;
|
|
32
|
+
|
|
33
|
+
ol {
|
|
34
|
+
list-style-type: none;
|
|
35
|
+
padding: 0;
|
|
36
|
+
margin: 0;
|
|
37
|
+
//border: 2px solid @color_suggest_border;
|
|
38
|
+
//min-width: 175px;
|
|
39
|
+
li {
|
|
40
|
+
color: @color_default;
|
|
41
|
+
background-color: @color_suggest_back;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
border-top: 1px solid @color_suggest_border_light;
|
|
44
|
+
border-bottom: 1px solid @color_suggest_border_dark;
|
|
45
|
+
padding: @grid_spacing/3 @grid_spacing*.5;
|
|
46
|
+
font-size: 1.1em;
|
|
47
|
+
|
|
48
|
+
/*&[data-pacem-disabled=false] {
|
|
49
|
+
color: @color_suggest_focus_fore;
|
|
50
|
+
|
|
51
|
+
& when(@dark_theme = true) {
|
|
52
|
+
background-color: darken(@color_suggest_focus_back, 10);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
& when(@dark_theme = false) {
|
|
56
|
+
background-color: lighten(@color_suggest_focus_back, 10);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&[data-pacem-disabled=false] ~ li[data-pacem-disabled=false]:not(:focus):not(:hover):not([data-pacem-focused]) {
|
|
61
|
+
background-color: @color_suggest_back;
|
|
62
|
+
color: @color_default;
|
|
63
|
+
}*/
|
|
64
|
+
|
|
65
|
+
span.@{PCSS}-highlight {
|
|
66
|
+
background-color: transparent;
|
|
67
|
+
color: @color_suggest_highlight;
|
|
68
|
+
font-weight: 700;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&[data-pacem-disabled=true] {
|
|
72
|
+
pointer-events: none;
|
|
73
|
+
color: @color_disabled;
|
|
74
|
+
|
|
75
|
+
span.@{PCSS}-highlight {
|
|
76
|
+
background-color: transparent;
|
|
77
|
+
color: @color_disabled_inv;
|
|
78
|
+
font-weight: @font_weight;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
ol:focus-within,
|
|
85
|
+
ol:hover {
|
|
86
|
+
> li[data-pacem-disabled=false] {
|
|
87
|
+
background-color: @color_suggest_back;
|
|
88
|
+
color: @color_default;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
> li {
|
|
92
|
+
|
|
93
|
+
&:focus,
|
|
94
|
+
&:hover {
|
|
95
|
+
background-color: @color_suggest_focus_back;
|
|
96
|
+
color: @color_suggest_focus_fore;
|
|
97
|
+
|
|
98
|
+
span.@{PCSS}-highlight {
|
|
99
|
+
color: @color_suggest_focus_highlight;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
ol:not(:focus-within):not(:hover) {
|
|
106
|
+
> li[data-pacem-focused] {
|
|
107
|
+
background-color: @color_suggest_focus_back;
|
|
108
|
+
color: @color_suggest_focus_fore;
|
|
109
|
+
|
|
110
|
+
span.@{PCSS}-highlight {
|
|
111
|
+
color: @color_suggest_focus_highlight;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|