@mideind/netskrafl-react 3.0.2 → 3.1.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 +17 -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;
|
|
@@ -2907,7 +2915,7 @@ div.netskrafl-tile.dragging div.letterscore {
|
|
|
2907
2915
|
cursor: pointer;
|
|
2908
2916
|
height: 26px;
|
|
2909
2917
|
width: 122px;
|
|
2910
|
-
margin-right:
|
|
2918
|
+
margin-right: 8px;
|
|
2911
2919
|
color: white;
|
|
2912
2920
|
background-color: var(--cancel-button);
|
|
2913
2921
|
border-radius: 5px;
|
|
@@ -6366,7 +6374,7 @@ div.netskrafl-container input[type="checkbox"] {
|
|
|
6366
6374
|
|
|
6367
6375
|
@media all and (max-width: 1023px) and (min-height: 552px) {
|
|
6368
6376
|
/* On sufficiently large mobile screens, keep the body fixed (unscrollable) */
|
|
6369
|
-
|
|
6377
|
+
.netskrafl-container div.netskrafl-inner {
|
|
6370
6378
|
/* position: fixed; */
|
|
6371
6379
|
overflow: hidden;
|
|
6372
6380
|
}
|
|
@@ -6509,7 +6517,7 @@ div.netskrafl-container input[type="checkbox"] {
|
|
|
6509
6517
|
@media all and (min-width: 414px) and (max-width: 1023px) and (
|
|
6510
6518
|
min-height: 652px
|
|
6511
6519
|
) {
|
|
6512
|
-
|
|
6520
|
+
.netskrafl-container div.netskrafl-inner {
|
|
6513
6521
|
/*
|
|
6514
6522
|
transform: scale(1.1);
|
|
6515
6523
|
transform-origin: center top;
|
|
@@ -6527,7 +6535,7 @@ div.netskrafl-container input[type="checkbox"] {
|
|
|
6527
6535
|
orientation: landscape
|
|
6528
6536
|
) {
|
|
6529
6537
|
/* Mobile screen, landscape mode (width >= 667px AND landscape orientation) */
|
|
6530
|
-
|
|
6538
|
+
.netskrafl-container div.netskrafl-inner {
|
|
6531
6539
|
/* Reference width */
|
|
6532
6540
|
width: 667px;
|
|
6533
6541
|
/* Reference height */
|
|
@@ -6538,8 +6546,7 @@ div.netskrafl-container input[type="checkbox"] {
|
|
|
6538
6546
|
.netskrafl-container div.header-logo {
|
|
6539
6547
|
display: none;
|
|
6540
6548
|
}
|
|
6541
|
-
.netskrafl-container div.netskrafl
|
|
6542
|
-
.netskrafl-container div.gatadagsins {
|
|
6549
|
+
.netskrafl-container div.netskrafl-inner {
|
|
6543
6550
|
padding-top: 0;
|
|
6544
6551
|
}
|
|
6545
6552
|
.netskrafl-container div.rightarea {
|
|
@@ -6836,7 +6843,7 @@ div.netskrafl-container input[type="checkbox"] {
|
|
|
6836
6843
|
padding-bottom: 1px;
|
|
6837
6844
|
background-color: var(--tab-background);
|
|
6838
6845
|
}
|
|
6839
|
-
|
|
6846
|
+
.netskrafl-container div.netskrafl-inner {
|
|
6840
6847
|
width: 1024px;
|
|
6841
6848
|
height: 686px;
|
|
6842
6849
|
overflow-y: hidden;
|