aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.css
blob: 69b10adb192b2fa8a14f02353129b2c253508fc5 (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
:root {
	--padding: 15px;
	--disabled: #656E7F;
	--foreground: #DDE2EB;
	--background: #4C515B;
	--boxbackground: #666E7F;
	--subforeground: #AFAFAF;
	--btnforeground: var(--foreground);

	--red: #C7777F;
	--blue: #81A1C1;
	--yellow: #ECD19A;
}

@media (prefers-color-scheme: light) {
	:root {
		--background: #FFFFFF;
		--foreground: #4C566A;
		--boxbackground: #EEF0F4;
		--btnforeground: var(--background);
	}
}

@font-face {
	font-family: "Roboto Mono";
	src: url("roboto.ttf");
}

::-webkit-scrollbar {display: none}

body, button, input {
	font-size: 18px;
	font-weight: 700;
	overflow: hidden;
	-webkit-app-region: drag;
	color: var(--foreground);
	text-transform: uppercase;
	background: var(--background);
	font-family: "Roboto Mono", monospace;
}

nobr {white-space: nowrap}

.versions {
	height: 15px;
	font-size: 12px;
	color: var(--subforeground);
}

.line {
	display: flex;
	margin-top: var(--padding);
}

#modsdiv {
	padding: 1px;
	height: 125px;
	overflow-y: scroll;
	border-radius: var(--padding);
	background: var(--boxbackground);
	margin: calc(var(--padding) / 3) var(--padding);
}

.mod {
	margin: calc(var(--padding) / 3);
	border-radius: calc(var(--padding) / 2) !important;
}

.mod.selected {background: var(--background)}

.mod .disabled {
    color: var(--red);
    position: relative;
    left: var(--padding);
}

.buttons {
	text-align: right;
	margin-left: auto;
	user-select: none;
	margin-right: calc(var(--padding) / 1.9);
}

.text {max-width: 38vw}
.buttons {max-width: 55vw}

button, .text, .mod {
	border: none;
	outline: none;
	user-select: none;
	border-radius: 50px;
	transition: 0.2s ease-in-out;
	padding: calc(var(--padding) / 3) var(--padding);
}

#welcome {padding: 0px}

button {
	color: var(--btnforeground);
	-webkit-app-region: no-drag;
	margin-bottom: calc(var(--padding) / 1.5);
}

button:hover {opacity: 0.9}
button:active {
	opacity: 0.7;
	transform: scale(0.95);
}


#setpath {background: #5E81AC}
#vanilla, #exit {background: #656E7F}
#updateBtn, #installmod {background: var(--blue)}
#togglemod, #toggleall {background: var(--yellow)}
#northstar, #removeall, #removemod {background: var(--red)}
button:disabled {background: var(--disabled) !important; opacity: 0.5}