-
Notifications
You must be signed in to change notification settings - Fork 0
/
quests.css
137 lines (132 loc) · 3.5 KB
/
quests.css
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
body {
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
height: calc(100vh - 16px);
width: calc(100vw - 16px);
display: grid;
grid-template-columns: auto minmax(auto, 100%);
grid-auto-rows: 100%;
}
div#selector-container {
display: grid;
grid-template-rows: auto minmax(auto, 100%);
padding-right: 4px;
height: 100%;
}
div#level-selector {
padding: 8px;
text-align: center;
}
div#level-selector input[type='range'] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 100%;
height: 1em;
border: none;
background: repeating-linear-gradient(to right, #EEEEEE calc(0% / 32) calc(45% / 32), #000000 calc(45% / 32) calc(55% / 32), #EEEEEE calc(55% / 32) calc(100% / 32) );
}
div#level-selector input[type='range']::-webkit-slider-thumb{
-webkit-appearance: none;
width: calc(100%/32);
height: 1em;
clip-path: polygon(0 0, 35% 100%, 65% 100%, 25% 0, 75% 0, 35% 100%, 65% 100%, 100% 0);
background: #0044FF;
}
div#level-selector input[type='range']::-moz-range-thumb {
-moz-appearance: none;
width: calc(100%/32);
height: 1em;
clip-path: polygon(0 0, 35% 100%, 65% 100%, 25% 0, 75% 0, 35% 100%, 65% 100%, 100% 0);
background: #0044FF;
}
div#pack-picker {
box-sizing: content-box;
padding-right: 8px;
overflow-x: hidden;
overflow-y: auto;
display: grid;
gap: 4px;
grid-template-columns: 50% 50%;
grid-auto-rows: min-content;
}
@media only screen and (max-width: 1200px) {
div#pack-picker {
grid-template-columns: none;
overflow-y: scroll;
}
}
button {
font-family: Verdana, sans-serif;
display: inline-block;
width: 100%;
height: 100%;
padding: 4px 8px;
text-align: center;
vertical-align:top;
color: #000000;
border-color: #787878;
border-style: outset;
border-width: 1px;
border-radius: 2px;
outline: none;
--left-background: #F4F4F4;
--right-background: #F4F4F4;
background-image: linear-gradient(135deg, var(--left-background) 45%, var(--right-background) 55%);
}
@media (pointer: coarse) {
button {
width: 55%;
}
}
button:hover {
filter: brightness(93%);
}
button:active {
filter: brightness(86%);
}
button.pack-excluded {
--right-background: #D0D0D0;
font-style: italic;
}
button.pack-required {
--right-background: #88EE88;
}
button.pack-prefer-heroic {
--left-background: #00F8F8;
}
button.mobile {
width: 15%;
background-image: none;
}
@media (pointer: fine) {
button.mobile {
display: none;
}
}
button.mobile.require {
background-color: #88EE88;
}
button.mobile.prefer-heroic {
background-color: #00F8F8;
}
button.mobile.restore-quests {
background-color: #FF7777;
}
div#quest-table { overflow-y: auto; }
#quest-table table {
width: 100%;
text-align: center;
vertical-align: middle;
border-collapse: collapse;
}
#quest-table table thead tr {
border-bottom: 4px solid black;
font-weight: bolder;
}
#quest-table table td { padding: 2px 6px; }
#quest-table table td + td { border-left: 1.5px solid black; }
#quest-table table tbody tr { background-color: #FFFFFF; }
#quest-table table tbody tr.raid { background-color: #FFCCCC; }
#quest-table table tbody tr.solo { background-color: #CCFFFF; }
#quest-table table tbody tr:nth-child(even) { background-image: linear-gradient(#3332 0 0); }
#quest-table table tbody tr:hover { filter: brightness(97%) contrast(97%); }