@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,415 @@
|
|
|
1
|
+
@import "../../theme-dark";
|
|
2
|
+
@import "../shared";
|
|
3
|
+
|
|
4
|
+
@{P}-calendar-month-picker,
|
|
5
|
+
@{P}-calendar-year-picker {
|
|
6
|
+
display: block;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@{P}-calendar-picker {
|
|
10
|
+
|
|
11
|
+
input.@{PCSS}-input {
|
|
12
|
+
// text-align: right;
|
|
13
|
+
// padding-right: @grid_spacing * 1.5;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.FormFieldIcon('today');
|
|
17
|
+
|
|
18
|
+
&.@{PCSS}-readonly {
|
|
19
|
+
.FormFieldLabelIcon('today');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&::before {
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
}
|
|
25
|
+
// clear button
|
|
26
|
+
@{P}-button[clear] {
|
|
27
|
+
width: @field_height;
|
|
28
|
+
height: $width;
|
|
29
|
+
|
|
30
|
+
&::before {
|
|
31
|
+
line-height: @field_height;
|
|
32
|
+
font-size: @grid_spacing/2;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.@{PCSS}-calendar-picker-dropdown {
|
|
38
|
+
z-index: @balloon_z_index;
|
|
39
|
+
|
|
40
|
+
// mixins
|
|
41
|
+
.Day(@count, @index, @offset) when (@index > 0) {
|
|
42
|
+
&.day-@{index} {
|
|
43
|
+
grid-column: @index + @offset;
|
|
44
|
+
}
|
|
45
|
+
// next iteration
|
|
46
|
+
.Day( @count, @index - 1, @offset);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.Day(@count) {
|
|
50
|
+
.Day(@count, 0);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.Day(@count, @offset) {
|
|
54
|
+
.Day(@count, @count, @offset);
|
|
55
|
+
}
|
|
56
|
+
// style
|
|
57
|
+
position: absolute;
|
|
58
|
+
background: @color_suggest_back;
|
|
59
|
+
|
|
60
|
+
& when(@shadows = true) {
|
|
61
|
+
box-shadow: 0 @grid_spacing/6 @grid_spacing/2 rgba(0,0,0,.25);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
& when(@shadows = false) {
|
|
65
|
+
box-shadow: 0 @grid_spacing/6 @grid_spacing/3 rgba(0,0,0,.1);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.dropdown-grid {
|
|
69
|
+
display: grid;
|
|
70
|
+
grid-template-columns: 1fr auto;
|
|
71
|
+
grid-template-rows: auto auto auto;
|
|
72
|
+
grid-template-areas: "title buttons" "weekdays weekdays" "calendar calendar";
|
|
73
|
+
align-items: center;
|
|
74
|
+
|
|
75
|
+
> .calendar-title {
|
|
76
|
+
grid-area: title;
|
|
77
|
+
padding: @grid_spacing/3 0 @grid_spacing/3 @grid_spacing/3;
|
|
78
|
+
|
|
79
|
+
> @{P}-span {
|
|
80
|
+
display: block;
|
|
81
|
+
font-weight: 700;
|
|
82
|
+
border: 1px solid transparent;
|
|
83
|
+
padding: 0 @grid_spacing 0 @grid_spacing/6;
|
|
84
|
+
|
|
85
|
+
&.calendar-zoom {
|
|
86
|
+
position: relative;
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
|
|
89
|
+
&:hover {
|
|
90
|
+
border-color: @color_border;
|
|
91
|
+
|
|
92
|
+
&::after {
|
|
93
|
+
.Icon('unfold_more');
|
|
94
|
+
color: @color_border;
|
|
95
|
+
font-size: @grid_spacing * .75;
|
|
96
|
+
line-height: 1.333;
|
|
97
|
+
right: 0;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
> .calendar-header {
|
|
105
|
+
grid-area: weekdays;
|
|
106
|
+
display: grid;
|
|
107
|
+
grid-template-columns: repeat(7, 1fr);
|
|
108
|
+
pointer-events: none;
|
|
109
|
+
background: @color_background;
|
|
110
|
+
color: @color_disabled;
|
|
111
|
+
|
|
112
|
+
& when (@shadows = true), (@dark_theme = true) {
|
|
113
|
+
box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
> .calendar-heading {
|
|
117
|
+
text-align: center;
|
|
118
|
+
display: block;
|
|
119
|
+
padding: @grid_spacing/6 0;
|
|
120
|
+
.Day(7);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
> .calendar-month-nav {
|
|
125
|
+
grid-area: buttons;
|
|
126
|
+
padding: @grid_spacing/3;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@_sz: @grid_spacing * 1.5;
|
|
130
|
+
@_day_sz: @_sz;
|
|
131
|
+
@_month_sz_w: @_sz * 7 / 4;
|
|
132
|
+
@_month_sz_h: @_sz * 2;
|
|
133
|
+
|
|
134
|
+
> @{P}-calendar {
|
|
135
|
+
grid-area: calendar;
|
|
136
|
+
|
|
137
|
+
.@{PCSS}-calendar.calendar-grid {
|
|
138
|
+
grid-template-columns: repeat(7,@_day_sz);
|
|
139
|
+
grid-template-rows: repeat(6,@_day_sz);
|
|
140
|
+
|
|
141
|
+
.calendar-day {
|
|
142
|
+
margin: @grid_spacing/6;
|
|
143
|
+
padding: 0;
|
|
144
|
+
display: flex;
|
|
145
|
+
align-items: center;
|
|
146
|
+
justify-content: center;
|
|
147
|
+
cursor: pointer;
|
|
148
|
+
border: none;
|
|
149
|
+
border-radius: 50%;
|
|
150
|
+
|
|
151
|
+
&.day-1 {
|
|
152
|
+
border-left: none;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&.week-1 {
|
|
156
|
+
border-top: none;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&.@{PCSS}-disabled {
|
|
160
|
+
|
|
161
|
+
& when(@dark_theme = true) {
|
|
162
|
+
background-color: fade(@color_default, 5);
|
|
163
|
+
color: fade(@color_default, 15);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
& when(@dark_theme = false) {
|
|
167
|
+
background-color: fade(@color_default, 5);
|
|
168
|
+
color: fade(@color_default, 25);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
margin-left: 0;
|
|
172
|
+
margin-right: 0;
|
|
173
|
+
cursor: default;
|
|
174
|
+
border-radius: 0;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
&.today {
|
|
178
|
+
background-color: fade(@color_default, 20);
|
|
179
|
+
}
|
|
180
|
+
/*&.viewday {
|
|
181
|
+
background-color: @color_primary;
|
|
182
|
+
color: @color_primary_inv;
|
|
183
|
+
}*/
|
|
184
|
+
|
|
185
|
+
&.selected-date {
|
|
186
|
+
background-color: @color_primary;
|
|
187
|
+
color: @color_primary_inv;
|
|
188
|
+
/*background-color: @color_accent;
|
|
189
|
+
color: @color_accent_inv;*/
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
/* #region MONTH-PICKER */
|
|
195
|
+
|
|
196
|
+
> @{P}-calendar-month-picker {
|
|
197
|
+
grid-area: calendar;
|
|
198
|
+
|
|
199
|
+
.@{PCSS}-month-picker {
|
|
200
|
+
display: grid;
|
|
201
|
+
grid-template-columns: repeat(4, 1fr);
|
|
202
|
+
grid-template-rows: repeat(3, 1fr);
|
|
203
|
+
// mixins
|
|
204
|
+
.Month(@count, @index, @offset) when (@index > 0) {
|
|
205
|
+
|
|
206
|
+
@_col: mod(@index, 4);
|
|
207
|
+
|
|
208
|
+
&.month-@{index} {
|
|
209
|
+
|
|
210
|
+
& when (@_col = 0) {
|
|
211
|
+
grid-column: 4;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
& when (@_col > 0) {
|
|
215
|
+
grid-column: @_col;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
grid-row: ceil(@index / 4);
|
|
219
|
+
}
|
|
220
|
+
// next iteration
|
|
221
|
+
.Month( @count, @index - 1, @offset);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.Month(@count) {
|
|
225
|
+
.Month(@count, 0);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.Month(@count, @offset) {
|
|
229
|
+
.Month(@count, @count, @offset);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
> .calendar-month {
|
|
233
|
+
.Month(12);
|
|
234
|
+
//
|
|
235
|
+
width: @_month_sz_w;
|
|
236
|
+
height: @_month_sz_h;
|
|
237
|
+
padding: @grid_spacing/3;
|
|
238
|
+
box-sizing: border-box;
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
justify-content: center;
|
|
242
|
+
|
|
243
|
+
> .month-button {
|
|
244
|
+
cursor: pointer;
|
|
245
|
+
border: none;
|
|
246
|
+
border-radius: 50%;
|
|
247
|
+
@_month_sz: min(@_month_sz_w, @_month_sz_h);
|
|
248
|
+
width: @_month_sz - 2 * @grid_spacing/3;
|
|
249
|
+
height: $width;
|
|
250
|
+
display: flex;
|
|
251
|
+
align-items: center;
|
|
252
|
+
justify-content: center;
|
|
253
|
+
|
|
254
|
+
&:hover {
|
|
255
|
+
background-color: @color_calendarday_hover;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
&.this-month {
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
&.selected-month {
|
|
263
|
+
background-color: fade(@color_default, 20);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
/* #endregion */
|
|
270
|
+
/* #region YEAR-PICKER */
|
|
271
|
+
|
|
272
|
+
> @{P}-calendar-year-picker {
|
|
273
|
+
grid-area: calendar;
|
|
274
|
+
|
|
275
|
+
.@{PCSS}-year-picker {
|
|
276
|
+
display: grid;
|
|
277
|
+
grid-template-columns: repeat(4, 1fr);
|
|
278
|
+
grid-template-rows: repeat(3, 1fr);
|
|
279
|
+
// mixins
|
|
280
|
+
.Year(@count, @index, @offset) when (@index > 0) {
|
|
281
|
+
|
|
282
|
+
@_col: mod(@index, 4);
|
|
283
|
+
|
|
284
|
+
&.year-@{index} {
|
|
285
|
+
|
|
286
|
+
& when (@_col = 0) {
|
|
287
|
+
grid-column: 4;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
& when (@_col > 0) {
|
|
291
|
+
grid-column: @_col;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
grid-row: ceil(@index / 4);
|
|
295
|
+
}
|
|
296
|
+
// next iteration
|
|
297
|
+
.Year( @count, @index - 1, @offset);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.Year(@count) {
|
|
301
|
+
.Year(@count, 0);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.Year(@count, @offset) {
|
|
305
|
+
.Year(@count, @count, @offset);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
> .calendar-year {
|
|
309
|
+
.Year(12);
|
|
310
|
+
//
|
|
311
|
+
width: @_month_sz_w;
|
|
312
|
+
height: @_month_sz_h;
|
|
313
|
+
padding: @grid_spacing/3;
|
|
314
|
+
box-sizing: border-box;
|
|
315
|
+
display: flex;
|
|
316
|
+
align-items: center;
|
|
317
|
+
justify-content: center;
|
|
318
|
+
|
|
319
|
+
> .year-button {
|
|
320
|
+
cursor: pointer;
|
|
321
|
+
border: none;
|
|
322
|
+
border-radius: 50%;
|
|
323
|
+
@_month_sz: min(@_month_sz_w, @_month_sz_h);
|
|
324
|
+
width: @_month_sz - 2 * @grid_spacing/3;
|
|
325
|
+
height: $width;
|
|
326
|
+
display: flex;
|
|
327
|
+
align-items: center;
|
|
328
|
+
justify-content: center;
|
|
329
|
+
|
|
330
|
+
&:hover {
|
|
331
|
+
background-color: @color_calendarday_hover;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
&.this-year {
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
&.selected-year {
|
|
338
|
+
background-color: fade(@color_default, 20);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
/* #endregion */
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
@keyframes calendar-header {
|
|
349
|
+
0% {
|
|
350
|
+
transform: translateY(-@grid_spacing / 3);
|
|
351
|
+
opacity: 0;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
75%{
|
|
355
|
+
transform: none;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
100% {
|
|
359
|
+
opacity: 1;
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.@{PCSS}-body.@{PCSS}-animations {
|
|
364
|
+
|
|
365
|
+
.@{PCSS}-calendar-picker-dropdown {
|
|
366
|
+
|
|
367
|
+
@_offset: @grid_spacing/3;
|
|
368
|
+
transition: transform @easing_out_sine .15s, opacity linear .1s;
|
|
369
|
+
transition-delay: .1s;
|
|
370
|
+
transform: translateY(@_offset);
|
|
371
|
+
opacity: 0;
|
|
372
|
+
|
|
373
|
+
&.dropdown-in {
|
|
374
|
+
opacity: 1;
|
|
375
|
+
transform: translateY(0);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
&.dropdown-out {
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.calendar-day {
|
|
382
|
+
transition: background-color @easing_out_sine .1s, color @easing_out_sine .1s;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.calendar-header {
|
|
386
|
+
animation: calendar-header .1s @easing_out_sine both;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.calendar-header > .calendar-heading {
|
|
390
|
+
animation: calendar-header .15s @easing_out_sine both;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
@{P}-calendar,
|
|
394
|
+
@{P}-calendar-month-picker,
|
|
395
|
+
@{P}-calendar-year-picker {
|
|
396
|
+
animation: default-anim .2s @easing_in_out_sine both;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
@{P}-calendar.viewdate-next,
|
|
400
|
+
@{P}-calendar-month-picker.viewyear-next,
|
|
401
|
+
@{P}-calendar-year-picker.viewyear-next {
|
|
402
|
+
animation-name: list-item-right;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
@{P}-calendar.viewdate-previous,
|
|
406
|
+
@{P}-calendar-month-picker.viewyear-previous,
|
|
407
|
+
@{P}-calendar-year-picker.viewyear-previous {
|
|
408
|
+
animation-name: list-item-left;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
&.dropdown-select *{
|
|
412
|
+
animation: none !important;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
@import "../../theme-dark";
|
|
2
|
+
@import "../shared";
|
|
3
|
+
|
|
4
|
+
@{P}-char-count {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-content: flex-end;
|
|
7
|
+
justify-content: flex-end;
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
.FontTech(.7);
|
|
10
|
+
text-align: right;
|
|
11
|
+
|
|
12
|
+
@{P}-span {
|
|
13
|
+
flex: 0 0 auto;
|
|
14
|
+
|
|
15
|
+
&.@{PCSS}-char-min,
|
|
16
|
+
&.@{PCSS}-char-max {
|
|
17
|
+
opacity: 0.75;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.@{PCSS}-char-min:after,
|
|
21
|
+
&.@{PCSS}-char-max:before {
|
|
22
|
+
//content: '\2264';
|
|
23
|
+
content: '\2044';
|
|
24
|
+
font-size: 0.8em;
|
|
25
|
+
padding: @grid_spacing/12;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.@{PCSS}-char-curr {
|
|
29
|
+
font-weight: 700;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.@{PCSS}-char-count {
|
|
34
|
+
flex: 0 0 auto;
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: row;
|
|
37
|
+
justify-content: flex-end;
|
|
38
|
+
align-content: flex-end;
|
|
39
|
+
position: relative;
|
|
40
|
+
padding: @grid_spacing/12 @grid_spacing @grid_spacing/12 @grid_spacing/8;
|
|
41
|
+
|
|
42
|
+
&:after {
|
|
43
|
+
.Icon('keyboard', @grid_spacing/1.5);
|
|
44
|
+
right: 0;
|
|
45
|
+
top: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& when (@border_input_radius > 0) {
|
|
49
|
+
transform: translateX(-@border_input_radius);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.@{PCSS}-char-count.invalid {
|
|
54
|
+
background: @color_error;
|
|
55
|
+
color: @color_error_inv;
|
|
56
|
+
|
|
57
|
+
& when (@border_radius > 0) {
|
|
58
|
+
padding-left: @grid_spacing/8 + @border_input_radius;
|
|
59
|
+
padding-right: @grid_spacing + @border_input_radius;
|
|
60
|
+
border-bottom-left-radius: @border_input_radius * 1;
|
|
61
|
+
border-bottom-right-radius: $border-bottom-left-radius;
|
|
62
|
+
|
|
63
|
+
&::after {
|
|
64
|
+
right: @border_input_radius;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@{P}-input-chars {
|
|
4
|
+
|
|
5
|
+
.@{PCSS}-readonly,
|
|
6
|
+
.@{PCSS}-input {
|
|
7
|
+
font-size: 1.5rem;
|
|
8
|
+
font-family: ~"var(--@{PCSS}-font-tech)";
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.@{PCSS}-readonly{
|
|
12
|
+
letter-spacing: .25rem;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.@{PCSS}-input {
|
|
16
|
+
text-align: center;
|
|
17
|
+
width: 2rem;
|
|
18
|
+
padding: 0;
|
|
19
|
+
margin: ~"0 var(--@{PCSS}-size--4)";
|
|
20
|
+
|
|
21
|
+
&.first-char {
|
|
22
|
+
margin-left: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.last-char {
|
|
26
|
+
margin-right: 0;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@_pad: @input_padding_horiz;
|
|
4
|
+
|
|
5
|
+
@{P}-radio,
|
|
6
|
+
@{P}-checkbox,
|
|
7
|
+
@{P}-radio-list,
|
|
8
|
+
@{P}-checkbox-list {
|
|
9
|
+
.FormFieldItemWrapper();
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@{P}-radio-list,
|
|
13
|
+
@{P}-checkbox-list {
|
|
14
|
+
|
|
15
|
+
ol {
|
|
16
|
+
list-style-type: none;
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-wrap: wrap;
|
|
21
|
+
flex-direction: row;
|
|
22
|
+
justify-content: flex-start;
|
|
23
|
+
align-content: flex-start;
|
|
24
|
+
|
|
25
|
+
> li {
|
|
26
|
+
flex: 0 1 auto;
|
|
27
|
+
display: inline-block;
|
|
28
|
+
padding: 0 2 * @_pad 0 0;
|
|
29
|
+
|
|
30
|
+
&:last-child {
|
|
31
|
+
padding-right: 0;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@{P}-radio,
|
|
38
|
+
@{P}-checkbox {
|
|
39
|
+
|
|
40
|
+
.@{PCSS}-input {
|
|
41
|
+
display: inline;
|
|
42
|
+
opacity: 0;
|
|
43
|
+
width: 0;
|
|
44
|
+
height: 0;
|
|
45
|
+
border: 0;
|
|
46
|
+
margin: 0;
|
|
47
|
+
padding: 0;
|
|
48
|
+
min-width: 0;
|
|
49
|
+
min-height: 0;
|
|
50
|
+
pointer-events: none;
|
|
51
|
+
// needed in Firefox for proper rendering
|
|
52
|
+
position: absolute;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
label.@{PCSS}-label {
|
|
56
|
+
.FormFieldItem();
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
display: inline-block;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.pacem-disabled {
|
|
62
|
+
|
|
63
|
+
label.@{PCSS}-label {
|
|
64
|
+
cursor: default;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
label.@{PCSS}-label {
|
|
69
|
+
padding-left: @grid_spacing + @_pad;
|
|
70
|
+
padding-right: @_pad;
|
|
71
|
+
position: relative;
|
|
72
|
+
font-size: 1.1em;
|
|
73
|
+
line-height: @field_height;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&.@{PCSS}-focus label.@{PCSS}-label::before {
|
|
77
|
+
color: @color_default;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.@{PCSS}-selected .@{PCSS}-readonly::before {
|
|
81
|
+
color: @color_primary;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@{P}-checkbox .@{PCSS}-label.@{PCSS}-checkbox {
|
|
86
|
+
box-sizing: border-box;
|
|
87
|
+
width: 100%;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@media (min-width: @threshold_lg) {
|
|
91
|
+
|
|
92
|
+
@{P}-checkbox-list @{P}-checkbox,
|
|
93
|
+
@{P}-checkbox-list @{P}-checkbox:not(.field-stretch)/*:not(.input-stretch)*/,
|
|
94
|
+
@{P}-radio-list @{P}-radio,
|
|
95
|
+
@{P}-radio-list @{P}-radio:not(.field-stretch)/*:not(.input-stretch)*/ {
|
|
96
|
+
min-width: 0;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// nowrap lists
|
|
101
|
+
@{P}-form-field.field-nowrap {
|
|
102
|
+
|
|
103
|
+
@{P}-radio-list,
|
|
104
|
+
@{P}-checkbox-list {
|
|
105
|
+
ol {
|
|
106
|
+
flex-wrap: nowrap;
|
|
107
|
+
|
|
108
|
+
> li {
|
|
109
|
+
flex-grow: 0;
|
|
110
|
+
flex-shrink: 1;
|
|
111
|
+
|
|
112
|
+
@{P}-radio > label {
|
|
113
|
+
white-space: nowrap;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@{P}-form-field.field-outline {
|
|
121
|
+
|
|
122
|
+
@{P}-radio-list.@{PCSS}-focus @{P}-radio,
|
|
123
|
+
@{P}-checkbox-list.@{PCSS}-focus @{P}-checkbox {
|
|
124
|
+
|
|
125
|
+
.@{PCSS}-viewfinder,
|
|
126
|
+
.@{PCSS}-input {
|
|
127
|
+
.NoOutline() !important;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// fieldgroups
|
|
133
|
+
.@{PCSS}-fieldset {
|
|
134
|
+
|
|
135
|
+
.@{PCSS}-fieldgroup,
|
|
136
|
+
input-group {
|
|
137
|
+
@{P}-radio-list @{P}-radio label.@{PCSS}-label,
|
|
138
|
+
@{P}-checkbox-list @{P}-checkbox.@{PCSS}-label {
|
|
139
|
+
|
|
140
|
+
/*& when (@border_field_underline = true) {
|
|
141
|
+
min-height: @field_height - @border_field_size;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
& when (@border_field_underline = false) {
|
|
145
|
+
min-height: @field_height - 2 * @border_field_size;
|
|
146
|
+
}*/
|
|
147
|
+
min-height: @field_height;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|