aboutsummaryrefslogtreecommitdiff
path: root/styles/gameSettings.css
blob: 3c45fb42d55fa327344c99636b594d59605267d4 (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
68
69
70
71
72
73
74
75
76
77
.editGameSettings {
	height: 80px;
	overflow: visible;
	z-index: 1;
}

.editGameSettings .currentRules {
	top: 50%;
	transform: translateY(-50%);
}

.editGameSettings > .button {
	width: 150px;
	top: 50%;
	transform: translateY(-50%);
	text-align: left;
}

.editGameSettings > .button .icon {
	font-size: 48px;
}

.editGameSettings > .button .text {
	right: var(--spacing-medium);
	width: 85px;
	top: 50%;
	vertical-align: middle;
	transform: translateY(-50%);
}

.editGameSettings .editableRules {
	margin: var(--spacing-large) 0;
	max-height: 500px;
	overflow-y: scroll;
}

.editGameSettings .editableRules .editableRulesSection {
	width: 100%;
	background-color: var(--gray-700);
	margin: 0;
	margin-bottom: var(--spacing-medium);
}
html.dark .editGameSettings .editableRules .editableRulesSection {
	background-color: var(--gray-800);
}
.editGameSettings .editableRules .editableRulesSection:last-child {
	margin-bottom: 0;
}

.editGameSettings .button { line-height: normal; }

.editGameSettings .checkboxWrapper { margin: -3px; }

.editGameSettings .editableRules .editableRulesSection .timeControls {
	margin: var(--spacing-medium);
	margin-left: 0;
	margin-right: 0;
}

.editGameSettings .editableRules .editableRulesSection .timeControls input {
	background-color: var(--background);
	width: calc(100% - 2 * var(--spacing-medium));
}

.editGameSettings .editableRules .gamerule {
	margin-top: var(--spacing-medium);
}

.editGameSettings .editableRules .gamerule h1 {
	color: var(--accent);
	font-size: 2.5rem;
}

#timelimit .valignsup {
	margin-left: var(--spacing-small);
}