@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,110 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
body {
|
|
4
|
+
font-family: @font_std;
|
|
5
|
+
color: @color_default;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
h1, h2, h3 {
|
|
9
|
+
margin: @grid_spacing/3 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
h1, h2, h3, h4, h5, h6 {
|
|
13
|
+
font-weight: @font_main_weight;
|
|
14
|
+
font-family: ~"var(--@{PCSS}-font-main)";
|
|
15
|
+
line-height: 1.1;
|
|
16
|
+
|
|
17
|
+
&.@{PCSS}-title {
|
|
18
|
+
color: @color_title;
|
|
19
|
+
background-color: @color_title_inv;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.@{PCSS}-title when (@uppercase_titles = true) {
|
|
23
|
+
text-transform: uppercase;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
h1 {
|
|
28
|
+
.FontMainSize(2);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
h2 {
|
|
32
|
+
.FontMainSize(1.75);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
h3 {
|
|
36
|
+
.FontMainSize(1.5);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
h4 {
|
|
40
|
+
.FontMainSize(1.3333);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
h5 {
|
|
44
|
+
.FontMainSize(1.25);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
h6 {
|
|
48
|
+
.FontMainSize(1.1);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
p {
|
|
52
|
+
margin-bottom: .5rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
small {
|
|
56
|
+
opacity: .8;
|
|
57
|
+
font-size: 0.86667em;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
code,
|
|
61
|
+
samp,
|
|
62
|
+
kbd {
|
|
63
|
+
.FontTech();
|
|
64
|
+
padding: 0 @grid_spacing/6;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
samp,
|
|
68
|
+
code {
|
|
69
|
+
color: @color_code;
|
|
70
|
+
background: @color_code_back;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
kbd {
|
|
74
|
+
color: @color_background;
|
|
75
|
+
.FontTech(.86667);
|
|
76
|
+
//font-weight: bold;
|
|
77
|
+
background: fade(@color_default, 90);
|
|
78
|
+
border-radius: @grid_spacing/12;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
mark, .@{PCSS}-highlight {
|
|
82
|
+
background-color: @color_primary;
|
|
83
|
+
color: @color_light;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
blockquote {
|
|
87
|
+
border: 0;
|
|
88
|
+
padding: 1em 1em 1em 2em;
|
|
89
|
+
position: static;
|
|
90
|
+
text-align: inherit;
|
|
91
|
+
margin: 1em 0;
|
|
92
|
+
font-style: italic;
|
|
93
|
+
color: inherit;
|
|
94
|
+
border-left: @grid_spacing/6 solid @color_border;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
hr {
|
|
98
|
+
margin: @grid_spacing/2 0;
|
|
99
|
+
height: 0;
|
|
100
|
+
border: 0;
|
|
101
|
+
border-top: 1px solid fade(@color_default, 10);
|
|
102
|
+
|
|
103
|
+
&.spacer {
|
|
104
|
+
margin-bottom: @grid_spacing;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
a, a:hover, a:visited {
|
|
109
|
+
color: @color_link;
|
|
110
|
+
}
|
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
.full-width {
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.full-height {
|
|
8
|
+
height: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* #region overflow-specific*/
|
|
12
|
+
|
|
13
|
+
.overflow-visible {
|
|
14
|
+
overflow: visible !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.overflow-scroll {
|
|
18
|
+
overflow: scroll !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.overflow-auto {
|
|
22
|
+
overflow: auto !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.overflow-hidden {
|
|
26
|
+
overflow: hidden !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.overflow-y-scroll {
|
|
30
|
+
overflow-y: scroll !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.overflow-y-auto {
|
|
34
|
+
overflow-y: auto !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.overflow-x-auto {
|
|
38
|
+
overflow-x: auto !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.overflow-x-scroll {
|
|
42
|
+
overflow-x: scroll !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.overflow-y-hidden {
|
|
46
|
+
overflow-y: hidden !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.overflow-x-hidden {
|
|
50
|
+
overflow-x: hidden !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* #endregion*/
|
|
54
|
+
|
|
55
|
+
.hit-none,
|
|
56
|
+
.@{PCSS}-inert {
|
|
57
|
+
pointer-events: none !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.hit-auto {
|
|
61
|
+
pointer-events: auto !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.@{PCSS}-hide {
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.select-none,
|
|
69
|
+
.@{PCSS}-unselect {
|
|
70
|
+
user-select: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.@{PCSS}-invisibile {
|
|
74
|
+
visibility: hidden;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.@{PCSS}-show {
|
|
78
|
+
display: inherit;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.@{PCSS}-transparent {
|
|
82
|
+
opacity: 0 !important;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.display-block {
|
|
86
|
+
display: block !important;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.display-grid {
|
|
90
|
+
display: grid !important;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.display-inline-grid {
|
|
94
|
+
display: inline-grid !important;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.display-grid,
|
|
98
|
+
.display-inline-grid {
|
|
99
|
+
|
|
100
|
+
&.grid-right {
|
|
101
|
+
justify-content: right;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.grid-end {
|
|
105
|
+
justify-content: end;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&.grid-left {
|
|
109
|
+
justify-content: left;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&.grid-start {
|
|
113
|
+
justify-content: start;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.grid-center {
|
|
117
|
+
justify-content: center;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.grid-top {
|
|
121
|
+
align-items: start;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.grid-middle {
|
|
125
|
+
align-items: center;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&.grid-bottom {
|
|
129
|
+
align-items: end;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.display-inline-flex {
|
|
134
|
+
display: inline-flex !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.display-flex {
|
|
138
|
+
display: flex !important;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.display-flex,
|
|
142
|
+
.display-inline-flex {
|
|
143
|
+
flex-flow: row wrap;
|
|
144
|
+
align-content: stretch;
|
|
145
|
+
align-items: flex-start;
|
|
146
|
+
|
|
147
|
+
&.flex-nowrap {
|
|
148
|
+
flex-wrap: nowrap;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.flex-fill {
|
|
152
|
+
align-items: stretch;
|
|
153
|
+
|
|
154
|
+
> * {
|
|
155
|
+
flex: 1 1 100%;
|
|
156
|
+
|
|
157
|
+
&.flex-auto,
|
|
158
|
+
&.self-auto {
|
|
159
|
+
flex: 0 0 auto;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
> .flex-stretch,
|
|
165
|
+
> .self-stretch,
|
|
166
|
+
> .self-fill {
|
|
167
|
+
align-self: stretch;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&.flex-fill > .flex-noshrink,
|
|
171
|
+
> .flex-noshrink {
|
|
172
|
+
flex-shrink: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&.flex-fill > .flex-nogrow,
|
|
176
|
+
> .flex-nogrow {
|
|
177
|
+
flex-grow: 0;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&.flex-vertical {
|
|
181
|
+
flex-direction: column;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&.flex-right {
|
|
185
|
+
justify-content: right;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&.flex-end {
|
|
189
|
+
justify-content: flex-end;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&.flex-left {
|
|
193
|
+
justify-content: left;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
&.flex-start {
|
|
197
|
+
justify-content: flex-start;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&.flex-center {
|
|
201
|
+
justify-content: center;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
&.flex-top {
|
|
205
|
+
align-items: flex-start;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&.flex-middle {
|
|
209
|
+
align-items: center;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&.flex-bottom {
|
|
213
|
+
align-items: flex-end;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.display-inline {
|
|
218
|
+
display: inline !important;
|
|
219
|
+
|
|
220
|
+
&.inline-middle {
|
|
221
|
+
vertical-align: middle;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.display-inline-block {
|
|
226
|
+
display: inline-block !important;
|
|
227
|
+
|
|
228
|
+
&.inline-block-middle{
|
|
229
|
+
vertical-align: middle;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.HideWhenAtMost(@size) {
|
|
234
|
+
// BUGGY. check and fix.
|
|
235
|
+
.hide-@{size} {
|
|
236
|
+
.Inert();
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.HideWhenLessThan(@size) {
|
|
241
|
+
.show-@{size} {
|
|
242
|
+
.Inert();
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.ShowWhenAtLeast(@size) {
|
|
247
|
+
|
|
248
|
+
.show-@{size}-block {
|
|
249
|
+
display: block;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.show-@{size}-inline-block {
|
|
253
|
+
display: inline-block;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.show-@{size}-inline {
|
|
257
|
+
display: inline;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
// hide when below 'small' width
|
|
261
|
+
@media (max-width: @threshold_sm - 1) {
|
|
262
|
+
.HideWhenLessThan(sm);
|
|
263
|
+
.HideWhenAtMost(xs);
|
|
264
|
+
// exception (show-xs: show only when EXACTLY 'xs')
|
|
265
|
+
.ShowWhenAtLeast(xs);
|
|
266
|
+
}
|
|
267
|
+
// show when at least 'small' wide
|
|
268
|
+
@media (min-width: @threshold_sm) {
|
|
269
|
+
.ShowWhenAtLeast(sm);
|
|
270
|
+
}
|
|
271
|
+
// hide when at most 'small' wide
|
|
272
|
+
@media (max-width: @threshold_md - 1) {
|
|
273
|
+
.HideWhenLessThan(md);
|
|
274
|
+
.HideWhenAtMost(sm);
|
|
275
|
+
}
|
|
276
|
+
// show when at least 'medium' wide
|
|
277
|
+
@media (min-width: @threshold_md) {
|
|
278
|
+
.ShowWhenAtLeast(md);
|
|
279
|
+
}
|
|
280
|
+
// hide when at most 'medium' wide
|
|
281
|
+
@media (max-width: @threshold_lg - 1) {
|
|
282
|
+
.HideWhenLessThan(lg);
|
|
283
|
+
.HideWhenAtMost(md);
|
|
284
|
+
}
|
|
285
|
+
// show when at least 'lg' wide
|
|
286
|
+
@media (min-width: @threshold_lg) {
|
|
287
|
+
.ShowWhenAtLeast(lg);
|
|
288
|
+
}
|
|
289
|
+
// hide when at most 'lg' wide
|
|
290
|
+
@media (max-width: @threshold_xl - 1) {
|
|
291
|
+
.HideWhenLessThan(xl);
|
|
292
|
+
.HideWhenAtMost(lg);
|
|
293
|
+
}
|
|
294
|
+
// show when at least 'xl' wide
|
|
295
|
+
@media (min-width: @threshold_xl) {
|
|
296
|
+
.ShowWhenAtLeast(xl);
|
|
297
|
+
}
|
|
298
|
+
// hide when at most 'xl' wide
|
|
299
|
+
@media (max-width: @threshold_hd - 1) {
|
|
300
|
+
.HideWhenLessThan(hd);
|
|
301
|
+
.HideWhenAtMost(xl);
|
|
302
|
+
}
|
|
303
|
+
// show when at least 'hd' wide
|
|
304
|
+
@media (min-width: @threshold_hd) {
|
|
305
|
+
.ShowWhenAtLeast(hd);
|
|
306
|
+
}
|
|
307
|
+
// hide when at most 'hd' wide
|
|
308
|
+
@media (max-width: @threshold_2k - 1) {
|
|
309
|
+
.HideWhenLessThan(2k);
|
|
310
|
+
.HideWhenAtMost(hd);
|
|
311
|
+
}
|
|
312
|
+
// show when at least '2k' wide
|
|
313
|
+
@media (min-width: @threshold_2k) {
|
|
314
|
+
.ShowWhenAtLeast(2k);
|
|
315
|
+
}
|
|
316
|
+
// hide when at most '2k' wide
|
|
317
|
+
@media (max-width: @threshold_4k - 1) {
|
|
318
|
+
.HideWhenLessThan(4k);
|
|
319
|
+
.HideWhenAtMost(2k);
|
|
320
|
+
}
|
|
321
|
+
// show when at least '4k' wide
|
|
322
|
+
@media (min-width: @threshold_4k) {
|
|
323
|
+
.ShowWhenAtLeast(4k);
|
|
324
|
+
}
|
|
325
|
+
// show/hide when portrait
|
|
326
|
+
@media (orientation: portrait) {
|
|
327
|
+
.HideWhenLessThan(o);
|
|
328
|
+
.HideWhenAtMost(v);
|
|
329
|
+
.ShowWhenAtLeast(v);
|
|
330
|
+
}
|
|
331
|
+
// show/hide when landscape
|
|
332
|
+
@media (orientation: landscape) {
|
|
333
|
+
.HideWhenLessThan(v);
|
|
334
|
+
.HideWhenAtMost(h);
|
|
335
|
+
.ShowWhenAtLeast(h);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
@PCSSs: ~"@{PCSS} ";
|
|
339
|
+
|
|
340
|
+
.@{PCSS}-container {
|
|
341
|
+
// hide when below 'small' width
|
|
342
|
+
@container @PCSSs (max-width: @threshold_sm - 1) {
|
|
343
|
+
.HideWhenLessThan(sm);
|
|
344
|
+
.HideWhenAtMost(xs);
|
|
345
|
+
// exception (show-xs: show only when EXACTLY 'xs')
|
|
346
|
+
.ShowWhenAtLeast(xs);
|
|
347
|
+
}
|
|
348
|
+
// show when at least 'small' wide
|
|
349
|
+
@container @PCSSs (min-width: @threshold_sm) {
|
|
350
|
+
.ShowWhenAtLeast(sm);
|
|
351
|
+
}
|
|
352
|
+
// hide when at most 'small' wide
|
|
353
|
+
@container @PCSSs (max-width: @threshold_md - 1) {
|
|
354
|
+
.HideWhenLessThan(md);
|
|
355
|
+
.HideWhenAtMost(sm);
|
|
356
|
+
}
|
|
357
|
+
// show when at least 'medium' wide
|
|
358
|
+
@container @PCSSs (min-width: @threshold_md) {
|
|
359
|
+
.ShowWhenAtLeast(md);
|
|
360
|
+
}
|
|
361
|
+
// hide when at most 'medium' wide
|
|
362
|
+
@container @PCSSs (max-width: @threshold_lg - 1) {
|
|
363
|
+
.HideWhenLessThan(lg);
|
|
364
|
+
.HideWhenAtMost(md);
|
|
365
|
+
}
|
|
366
|
+
// show when at least 'lg' wide
|
|
367
|
+
@container @PCSSs (min-width: @threshold_lg) {
|
|
368
|
+
.ShowWhenAtLeast(lg);
|
|
369
|
+
}
|
|
370
|
+
// hide when at most 'lg' wide
|
|
371
|
+
@container @PCSSs (max-width: @threshold_xl - 1) {
|
|
372
|
+
.HideWhenLessThan(xl);
|
|
373
|
+
.HideWhenAtMost(lg);
|
|
374
|
+
}
|
|
375
|
+
// show when at least 'xl' wide
|
|
376
|
+
@container @PCSSs (min-width: @threshold_xl) {
|
|
377
|
+
.ShowWhenAtLeast(xl);
|
|
378
|
+
}
|
|
379
|
+
// hide when at most 'xl' wide
|
|
380
|
+
@container @PCSSs (max-width: @threshold_hd - 1) {
|
|
381
|
+
.HideWhenLessThan(hd);
|
|
382
|
+
.HideWhenAtMost(xl);
|
|
383
|
+
}
|
|
384
|
+
// show when at least 'hd' wide
|
|
385
|
+
@container @PCSSs (min-width: @threshold_hd) {
|
|
386
|
+
.ShowWhenAtLeast(hd);
|
|
387
|
+
}
|
|
388
|
+
// hide when at most 'hd' wide
|
|
389
|
+
@container @PCSSs (max-width: @threshold_2k - 1) {
|
|
390
|
+
.HideWhenLessThan(2k);
|
|
391
|
+
.HideWhenAtMost(hd);
|
|
392
|
+
}
|
|
393
|
+
// show when at least '2k' wide
|
|
394
|
+
@container @PCSSs (min-width: @threshold_2k) {
|
|
395
|
+
.ShowWhenAtLeast(2k);
|
|
396
|
+
}
|
|
397
|
+
// hide when at most '2k' wide
|
|
398
|
+
@container @PCSSs (max-width: @threshold_4k - 1) {
|
|
399
|
+
.HideWhenLessThan(4k);
|
|
400
|
+
.HideWhenAtMost(2k);
|
|
401
|
+
}
|
|
402
|
+
// show when at least '4k' wide
|
|
403
|
+
@container @PCSSs (min-width: @threshold_4k) {
|
|
404
|
+
.ShowWhenAtLeast(4k);
|
|
405
|
+
}
|
|
406
|
+
}
|