-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyles.css
68 lines (56 loc) · 1.15 KB
/
styles.css
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
@import "fyndiq-styles-colors/colors.css";
.alertWrapper {
overflow: hidden;
/* Keep the transition time in sync with the JS file */
transition: height 200ms cubic-bezier(.23, 1, .32, 1);
}
.hidden {
/* Important because the height needs to be fixed
in JS in the style attribute */
height: 0 !important;
}
.removed {
display: none;
}
.alert {
padding: 10px;
display: flex;
}
.text {
flex: 1;
}
.close {
flex: 1;
float: right;
padding: 0;
border: none;
font-family: monospace;
font-weight: bold;
cursor: pointer;
color: inherit;
max-width: 1em;
height: 1em;
line-height: 1em;
font-size: 18px;
text-align: center;
background-color: transparent;
&:hover {
background-color: color(var(--color-white) a(60%));
}
}
.type-good {
background-color: color(var(--color-green) tint(85%));
color: var(--color-green);
}
.type-warning {
background-color: color(var(--color-orange) tint(85%));
color: var(--color-orange);
}
.type-bad {
background-color: color(var(--color-red) tint(85%));
color: var(--color-red);
}
.type-info {
background-color: color(var(--color-blue) tint(85%));
color: var(--color-blue);
}