summaryrefslogtreecommitdiff
path: root/web/css/main.css
blob: 65a9afe9fa327694bc722a4e13d086b178fbe2c9 (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
body {
	margin: 0;
	overflow: hidden;
	color: var(--fg-color-normal);
	background-color: var(--bg-color-normal);
	font-family: sans-serif !important;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	touch-action: manipulation;
}

a {
	text-decoration: underline dotted;
	color: var(--fg-color-normal);
}
@media (hover: hover), (min--moz-device-pixel-ratio: 0) {
	/* If we have a mouse cursor */
	a:hover {
		text-decoration: underline;
	}
}

hr {
	border: none;
	border-top: var(--border-normal-thin);
}

pre {
	color: var(--fg-color-dark);
	background-color: var(--bg-color-dark);
	padding: 10px;
	border-radius: 8px;
}

button, select {
	box-shadow: none;
	border: none;
	color: var(--fg-color-normal);
	background-color: var(--bg-color-normal);
	display: block;
	width: 100%;
	height: 30px;
	font-size: 16px;
	outline: none;
	cursor: pointer;
}
@media (hover: hover), (min--moz-device-pixel-ratio: 0) {
	/* If we have a mouse cursor */
	button:enabled:hover, select:enabled:hover {
		color: var(--fg-color-intensive);
		background-color: var(--bg-color-dark) !important;
	}
	button:active, select:active {
		color: var(--fg-color-selected) !important;
	}
	select:enabled:hover {
		background-image: url("../svg/select-arrow-intensive.svg") !important;
	}
}
@media (hover: none) {
	/* If we DON'T have a mouse cursor */
	button:active, select:active {
		color: var(--fg-color-intensive);
		background-color: var(--bg-color-dark);
	}
}
button:disabled, select:disabled {
	color: var(--fg-color-inactive);
	cursor: default;
}

select {
	-webkit-appearance: button;
	-moz-appearance: button;
	appearance: button;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	background-image: url("../svg/select-arrow-normal.svg");
	background-position: center right;
	background-repeat: no-repeat;
}
select:disabled {
	background-image: url("../svg/select-arrow-inactive.svg") !important;
}
select:active {
	color: var(--fg-color-intensive) !important;
	background-color: var(--bg-color-dark) !important;
	background-image: url("../svg/select-arrow-intensive.svg") !important;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
	button, select {
		height: 45px !important;
	}
}

.row50 {
	display: inline-block;
	width: 50%;
}
.row25 {
	display: inline-block;
	width: 25%;
}
.row16 {
	display: inline-block;
	width: 16.66%
}
.row50:not(:first-child), .row25:not(:first-child), .row16:not(:first-child) {
	border-left: var(--border-dark-thin);
}

img.svg-gray {
	-webkit-filter: invert(0.7);
	filter: invert(0.7);
	vertical-align: middle;
}

ul.footer {
	list-style-type: none;
	bottom: 0;
	position: fixed;
	width: 100%;
	padding: 0;
	font-size: 0.7em;
	color: var(--fg-color-inactive);
	z-index: -10;
}
ul.footer li {
	padding: 0 10px;
}
ul.footer li.footer-left {
	float: left;
}
ul.footer li.footer-right {
	float: right;
}
ul.footer li a {
	color: var(--fg-color-inactive);
}