forked from hihayk/shaper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.css
75 lines (63 loc) · 1.27 KB
/
common.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
69
70
71
72
73
74
75
*,
*:before,
*:after {
box-sizing: border-box;
}
body {
--settingsBg: #1B1B1B;
margin: 0;
background-color: var(--settingsBg);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.textInput {
padding: calc(var(--textFrameY) - var(--fieldBorderWidth)) var(--textFrameY);
font: inherit;
color: inherit;
border: var(--fieldBorderWidth) solid var(--c-fieldBorder);
appearance: none;
border-radius: var(--radius);
width: 100%;
background-color: transparent;
}
.button {
padding: var(--textFrameY) var(--textFrameX);
font: inherit;
border: none;
background-color: var(--c-buttonBg);
appearance: none;
border-radius: var(--radius);
font-weight: 500;
cursor: pointer;
color: var(--c-body);
letter-spacing: 0.03em;
transition: 0.2s filter;
}
.button:hover {
filter: brightness(1.1);
}
.button:active {
filter: brightness(0.9);
}
.buttonSmall {
font-size: var(--text-xs);
}
.roundButtons .button {
border-radius: 1000rem;
}
.button-accent {
background-color: var(--c-accent);
color: var(--c-accentContrasted);
}
.button-accent span {
color: black;
mix-blend-mode: exclusion;
}
.card {
padding: var(--space-l);
background-color: white;
border-radius: var(--radius);
}
.detailsActions {
display: flex;
}