-
Notifications
You must be signed in to change notification settings - Fork 75
/
calcite-shell-center-row.scss
65 lines (54 loc) · 1.02 KB
/
calcite-shell-center-row.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
:host {
@extend %component-host;
@apply flex
flex-auto
overflow-hidden
bg-transparent;
}
.content {
@apply flex
h-full
m-0
overflow-hidden
w-full;
flex: 1 0 0;
}
.action-bar-container {
@apply flex;
}
:host([detached]) {
@apply border-0
rounded
shadow-0
mt-2 mb-6 mx-2
animate-in-up;
}
:host([position="end"]) {
@apply self-end;
}
:host([position="start"]) {
@apply self-start;
}
:host([height-scale="s"]) {
height: theme("width.1/3");
}
:host([height-scale="m"]) {
height: 70%;
}
:host([height-scale="l"]) {
@apply h-full;
}
:host([height-scale="l"][detached]) {
height: calc(theme("height.full") - theme("spacing.8"));
}
::slotted(calcite-panel) {
@apply w-full h-full;
}
::slotted(calcite-action-bar) {
@apply border-solid border-color-3;
border-inline-end-width: theme("borderWidth.DEFAULT");
}
::slotted(calcite-action-bar[position="end"]) {
@apply border-solid border-color-3;
border-inline-width: theme("borderWidth.0") theme("borderWidth.DEFAULT");
}