@mideind/netskrafl-react 1.9.0 → 2.0.1

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.
@@ -7741,8 +7741,8 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
7741
7741
 
7742
7742
  .netskrafl-container div.mobile-score.word-bad {
7743
7743
  background-color: white;
7744
- color: var(--logo-primary-light);
7745
- border-color: var(--logo-primary-light);
7744
+ color: var(--logo-primary);
7745
+ border-color: var(--logo-primary);
7746
7746
  border-style: solid;
7747
7747
  border-width: 2px;
7748
7748
  }
@@ -7787,8 +7787,8 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
7787
7787
 
7788
7788
  .netskrafl-container div.gata-dagsins-score.word-bad {
7789
7789
  background-color: white;
7790
- color: var(--logo-primary-light);
7791
- border-color: var(--logo-primary-light);
7790
+ color: var(--logo-primary);
7791
+ border-color: var(--logo-primary);
7792
7792
  border-style: solid;
7793
7793
  border-width: 3px;
7794
7794
  }
@@ -7804,11 +7804,80 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
7804
7804
  /* Right side wrapper - positioned above board on mobile */
7805
7805
 
7806
7806
  .netskrafl-container div.gatadagsins-right-side-wrapper {
7807
- flex: 0 0 80px;
7807
+ flex: 0 0 auto;
7808
+ min-height: 80px;
7808
7809
  display: flex;
7809
- flex-direction: row;
7810
+ flex-direction: column;
7810
7811
  order: -1;
7811
- margin-top: 10px; /* Accommodate sun corona at the top, to avoid clipping */
7812
+ }
7813
+
7814
+ /* Wrapper for mobile content (DateNav + Status) */
7815
+
7816
+ .netskrafl-container .gatadagsins-mobile-wrapper {
7817
+ display: flex;
7818
+ flex-direction: column;
7819
+ width: 100%;
7820
+ flex: 1;
7821
+ }
7822
+
7823
+ /* Date Navigator Styles */
7824
+
7825
+ .netskrafl-container .date-navigator {
7826
+ display: flex;
7827
+ flex-direction: row;
7828
+ align-items: center;
7829
+ justify-content: space-between;
7830
+ padding: 5px 10px;
7831
+ background-color: var(--board-background);
7832
+ border-radius: 8px;
7833
+ margin-bottom: 4px;
7834
+ }
7835
+
7836
+ .netskrafl-container .date-navigator .nav-arrow {
7837
+ cursor: pointer;
7838
+ padding: 5px 10px;
7839
+ font-size: 18px;
7840
+ color: var(--malfridur-accent);
7841
+ background-color: transparent;
7842
+ user-select: none;
7843
+ display: flex;
7844
+ align-items: center;
7845
+ justify-content: center;
7846
+ }
7847
+
7848
+ .netskrafl-container .date-navigator .nav-arrow:hover {
7849
+ color: var(--logo-accent);
7850
+ background-color: rgba(0, 0, 0, 0.05);
7851
+ border-radius: 50%;
7852
+ }
7853
+
7854
+ .netskrafl-container .date-navigator .nav-arrow.disabled {
7855
+ color: #ccc;
7856
+ cursor: default;
7857
+ pointer-events: none;
7858
+ background-color: transparent;
7859
+ }
7860
+
7861
+ .netskrafl-container .date-navigator .nav-date {
7862
+ font-family: var(--primary-font);
7863
+ font-size: 14px;
7864
+ font-weight: bold;
7865
+ color: #333;
7866
+ }
7867
+
7868
+ .netskrafl-container .mobile-date-nav-container {
7869
+ display: flex;
7870
+ justify-content: center;
7871
+ padding-bottom: 4px;
7872
+ }
7873
+
7874
+ .netskrafl-container .mobile-date-nav-container .date-navigator {
7875
+ background-color: transparent;
7876
+ padding: 0;
7877
+ width: 100%;
7878
+ justify-content: center;
7879
+ gap: 20px;
7880
+ margin-bottom: 0;
7812
7881
  }
7813
7882
 
7814
7883
  /* Mobile status bar - visible on mobile only */
@@ -7816,6 +7885,7 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
7816
7885
  .netskrafl-container div.gatadagsins-mobile-status {
7817
7886
  flex: 1;
7818
7887
  display: flex;
7888
+ width: 100%;
7819
7889
  }
7820
7890
 
7821
7891
  /* Thermometer column - hidden on mobile */
@@ -8231,7 +8301,7 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
8231
8301
  background-color: var(--tab-background);
8232
8302
  border: 1px solid #ddd;
8233
8303
  border-radius: 8px;
8234
- padding: 8px 8px;
8304
+ padding: 6px 12px;
8235
8305
  cursor: pointer;
8236
8306
  transition: all 0.2s ease;
8237
8307
  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
@@ -8634,7 +8704,7 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
8634
8704
  /* ================= STATS VIEW STYLES =============== */
8635
8705
 
8636
8706
  .netskrafl-container .stats-view {
8637
- padding: 0px 10px;
8707
+ padding: 10px 10px;
8638
8708
  }
8639
8709
 
8640
8710
  .netskrafl-container .stats-view.loading,
@@ -8660,32 +8730,29 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
8660
8730
  padding: 12px;
8661
8731
  background-color: var(--board-background);
8662
8732
  border-radius: 8px;
8733
+ border-left: 6px solid transparent;
8663
8734
  transition: all 0.3s ease;
8664
8735
  }
8665
8736
 
8666
8737
  .netskrafl-container .stat-item.highlight {
8667
- /*
8668
- background-color: color-mix(
8669
- in srgb,
8670
- var(--double-word-color) 40%,
8671
- transparent
8672
- );
8673
- */
8674
- border-left: 6px solid var(--logo-accent);
8738
+ border-left-color: var(--logo-accent);
8675
8739
  }
8676
8740
 
8677
8741
  .netskrafl-container .stat-icon {
8678
- font-size: 28px;
8679
8742
  flex-shrink: 0;
8680
8743
  display: flex;
8681
8744
  align-items: center;
8682
8745
  justify-content: center;
8683
- width: 40px;
8746
+ width: 32px;
8747
+ min-width: 32px;
8748
+ max-width: 32px;
8684
8749
  color: var(--logo-accent);
8685
8750
  }
8686
8751
 
8687
8752
  .netskrafl-container .stat-icon .glyphicon {
8688
- font-size: 28px;
8753
+ font-size: 24px;
8754
+ width: 100%;
8755
+ text-align: center;
8689
8756
  }
8690
8757
 
8691
8758
  .netskrafl-container .stat-info {
@@ -8700,7 +8767,7 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
8700
8767
 
8701
8768
  .netskrafl-container .stat-label {
8702
8769
  flex: 0 1 auto;
8703
- font-size: 14px;
8770
+ font-size: 13px;
8704
8771
  color: #666;
8705
8772
  font-family: var(--primary-font);
8706
8773
  text-align: left;
@@ -8747,13 +8814,6 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
8747
8814
  flex-shrink: 0;
8748
8815
  }
8749
8816
 
8750
- .netskrafl-container .leaderboard-title {
8751
- font-size: 16px;
8752
- font-weight: bold;
8753
- color: #333;
8754
- font-family: var(--primary-font);
8755
- }
8756
-
8757
8817
  .netskrafl-container .leaderboard-date {
8758
8818
  font-size: 12px;
8759
8819
  color: #666;
@@ -8778,6 +8838,7 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
8778
8838
  background-color: var(--board-background);
8779
8839
  border-radius: 4px;
8780
8840
  transition: all 0.3s ease;
8841
+ min-height: 24px;
8781
8842
  }
8782
8843
 
8783
8844
  .netskrafl-container .leaderboard-entry.current-user {
@@ -8959,8 +9020,8 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
8959
9020
  }
8960
9021
 
8961
9022
  .netskrafl-container .modal-dialog.stats-modal .modal-body {
8962
- padding-top: 16px;
8963
- padding-bottom: 22px;
9023
+ padding-top: 12px;
9024
+ padding-bottom: 12px;
8964
9025
  overflow-y: hidden;
8965
9026
  flex: 1;
8966
9027
  overscroll-behavior-y: contain;
@@ -8981,10 +9042,11 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
8981
9042
  /* Restore vertical thermometer layout on desktop */
8982
9043
  .netskrafl-container .thermometer-container {
8983
9044
  flex-direction: column;
9045
+ width: 90%;
9046
+ margin-left: 10%;
9047
+ margin-top: 60px; /* Enough to accommodate sun animation */
8984
9048
  padding-left: 0;
8985
9049
  padding-right: 0;
8986
- margin-top: 60px;
8987
- width: 80%;
8988
9050
  }
8989
9051
 
8990
9052
  /* Vertical thermometer */
@@ -9052,7 +9114,11 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
9052
9114
  /* gap: 20px; */
9053
9115
  }
9054
9116
 
9055
- /* Hide mobile status and stats button on desktop */
9117
+ /* Hide mobile wrapper, status and stats button on desktop */
9118
+ .netskrafl-container div.gatadagsins-mobile-wrapper {
9119
+ display: none;
9120
+ }
9121
+
9056
9122
  .netskrafl-container div.gatadagsins-mobile-status {
9057
9123
  display: none;
9058
9124
  }
@@ -9061,6 +9127,10 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
9061
9127
  display: none;
9062
9128
  }
9063
9129
 
9130
+ .netskrafl-container .desktop-date-nav-container {
9131
+ margin-bottom: 10px;
9132
+ }
9133
+
9064
9134
  /* Desktop tab styling adjustments */
9065
9135
  .netskrafl-container .tab-item {
9066
9136
  font-size: 13px;
@@ -9103,7 +9173,7 @@ div.gatadagsins-board-area.celebrate div.netskrafl-tile.netskrafl-racktile {
9103
9173
  }
9104
9174
 
9105
9175
  .netskrafl-container .leaderboard-list {
9106
- height: 518px;
9176
+ height: 500px;
9107
9177
  overscroll-behavior-y: contain;
9108
9178
  }
9109
9179