aboutsummaryrefslogtreecommitdiff
path: root/styles/ui.css
blob: b8cd44c91666974dca5b253b296ed002d8e346a4 (plain)
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
.vierkant {
	margin: var(--spacing-small);
	display: inline-block;
	position: relative;
	box-sizing: border-box;
}

.fullwidth { width: calc(100% - var(--spacing-medium)); }

.button {
	background-color: var(--accent);
	color: var(--gray-900);
	text-align: center;
	cursor: pointer;
	position: relative;
	text-decoration: none;
	display: block;
	user-select: none;
	font-weight: 600;
}

.button.iconlabel,
.button.colorpicker {
	margin-left: var(--spacing-medium);
}

.button.colorpicker {
	--color: var(--gray-100);
	--background: #ff00ff;

	background-color: var(--background);
	color: var(--color);
	border-width: 2px;
	border-style: solid;
	border-color: var(--color);
}

.button.iconlabel .label {
	margin: 3px;
	margin-left: 8px;
}

.button.colorpicker .labelwrapper {
	width: 150px;
	height: 24px;
}

.button.colorpicker .labelwrapper .label {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-feature-settings: "tnum", "ss01";
}

.bubble {
	margin: 0;
	overflow: visible;
	left: 50%;
	top: -24px;
	transform: translateY(-100%) translateX(-50%);
}

.bubble .tuitje {
	bottom: -12px;
	transform: translate(-50%, 0%) rotate(0deg);
}