pacem-less 0.51.8-napier → 0.51.8-pascal
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/pacem/layout/dark/borders.less +13 -0
- package/pacem/pacem.less +2 -0
- package/pacem/ui/dark/blade.less +109 -0
- package/pacem/ui/dark/index.less +2 -1
- package/package.json +1 -1
|
@@ -70,3 +70,16 @@ each(range(12), {
|
|
|
70
70
|
border-radius: ~"var(--@{PCSS}-size-@{value})";
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
|
+
|
|
74
|
+
.border-radius-topleft-0 {
|
|
75
|
+
border-top-left-radius: 0;
|
|
76
|
+
}
|
|
77
|
+
.border-radius-topright-0 {
|
|
78
|
+
border-top-right-radius: 0;
|
|
79
|
+
}
|
|
80
|
+
.border-radius-bottomleft-0 {
|
|
81
|
+
border-bottom-left-radius: 0;
|
|
82
|
+
}
|
|
83
|
+
.border-radius-bottomright-0 {
|
|
84
|
+
border-bottom-right-radius: 0;
|
|
85
|
+
}
|
package/pacem/pacem.less
CHANGED
|
@@ -357,6 +357,8 @@ each(@_colors, {
|
|
|
357
357
|
--@{PCSS}-grid-double-spacing: @double_grid_spacing;
|
|
358
358
|
--@{PCSS}-layout-header-height: @layout_header_height;
|
|
359
359
|
--@{PCSS}-layout-footer-height: @layout_footer_height;
|
|
360
|
+
--@{PCSS}-layout-bigfooter-height: @layout_bigfooter_height;
|
|
361
|
+
--@{PCSS}-layout-toolbar-height: @layout_toolbar_height;
|
|
360
362
|
|
|
361
363
|
each(range(12), {
|
|
362
364
|
@_s: ~"_size_@{value}";
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
@import "../shared";
|
|
2
|
+
|
|
3
|
+
@{P}-blade {
|
|
4
|
+
position: fixed;
|
|
5
|
+
top: 0;
|
|
6
|
+
right: 0;
|
|
7
|
+
bottom: 0;
|
|
8
|
+
width: 33vw;
|
|
9
|
+
min-width: 600px;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
transform: translate(100%, 0);
|
|
12
|
+
z-index: @lightbox-z-index - 1;
|
|
13
|
+
// background-color: ~"var(--@{PCSS}-color-background)";
|
|
14
|
+
|
|
15
|
+
&.blade-slim {
|
|
16
|
+
width: 25vw;
|
|
17
|
+
min-width: 480px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.blade-large {
|
|
21
|
+
width: 50vw;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
& when(@border_radius > 0) {
|
|
25
|
+
border-radius: @border_radius 0 0 @border_radius;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.blade-right {
|
|
29
|
+
left: auto;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.blade-left {
|
|
33
|
+
left: 0;
|
|
34
|
+
right: auto;
|
|
35
|
+
transform: translate(-100%, 0);
|
|
36
|
+
|
|
37
|
+
& when(@border_radius > 0) {
|
|
38
|
+
border-radius: 0 @border_radius @border_radius 0;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.blade-open {
|
|
43
|
+
transform: translate(0, 0);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@media screen and (min-width: @threshold_lg) {
|
|
48
|
+
|
|
49
|
+
// layout with a header?
|
|
50
|
+
.@{PCSS}-body[header]:not(.sticky-header-fade) {
|
|
51
|
+
|
|
52
|
+
@{P}-blade.blade-inset {
|
|
53
|
+
top: ~"var(--@{PCSS}-layout-header-height)";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.@{PCSS}-body[headbar] {
|
|
58
|
+
|
|
59
|
+
@{P}-blade.blade-inset {
|
|
60
|
+
top: ~"var(--@{PCSS}-layout-toolbar-height)";
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.@{PCSS}-body[header][headbar]:not(.sticky-header-fade) {
|
|
65
|
+
|
|
66
|
+
@{P}-blade.blade-inset {
|
|
67
|
+
top: ~"calc(var(--@{PCSS}-layout-header-height) + var(--@{PCSS}-layout-toolbar-height))";
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.@{PCSS}-body[footbar] {
|
|
72
|
+
|
|
73
|
+
@{P}-blade.blade-inset {
|
|
74
|
+
bottom: ~"var(--@{PCSS}-layout-toolbar-height)";
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.@{PCSS}-body[footer] {
|
|
79
|
+
|
|
80
|
+
@{P}-blade.blade-inset {
|
|
81
|
+
bottom: ~"var(--@{PCSS}-layout-footer-height)";
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.@{PCSS}-body[bigfooter] {
|
|
86
|
+
|
|
87
|
+
@{P}-blade.blade-inset {
|
|
88
|
+
bottom: ~"var(--@{PCSS}-layout-bigfooter-height)";
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.@{PCSS}-body[footbar][footer] {
|
|
93
|
+
|
|
94
|
+
@{P}-blade.blade-inset {
|
|
95
|
+
bottom: ~"calc(var(--@{PCSS}-layout-footer-height) + var(--@{PCSS}-layout-toolbar-height))";
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// animations
|
|
101
|
+
.@{PCSS}-animations {
|
|
102
|
+
|
|
103
|
+
@{P}-blade {
|
|
104
|
+
transition-property: transform !important;
|
|
105
|
+
transition-timing-function: @easing_in_out_sine !important;
|
|
106
|
+
transition-duration: .3s !important;
|
|
107
|
+
transition-delay: 0 !important;
|
|
108
|
+
}
|
|
109
|
+
}
|
package/pacem/ui/dark/index.less
CHANGED
package/package.json
CHANGED