-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathTargetedMessageBanner.module.scss
More file actions
67 lines (60 loc) · 1.25 KB
/
TargetedMessageBanner.module.scss
File metadata and controls
67 lines (60 loc) · 1.25 KB
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
.messageBox {
display: block;
border: none;
border-radius: 8px;
padding: 12px 16px;
background: rgba(59, 130, 246, 0.1);
text-decoration: none;
cursor: pointer;
.messageHeader {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 4px;
}
.messageTitle {
font-weight: var(--font-medium);
font-size: var(--text-14);
line-height: 20px;
color: var(--blue-500);
text-wrap: balance;
}
.dismissButton {
background: none;
border: none;
color: var(--blue-500);
cursor: pointer;
padding: 0 0 0 8px;
font-size: var(--text-14);
line-height: 1;
opacity: 0.7;
&:hover {
opacity: 1;
}
}
.messageDescription {
font-size: var(--text-14);
color: var(--blue-500);
line-height: 1.5;
text-wrap: pretty;
}
.applyButton {
display: inline-flex;
align-items: center;
gap: 4px;
margin-top: 8px;
padding: 6px 14px;
border: 1px solid var(--blue-500);
border-radius: 6px;
background: var(--blue-500);
color: white;
font-size: var(--text-12);
font-weight: var(--font-medium);
cursor: pointer;
line-height: 1;
transition: opacity 150ms ease;
&:hover {
opacity: 0.85;
}
}
}