/
calcite-tip.scss
79 lines (65 loc) · 936 Bytes
/
calcite-tip.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
:host {
@apply relative
flex
flex-row
m-4
border
border-solid
border-color-2
box-border
bg-foreground-1
text-color-2
text--1h;
* {
@apply box-border;
}
}
.container {
@apply p-4 w-full;
}
:host([dismissed]),
:host([dismissed]) .container {
@apply hidden;
}
:host([selected]) .container {
@apply border-none m-0 p-0;
}
@import "../../assets/styles/header";
.header {
@apply mb-2;
}
.header .heading {
@apply text-color-1 p-0;
}
.container[hidden] {
@apply hidden;
}
.content {
@apply flex;
}
.info {
@apply py-0 px-4;
width: 70%;
&:only-child {
@apply w-full px-0;
}
}
::slotted(p) {
@apply mt-0;
}
::slotted(a) {
@apply focus-base;
color: theme("backgroundColor.brand");
}
::slotted(a:focus) {
@apply focus-outset;
}
.image-frame {
width: theme("width.1/4");
img {
@apply max-w-full;
}
}
::slotted(img) {
@apply max-w-full;
}