@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,149 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@keyframes tag-out {
|
|
4
|
+
0% {
|
|
5
|
+
transform: scaleX(1);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
100% {
|
|
9
|
+
transform: scaleX(0);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@keyframes tag-content-out {
|
|
14
|
+
0% {
|
|
15
|
+
transform: translateX(0);
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
100% {
|
|
20
|
+
transform: translateX(-100%);
|
|
21
|
+
opacity: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@keyframes tag-in {
|
|
26
|
+
0% {
|
|
27
|
+
transform: scaleX(0);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
100% {
|
|
31
|
+
transform: scaleX(1);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@keyframes tag-content-in {
|
|
36
|
+
0% {
|
|
37
|
+
transform: translateX(-100%);
|
|
38
|
+
opacity: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
100% {
|
|
42
|
+
transform: translateX(0);
|
|
43
|
+
opacity: 1;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@{P}-tag {
|
|
48
|
+
display: block;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@{P}-tags {
|
|
52
|
+
.FormFieldItemWrapper();
|
|
53
|
+
|
|
54
|
+
@_spacing: @input_padding_horiz/2;
|
|
55
|
+
|
|
56
|
+
ul.@{PCSS}-tags {
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-flow: row wrap;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: flex-start;
|
|
61
|
+
padding-right: @_spacing;
|
|
62
|
+
|
|
63
|
+
li.@{PCSS}-tag {
|
|
64
|
+
flex: 0 1 auto;
|
|
65
|
+
margin: 0;
|
|
66
|
+
|
|
67
|
+
@{P}-tag {
|
|
68
|
+
margin: @_spacing 0 @_spacing @_spacing;
|
|
69
|
+
padding: @_spacing;
|
|
70
|
+
line-height: 1rem * @font_rem_factor;
|
|
71
|
+
background-color: @color_tag_back;
|
|
72
|
+
color: @color_tag_fore;
|
|
73
|
+
border-radius: @border_input_radius / 2;
|
|
74
|
+
// animations-relevant
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
transform-origin: 0 50%;
|
|
77
|
+
|
|
78
|
+
@{P}-text {
|
|
79
|
+
display: inline-block;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@{P}-button {
|
|
83
|
+
margin: 0 0 0 @_spacing;
|
|
84
|
+
background: none;
|
|
85
|
+
|
|
86
|
+
&::before {
|
|
87
|
+
.Icon('clear', .667rem);
|
|
88
|
+
position: static;
|
|
89
|
+
display: flex;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
align-items: center;
|
|
92
|
+
/*height: 100%;
|
|
93
|
+
width: 1.25rem;*/
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.tag-in {
|
|
98
|
+
animation: tag-in @easing_in_out_sine .2s both;
|
|
99
|
+
|
|
100
|
+
> * {
|
|
101
|
+
animation: tag-content-in @easing_in_sine .15s .15s both;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.tag-out {
|
|
106
|
+
// provide a transition/animation here
|
|
107
|
+
animation: tag-out @easing_in_out_sine .2s .175s both;
|
|
108
|
+
|
|
109
|
+
> * {
|
|
110
|
+
animation: tag-content-out @easing_in_sine .2s both;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@{P}-tag when (@shadows = true) {
|
|
116
|
+
box-shadow: 0 2px 4px rgba(0,0,0,0.5);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
li.tag-new {
|
|
121
|
+
@{P}-suggest {
|
|
122
|
+
.@{PCSS}-input {
|
|
123
|
+
min-height: @field_height;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&.@{PCSS}-disabled {
|
|
130
|
+
ul.@{PCSS}-tags > li.@{PCSS}-tag @{P}-tag {
|
|
131
|
+
background-color: @color_disabled;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&.@{PCSS}-readonly {
|
|
136
|
+
|
|
137
|
+
ul.@{PCSS}-viewfinder {
|
|
138
|
+
background-color: transparent;
|
|
139
|
+
border-color: transparent !important;
|
|
140
|
+
min-height: @field_height;
|
|
141
|
+
|
|
142
|
+
li.@{PCSS}-tag:first-child {
|
|
143
|
+
@{P}-tag {
|
|
144
|
+
margin-left: 0;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@{P}-textarea {
|
|
4
|
+
.FormFieldItemMultiline();
|
|
5
|
+
/*textarea.@{PCSS}-input {
|
|
6
|
+
//display: block;
|
|
7
|
+
line-height: 1;
|
|
8
|
+
flex: 1 0 100%;
|
|
9
|
+
}*/
|
|
10
|
+
.@{PCSS}-readonly {
|
|
11
|
+
white-space: pre-line;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.@{PCSS}-readonly {
|
|
15
|
+
min-width: unset;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* obsolete */
|
|
19
|
+
&.@{PCSS}-stretch {
|
|
20
|
+
.FormFieldStretch();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.field-stretch @{P}-textarea,
|
|
25
|
+
/* obsolete */
|
|
26
|
+
// @{P}-textarea.input-stretch,
|
|
27
|
+
@{P}-textarea.field-stretch {
|
|
28
|
+
.FormFieldStretch();
|
|
29
|
+
}
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
@import "../../../shared";
|
|
2
|
+
@import "../shared";
|
|
3
|
+
@import "../../ui/shared";
|
|
4
|
+
|
|
5
|
+
@{P}-upload {
|
|
6
|
+
display: inline-block;
|
|
7
|
+
|
|
8
|
+
> .@{PCSS}-upload.@{PCSS}-viewfinder {
|
|
9
|
+
|
|
10
|
+
@_sz: @grid_cell;
|
|
11
|
+
|
|
12
|
+
// overflow: hidden;
|
|
13
|
+
height: @_sz;
|
|
14
|
+
width: @_sz;
|
|
15
|
+
display: grid;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: stretch;
|
|
18
|
+
//max-width: @field_min_width_wide;
|
|
19
|
+
|
|
20
|
+
@_brd: 1px;
|
|
21
|
+
@_grd_sz: @_sz - (2 * @_brd);
|
|
22
|
+
grid-template-columns: @_grd_sz auto @_grd_sz - 14px;
|
|
23
|
+
grid-template-rows: @_grd_sz;
|
|
24
|
+
border: @_brd dashed @color_border;
|
|
25
|
+
border-radius: @_sz / 2;
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
|
|
28
|
+
> * {
|
|
29
|
+
grid-row: 1;
|
|
30
|
+
grid-column: 2;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
> .clear-button,
|
|
34
|
+
> .upload-progress,
|
|
35
|
+
> .upload-button {
|
|
36
|
+
// overlapped content
|
|
37
|
+
grid-column: 1;
|
|
38
|
+
display: flex;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
> .upload-data {
|
|
43
|
+
white-space: pre;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
> .upload-button > @{P}-button,
|
|
47
|
+
> .clear-button {
|
|
48
|
+
margin: 0;
|
|
49
|
+
|
|
50
|
+
&.circular,
|
|
51
|
+
&.button-circular {
|
|
52
|
+
// force tp 48px...
|
|
53
|
+
width: min(2 * @grid_spacing, @_sz - 28px);
|
|
54
|
+
height: $width;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
> .upload-progress {
|
|
59
|
+
// transform: scale(.9);
|
|
60
|
+
@{P}-tuner {
|
|
61
|
+
.Tuner(@_grd_sz - 2 * @_brd);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
> .clear-button {
|
|
66
|
+
grid-column: 3;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.upload-chosen {
|
|
70
|
+
width: auto;
|
|
71
|
+
border-color: @color_success;
|
|
72
|
+
border-style: solid;
|
|
73
|
+
|
|
74
|
+
&.upload-error {
|
|
75
|
+
border-color: @color_error;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.upload-readonly {
|
|
80
|
+
border-width: 0;
|
|
81
|
+
grid-template-columns: auto auto;
|
|
82
|
+
grid-gap: @grid_spacing * 2 / 3;
|
|
83
|
+
|
|
84
|
+
> .clear-button {
|
|
85
|
+
.Inert();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.@{PCSS}-animations {
|
|
92
|
+
|
|
93
|
+
@{P}-upload {
|
|
94
|
+
> .@{PCSS}-upload.@{PCSS}-viewfinder {
|
|
95
|
+
> .clear-button,
|
|
96
|
+
> .upload-button {
|
|
97
|
+
.Animatable(pop-anim, .55s, @easing_out_back);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// inside form field
|
|
104
|
+
.@{PCSS}-field {
|
|
105
|
+
|
|
106
|
+
> .@{PCSS}-input-container > :not(@{P}-childform) .@{PCSS}-viewfinder.upload-readonly {
|
|
107
|
+
border-radius: @border_input_radius;
|
|
108
|
+
|
|
109
|
+
& when (@border_field_underline = false) {
|
|
110
|
+
padding: 0 @grid_spacing * 2/3;
|
|
111
|
+
border-width: @border_field_size;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
& when (@border_field_underline = true) {
|
|
115
|
+
border-top: 0;
|
|
116
|
+
border-left: 0;
|
|
117
|
+
border-right: 0;
|
|
118
|
+
border-bottom-width: @border_field_size;
|
|
119
|
+
border-bottom-style: solid;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&:not(.@{PCSS}-has-value) {
|
|
124
|
+
> .@{PCSS}-input-container > :not(@{P}-childform) .@{PCSS}-viewfinder.upload-readonly {
|
|
125
|
+
border-color: transparent;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
/*
|
|
130
|
+
@keyframes upload-data-std{
|
|
131
|
+
0%{
|
|
132
|
+
opacity: 0;
|
|
133
|
+
transform: translateX(-@grid_spacing);
|
|
134
|
+
}
|
|
135
|
+
100% {
|
|
136
|
+
opacity: 1;
|
|
137
|
+
transform: translateX(0);
|
|
138
|
+
}
|
|
139
|
+
}*/
|
|
140
|
+
|
|
141
|
+
.upload-std @{P}-upload,
|
|
142
|
+
@{P}-upload.upload-std {
|
|
143
|
+
.FormFieldItemWrapper();
|
|
144
|
+
max-width: @field_min_width_wide;
|
|
145
|
+
min-width: @field_min_width;
|
|
146
|
+
|
|
147
|
+
> .@{PCSS}-upload.@{PCSS}-viewfinder {
|
|
148
|
+
|
|
149
|
+
@_sz: @field_height;
|
|
150
|
+
|
|
151
|
+
// overflow: hidden;
|
|
152
|
+
height: @_sz;
|
|
153
|
+
width: auto;
|
|
154
|
+
|
|
155
|
+
@_brd: 1px;
|
|
156
|
+
@_grd_sz: @_sz - (2 * @_brd);
|
|
157
|
+
@_gap: @grid_spacing/3;
|
|
158
|
+
grid-template-columns: @_grd_sz 1fr auto;
|
|
159
|
+
grid-column-gap: @_gap;
|
|
160
|
+
grid-template-rows: @_grd_sz;
|
|
161
|
+
.FormFieldItem();
|
|
162
|
+
margin: 0;
|
|
163
|
+
padding: 0;
|
|
164
|
+
|
|
165
|
+
> .upload-data {
|
|
166
|
+
white-space: nowrap;
|
|
167
|
+
display: block;
|
|
168
|
+
// width: @field_min_width - @_grd_sz - @_gap;
|
|
169
|
+
.Ellipsed();
|
|
170
|
+
|
|
171
|
+
&.@{PCSS}-anim {
|
|
172
|
+
animation-name: list-item-left;
|
|
173
|
+
animation-timing-function: @easing_out_sine;
|
|
174
|
+
transform-origin: left center;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
> .upload-progress {
|
|
179
|
+
// transform: scale(.9);
|
|
180
|
+
@{P}-tuner {
|
|
181
|
+
.Tuner(@_grd_sz /*- 2 * @_brd*/ );
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
> .upload-button > @{P}-button,
|
|
186
|
+
> .clear-button {
|
|
187
|
+
margin: 0;
|
|
188
|
+
|
|
189
|
+
&.circular,
|
|
190
|
+
&.button-circle,
|
|
191
|
+
&.button-circular {
|
|
192
|
+
// force tp 24px...
|
|
193
|
+
width: @grid_spacing;
|
|
194
|
+
height: $width;
|
|
195
|
+
border-radius: @border_input_radius / 2;
|
|
196
|
+
|
|
197
|
+
&.button-success {
|
|
198
|
+
color: @color_success;
|
|
199
|
+
background-color: transparent;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&.button-primary {
|
|
203
|
+
color: @color_primary;
|
|
204
|
+
background-color: transparent;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&.button-error {
|
|
208
|
+
color: @color_error;
|
|
209
|
+
background-color: transparent;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
&::before {
|
|
214
|
+
font-size: 11 * @grid_spacing/24;
|
|
215
|
+
// margin-left: -@grid_spacing/3;
|
|
216
|
+
// margin-top: $margin-left;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
> .clear-button {
|
|
222
|
+
// decrease font size
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
&.upload-readonly {
|
|
226
|
+
background: none;
|
|
227
|
+
grid-template-columns: @_grd_sz 1fr;
|
|
228
|
+
grid-column-gap: @_gap;
|
|
229
|
+
grid-template-rows: @_grd_sz;
|
|
230
|
+
padding: 0;
|
|
231
|
+
min-height: 0;
|
|
232
|
+
border-width: 0;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.upload-std > {
|
|
238
|
+
.@{PCSS}-field.@{PCSS}-readonly {
|
|
239
|
+
|
|
240
|
+
&.@{PCSS}-valid,
|
|
241
|
+
&.@{PCSS}-invalid,
|
|
242
|
+
&.@{PCSS}-has-value {
|
|
243
|
+
|
|
244
|
+
> .@{PCSS}-input-container.@{PCSS}-fieldgroup {
|
|
245
|
+
> .fieldgroup-prepend,
|
|
246
|
+
> .fieldgroup-append {
|
|
247
|
+
padding: 0;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@import "../../../shared";
|
|
2
|
+
@import "../shared";
|
|
3
|
+
@import "../../layout/shared";
|
|
4
|
+
|
|
5
|
+
.@{PCSS}-validator {
|
|
6
|
+
background-color: @color_error;
|
|
7
|
+
color: @color_error_inv;
|
|
8
|
+
padding-right: @grid_spacing/4;
|
|
9
|
+
position: relative;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
min-height: @grid_spacing;
|
|
12
|
+
line-height: @grid_spacing;
|
|
13
|
+
border-radius: @border_input_radius;
|
|
14
|
+
padding-left: @grid_spacing;
|
|
15
|
+
display: inline-block;
|
|
16
|
+
margin-left: @grid_spacing * .8;
|
|
17
|
+
|
|
18
|
+
&::before {
|
|
19
|
+
@_sz: @grid_spacing /1.5;
|
|
20
|
+
.Icon('error', round(@_sz));
|
|
21
|
+
left: @grid_spacing *.125;
|
|
22
|
+
line-height: @grid_spacing;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.@{PCSS}-validator.validator-minimal,
|
|
27
|
+
.form-minimal > @{P}-form-field:not(.field-full) .@{PCSS}-validator,
|
|
28
|
+
@{P}-form-field.field-minimal .@{PCSS}-validator {
|
|
29
|
+
background-color: transparent;
|
|
30
|
+
color: @color_error;
|
|
31
|
+
margin-left: 0;
|
|
32
|
+
|
|
33
|
+
/*& when (@dark_theme = true) {
|
|
34
|
+
font-weight: 700;
|
|
35
|
+
}*/
|
|
36
|
+
}
|