Repository navigation
Expand file tree
/
Copy pathsettingsmenu.css
More file actions
111 lines (94 loc) · 1.95 KB
/
Copy pathsettingsmenu.css
File metadata and controls
111 lines (94 loc) · 1.95 KB
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
#backdrop {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
z-index: 4;
}
@media (max-width: 1108px) {
#backdrop {
background-color: transparent;
}
}
.settingswindow {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
z-index: 5;
min-height: 80%;
min-width: 80%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 5;
}
.settingswindow p {
max-width: 70%;
color: black;
}
label {
margin-top: 40px;
margin-bottom: 15px;
padding-left: 30px;
padding-right: 30px;
}
#trembleToggle, #trembletoggle2, #reverseControls, #removeEyes, #fps2 {
width: 20px !important;
height: 20px !important;
}
input[type="color" i] {
margin-top: 10px;
margin-bottom: 40px;
}
#snakeColorPicker {
display: flex;
justify-content: center;
}
@media screen and (max-width: 600px) {
#settingswindow label, #settingswindow2 label {
font-size: 16px;
}
.settingswindow, #settingsmenu, #settingsmenu2 {
min-height: 96% !important;
}
}
@media screen and (max-width: 1600px) {
#settingwindow {
min-height: 95% !important;
}
}
/* 3-state switch for grid sizes */
.switchlabel {
display: inline-block;
padding: 10px 20px;
border: 1px solid #ccc;
border-radius: 5px;
cursor: pointer;
margin: 0px;
}
.switchlabel input[type="radio"] {
display: none;
}
#switch-radio1, #switch-radio2, #switch-radio3 {
margin-bottom: 20px !important;
}
#gridsize {
display: inline-block;
}
/* The active state */
.switchlabel.active {
background-color: #4CAF50;
color: white;
border-color: #45a049;
}
/* Hover state */
.switchlabel:hover:not(.active) {
background-color: #eee;
}