@mideind/netskrafl-react 3.0.2 → 3.2.0
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/dist/esm/css/netskrafl.css +54 -10
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -811,10 +811,18 @@ div.netskrafl-container.legacy-colors div.help-tabs .ui-tabs-panel a:link,div.ne
|
|
|
811
811
|
========================================================================== */
|
|
812
812
|
|
|
813
813
|
div.netskrafl-container {
|
|
814
|
+
/* The outer container fills its parent and paints the background */
|
|
815
|
+
width: 100%;
|
|
816
|
+
height: 100%;
|
|
817
|
+
background-color: var(--container-bg-color);
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
.netskrafl-container div.netskrafl-inner {
|
|
821
|
+
/* The inner container has fixed dimensions and is centered */
|
|
814
822
|
position: relative;
|
|
815
823
|
top: 0;
|
|
816
824
|
left: 0;
|
|
817
|
-
|
|
825
|
+
padding-top: 0.5rem;
|
|
818
826
|
/* font-family: var(--primary-font); */
|
|
819
827
|
width: 375px;
|
|
820
828
|
/* Full height is 667px - we subtract 115px for browser chrome, top and bottom */
|
|
@@ -826,7 +834,7 @@ div.netskrafl-container {
|
|
|
826
834
|
touch-action: none;
|
|
827
835
|
}
|
|
828
836
|
|
|
829
|
-
|
|
837
|
+
.netskrafl-container div.netskrafl-inner * {
|
|
830
838
|
box-sizing: content-box;
|
|
831
839
|
}
|
|
832
840
|
|
|
@@ -1290,7 +1298,7 @@ div.netskrafl-container * {
|
|
|
1290
1298
|
|
|
1291
1299
|
@media all and (max-width: 374px) and (orientation: portrait) {
|
|
1292
1300
|
/* Scale down for phones narrower than the 375px design width */
|
|
1293
|
-
|
|
1301
|
+
.netskrafl-container div.netskrafl-inner {
|
|
1294
1302
|
transform: scale(0.96, 1);
|
|
1295
1303
|
/* 0.96 = 360/375, scales 375px design to fit 360px viewport */
|
|
1296
1304
|
transform-origin: left top;
|
|
@@ -2625,6 +2633,7 @@ div.netskrafl-tile.dragging div.letterscore {
|
|
|
2625
2633
|
.netskrafl-container div#blank-form,
|
|
2626
2634
|
.netskrafl-container div#chall-form,
|
|
2627
2635
|
.netskrafl-container div#promo-form,
|
|
2636
|
+
.netskrafl-container div#gamelimit-form,
|
|
2628
2637
|
.netskrafl-container div#wait-form,
|
|
2629
2638
|
.netskrafl-container div#thanks-form,
|
|
2630
2639
|
.netskrafl-container div#cancel-form,
|
|
@@ -2907,7 +2916,7 @@ div.netskrafl-tile.dragging div.letterscore {
|
|
|
2907
2916
|
cursor: pointer;
|
|
2908
2917
|
height: 26px;
|
|
2909
2918
|
width: 122px;
|
|
2910
|
-
margin-right:
|
|
2919
|
+
margin-right: 8px;
|
|
2911
2920
|
color: white;
|
|
2912
2921
|
background-color: var(--cancel-button);
|
|
2913
2922
|
border-radius: 5px;
|
|
@@ -3513,6 +3522,25 @@ div.netskrafl-tile.dragging div.letterscore {
|
|
|
3513
3522
|
background-color: var(--ok-button);
|
|
3514
3523
|
}
|
|
3515
3524
|
|
|
3525
|
+
/* Game limit dialog */
|
|
3526
|
+
|
|
3527
|
+
.netskrafl-container div#gamelimit-form {
|
|
3528
|
+
top: 64px;
|
|
3529
|
+
left: 50%;
|
|
3530
|
+
transform: translateX(-50%);
|
|
3531
|
+
width: 327px;
|
|
3532
|
+
height: 268px;
|
|
3533
|
+
line-height: 1.5em;
|
|
3534
|
+
}
|
|
3535
|
+
|
|
3536
|
+
.netskrafl-container div#gamelimit-form div.btn-promo-no {
|
|
3537
|
+
width: 140px;
|
|
3538
|
+
left: 50%;
|
|
3539
|
+
transform: translateX(-50%);
|
|
3540
|
+
right: auto;
|
|
3541
|
+
background-color: var(--ok-button);
|
|
3542
|
+
}
|
|
3543
|
+
|
|
3516
3544
|
.netskrafl-container div #userlist,
|
|
3517
3545
|
.netskrafl-container div #elolist {
|
|
3518
3546
|
height: 396px;
|
|
@@ -6366,7 +6394,7 @@ div.netskrafl-container input[type="checkbox"] {
|
|
|
6366
6394
|
|
|
6367
6395
|
@media all and (max-width: 1023px) and (min-height: 552px) {
|
|
6368
6396
|
/* On sufficiently large mobile screens, keep the body fixed (unscrollable) */
|
|
6369
|
-
|
|
6397
|
+
.netskrafl-container div.netskrafl-inner {
|
|
6370
6398
|
/* position: fixed; */
|
|
6371
6399
|
overflow: hidden;
|
|
6372
6400
|
}
|
|
@@ -6509,7 +6537,7 @@ div.netskrafl-container input[type="checkbox"] {
|
|
|
6509
6537
|
@media all and (min-width: 414px) and (max-width: 1023px) and (
|
|
6510
6538
|
min-height: 652px
|
|
6511
6539
|
) {
|
|
6512
|
-
|
|
6540
|
+
.netskrafl-container div.netskrafl-inner {
|
|
6513
6541
|
/*
|
|
6514
6542
|
transform: scale(1.1);
|
|
6515
6543
|
transform-origin: center top;
|
|
@@ -6527,7 +6555,7 @@ div.netskrafl-container input[type="checkbox"] {
|
|
|
6527
6555
|
orientation: landscape
|
|
6528
6556
|
) {
|
|
6529
6557
|
/* Mobile screen, landscape mode (width >= 667px AND landscape orientation) */
|
|
6530
|
-
|
|
6558
|
+
.netskrafl-container div.netskrafl-inner {
|
|
6531
6559
|
/* Reference width */
|
|
6532
6560
|
width: 667px;
|
|
6533
6561
|
/* Reference height */
|
|
@@ -6538,8 +6566,7 @@ div.netskrafl-container input[type="checkbox"] {
|
|
|
6538
6566
|
.netskrafl-container div.header-logo {
|
|
6539
6567
|
display: none;
|
|
6540
6568
|
}
|
|
6541
|
-
.netskrafl-container div.netskrafl
|
|
6542
|
-
.netskrafl-container div.gatadagsins {
|
|
6569
|
+
.netskrafl-container div.netskrafl-inner {
|
|
6543
6570
|
padding-top: 0;
|
|
6544
6571
|
}
|
|
6545
6572
|
.netskrafl-container div.rightarea {
|
|
@@ -6836,7 +6863,7 @@ div.netskrafl-container input[type="checkbox"] {
|
|
|
6836
6863
|
padding-bottom: 1px;
|
|
6837
6864
|
background-color: var(--tab-background);
|
|
6838
6865
|
}
|
|
6839
|
-
|
|
6866
|
+
.netskrafl-container div.netskrafl-inner {
|
|
6840
6867
|
width: 1024px;
|
|
6841
6868
|
height: 686px;
|
|
6842
6869
|
overflow-y: hidden;
|
|
@@ -8034,6 +8061,23 @@ div.netskrafl-container input[type="checkbox"] {
|
|
|
8034
8061
|
top: auto;
|
|
8035
8062
|
background-color: var(--light-shadow);
|
|
8036
8063
|
}
|
|
8064
|
+
/* Game limit dialog - fullscreen */
|
|
8065
|
+
.netskrafl-container div#gamelimit-form {
|
|
8066
|
+
position: relative;
|
|
8067
|
+
top: 160px;
|
|
8068
|
+
left: 50%;
|
|
8069
|
+
right: auto;
|
|
8070
|
+
bottom: auto;
|
|
8071
|
+
width: 512px;
|
|
8072
|
+
line-height: 1.62em;
|
|
8073
|
+
}
|
|
8074
|
+
.netskrafl-container div#gamelimit-form div.btn-promo-no {
|
|
8075
|
+
width: 160px;
|
|
8076
|
+
left: 50%;
|
|
8077
|
+
transform: translateX(-50%);
|
|
8078
|
+
right: auto;
|
|
8079
|
+
background-color: var(--ok-button);
|
|
8080
|
+
}
|
|
8037
8081
|
.netskrafl-container div.challenge {
|
|
8038
8082
|
width: 48px;
|
|
8039
8083
|
height: 48px;
|