all repos — simplyrpg @ 66f057f2c7a696240e75d52dbaaa671988cffb59

Fork of https://github.com/harperd1/simplyRPG — multi-map VTT, token visibility, dark theme, stream HUD

gmView.css (view raw)

  1* {
  2    font-family: Garamond;
  3}
  4
  5
  6body {
  7  padding-top: 3rem;
  8  padding-bottom: 3rem;
  9  color: #5a5a5a;
 10}
 11
 12h6 {
 13    text-align: center;
 14    font-size: 23pt;
 15    margin: 0 0 .5rem 0;
 16}
 17
 18hr {
 19    height: .5rem;
 20    margin: 0 0 .5rem 0;
 21}
 22
 23span, label {
 24    color: white;
 25}
 26
 27.footer {
 28    text-align: center;
 29    color: gray;
 30}
 31
 32.logo {
 33    padding: 0;
 34    margin: 0 1rem 0 0;
 35    height: 40px;
 36}
 37
 38.bold {
 39    font-style: bold;
 40}
 41.blueBackground {
 42    background-color: rgba(50,100,205)
 43}
 44
 45.grayBackground {
 46    background-color: rgb(231, 231, 231);
 47}
 48
 49.whiteBackground {
 50    background-color: white;
 51}
 52
 53.verticalDiv {
 54    display: inline-flex;
 55    flex-direction: column;
 56    padding: 0;
 57    margin: 0;
 58}
 59
 60.interactionDiv {
 61    margin-top: 1rem;
 62    border-radius: .25rem;
 63}
 64
 65.upperMapSettings {
 66    margin-top: 1rem;
 67    border-radius: .25rem .25rem 0 0;
 68}
 69
 70.lowerMapSettings {
 71    margin-bottom: 1rem;
 72    border-radius: 0 0 .25rem .25rem;
 73}
 74
 75.centering {
 76    display: grid;
 77    justify-items: center;
 78    align-items: center;
 79    overflow: hidden;
 80}
 81
 82.fileUpload {
 83    width: 0.1px;
 84    height: 0.1px;
 85    opacity: 0;
 86    overflow: hidden;
 87    position: absolute;
 88    z-index: -1;
 89}
 90
 91.buttonMimic {
 92    text-align: center;
 93
 94    /*btn-light*/
 95    color: #212529;
 96    background-color: #f8f9fa;
 97    border-color: #f8f9fa;
 98
 99    /*btn class*/
100    vertical-align: middle;
101    border: 1px solid transparent;
102    padding: 0.375rem 0.75rem;
103    font-size: 1rem;
104    line-height: 1.5;
105    border-radius: 0.25rem;
106    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
107}
108
109.buttonMimic:hover {
110  color: #212529;
111  background-color: #e2e6ea;
112  border-color: #dae0e5;
113
114  cursor: pointer;
115}
116
117.buttonMimic:focus, {
118  color: #212529;
119  background-color: #e2e6ea;
120  border-color: #dae0e5;
121  box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
122}
123
124.dropdown {
125    border-radius: 0.25rem;
126    background-color: white;
127}
128
129.scrollable {
130    overflow-y: scroll;
131    overflow-x: hidden;
132}
133
134.tilePane {
135    border: gray solid thin;
136    margin: .5rem 0;
137    height: 21.5rem;
138    border-radius: .25rem;
139    padding: .3rem;
140}
141
142.tilePane p {
143    margin: 0;
144}
145
146.dice {
147    display: flex;
148    justify-content: flex-end;
149    margin: .2em 0;
150    padding: 0 .5em;
151}
152
153.dice p {
154    display: inline;
155    font-weight: bold; 
156}
157
158.dice input {
159    margin: 0 .3rem 0 0;
160}
161
162/*Classes for the dynamic divs*/
163/*-------------------------------*/
164
165.dynamicDiv {
166    min-height: 2.7rem;
167    border-radius: 0.25rem;
168    background-color: rgb(240,240,240);
169    position: relative;
170    margin: .2rem 0;
171}
172
173.textbox {
174    border-radius: 0.25rem;
175    text-align: center;
176    min-width: 1em;
177    padding: .1em 0em;
178    font-size: small;
179}
180
181.dynamicButton {
182    position: absolute;
183    width: 1.5rem;
184    height: 1.5rem;
185    border: thin black solid;
186    border-radius: .6rem;
187}
188
189/*Classes for the token manager*/
190/*-------------------------------*/
191
192.circleHandle {
193    width: 1.25rem;
194    height: 1.25rem;
195    border-radius: 1.25rem;
196    position: absolute;
197    left: .25rem;
198    top: .625rem;
199    overflow: hidden;
200}
201
202.coneHandle {
203    width: 0;
204    height: 0;
205
206    position: absolute;
207    left: .25rem;
208    top: .625rem;
209
210    border-top: .7217rem solid transparent;
211    border-bottom: .7217rem solid transparent;
212}
213
214.squareHandle {
215    width: 1.25em;
216    height: 1.25rem;
217    position: absolute;
218    left: .25rem;
219    top: .625rem;
220    overflow: hidden;
221}
222
223.deleteButton {
224    right: .25rem;
225    top: .6rem;
226    background: white url('assets/icons/trash-fill.svg');
227    background-size: 1rem 1rem;
228    background-repeat: no-repeat;
229    background-position: center;
230}
231
232/*Classes for the music manager*/
233/*-------------------------------*/
234
235.indented {
236    margin-left: 5%;
237    width: 95%;
238}
239
240.playButton {
241    left: 75%;
242    top: .75rem;
243
244    background: white url('assets/icons/play-fill.svg');
245    background-size: 1rem 1rem;
246    background-repeat: no-repeat;
247    background-position: center;
248}
249
250.pauseButton {
251    left: 87.5%;
252    top: .75rem;
253
254    background: white url('assets/icons/pause-fill.svg');
255    background-size: 1rem 1rem;
256    background-repeat: no-repeat;
257    background-position: center;
258}
259
260.songExpander {
261    left: 5%;
262    top: .75rem;
263
264    background: white url('assets/icons/caret-down-fill.svg');
265    background-size: 1rem 1rem;
266    background-repeat: no-repeat;
267    background-position: center;
268}
269
270.shufflePlay {
271    left: 75%;
272    top: .75rem;
273
274    background: white url('assets/icons/shuffle.svg');
275    background-size: 1rem 1rem;
276    background-repeat: no-repeat;
277    background-position: center;
278}
279
280.loopPlay {
281    left: 87.5%;
282    top: .75rem;
283
284    background: white url('assets/icons/arrow-repeat.svg');
285    background-size: 1rem 1rem;
286    background-repeat: no-repeat;
287    background-position: center;
288}
289
290.songName {
291    position: absolute;
292    left: 10%;
293    width: 60%; 
294    top: .2em;
295    color: rgb(130,130,130);
296    text-align: center;
297}
298
299.playlistName {
300    position: absolute;
301    left: 15%;
302    width: 55%; 
303    top: .75em;
304    color: rgb(130,130,130);
305    text-align: center;
306    font-weight: bold;
307}
308
309.songCurrentPosition {
310    position: absolute;
311    top: 2.2em;
312    color: rgb(130,130,130);
313    text-align: center;
314    left: 2.5%;
315    width: 15%; 
316}
317
318.songTotalLength {
319    position: absolute;
320    top: 2.2em;
321    color: rgb(130,130,130);
322    text-align: center;
323    left: 62.5%;
324    width: 15%; 
325}
326
327.songProgressBar {
328    position: absolute;
329    left: 10%;
330    width: 60%; 
331    top: 1.4em;  
332}
333
334#canvas {
335    border: thin rgba(140,140,140) dashed;
336}
337
338#canvasHolder {
339    min-height: 45vh;
340}
341
342#musicExplanation {
343    padding: .5rem 1rem;
344}
345
346#musicLoadingDiv { 
347    display: flex;
348    justify-content: space-between;
349    align-items: center;
350    padding: .25rem .5rem;
351}
352
353#dicePane {
354    width: 13rem;
355}
356
357#diceSubmitBox {
358    display: flex;
359    justify-content: center;
360}