@mideind/netskrafl-react 1.0.0-beta.7 → 1.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/css/netskrafl.css +646 -35
- package/dist/cjs/index.js +9033 -7685
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/css/netskrafl.css +646 -35
- package/dist/esm/index.js +9033 -7686
- package/dist/esm/index.js.map +1 -1
- package/dist/types.d.ts +4 -1
- package/package.json +1 -1
|
@@ -303,14 +303,19 @@
|
|
|
303
303
|
|
|
304
304
|
div.netskrafl-container {
|
|
305
305
|
--logo-primary: #C94314;
|
|
306
|
+
--logo-primary-light: hsl(from var(--logo-primary) h s 75%);
|
|
306
307
|
--logo-secondary: #FFAA88;
|
|
307
|
-
--logo-accent:
|
|
308
|
+
--logo-accent: hsl(21, 87%, 58%);
|
|
309
|
+
--logo-accent-light: hsl(from var(--logo-accent) h s 80%);
|
|
308
310
|
--svarkur-primary: #066960;
|
|
309
311
|
--svarkur-secondary: #0a574f;
|
|
310
312
|
--svarkur-accent: #008b7c;
|
|
311
313
|
--malfridur-primary: #FF7C24;
|
|
312
|
-
--malfridur-secondary:
|
|
313
|
-
--malfridur-
|
|
314
|
+
--malfridur-secondary: hsl(42, 100%, 50%);
|
|
315
|
+
--malfridur-secondary-light: hsl(from var(--malfridur-secondary) h s 80%);
|
|
316
|
+
--malfridur-accent: hsl(198, 93%, 39%);
|
|
317
|
+
--cold: hsl(177, 58%, 68%);
|
|
318
|
+
--cold-light: hsl(from var(--cold) h s 80%);
|
|
314
319
|
--malfridur-green: #09814A;
|
|
315
320
|
--dark-bg-color: #222222;
|
|
316
321
|
--light-shadow: #666666;
|
|
@@ -384,12 +389,15 @@ div.netskrafl-container h3 {
|
|
|
384
389
|
}
|
|
385
390
|
*/
|
|
386
391
|
|
|
387
|
-
body div.netskrafl-loading,
|
|
388
|
-
body div.netskrafl-user
|
|
392
|
+
body > div.netskrafl-loading,
|
|
393
|
+
body > div.netskrafl-user,
|
|
394
|
+
body > div.gatadagsins-loading,
|
|
395
|
+
body > div.gatadagsins-user {
|
|
389
396
|
display: none;
|
|
390
397
|
}
|
|
391
398
|
|
|
392
|
-
div.netskrafl-container div.netskrafl-user
|
|
399
|
+
div.netskrafl-container div.netskrafl-user,
|
|
400
|
+
div.netskrafl-container div.gatadagsins-user {
|
|
393
401
|
display: block;
|
|
394
402
|
}
|
|
395
403
|
|
|
@@ -397,6 +405,24 @@ div#board-background {
|
|
|
397
405
|
height: 100%;
|
|
398
406
|
}
|
|
399
407
|
|
|
408
|
+
@keyframes blinkOutline {
|
|
409
|
+
0% {
|
|
410
|
+
outline: var(--focus-border) solid 0px;
|
|
411
|
+
}
|
|
412
|
+
50% {
|
|
413
|
+
outline: var(--focus-border) solid 4px;
|
|
414
|
+
}
|
|
415
|
+
100% {
|
|
416
|
+
outline: var(--focus-border) solid 0px;
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.blinking {
|
|
421
|
+
position: relative;
|
|
422
|
+
z-index: 10;
|
|
423
|
+
animation: blinkOutline 1s infinite;
|
|
424
|
+
}
|
|
425
|
+
|
|
400
426
|
div.game-container {
|
|
401
427
|
position: absolute;
|
|
402
428
|
top: 0;
|
|
@@ -754,10 +780,6 @@ table.bag-content.empty td {
|
|
|
754
780
|
color: white;
|
|
755
781
|
}
|
|
756
782
|
|
|
757
|
-
td.over {
|
|
758
|
-
outline: var(--focus-border) solid 3px;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
783
|
td.highlight {
|
|
762
784
|
outline: var(--focus-border) solid 2px;
|
|
763
785
|
}
|
|
@@ -943,7 +965,7 @@ div.board-area {
|
|
|
943
965
|
div.board {
|
|
944
966
|
background-color: var(--container-bg-color);
|
|
945
967
|
overflow: auto; /* Must be auto to allow panning/scrolling */
|
|
946
|
-
width:
|
|
968
|
+
width: 100%;
|
|
947
969
|
}
|
|
948
970
|
|
|
949
971
|
div.tile {
|
|
@@ -1290,45 +1312,43 @@ div.try-again span.glyphicon {
|
|
|
1290
1312
|
}
|
|
1291
1313
|
|
|
1292
1314
|
div.recallbtn {
|
|
1293
|
-
|
|
1315
|
+
display: none;
|
|
1294
1316
|
font-size: 18px;
|
|
1295
1317
|
font-weight: 700;
|
|
1296
1318
|
color: white;
|
|
1297
1319
|
margin: 0;
|
|
1298
|
-
|
|
1299
|
-
|
|
1320
|
+
align-items: center;
|
|
1321
|
+
justify-content: center;
|
|
1300
1322
|
border-radius: 5px;
|
|
1301
1323
|
cursor: pointer;
|
|
1302
|
-
width:
|
|
1303
|
-
height:
|
|
1324
|
+
width: 45px;
|
|
1325
|
+
height: 41px;
|
|
1304
1326
|
background-color: var(--triple-word-color);
|
|
1305
|
-
display: none;
|
|
1306
1327
|
}
|
|
1307
1328
|
|
|
1308
1329
|
div.rack-left div.recallbtn {
|
|
1309
|
-
display:
|
|
1330
|
+
display: flex;
|
|
1310
1331
|
margin-right: auto;
|
|
1311
1332
|
/* Left-align the button */
|
|
1312
1333
|
}
|
|
1313
1334
|
|
|
1314
1335
|
div.scramblebtn {
|
|
1315
|
-
|
|
1336
|
+
display: none;
|
|
1316
1337
|
font-size: 18px;
|
|
1317
1338
|
font-weight: 700;
|
|
1318
1339
|
color: white;
|
|
1319
1340
|
margin: 0;
|
|
1320
|
-
|
|
1321
|
-
|
|
1341
|
+
align-items: center;
|
|
1342
|
+
justify-content: center;
|
|
1322
1343
|
border-radius: 5px;
|
|
1323
1344
|
cursor: pointer;
|
|
1324
|
-
width:
|
|
1325
|
-
height:
|
|
1345
|
+
width: 45px;
|
|
1346
|
+
height: 41px;
|
|
1326
1347
|
background-color: var(--malfridur-accent);
|
|
1327
|
-
display: none;
|
|
1328
1348
|
}
|
|
1329
1349
|
|
|
1330
1350
|
div.rack-left div.scramblebtn {
|
|
1331
|
-
display:
|
|
1351
|
+
display: flex;
|
|
1332
1352
|
margin-right: auto;
|
|
1333
1353
|
/* Left-align the button */
|
|
1334
1354
|
}
|
|
@@ -1398,7 +1418,7 @@ div.submitexchange {
|
|
|
1398
1418
|
border: 1.5px solid var(--header-background);
|
|
1399
1419
|
width: 66px;
|
|
1400
1420
|
height: 23px;
|
|
1401
|
-
color: var(--
|
|
1421
|
+
color: var(--human-color);
|
|
1402
1422
|
}
|
|
1403
1423
|
|
|
1404
1424
|
div.submitexchange.disabled {
|
|
@@ -2269,7 +2289,7 @@ div.exchange {
|
|
|
2269
2289
|
text-align: center;
|
|
2270
2290
|
color: white;
|
|
2271
2291
|
border-radius: 4px;
|
|
2272
|
-
background-color: var(--
|
|
2292
|
+
background-color: var(--human-color);
|
|
2273
2293
|
}
|
|
2274
2294
|
|
|
2275
2295
|
div.submitmove#move-mobile {
|
|
@@ -3343,7 +3363,7 @@ div.xchg {
|
|
|
3343
3363
|
|
|
3344
3364
|
div.xchgsel {
|
|
3345
3365
|
color: white;
|
|
3346
|
-
background-color: var(--
|
|
3366
|
+
background-color: var(--human-color);
|
|
3347
3367
|
}
|
|
3348
3368
|
|
|
3349
3369
|
.blanktile {
|
|
@@ -3912,7 +3932,7 @@ div.pass-last span.yesnobutton {
|
|
|
3912
3932
|
}
|
|
3913
3933
|
|
|
3914
3934
|
div.exchange span.yesnobutton {
|
|
3915
|
-
color: var(--
|
|
3935
|
+
color: var(--human-color);
|
|
3916
3936
|
}
|
|
3917
3937
|
|
|
3918
3938
|
div.chall span.yesnobutton {
|
|
@@ -6651,25 +6671,25 @@ div.signup-header {
|
|
|
6651
6671
|
background-color: var(--board-background);
|
|
6652
6672
|
}
|
|
6653
6673
|
div.recallbtn {
|
|
6654
|
-
display:
|
|
6674
|
+
display: flex;
|
|
6655
6675
|
position: absolute;
|
|
6656
6676
|
top: auto;
|
|
6657
6677
|
bottom: 136px;
|
|
6658
6678
|
background-color: var(--triple-word-color);
|
|
6659
6679
|
font-size: 22px;
|
|
6660
|
-
width:
|
|
6661
|
-
height:
|
|
6680
|
+
width: 52px;
|
|
6681
|
+
height: 45px;
|
|
6662
6682
|
left: 167px;
|
|
6663
6683
|
}
|
|
6664
6684
|
/* To the right of the rack */
|
|
6665
6685
|
div.scramblebtn {
|
|
6666
|
-
display:
|
|
6686
|
+
display: flex;
|
|
6667
6687
|
position: absolute;
|
|
6668
6688
|
top: auto;
|
|
6669
6689
|
bottom: 136px;
|
|
6670
6690
|
font-size: 22px;
|
|
6671
|
-
width:
|
|
6672
|
-
height:
|
|
6691
|
+
width: 52px;
|
|
6692
|
+
height: 45px;
|
|
6673
6693
|
left: 546px;
|
|
6674
6694
|
}
|
|
6675
6695
|
div.submitpass {
|
|
@@ -7528,3 +7548,594 @@ div.signup-header {
|
|
|
7528
7548
|
padding-right: 3px;
|
|
7529
7549
|
}
|
|
7530
7550
|
}
|
|
7551
|
+
|
|
7552
|
+
/* ================= GÁTA DAGSINS STYLES =============== */
|
|
7553
|
+
|
|
7554
|
+
/* Mobile styles for Gáta Dagsins */
|
|
7555
|
+
|
|
7556
|
+
div#gatadagsins-background {
|
|
7557
|
+
height: 100%;
|
|
7558
|
+
}
|
|
7559
|
+
|
|
7560
|
+
div.gatadagsins-container {
|
|
7561
|
+
position: absolute;
|
|
7562
|
+
top: 0;
|
|
7563
|
+
left: 0;
|
|
7564
|
+
width: 100%;
|
|
7565
|
+
height: 100%;
|
|
7566
|
+
overflow-x: hidden;
|
|
7567
|
+
overflow-y: hidden;
|
|
7568
|
+
}
|
|
7569
|
+
|
|
7570
|
+
div.gatadagsins-main {
|
|
7571
|
+
display: flex;
|
|
7572
|
+
position: relative;
|
|
7573
|
+
width: 100%;
|
|
7574
|
+
height: 100%;
|
|
7575
|
+
flex-direction: column;
|
|
7576
|
+
box-sizing: border-box;
|
|
7577
|
+
padding: 0px;
|
|
7578
|
+
}
|
|
7579
|
+
|
|
7580
|
+
/* Board and rack wrapper (left side) */
|
|
7581
|
+
|
|
7582
|
+
div.gatadagsins-board-rack-wrapper {
|
|
7583
|
+
flex: 1;
|
|
7584
|
+
display: flex;
|
|
7585
|
+
flex-direction: column;
|
|
7586
|
+
}
|
|
7587
|
+
|
|
7588
|
+
div.gatadagsins-board-area {
|
|
7589
|
+
flex: 1;
|
|
7590
|
+
display: flex;
|
|
7591
|
+
align-items: center;
|
|
7592
|
+
justify-content: center;
|
|
7593
|
+
}
|
|
7594
|
+
|
|
7595
|
+
div.gatadagsins-board-area.celebrate div.tile.racktile{
|
|
7596
|
+
animation: celebrationTilePulse 1.5s ease-in-out infinite;
|
|
7597
|
+
}
|
|
7598
|
+
|
|
7599
|
+
@keyframes celebrationTilePulse {
|
|
7600
|
+
0%, 100% {
|
|
7601
|
+
background-color: white;
|
|
7602
|
+
}
|
|
7603
|
+
50% {
|
|
7604
|
+
background-color: var(--malfridur-secondary-light);
|
|
7605
|
+
}
|
|
7606
|
+
}
|
|
7607
|
+
|
|
7608
|
+
/* Override board positioning for Gáta Dagsins */
|
|
7609
|
+
|
|
7610
|
+
div.gatadagsins-container div.board {
|
|
7611
|
+
position: relative;
|
|
7612
|
+
top: auto;
|
|
7613
|
+
left: auto;
|
|
7614
|
+
padding: 0;
|
|
7615
|
+
}
|
|
7616
|
+
|
|
7617
|
+
div.gatadagsins-container table.board {
|
|
7618
|
+
position: relative;
|
|
7619
|
+
}
|
|
7620
|
+
|
|
7621
|
+
div.gatadagsins-rack-area {
|
|
7622
|
+
flex: 0 0 100px;
|
|
7623
|
+
display: flex;
|
|
7624
|
+
flex-direction: row;
|
|
7625
|
+
justify-content: space-evenly;
|
|
7626
|
+
align-items: center;
|
|
7627
|
+
}
|
|
7628
|
+
|
|
7629
|
+
/* Override rack positioning for Gáta Dagsins */
|
|
7630
|
+
|
|
7631
|
+
div.gatadagsins-container div.rack-left {
|
|
7632
|
+
display: flex;
|
|
7633
|
+
align-items: center;
|
|
7634
|
+
float: none;
|
|
7635
|
+
width: auto;
|
|
7636
|
+
height: auto;
|
|
7637
|
+
}
|
|
7638
|
+
|
|
7639
|
+
div.gatadagsins-container div.rack {
|
|
7640
|
+
position: relative;
|
|
7641
|
+
float: none;
|
|
7642
|
+
top: 0;
|
|
7643
|
+
left: 0;
|
|
7644
|
+
width: auto;
|
|
7645
|
+
}
|
|
7646
|
+
|
|
7647
|
+
/* Override button positioning for Gáta Dagsins */
|
|
7648
|
+
|
|
7649
|
+
div.gatadagsins-container div.recallbtn {
|
|
7650
|
+
position: relative;
|
|
7651
|
+
margin: 0 5px;
|
|
7652
|
+
display: flex;
|
|
7653
|
+
bottom: auto;
|
|
7654
|
+
left: auto;
|
|
7655
|
+
background-color: var(--triple-letter-color);
|
|
7656
|
+
}
|
|
7657
|
+
|
|
7658
|
+
div.gatadagsins-container div.scramblebtn {
|
|
7659
|
+
position: relative;
|
|
7660
|
+
margin: 0 5px;
|
|
7661
|
+
display: flex;
|
|
7662
|
+
bottom: auto;
|
|
7663
|
+
left: auto;
|
|
7664
|
+
}
|
|
7665
|
+
|
|
7666
|
+
div.gatadagsins-container div.buttons {
|
|
7667
|
+
position: relative;
|
|
7668
|
+
display: flex;
|
|
7669
|
+
align-items: center;
|
|
7670
|
+
justify-content: center;
|
|
7671
|
+
bottom: auto;
|
|
7672
|
+
left: auto;
|
|
7673
|
+
}
|
|
7674
|
+
|
|
7675
|
+
div.gata-dagsins-score {
|
|
7676
|
+
display: flex;
|
|
7677
|
+
flex-direction: row;
|
|
7678
|
+
align-items: center;
|
|
7679
|
+
justify-content: center;
|
|
7680
|
+
width: 64px;
|
|
7681
|
+
height: 26px;
|
|
7682
|
+
color: white;
|
|
7683
|
+
background-color: var(--tile-background);
|
|
7684
|
+
border-radius: 5px;
|
|
7685
|
+
margin: 0 5px;
|
|
7686
|
+
border-color: transparent;
|
|
7687
|
+
border-style: solid;
|
|
7688
|
+
border-width: 3px;
|
|
7689
|
+
transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
|
|
7690
|
+
}
|
|
7691
|
+
|
|
7692
|
+
div.gata-dagsins-score.disabled {
|
|
7693
|
+
background-color: white;
|
|
7694
|
+
color: var(--middle-shadow);
|
|
7695
|
+
border-color: var(--middle-shadow);
|
|
7696
|
+
border-style: solid;
|
|
7697
|
+
border-width: 3px;
|
|
7698
|
+
}
|
|
7699
|
+
|
|
7700
|
+
div.gata-dagsins-score.illegal {
|
|
7701
|
+
background-color: white;
|
|
7702
|
+
color: black;
|
|
7703
|
+
border-color: var(--logo-primary-light);
|
|
7704
|
+
border-style: solid;
|
|
7705
|
+
border-width: 3px;
|
|
7706
|
+
}
|
|
7707
|
+
|
|
7708
|
+
div.gata-dagsins-score.word-bad {
|
|
7709
|
+
background-color: white;
|
|
7710
|
+
color: var(--logo-primary-light);
|
|
7711
|
+
border-color: var(--logo-primary-light);
|
|
7712
|
+
border-style: solid;
|
|
7713
|
+
border-width: 3px;
|
|
7714
|
+
}
|
|
7715
|
+
|
|
7716
|
+
span.gata-dagsins-legend {
|
|
7717
|
+
display: inline-block;
|
|
7718
|
+
font-family: var(--number-font);
|
|
7719
|
+
font-weight: 700;
|
|
7720
|
+
font-size: 22px;
|
|
7721
|
+
line-height: 22px;
|
|
7722
|
+
}
|
|
7723
|
+
|
|
7724
|
+
/* Thermometer wrapper - positioned above board on mobile */
|
|
7725
|
+
|
|
7726
|
+
div.gatadagsins-right-side-wrapper {
|
|
7727
|
+
flex: 0 0 80px;
|
|
7728
|
+
display: flex;
|
|
7729
|
+
flex-direction: row;
|
|
7730
|
+
order: -1;
|
|
7731
|
+
}
|
|
7732
|
+
|
|
7733
|
+
div.gatadagsins-thermometer-column {
|
|
7734
|
+
flex: 1;
|
|
7735
|
+
display: flex;
|
|
7736
|
+
flex-direction: row;
|
|
7737
|
+
align-items: center;
|
|
7738
|
+
justify-content: center;
|
|
7739
|
+
}
|
|
7740
|
+
|
|
7741
|
+
/* Thermometer component styles */
|
|
7742
|
+
|
|
7743
|
+
.thermometer-container {
|
|
7744
|
+
position: relative;
|
|
7745
|
+
display: flex;
|
|
7746
|
+
flex-direction: row;
|
|
7747
|
+
height: 100%;
|
|
7748
|
+
width: 100%;
|
|
7749
|
+
align-items: center;
|
|
7750
|
+
}
|
|
7751
|
+
|
|
7752
|
+
.thermometer-best-score {
|
|
7753
|
+
position: absolute;
|
|
7754
|
+
display: flex;
|
|
7755
|
+
width: 40px;
|
|
7756
|
+
height: 100%;
|
|
7757
|
+
align-self: flex-start;
|
|
7758
|
+
flex-direction: column;
|
|
7759
|
+
align-items: center;
|
|
7760
|
+
justify-content: flex-start;
|
|
7761
|
+
right: -32px;
|
|
7762
|
+
}
|
|
7763
|
+
|
|
7764
|
+
.thermometer-best-score-container {
|
|
7765
|
+
position: relative;
|
|
7766
|
+
display: flex;
|
|
7767
|
+
align-items: center;
|
|
7768
|
+
justify-content: center;
|
|
7769
|
+
flex-direction: column;
|
|
7770
|
+
border-radius: 10px;
|
|
7771
|
+
padding-left: 10px;
|
|
7772
|
+
padding-right: 10px;
|
|
7773
|
+
left: -10px;
|
|
7774
|
+
cursor: pointer;
|
|
7775
|
+
}
|
|
7776
|
+
|
|
7777
|
+
.thermometer-best-score-container:hover {
|
|
7778
|
+
outline-width: 2px;
|
|
7779
|
+
outline-style: solid;
|
|
7780
|
+
outline-color: var(--malfridur-secondary-light);
|
|
7781
|
+
}
|
|
7782
|
+
|
|
7783
|
+
.thermometer-best-circle {
|
|
7784
|
+
background-color: var(--malfridur-green);
|
|
7785
|
+
color: white;
|
|
7786
|
+
border-radius: 50%;
|
|
7787
|
+
width: 50px;
|
|
7788
|
+
height: 50px;
|
|
7789
|
+
display: flex;
|
|
7790
|
+
align-items: center;
|
|
7791
|
+
justify-content: center;
|
|
7792
|
+
font-size: 22px;
|
|
7793
|
+
font-weight: bold;
|
|
7794
|
+
font-family: var(--number-font);
|
|
7795
|
+
margin-left: -5px;
|
|
7796
|
+
flex-shrink: 0;
|
|
7797
|
+
transition: background-color 1.0s ease;
|
|
7798
|
+
}
|
|
7799
|
+
|
|
7800
|
+
.celebrate .thermometer-best-circle {
|
|
7801
|
+
background-color: var(--malfridur-secondary);
|
|
7802
|
+
}
|
|
7803
|
+
|
|
7804
|
+
.thermometer-best-label {
|
|
7805
|
+
margin-top: 8px;
|
|
7806
|
+
margin-left: 0;
|
|
7807
|
+
font-size: 12px;
|
|
7808
|
+
color: var(--malfridur-green);
|
|
7809
|
+
font-style: italic;
|
|
7810
|
+
font-family: var(--primary-font);
|
|
7811
|
+
transition: color 1.0s ease;
|
|
7812
|
+
text-align: center;
|
|
7813
|
+
}
|
|
7814
|
+
|
|
7815
|
+
.celebrate .thermometer-best-label {
|
|
7816
|
+
font-family: var(--number-font);
|
|
7817
|
+
font-weight: bold;
|
|
7818
|
+
color: var(--malfridur-secondary);
|
|
7819
|
+
text-transform: uppercase;
|
|
7820
|
+
white-space: nowrap;
|
|
7821
|
+
}
|
|
7822
|
+
|
|
7823
|
+
.celebrate .thermometer-best-circle {
|
|
7824
|
+
position: relative;
|
|
7825
|
+
animation: celebrationPulse 2s ease-in-out 3;
|
|
7826
|
+
box-shadow: 0 0 25px rgba(var(--malfridur-secondary), 0.7);
|
|
7827
|
+
}
|
|
7828
|
+
|
|
7829
|
+
/* Sun corona component styling */
|
|
7830
|
+
|
|
7831
|
+
.sun-corona {
|
|
7832
|
+
position: absolute;
|
|
7833
|
+
top: 50%;
|
|
7834
|
+
left: 30px;
|
|
7835
|
+
transform: translate(-50%, -50%) rotate(0deg);
|
|
7836
|
+
pointer-events: none;
|
|
7837
|
+
}
|
|
7838
|
+
|
|
7839
|
+
.sun-corona.rotating {
|
|
7840
|
+
animation: rotateSunCorona 6s linear infinite;
|
|
7841
|
+
}
|
|
7842
|
+
|
|
7843
|
+
@keyframes celebrationPulse {
|
|
7844
|
+
0%, 100% {
|
|
7845
|
+
transform: scale(1);
|
|
7846
|
+
}
|
|
7847
|
+
50% {
|
|
7848
|
+
transform: scale(1.1);
|
|
7849
|
+
}
|
|
7850
|
+
}
|
|
7851
|
+
|
|
7852
|
+
@keyframes rotateSunCorona {
|
|
7853
|
+
0% {
|
|
7854
|
+
transform: translate(-50%, -50%) rotate(0deg) scale(1.3);
|
|
7855
|
+
}
|
|
7856
|
+
25% {
|
|
7857
|
+
transform: translate(-50%, -50%) rotate(90deg) scale(1.6);
|
|
7858
|
+
}
|
|
7859
|
+
50% {
|
|
7860
|
+
transform: translate(-50%, -50%) rotate(180deg) scale(1.3);
|
|
7861
|
+
}
|
|
7862
|
+
75% {
|
|
7863
|
+
transform: translate(-50%, -50%) rotate(270deg) scale(1.6);
|
|
7864
|
+
}
|
|
7865
|
+
100% {
|
|
7866
|
+
transform: translate(-50%, -50%) rotate(360deg) scale(1.3);
|
|
7867
|
+
}
|
|
7868
|
+
}
|
|
7869
|
+
|
|
7870
|
+
.thermometer-body {
|
|
7871
|
+
position: relative;
|
|
7872
|
+
align-self: center;
|
|
7873
|
+
width: 100%;
|
|
7874
|
+
height: 40px;
|
|
7875
|
+
margin: 0;
|
|
7876
|
+
border-radius: 20px;
|
|
7877
|
+
overflow: visible;
|
|
7878
|
+
}
|
|
7879
|
+
|
|
7880
|
+
.thermometer-zones {
|
|
7881
|
+
position: relative;
|
|
7882
|
+
height: 100%;
|
|
7883
|
+
width: 100%;
|
|
7884
|
+
}
|
|
7885
|
+
|
|
7886
|
+
.thermometer-zone {
|
|
7887
|
+
position: absolute;
|
|
7888
|
+
left: 0;
|
|
7889
|
+
bottom: 0;
|
|
7890
|
+
height: 100%;
|
|
7891
|
+
width: var(--zone-size);
|
|
7892
|
+
border-radius: 20px;
|
|
7893
|
+
transition: width 0.5s ease-in-out;
|
|
7894
|
+
}
|
|
7895
|
+
|
|
7896
|
+
.thermometer-zone.hot,
|
|
7897
|
+
div.gata-dagsins-score.hot {
|
|
7898
|
+
background-color: var(--logo-accent);
|
|
7899
|
+
}
|
|
7900
|
+
|
|
7901
|
+
.thermometer-zone.warm,
|
|
7902
|
+
div.gata-dagsins-score.warm {
|
|
7903
|
+
background-color: var(--malfridur-secondary);
|
|
7904
|
+
}
|
|
7905
|
+
|
|
7906
|
+
.thermometer-zone.cold,
|
|
7907
|
+
div.gata-dagsins-score.cold {
|
|
7908
|
+
background-color: var(--cold);
|
|
7909
|
+
}
|
|
7910
|
+
|
|
7911
|
+
.thermometer-current-circle {
|
|
7912
|
+
color: white;
|
|
7913
|
+
border: 3px solid white;
|
|
7914
|
+
border-radius: 50%;
|
|
7915
|
+
width: 34px;
|
|
7916
|
+
height: 34px;
|
|
7917
|
+
display: flex;
|
|
7918
|
+
align-items: center;
|
|
7919
|
+
justify-content: center;
|
|
7920
|
+
font-size: 20px;
|
|
7921
|
+
font-weight: bold;
|
|
7922
|
+
font-family: var(--number-font);
|
|
7923
|
+
}
|
|
7924
|
+
|
|
7925
|
+
.thermometer-moves-overlay-wrapper {
|
|
7926
|
+
position: absolute;
|
|
7927
|
+
top: 0;
|
|
7928
|
+
left: 0;
|
|
7929
|
+
width: 100%;
|
|
7930
|
+
height: 100%;
|
|
7931
|
+
pointer-events: none;
|
|
7932
|
+
}
|
|
7933
|
+
|
|
7934
|
+
.thermometer-move-overlay {
|
|
7935
|
+
position: absolute;
|
|
7936
|
+
bottom: -10px;
|
|
7937
|
+
left: var(--move-position);
|
|
7938
|
+
transform: translateX(50%);
|
|
7939
|
+
display: flex;
|
|
7940
|
+
align-items: center;
|
|
7941
|
+
flex-direction: column;
|
|
7942
|
+
pointer-events: auto;
|
|
7943
|
+
font-family: var(--number-font);
|
|
7944
|
+
cursor: pointer;
|
|
7945
|
+
border-radius: 10px;
|
|
7946
|
+
padding: 2px;
|
|
7947
|
+
}
|
|
7948
|
+
|
|
7949
|
+
.thermometer-move-overlay.hot {
|
|
7950
|
+
color: var(--logo-accent);
|
|
7951
|
+
}
|
|
7952
|
+
|
|
7953
|
+
.thermometer-move-overlay.warm {
|
|
7954
|
+
color: var(--malfridur-secondary);
|
|
7955
|
+
}
|
|
7956
|
+
|
|
7957
|
+
.thermometer-move-overlay.cold {
|
|
7958
|
+
color: var(--cold);
|
|
7959
|
+
}
|
|
7960
|
+
|
|
7961
|
+
.thermometer-move-overlay:hover {
|
|
7962
|
+
outline-width: 2px;
|
|
7963
|
+
outline-style: solid;
|
|
7964
|
+
}
|
|
7965
|
+
|
|
7966
|
+
.thermometer-move-overlay.hot:hover {
|
|
7967
|
+
outline-color: var(--logo-accent-light);
|
|
7968
|
+
}
|
|
7969
|
+
|
|
7970
|
+
.thermometer-move-overlay.warm:hover {
|
|
7971
|
+
outline-color: var(--malfridur-secondary-light);
|
|
7972
|
+
}
|
|
7973
|
+
|
|
7974
|
+
.thermometer-move-overlay.cold:hover {
|
|
7975
|
+
outline-color: var(--cold-light);
|
|
7976
|
+
}
|
|
7977
|
+
|
|
7978
|
+
.thermometer-move-overlay .thermometer-move-score {
|
|
7979
|
+
position: relative;
|
|
7980
|
+
min-width: 40px;
|
|
7981
|
+
color: white;
|
|
7982
|
+
font-weight: bold;
|
|
7983
|
+
text-align: center;
|
|
7984
|
+
font-size: 20px;
|
|
7985
|
+
}
|
|
7986
|
+
|
|
7987
|
+
.thermometer-move-overlay .thermometer-current-score {
|
|
7988
|
+
position: relative;
|
|
7989
|
+
min-width: 40px;
|
|
7990
|
+
}
|
|
7991
|
+
|
|
7992
|
+
.thermometer-move-overlay .thermometer-move-word {
|
|
7993
|
+
font-weight: bold;
|
|
7994
|
+
margin-left: 10px;
|
|
7995
|
+
font-size: 16px;
|
|
7996
|
+
font-style: italic;
|
|
7997
|
+
text-transform: uppercase;
|
|
7998
|
+
white-space: nowrap;
|
|
7999
|
+
}
|
|
8000
|
+
|
|
8001
|
+
.thermometer-move-overlay .thermometer-move-coord {
|
|
8002
|
+
font-size: 14px;
|
|
8003
|
+
margin-left: 8px;
|
|
8004
|
+
white-space: nowrap;
|
|
8005
|
+
}
|
|
8006
|
+
|
|
8007
|
+
/* Animation for gentle pulsing effect */
|
|
8008
|
+
|
|
8009
|
+
@keyframes gentlePulse {
|
|
8010
|
+
0% {
|
|
8011
|
+
transform: scale(1);
|
|
8012
|
+
box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.3);
|
|
8013
|
+
}
|
|
8014
|
+
50% {
|
|
8015
|
+
transform: scale(1.08);
|
|
8016
|
+
box-shadow: 0 0 12px 6px rgba(39, 174, 96, 0.18);
|
|
8017
|
+
}
|
|
8018
|
+
100% {
|
|
8019
|
+
transform: scale(1);
|
|
8020
|
+
box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.3);
|
|
8021
|
+
}
|
|
8022
|
+
}
|
|
8023
|
+
|
|
8024
|
+
.thermometer-current-score.this-player .thermometer-current-circle {
|
|
8025
|
+
animation: gentlePulse 1.2s ease-in-out infinite;
|
|
8026
|
+
transform-origin: center center;
|
|
8027
|
+
}
|
|
8028
|
+
|
|
8029
|
+
/* Hide all thermometer moves except the top one on mobile */
|
|
8030
|
+
|
|
8031
|
+
.thermometer-move-overlay:nth-child(n+2) {
|
|
8032
|
+
display: none;
|
|
8033
|
+
}
|
|
8034
|
+
|
|
8035
|
+
/* Desktop styles for Gáta Dagsins */
|
|
8036
|
+
|
|
8037
|
+
@media all and (min-width: 1024px) {
|
|
8038
|
+
/* Show all thermometer moves on desktop */
|
|
8039
|
+
.thermometer-move-overlay:nth-child(n+2) {
|
|
8040
|
+
display: flex;
|
|
8041
|
+
}
|
|
8042
|
+
|
|
8043
|
+
/* Restore vertical thermometer layout on desktop */
|
|
8044
|
+
.thermometer-container {
|
|
8045
|
+
flex-direction: column;
|
|
8046
|
+
}
|
|
8047
|
+
|
|
8048
|
+
.thermometer-body {
|
|
8049
|
+
width: 40px;
|
|
8050
|
+
height: 100%;
|
|
8051
|
+
position: absolute;
|
|
8052
|
+
left: 0;
|
|
8053
|
+
}
|
|
8054
|
+
|
|
8055
|
+
.thermometer-zone {
|
|
8056
|
+
left: 0;
|
|
8057
|
+
bottom: 0;
|
|
8058
|
+
width: 100%;
|
|
8059
|
+
height: var(--zone-size);
|
|
8060
|
+
transition: height 0.5s ease-in-out;
|
|
8061
|
+
}
|
|
8062
|
+
|
|
8063
|
+
.thermometer-best-score {
|
|
8064
|
+
width: 100%;
|
|
8065
|
+
height: 40px;
|
|
8066
|
+
flex-direction: row;
|
|
8067
|
+
top: -32px;
|
|
8068
|
+
right: auto;
|
|
8069
|
+
}
|
|
8070
|
+
|
|
8071
|
+
.thermometer-best-score-container {
|
|
8072
|
+
flex-direction: row;
|
|
8073
|
+
justify-content: flex-start;
|
|
8074
|
+
}
|
|
8075
|
+
|
|
8076
|
+
.thermometer-best-label {
|
|
8077
|
+
margin-top: 0;
|
|
8078
|
+
margin-left: 12px;
|
|
8079
|
+
font-size: 16px;
|
|
8080
|
+
text-align: left;
|
|
8081
|
+
}
|
|
8082
|
+
|
|
8083
|
+
.thermometer-move-overlay {
|
|
8084
|
+
left: -10px;
|
|
8085
|
+
bottom: var(--move-position);
|
|
8086
|
+
transform: translateY(50%);
|
|
8087
|
+
flex-direction: row;
|
|
8088
|
+
padding-right: 10px;
|
|
8089
|
+
padding-left: 10px;
|
|
8090
|
+
}
|
|
8091
|
+
div.gatadagsins-container {
|
|
8092
|
+
height: 680px;
|
|
8093
|
+
}
|
|
8094
|
+
|
|
8095
|
+
div.gatadagsins-container div.board {
|
|
8096
|
+
/* 16 x 34 pixels, i.e. 15 rows/columns plus row/column id */
|
|
8097
|
+
height: 544px;
|
|
8098
|
+
width: 544px;
|
|
8099
|
+
}
|
|
8100
|
+
|
|
8101
|
+
div.gatadagsins-main {
|
|
8102
|
+
flex-direction: row;
|
|
8103
|
+
padding-left: 60px;
|
|
8104
|
+
/* gap: 20px; */
|
|
8105
|
+
}
|
|
8106
|
+
|
|
8107
|
+
div.gatadagsins-right-side-wrapper {
|
|
8108
|
+
flex: 0 0 280px;
|
|
8109
|
+
flex-direction: column;
|
|
8110
|
+
order: 0;
|
|
8111
|
+
}
|
|
8112
|
+
|
|
8113
|
+
div.gatadagsins-rack-area {
|
|
8114
|
+
flex: 0 0 120px;
|
|
8115
|
+
/* Push left to compensate for row ids
|
|
8116
|
+
on the left side of the board */
|
|
8117
|
+
padding-left: 36px;
|
|
8118
|
+
}
|
|
8119
|
+
|
|
8120
|
+
div.gatadagsins-thermometer-column {
|
|
8121
|
+
flex-direction: column;
|
|
8122
|
+
align-items: stretch;
|
|
8123
|
+
justify-content: flex-start;
|
|
8124
|
+
padding-top: 60px;
|
|
8125
|
+
padding-bottom: 100px;
|
|
8126
|
+
}
|
|
8127
|
+
|
|
8128
|
+
div.gata-dagsins-score {
|
|
8129
|
+
width: 64px;
|
|
8130
|
+
height: 64px;
|
|
8131
|
+
padding-top: 0;
|
|
8132
|
+
border-radius: 50%;
|
|
8133
|
+
}
|
|
8134
|
+
|
|
8135
|
+
div.gatadagsins-container div.scramblebtn,
|
|
8136
|
+
div.gatadagsins-container div.recallbtn {
|
|
8137
|
+
width: 64px;
|
|
8138
|
+
height: 45px;
|
|
8139
|
+
}
|
|
8140
|
+
|
|
8141
|
+
}
|