@mideind/netskrafl-react 1.0.0-beta.2 → 1.0.0-beta.4

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.
@@ -1,44 +1,60 @@
1
1
  /*
2
2
 
3
- Skrafl-explo.css
3
+ Skrafl-explo.css
4
4
 
5
- Explo theme template for netskrafl.is
5
+ Explo theme template for netskrafl.is
6
6
 
7
- Copyright © 2025 Miðeind ehf.
8
- Author: Vilhjalmur Thorsteinsson
7
+ Copyright © 2025 Miðeind ehf.
8
+ Author: Vilhjalmur Thorsteinsson
9
9
 
10
- The Creative Commons Attribution-NonCommercial 4.0
11
- International Public License (CC-BY-NC 4.0) applies to this software.
12
- For further information, see https://github.com/mideind/Netskrafl
10
+ The Creative Commons Attribution-NonCommercial 4.0
11
+ International Public License (CC-BY-NC 4.0) applies to this software.
12
+ For further information, see https://github.com/mideind/Netskrafl
13
13
 
14
+ */
15
+ /*
14
16
  */
15
17
  div.netskrafl-container {
16
- --container-bg-color: #f8f8f8;
18
+ --logo-primary: #C94314;
19
+ --logo-secondary: #FFAA88;
20
+ --logo-accent: #F17736;
21
+ --svarkur-primary: #066960;
22
+ --svarkur-secondary: #0a574f;
23
+ --svarkur-accent: #008b7c;
24
+ --malfridur-primary: #FF7C24;
25
+ --malfridur-secondary: #ffb400;
26
+ --malfridur-accent: #0788C0;
27
+ --malfridur-green: #09814A;
17
28
  --dark-bg-color: #222222;
29
+ --light-shadow: #666666;
30
+ --blank-tile: #999999;
31
+ --middle-shadow: #cccccc;
32
+ --container-bg-color: #f8f8f8;
18
33
  --light-header-color: #eaf5f7;
19
- --header-hover-color: #59b2c0;
34
+ --header-color: hsl(from var(--malfridur-accent) h 50% 60%);
35
+ --header-hover-color: hsl(from var(--malfridur-accent) h 50% 70%);
36
+ --humangrad-color: hsl(from var(--malfridur-accent) h 55% 65%);
37
+ --stats-foreground: hsl(from var(--malfridur-accent) h 45% 45%);
20
38
  --link-hover-color: #006db8;
21
- --double-word-color: #f8D992;
22
- --triple-word-color: #F9B32D;
23
- --double-letter-color: #9ED5DA;
24
- --triple-letter-color: #21A4B6;
25
- --tile-background: #F9E5E6;
39
+ --double-word-color: hsl(from var(--malfridur-secondary) h 85% 80%); /* #f8D992; */
40
+ --triple-word-color: hsl(from var(--malfridur-secondary) h 90% 55%); /* #F9B32D; */
41
+ --double-letter-color: hsl(from var(--svarkur-accent) h 55% 65%); /* #9ED5DA; */
42
+ --triple-letter-color: hsl(from var(--svarkur-secondary) h 70% 40%); /* #21A4B6; */
43
+ --chat-background: hsl(from var(--malfridur-secondary) h 65% 92%);
44
+ --ok-button: var(--malfridur-green);
45
+ --cancel-button: hsl(from var(--logo-primary) h 70% 45%); /* #B6676D; */
46
+ --human-color: hsl(from var(--svarkur-secondary) h s 35%); /* #208C9F; */
47
+ --list-header-background: hsl(from var(--malfridur-secondary) h 85% 90%); /* #fff1d0; */
48
+ --list-header-bottom: hsl(from var(--malfridur-secondary) h 90% 55%); /* #ffc559; */
49
+ --tile-background: hsl(from var(--logo-secondary) h 70% 92%);
26
50
  --board-background: #E4EAF0;
27
51
  --tab-background: #f3f3f6;
28
52
  --header-background: #dde1e4;
29
- --ok-button: #72a55f;
30
- --cancel-button: #B6676D;
31
- --two-letter-background: #D8E3D2;
53
+ --two-letter-background: hsl(from var(--malfridur-green) h 20% 90%);
32
54
  --dark-shadow: rgba(0, 0, 0, 0.5);
33
- --light-shadow: #666666;
34
55
  --rack-shadow: #afb7cad0;
35
56
  --focus-border: var(--triple-word-color);
36
57
  --light-background: #B9D9DC;
37
- --stats-foreground: #197d8b;
38
- --human-color: #208C9F;
39
- --blank-tile: #999999;
40
- --list-header-background: #fff1d0;
41
- --list-header-bottom: #ffc559;
42
58
  --primary-font: 'Lato', 'Open Sans', 'Arial', sans-serif;
43
59
  --number-font: 'Open Sans', 'Lato', 'Arial', sans-serif;
44
60
  }
@@ -197,36 +213,22 @@ p a img {
197
213
  .ui-widget-header a {
198
214
  color: var(--light-header-color);
199
215
  }
200
- .ui-state-default,
201
- .ui-widget-content .ui-state-default {
202
- background-color: #afb8bf;
216
+ .ui-state-default {
217
+ background-color: var(--header-color);
203
218
  font-weight: bold;
204
- color: #ffffff;
205
- }
206
- .ui-widget-header .ui-state-default {
207
- background-color: #a9d0d6;
208
- font-weight: bold;
209
- color: #ffffff;
219
+ color: white;
210
220
  }
211
221
  .ui-state-default a,
212
222
  .ui-state-default a:link,
213
223
  .ui-state-default a:visited {
214
- color: #ffffff;
224
+ color: white;
215
225
  text-decoration: none;
216
226
  }
217
227
  .ui-state-hover,
218
- .ui-widget-content .ui-state-hover,
219
- .ui-state-focus,
220
- .ui-widget-content .ui-state-focus {
228
+ .ui-state-focus {
221
229
  background-color: var(--header-hover-color);
222
230
  font-weight: bold;
223
- color: #ffffff;
224
- }
225
- .ui-widget-header .ui-state-hover,
226
- .ui-widget-header .ui-state-focus {
227
- background-color: var(--header-hover-color);
228
- font-weight: bold;
229
- color: #ffffff;
231
+ color: white;
230
232
  }
231
233
  .ui-state-hover a,
232
234
  .ui-state-hover a:hover,
@@ -236,49 +238,30 @@ p a img {
236
238
  .ui-state-focus a:hover,
237
239
  .ui-state-focus a:link,
238
240
  .ui-state-focus a:visited {
239
- color: var(--link-hover-color);
240
- text-decoration: none;
241
- }
242
- .ui-widget-header .ui-state-hover a,
243
- .ui-widget-header .ui-state-hover a:hover,
244
- .ui-widget-header .ui-state-hover a:link,
245
- .ui-widget-header .ui-state-hover a:visited,
246
- .ui-widget-header .ui-state-focus a,
247
- .ui-widget-header .ui-state-focus a:hover,
248
- .ui-widget-header .ui-state-focus a:link,
249
- .ui-widget-header .ui-state-focus a:visited {
250
- color: #ffffff;
251
- /* Pantone 300 U */
252
- /* #026890; */
241
+ color: white;
253
242
  text-decoration: none;
254
243
  }
255
- .ui-widget-header .ui-state-focus a:focus {
244
+ .ui-state-focus a:focus {
256
245
  outline: 0;
257
246
  }
258
247
  .ui-state-active,
259
248
  .ui-widget-content .ui-state-active {
260
249
  background-color: var(--container-bg-color);
261
250
  font-weight: bold;
262
- color: #000000;
263
- /* #ffffff; */
251
+ color: black;
252
+ /* white; */
264
253
  }
265
254
  .ui-widget-header .ui-state-active {
266
255
  background-color: var(--container-bg-color);
267
256
  font-weight: bold;
268
- color: #000000;
269
- /* #ffffff; */
257
+ color: black;
258
+ /* white; */
270
259
  }
271
260
  .ui-state-active a,
272
261
  .ui-state-active a:link,
262
+ .ui-state-active a:hover,
273
263
  .ui-state-active a:visited {
274
- color: var(--container-bg-color);
275
- text-decoration: none;
276
- }
277
- .ui-widget-header .ui-state-active a,
278
- .ui-widget-header .ui-state-active a:link,
279
- .ui-widget-header .ui-state-active a:hover,
280
- .ui-widget-header .ui-state-active a:visited {
281
- color: #000000;
264
+ color: black;
282
265
  text-decoration: none;
283
266
  }
284
267
  .ui-corner-all,
@@ -360,6 +343,11 @@ div.logo {
360
343
  div.logo:hover {
361
344
  animation: expand 0.4s;
362
345
  }
346
+ div.netskrafl-logo {
347
+ display: flex;
348
+ align-items: center;
349
+ justify-content: center;
350
+ }
363
351
  div.rightcol {
364
352
  position: relative;
365
353
  width: 362px;
@@ -623,7 +611,7 @@ div.tile.dragging {
623
611
  becomes a child of the document body element when dragging, and
624
612
  the style variables are not in scope at the body level. */
625
613
  box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, 0.2);
626
- border-color: #72a55f;
614
+ border-color: var(--ok-button);
627
615
  border-radius: 5px;
628
616
  border-width: 3px;
629
617
  border-style: solid;
@@ -640,7 +628,7 @@ div.tile.dragging {
640
628
  box-sizing: content-box;
641
629
  }
642
630
  div.tile.dragging.no-drop {
643
- border-color: #B6676D;
631
+ border-color: var(--cancel-button);
644
632
  }
645
633
  .board td {
646
634
  min-width: 21px;
@@ -739,7 +727,7 @@ div.word-check {
739
727
  line-height: 42px;
740
728
  visibility: hidden;
741
729
  border: 1.5px solid;
742
- border-radius: 4px;
730
+ border-radius: 5px;
743
731
  }
744
732
  div.score {
745
733
  display: none;
@@ -756,7 +744,7 @@ div.score {
756
744
  line-height: 42px;
757
745
  color: var(--blank-tile);
758
746
  border: 1.5px solid;
759
- border-radius: 4px;
747
+ border-radius: 5px;
760
748
  border-color: var(--blank-tile);
761
749
  }
762
750
  .standard-button {
@@ -935,7 +923,7 @@ div.scramblebtn {
935
923
  cursor: pointer;
936
924
  width: 33px;
937
925
  height: 26px;
938
- background-color: var(--double-letter-color);
926
+ background-color: var(--malfridur-accent);
939
927
  display: none;
940
928
  }
941
929
  div.rack-left div.scramblebtn {
@@ -963,8 +951,8 @@ div.buttons .glyphicon {
963
951
  position: absolute;
964
952
  top: 0;
965
953
  padding-top: 8px;
966
- background-color: #fcfcfc;
967
- border: 1.5px solid #dddddd;
954
+ background-color: var(--tab-background);
955
+ border: 1.5px solid var(--header-background);
968
956
  width: 66px;
969
957
  height: 23px;
970
958
  }
@@ -980,8 +968,8 @@ div.submitresign {
980
968
  position: absolute;
981
969
  top: 0;
982
970
  padding-top: 8px;
983
- background-color: #fcfcfc;
984
- border: 1.5px solid #dddddd;
971
+ background-color: var(--tab-background);
972
+ border: 1.5px solid var(--header-background);
985
973
  width: 66px;
986
974
  height: 23px;
987
975
  color: var(--cancel-button);
@@ -1000,14 +988,14 @@ div.submitexchange {
1000
988
  top: 0;
1001
989
  left: 93px;
1002
990
  padding-top: 8px;
1003
- background-color: #fcfcfc;
1004
- border: 1.5px solid #dddddd;
991
+ background-color: var(--tab-background);
992
+ border: 1.5px solid var(--header-background);
1005
993
  width: 66px;
1006
994
  height: 23px;
1007
995
  color: var(--ok-button);
1008
996
  }
1009
997
  div.submitexchange.disabled {
1010
- color: #888888;
998
+ color: var(--blank-tile);
1011
999
  }
1012
1000
  div.submitpass {
1013
1001
  text-align: center;
@@ -1021,8 +1009,8 @@ div.submitpass {
1021
1009
  position: absolute;
1022
1010
  top: 0;
1023
1011
  padding-top: 8px;
1024
- background-color: #fcfcfc;
1025
- border: 1.5px solid #dddddd;
1012
+ background-color: var(--tab-background);
1013
+ border: 1.5px solid var(--header-background);
1026
1014
  width: 66px;
1027
1015
  height: 23px;
1028
1016
  color: var(--triple-word-color);
@@ -1040,8 +1028,8 @@ div.challenge {
1040
1028
  position: absolute;
1041
1029
  top: 0;
1042
1030
  padding-top: 8px;
1043
- background-color: var(--container-bg-color);
1044
- border: 1.5px solid #dddddd;
1031
+ background-color: var(--tab-background);
1032
+ border: 1.5px solid var(--header-background);
1045
1033
  width: 66px;
1046
1034
  height: 23px;
1047
1035
  left: 279px;
@@ -1126,7 +1114,7 @@ div.robot-btn {
1126
1114
  position: absolute;
1127
1115
  margin-left: 0px;
1128
1116
  margin-right: 2px;
1129
- padding-top: 3px;
1117
+ padding-top: 4px;
1130
1118
  height: 30px;
1131
1119
  min-height: 30px;
1132
1120
  line-height: 22px;
@@ -1146,9 +1134,9 @@ div.gamestats div.robot-btn {
1146
1134
  div.player-btn {
1147
1135
  display: block;
1148
1136
  position: absolute;
1149
- margin-left: 2px;
1150
- margin-right: 2px;
1151
- padding-top: 3px;
1137
+ margin-left: 4px;
1138
+ margin-right: 4px;
1139
+ padding-top: 4px;
1152
1140
  height: 30px;
1153
1141
  min-height: 30px;
1154
1142
  line-height: 22px;
@@ -1396,7 +1384,7 @@ div.right-tab#tab-games {
1396
1384
  }
1397
1385
  div.right-tab#tab-chat {
1398
1386
  left: 301px;
1399
- background-color: #F7F0DE;
1387
+ background-color: var(--chat-background);
1400
1388
  }
1401
1389
  div.right-tab.selected {
1402
1390
  opacity: 1;
@@ -1489,7 +1477,7 @@ div.modal-dialog#spinner-dialog {
1489
1477
  }
1490
1478
  div.animated-spinner {
1491
1479
  position: absolute;
1492
- left: 141.5px;
1480
+ left: 50%;
1493
1481
  top: 271.5px;
1494
1482
  }
1495
1483
  svg circle.shadow {
@@ -1588,9 +1576,11 @@ div.error {
1588
1576
  cursor: pointer;
1589
1577
  }
1590
1578
  div.opp-turn {
1591
- display: block;
1579
+ display: inline-block;
1592
1580
  padding-top: 10px;
1593
- width: 246px;
1581
+ padding-left: 10px;
1582
+ width: 220px;
1583
+ text-align: right;
1594
1584
  }
1595
1585
  div.opp-turn.flashing {
1596
1586
  color: var(--cancel-button);
@@ -1841,27 +1831,21 @@ div.submitmove#move-mobile span.glyphicon {
1841
1831
  margin-top: 2px;
1842
1832
  }
1843
1833
  div.force-resign {
1844
- font-size: 18px;
1845
- font-weight: 700;
1834
+ display: inline-flex;
1835
+ flex-direction: column;
1836
+ align-items: center;
1837
+ justify-content: center;
1838
+ font-weight: normal;
1839
+ font-size: 13px;
1846
1840
  margin: 0;
1847
1841
  padding: 6px;
1848
- padding-top: 9px;
1849
- border-radius: 5px;
1850
1842
  cursor: pointer;
1851
- width: 32px;
1852
1843
  height: 26px;
1853
- background-color: var(--ok-button);
1854
- display: block;
1855
- float: right;
1856
- padding-top: 3px;
1857
- padding-bottom: 12px;
1844
+ width: 122px;
1858
1845
  margin-right: 1px;
1859
- width: 96px;
1860
- text-align: center;
1861
- font-weight: normal;
1862
- font-size: 13px;
1863
1846
  color: white;
1864
1847
  background-color: var(--cancel-button);
1848
+ border-radius: 5px;
1865
1849
  }
1866
1850
  div.gameinfo {
1867
1851
  position: absolute;
@@ -1889,6 +1873,7 @@ div.gameinfo {
1889
1873
  padding-top: 10px;
1890
1874
  }
1891
1875
  input.chat-txt {
1876
+ box-sizing: border-box;
1892
1877
  font-family: var(--primary-font);
1893
1878
  width: 276px;
1894
1879
  font-size: 18px;
@@ -1904,6 +1889,13 @@ input.chat-txt {
1904
1889
  padding-left: 6px;
1905
1890
  padding-right: 6px;
1906
1891
  }
1892
+ input.chat-txt:focus {
1893
+ border-color: var(--ok-button);
1894
+ border-width: 2px;
1895
+ padding-left: 5px;
1896
+ padding-right: 5px;
1897
+ outline-style: none;
1898
+ }
1907
1899
  div.chat-area {
1908
1900
  position: absolute;
1909
1901
  top: 6px;
@@ -1924,7 +1916,7 @@ div.modal-close#chat-send {
1924
1916
  margin: 0 0 2px 8px;
1925
1917
  padding-top: 4px;
1926
1918
  padding-bottom: 0;
1927
- background-color: var(--triple-letter-color);
1919
+ background-color: var(--ok-button);
1928
1920
  color: white;
1929
1921
  }
1930
1922
  div.twoletter {
@@ -2026,19 +2018,19 @@ span.list-chall {
2026
2018
  text-overflow: ellipsis;
2027
2019
  }
2028
2020
  span.list-s0 {
2029
- display: inline-block;
2030
2021
  width: 38px;
2031
2022
  max-width: 38px;
2032
2023
  text-align: right;
2024
+ justify-content: flex-end;
2033
2025
  }
2034
2026
  span.list-s1 {
2035
- display: inline-block;
2036
2027
  width: 38px;
2037
2028
  max-width: 38px;
2038
2029
  text-align: left;
2030
+ justify-content: flex-start;
2039
2031
  }
2040
2032
  span.list-colon {
2041
- display: inline-block;
2033
+ justify-content: center;
2042
2034
  text-align: center;
2043
2035
  width: 8px;
2044
2036
  max-width: 8px;
@@ -2083,7 +2075,7 @@ div.tilecount {
2083
2075
  width: 92px;
2084
2076
  min-width: 92px;
2085
2077
  text-align: left;
2086
- background-color: #ffffff;
2078
+ background-color: white;
2087
2079
  border-radius: 6px;
2088
2080
  overflow: hidden;
2089
2081
  }
@@ -2788,7 +2780,7 @@ div.highlight1.dim {
2788
2780
  font-size: 28px;
2789
2781
  line-height: 28px;
2790
2782
  font-weight: 700;
2791
- color: #202020;
2783
+ color: var(--dark-bg-color);
2792
2784
  overflow: hidden;
2793
2785
  margin-top: 4px;
2794
2786
  margin-bottom: 4px;
@@ -2801,7 +2793,7 @@ h3.clockleft {
2801
2793
  font-size: 28px;
2802
2794
  line-height: 28px;
2803
2795
  font-weight: 700;
2804
- color: #202020;
2796
+ color: var(--dark-bg-color);
2805
2797
  overflow: hidden;
2806
2798
  margin-top: 4px;
2807
2799
  margin-bottom: 4px;
@@ -2816,7 +2808,7 @@ h3.clockright {
2816
2808
  font-size: 28px;
2817
2809
  line-height: 28px;
2818
2810
  font-weight: 700;
2819
- color: #202020;
2811
+ color: var(--dark-bg-color);
2820
2812
  overflow: hidden;
2821
2813
  margin-top: 4px;
2822
2814
  margin-bottom: 4px;
@@ -2890,7 +2882,7 @@ div.at-top-left div.tilecount {
2890
2882
  border-radius: 10px;
2891
2883
  border-width: 0;
2892
2884
  overflow: hidden;
2893
- background-color: #ccd5de;
2885
+ background-color: var(--header-background);
2894
2886
  }
2895
2887
  div.at-top-left div.tilecount.trans {
2896
2888
  background-color: transparent;
@@ -2909,7 +2901,7 @@ div.at-top-left div.tilecount div.tc {
2909
2901
  padding-bottom: 2px;
2910
2902
  }
2911
2903
  div.at-top-left div.tilecount div.oc {
2912
- color: #202020;
2904
+ color: var(--dark-bg-color);
2913
2905
  padding-left: 8px;
2914
2906
  margin-left: 0;
2915
2907
  overflow: hidden;
@@ -2920,13 +2912,13 @@ div.at-top-left div.tilecount div.oc {
2920
2912
  padding-bottom: 2px;
2921
2913
  background-color: transparent;
2922
2914
  }
2923
- div.chat {
2915
+ div.chat-container {
2924
2916
  position: absolute;
2925
2917
  top: 0px;
2926
2918
  left: 0px;
2927
2919
  width: 100%;
2928
2920
  height: 466px;
2929
- background-color: #F7F0DE;
2921
+ background-color: var(--chat-background);
2930
2922
  z-index: 1;
2931
2923
  border-radius: 4px 4px 0 0;
2932
2924
  }
@@ -3048,7 +3040,7 @@ div.gamestats {
3048
3040
  width: 724px;
3049
3041
  height: 580px;
3050
3042
  left: 150px;
3051
- top: 64px;
3043
+ top: 24px;
3052
3044
  padding: 12px;
3053
3045
  border-radius: 5px;
3054
3046
  box-shadow: 3px 3px 5px 2px var(--dark-shadow);
@@ -3057,21 +3049,20 @@ div.statscol {
3057
3049
  display: block;
3058
3050
  float: left;
3059
3051
  width: 50%;
3060
- padding-top: 24px;
3061
3052
  }
3062
3053
  div.statscol p {
3063
- margin-top: 0.85em;
3064
- margin-bottom: 0.8em;
3054
+ margin-top: 0;
3055
+ margin-bottom: 12px;
3065
3056
  }
3066
3057
  div.gamestats p span {
3067
3058
  font-weight: 700;
3068
3059
  }
3069
- div #gamestarted {
3060
+ div#gamestarted {
3070
3061
  width: 100%;
3071
3062
  text-align: center;
3072
3063
  position: relative;
3073
- top: 42px;
3074
- margin-bottom: 24px;
3064
+ margin-top: 16px;
3065
+ margin-bottom: 16px;
3075
3066
  }
3076
3067
  #gamestarted p {
3077
3068
  font-style: italic;
@@ -3086,13 +3077,13 @@ div #gamestarted {
3086
3077
  }
3087
3078
  /* Scores in move list */
3088
3079
  .humangrad_left {
3089
- color: #208C9F;
3080
+ color: var(--human-color);
3090
3081
  }
3091
3082
  .autoplayergrad_right {
3092
3083
  color: var(--cancel-button);
3093
3084
  }
3094
3085
  .humangrad_right {
3095
- color: #208C9F;
3086
+ color: var(--human-color);
3096
3087
  }
3097
3088
  .autoplayergrad_left {
3098
3089
  color: var(--cancel-button);
@@ -3135,16 +3126,16 @@ div.rightmove span.total {
3135
3126
  margin-left: 2px;
3136
3127
  }
3137
3128
  span.total.human {
3138
- background-color: #aad1d4;
3129
+ background-color: var(--human-color);
3139
3130
  }
3140
3131
  div.leftmove span.total.human {
3141
- border-left-color: #208C9F;
3132
+ border-left-color: var(--svarkur-secondary);
3142
3133
  }
3143
3134
  div.rightmove span.total.human {
3144
- border-right-color: #208C9F;
3135
+ border-right-color: var(--svarkur-secondary);
3145
3136
  }
3146
3137
  span.total.autoplayer {
3147
- background-color: #d3c0c7;
3138
+ background-color: var(--cancel-button);
3148
3139
  }
3149
3140
  div.leftmove span.total.autoplayer {
3150
3141
  border-left-color: var(--cancel-button);
@@ -3554,7 +3545,7 @@ div#btn-cancel-no {
3554
3545
  .tabbed-page a:link,
3555
3546
  .tabbed-page a:visited {
3556
3547
  text-decoration: none;
3557
- color: #5699A5;
3548
+ color: var(--humangrad-color);
3558
3549
  }
3559
3550
  .tabbed-page a:hover {
3560
3551
  text-decoration: none;
@@ -3638,7 +3629,7 @@ div.userid {
3638
3629
  cursor: pointer;
3639
3630
  }
3640
3631
  div.userid:hover {
3641
- background-color: #5699A5;
3632
+ background-color: var(--humangrad-color);
3642
3633
  color: white;
3643
3634
  }
3644
3635
  div.listitem {
@@ -3657,6 +3648,7 @@ div.listitem {
3657
3648
  top: 0;
3658
3649
  }
3659
3650
  .listitem a {
3651
+ display: flex;
3660
3652
  cursor: pointer;
3661
3653
  }
3662
3654
  .listitem a:link,
@@ -3667,6 +3659,10 @@ div.listitem {
3667
3659
  .listitem a:hover {
3668
3660
  color: var(--triple-word-color);
3669
3661
  }
3662
+ .listitem span {
3663
+ display: flex;
3664
+ align-items: center;
3665
+ }
3670
3666
  div.oddlist {
3671
3667
  background-color: var(--board-background);
3672
3668
  }
@@ -3787,7 +3783,7 @@ span.timed-btn {
3787
3783
  top: 0px;
3788
3784
  cursor: default;
3789
3785
  color: white;
3790
- background-color: #f5c862;
3786
+ background-color: var(--triple-word-color);
3791
3787
  border-radius: 5px;
3792
3788
  padding: 4px;
3793
3789
  margin: 0 4px 0 0;
@@ -3892,7 +3888,7 @@ span.elo-btn.elo-neutral {
3892
3888
  background-color: var(--double-letter-color);
3893
3889
  }
3894
3890
  span.elo-hdr-left {
3895
- background-color: var(--triple-letter-color);
3891
+ background-color: var(--header-color);
3896
3892
  color: white;
3897
3893
  border-radius: 5px;
3898
3894
  padding: 4px;
@@ -3903,7 +3899,7 @@ span.elo-hdr-left {
3903
3899
  top: 0px;
3904
3900
  }
3905
3901
  span.elo-hdr-right {
3906
- background-color: var(--triple-letter-color);
3902
+ background-color: var(--header-color);
3907
3903
  color: white;
3908
3904
  border-radius: 5px;
3909
3905
  padding: 4px;
@@ -4157,7 +4153,7 @@ h1.usr-info-icon span.glyphicon-coffee-cup {
4157
4153
  div.usr-info-fav {
4158
4154
  display: inline-block;
4159
4155
  position: absolute;
4160
- top: 26px;
4156
+ top: 16px;
4161
4157
  right: 20px;
4162
4158
  color: var(--triple-letter-color);
4163
4159
  font-size: 26px;
@@ -4195,11 +4191,11 @@ p#usr-best {
4195
4191
  p#usr-best a:link,
4196
4192
  p#usr-best a:visited {
4197
4193
  text-decoration: none;
4198
- color: #5699A5;
4194
+ color: var(--stats-foreground);
4199
4195
  }
4200
4196
  p#usr-best a:hover {
4201
4197
  text-decoration: none;
4202
- color: var(--triple-word-color);
4198
+ color: var(--logo-accent);
4203
4199
  }
4204
4200
  div#stats-toggler {
4205
4201
  margin-top: 7px;
@@ -4230,16 +4226,16 @@ div#own-stats-all {
4230
4226
  vertical-align: top;
4231
4227
  }
4232
4228
  div.stats-games {
4233
- color: #ec9d07;
4234
- border-color: #ec9d07;
4229
+ color: var(--malfridur-secondary);
4230
+ border-color: var(--malfridur-secondary);
4235
4231
  }
4236
4232
  div.stats-win-ratio {
4237
4233
  color: var(--ok-button);
4238
4234
  border-color: var(--ok-button);
4239
4235
  }
4240
4236
  div.stats-avg-score {
4241
- color: #ec9d07;
4242
- border-color: #ec9d07;
4237
+ color: var(--logo-accent);
4238
+ border-color: var(--logo-accent);
4243
4239
  }
4244
4240
  div.chall-hdr {
4245
4241
  font-size: 18px;
@@ -4275,11 +4271,11 @@ div.chall-hdr h2 {
4275
4271
  line-height: 24px;
4276
4272
  margin-top: 6px;
4277
4273
  margin-bottom: 4px;
4278
- color: #208C9F;
4274
+ color: var(--humangrad-color);
4279
4275
  }
4280
4276
  h1.chall-icon {
4281
4277
  display: block;
4282
- color: #208C9F;
4278
+ color: var(--humangrad-color);
4283
4279
  margin-right: 12px;
4284
4280
  margin-top: 0;
4285
4281
  margin-bottom: 0;
@@ -4299,7 +4295,7 @@ div.chall-time {
4299
4295
  font-size: 20px;
4300
4296
  font-weight: 700;
4301
4297
  line-height: 22px;
4302
- background-color: #cccccc;
4298
+ background-color: var(--middle-shadow);
4303
4299
  color: white;
4304
4300
  cursor: pointer;
4305
4301
  border-radius: 4px;
@@ -4480,7 +4476,7 @@ div.welcome {
4480
4476
  .welcome a:link,
4481
4477
  .welcome a:visited {
4482
4478
  text-decoration: none;
4483
- color: #5699A5;
4479
+ color: var(--humangrad-color);
4484
4480
  }
4485
4481
  .welcome a:hover {
4486
4482
  text-decoration: none;
@@ -4559,7 +4555,7 @@ input.text {
4559
4555
  padding-right: 8px;
4560
4556
  }
4561
4557
  input.text:focus {
4562
- background-color: #ffffc8;
4558
+ background-color: hsl(from var(--malfridur-secondary) h 85% 90%);
4563
4559
  border-style: solid;
4564
4560
  border-color: var(--ok-button);
4565
4561
  border-width: 2px;
@@ -4579,7 +4575,7 @@ input.text#search-id {
4579
4575
  font-weight: normal;
4580
4576
  height: 28px;
4581
4577
  font-size: 18px;
4582
- border-color: var(--double-letter-color);
4578
+ border-color: var(--header-color);
4583
4579
  margin-top: 0px;
4584
4580
  margin-bottom: 0px;
4585
4581
  }
@@ -4654,7 +4650,7 @@ div.toggler div.option.small {
4654
4650
  div.toggler div.option.x-small {
4655
4651
  width: 30px;
4656
4652
  height: 20px;
4657
- line-height: 20px;
4653
+ line-height: 22px;
4658
4654
  font-size: 15px;
4659
4655
  padding-top: 1px;
4660
4656
  padding-bottom: 3px;
@@ -4938,7 +4934,7 @@ div.signup-header {
4938
4934
  height: 288px;
4939
4935
  /* 8 lines @ 36px each */
4940
4936
  }
4941
- div.chat,
4937
+ div.chat-container,
4942
4938
  div.twoletter {
4943
4939
  height: 474px;
4944
4940
  }
@@ -5038,6 +5034,9 @@ div.signup-header {
5038
5034
  div.rack-left div.recallbtn {
5039
5035
  display: none;
5040
5036
  }
5037
+ div.force-resign {
5038
+ display: none;
5039
+ }
5041
5040
  div.scramblebtn {
5042
5041
  left: 376px;
5043
5042
  top: 158px;
@@ -5148,7 +5147,7 @@ div.signup-header {
5148
5147
  }
5149
5148
  div.games,
5150
5149
  div.twoletter,
5151
- div.chat {
5150
+ div.chat-container {
5152
5151
  display: none;
5153
5152
  }
5154
5153
  div.right-area {
@@ -5275,7 +5274,7 @@ div.signup-header {
5275
5274
  div.circle {
5276
5275
  height: 38px;
5277
5276
  width: 38px;
5278
- background-color: #80aede;
5277
+ background-color: var(--header-hover-color);
5279
5278
  border-radius: 50%;
5280
5279
  display: inline-block;
5281
5280
  position: relative;
@@ -5343,12 +5342,12 @@ div.signup-header {
5343
5342
  }
5344
5343
  div.games,
5345
5344
  div.twoletter,
5346
- div.chat {
5345
+ div.chat-container {
5347
5346
  display: block;
5348
5347
  border-radius: 0;
5349
5348
  }
5350
5349
  div.twoletter,
5351
- div.chat {
5350
+ div.chat-container {
5352
5351
  height: 420px;
5353
5352
  }
5354
5353
  div.board-area {
@@ -5522,8 +5521,8 @@ div.signup-header {
5522
5521
  background-color: var(--cancel-button);
5523
5522
  }
5524
5523
  .rack td:empty {
5525
- border-color: #dddddd;
5526
- background-color: #f4f4f4;
5524
+ border-color: var(--middle-shadow);
5525
+ background-color: var(--tab-background);
5527
5526
  box-shadow: none;
5528
5527
  }
5529
5528
  div.buttons {
@@ -5831,7 +5830,7 @@ div.signup-header {
5831
5830
  color: white;
5832
5831
  }
5833
5832
  div.scorewrapper {
5834
- background-color: #aad1d4;
5833
+ background-color: var(--humangrad-color);
5835
5834
  min-height: 32px;
5836
5835
  }
5837
5836
  div.scoreleft {
@@ -5990,7 +5989,7 @@ div.signup-header {
5990
5989
  height: 380px;
5991
5990
  }
5992
5991
  div.right-area.with-clock div.twoletter,
5993
- div.right-area.with-clock div.chat {
5992
+ div.right-area.with-clock div.chat-container {
5994
5993
  /* Timed game */
5995
5994
  height: 380px;
5996
5995
  }
@@ -6063,6 +6062,7 @@ div.signup-header {
6063
6062
  border-radius: 0;
6064
6063
  }
6065
6064
  div.opp-turn {
6065
+ display: block;
6066
6066
  position: absolute;
6067
6067
  text-align: center;
6068
6068
  bottom: 83px;
@@ -6073,7 +6073,6 @@ div.signup-header {
6073
6073
  line-height: 24px;
6074
6074
  padding: 4px 0 0;
6075
6075
  margin: 0;
6076
- display: block;
6077
6076
  }
6078
6077
  div#congrats {
6079
6078
  position: absolute;
@@ -6185,8 +6184,8 @@ div.signup-header {
6185
6184
  margin: 0;
6186
6185
  }
6187
6186
  input.chat-txt {
6188
- width: 218px;
6189
- height: 22px;
6187
+ width: 234px;
6188
+ height: 32px;
6190
6189
  font-size: 15px;
6191
6190
  }
6192
6191
  div.chat-area {
@@ -6194,7 +6193,7 @@ div.signup-header {
6194
6193
  width: 278px;
6195
6194
  }
6196
6195
  div.modal-close#chat-send {
6197
- height: 25px;
6196
+ height: 26px;
6198
6197
  bottom: 0;
6199
6198
  }
6200
6199
  span.statsbutton {
@@ -6338,10 +6337,12 @@ div.signup-header {
6338
6337
  max-width: 32px;
6339
6338
  }
6340
6339
  span.list-s0 {
6340
+ display: inline-block;
6341
6341
  width: 40px;
6342
6342
  max-width: 40px;
6343
6343
  }
6344
6344
  span.list-s1 {
6345
+ display: inline-block;
6345
6346
  width: 40px;
6346
6347
  max-width: 40px;
6347
6348
  }