@keenmate/pure-admin-theme-dark 1.5.1 → 2.0.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.
Files changed (2) hide show
  1. package/dist/dark.css +895 -19
  2. package/package.json +3 -3
package/dist/dark.css CHANGED
@@ -309,6 +309,7 @@ body.pa-layout--sticky .pa-layout__inner {
309
309
  .pa-layout__main {
310
310
  flex: 1;
311
311
  padding: 1.6rem;
312
+ container-type: inline-size;
312
313
  }
313
314
 
314
315
  .pa-layout__footer {
@@ -1496,7 +1497,7 @@ body:not(.sidebar-hidden) .pa-layout__sidebar--icon-collapse .pa-sidebar__icon {
1496
1497
  margin-inline-start: 95%;
1497
1498
  }
1498
1499
 
1499
- @media (min-width: 576px) {
1500
+ @container (min-width: 576px) {
1500
1501
  .pa-col-sm-5 {
1501
1502
  flex: 0 0 5%;
1502
1503
  max-width: 5%;
@@ -1769,7 +1770,7 @@ body:not(.sidebar-hidden) .pa-layout__sidebar--icon-collapse .pa-sidebar__icon {
1769
1770
  width: auto;
1770
1771
  }
1771
1772
  }
1772
- @media (min-width: 768px) {
1773
+ @container (min-width: 768px) {
1773
1774
  .pa-col-md-5 {
1774
1775
  flex: 0 0 5%;
1775
1776
  max-width: 5%;
@@ -2042,7 +2043,7 @@ body:not(.sidebar-hidden) .pa-layout__sidebar--icon-collapse .pa-sidebar__icon {
2042
2043
  width: auto;
2043
2044
  }
2044
2045
  }
2045
- @media (min-width: 992px) {
2046
+ @container (min-width: 992px) {
2046
2047
  .pa-col-lg-5 {
2047
2048
  flex: 0 0 5%;
2048
2049
  max-width: 5%;
@@ -2315,7 +2316,7 @@ body:not(.sidebar-hidden) .pa-layout__sidebar--icon-collapse .pa-sidebar__icon {
2315
2316
  width: auto;
2316
2317
  }
2317
2318
  }
2318
- @media (min-width: 1200px) {
2319
+ @container (min-width: 1200px) {
2319
2320
  .pa-col-xl-5 {
2320
2321
  flex: 0 0 5%;
2321
2322
  max-width: 5%;
@@ -3077,6 +3078,21 @@ body:not(.sidebar-hidden) .pa-layout__sidebar--icon-collapse .pa-sidebar__icon {
3077
3078
  border-top: none !important;
3078
3079
  }
3079
3080
 
3081
+ .pa-card--live-up {
3082
+ background-color: rgba(40, 167, 69, 0.1);
3083
+ transition: background-color 0.3s ease;
3084
+ }
3085
+
3086
+ .pa-card--live-down {
3087
+ background-color: rgba(220, 53, 69, 0.1);
3088
+ transition: background-color 0.3s ease;
3089
+ }
3090
+
3091
+ .pa-card--live-neutral {
3092
+ background-color: #ffffff;
3093
+ transition: background-color 0.3s ease;
3094
+ }
3095
+
3080
3096
  .pa-card--color-1 {
3081
3097
  border-color: var(--pa-color-1);
3082
3098
  }
@@ -3844,43 +3860,43 @@ a.pa-card p {
3844
3860
  font-size: 1.4rem;
3845
3861
  }
3846
3862
 
3847
- .pa-stat--hero {
3863
+ .pa-stat--hero, .pa-stat--hero-compact {
3848
3864
  display: block;
3849
3865
  text-align: center;
3850
- padding: 2.4rem;
3866
+ padding: 0.8rem 0.8rem 1.2rem;
3851
3867
  }
3852
3868
 
3853
- .pa-stat--hero .pa-stat__label {
3854
- font-size: 1.4rem;
3869
+ .pa-stat--hero .pa-stat__label, .pa-stat--hero-compact .pa-stat__label {
3870
+ font-size: 1.2rem;
3855
3871
  text-transform: uppercase;
3856
3872
  letter-spacing: 0.05em;
3857
- font-weight: 500;
3873
+ font-weight: 600;
3858
3874
  color: var(--pa-text-color-2);
3859
- margin-bottom: 0.8rem;
3875
+ margin-bottom: 0.4rem;
3860
3876
  }
3861
3877
 
3862
- .pa-stat--hero .pa-stat__value {
3863
- font-size: 3.2rem;
3878
+ .pa-stat--hero .pa-stat__value, .pa-stat--hero-compact .pa-stat__value {
3879
+ font-size: 4.48rem;
3864
3880
  font-weight: 700;
3865
3881
  color: var(--pa-text-color-1);
3866
- line-height: 1.1;
3867
- margin-bottom: 0.8rem;
3882
+ line-height: 1;
3883
+ margin-bottom: 0.4rem;
3868
3884
  }
3869
3885
 
3870
- .pa-stat--hero .pa-stat__change {
3886
+ .pa-stat--hero .pa-stat__change, .pa-stat--hero-compact .pa-stat__change {
3871
3887
  font-size: 1.2rem;
3872
- font-weight: 500;
3888
+ font-weight: 600;
3873
3889
  }
3874
3890
 
3875
- .pa-stat--hero .pa-stat__change--positive {
3891
+ .pa-stat--hero .pa-stat__change--positive, .pa-stat--hero-compact .pa-stat__change--positive {
3876
3892
  color: #28a745;
3877
3893
  }
3878
3894
 
3879
- .pa-stat--hero .pa-stat__change--negative {
3895
+ .pa-stat--hero .pa-stat__change--negative, .pa-stat--hero-compact .pa-stat__change--negative {
3880
3896
  color: #dc3545;
3881
3897
  }
3882
3898
 
3883
- .pa-stat--hero .pa-stat__change--neutral {
3899
+ .pa-stat--hero .pa-stat__change--neutral, .pa-stat--hero-compact .pa-stat__change--neutral {
3884
3900
  color: var(--pa-text-color-2);
3885
3901
  }
3886
3902
 
@@ -13597,6 +13613,71 @@ code {
13597
13613
  grid-column: 2;
13598
13614
  }
13599
13615
  }
13616
+ .pa-desc-table__copy {
13617
+ flex-shrink: 0;
13618
+ padding: 0.4rem;
13619
+ background: transparent;
13620
+ border: none;
13621
+ border-radius: 4px;
13622
+ cursor: pointer;
13623
+ transition: opacity 0.15s, background 0.15s;
13624
+ }
13625
+
13626
+ .pa-desc-table__copy:hover {
13627
+ opacity: 1;
13628
+ background: rgba(128, 128, 128, 0.1);
13629
+ }
13630
+
13631
+ .pa-desc-table__value--copy-btn, .pa-desc-table__value--copy-hover {
13632
+ display: flex;
13633
+ align-items: center;
13634
+ gap: 0.8rem;
13635
+ }
13636
+
13637
+ .pa-desc-table__value--copy-btn .pa-desc-table__copy {
13638
+ opacity: 0.5;
13639
+ }
13640
+
13641
+ .pa-desc-table__value--copy-hover .pa-desc-table__copy {
13642
+ opacity: 0;
13643
+ }
13644
+
13645
+ .pa-desc-table__value--copy-hover:hover .pa-desc-table__copy {
13646
+ opacity: 0.5;
13647
+ }
13648
+
13649
+ .pa-desc-table__value--copy-hover:hover .pa-desc-table__copy:hover {
13650
+ opacity: 1;
13651
+ background: rgba(128, 128, 128, 0.1);
13652
+ }
13653
+
13654
+ .pa-desc-table__value--copy-click {
13655
+ cursor: pointer;
13656
+ transition: opacity 0.15s;
13657
+ }
13658
+
13659
+ .pa-desc-table__value--copy-click:hover {
13660
+ opacity: 0.7;
13661
+ }
13662
+
13663
+ .pa-desc-table__value--copy-click::after {
13664
+ content: "Click to copy";
13665
+ font-size: 1rem;
13666
+ opacity: 0;
13667
+ margin-inline-start: 0.8rem;
13668
+ transition: opacity 0.15s;
13669
+ }
13670
+
13671
+ .pa-desc-table__value--copy-click:hover::after {
13672
+ opacity: 0.6;
13673
+ }
13674
+
13675
+ .pa-desc-table__value--copied::after {
13676
+ content: "Copied!" !important;
13677
+ opacity: 1 !important;
13678
+ color: var(--pa-color-4, #28a745);
13679
+ }
13680
+
13600
13681
  .pa-dot-leaders {
13601
13682
  display: flex;
13602
13683
  flex-direction: column;
@@ -13698,6 +13779,57 @@ code {
13698
13779
  font-weight: 700;
13699
13780
  }
13700
13781
 
13782
+ .pa-prop-card__copy {
13783
+ flex-shrink: 0;
13784
+ padding: 0.4rem;
13785
+ background: transparent;
13786
+ border: none;
13787
+ border-radius: 4px;
13788
+ cursor: pointer;
13789
+ transition: opacity 0.15s, background 0.15s;
13790
+ }
13791
+
13792
+ .pa-prop-card__copy:hover {
13793
+ opacity: 1;
13794
+ background: rgba(128, 128, 128, 0.1);
13795
+ }
13796
+
13797
+ .pa-prop-card__row--copy-btn .pa-prop-card__value, .pa-prop-card__row--copy-hover .pa-prop-card__value {
13798
+ display: flex;
13799
+ align-items: center;
13800
+ gap: 0.8rem;
13801
+ }
13802
+
13803
+ .pa-prop-card__row--copy-btn .pa-prop-card__copy, .pa-prop-card__row--copy-hover .pa-prop-card__copy {
13804
+ order: -1;
13805
+ }
13806
+
13807
+ .pa-prop-card__row--copy-btn .pa-prop-card__copy {
13808
+ opacity: 0.5;
13809
+ }
13810
+
13811
+ .pa-prop-card__row--copy-hover .pa-prop-card__copy {
13812
+ opacity: 0;
13813
+ }
13814
+
13815
+ .pa-prop-card__row--copy-hover:hover .pa-prop-card__copy {
13816
+ opacity: 0.5;
13817
+ }
13818
+
13819
+ .pa-prop-card__row--copy-hover:hover .pa-prop-card__copy:hover {
13820
+ opacity: 1;
13821
+ background: rgba(128, 128, 128, 0.1);
13822
+ }
13823
+
13824
+ .pa-prop-card__row--copy-click .pa-prop-card__value {
13825
+ cursor: pointer;
13826
+ transition: opacity 0.15s;
13827
+ }
13828
+
13829
+ .pa-prop-card__row--copy-click .pa-prop-card__value:hover {
13830
+ opacity: 0.7;
13831
+ }
13832
+
13701
13833
  .pa-banded-container {
13702
13834
  container-type: inline-size;
13703
13835
  }
@@ -13794,6 +13926,69 @@ code {
13794
13926
  display: block;
13795
13927
  }
13796
13928
  }
13929
+ .pa-banded__copy {
13930
+ flex-shrink: 0;
13931
+ padding: 0.4rem;
13932
+ background: transparent;
13933
+ border: none;
13934
+ border-radius: 4px;
13935
+ cursor: pointer;
13936
+ transition: opacity 0.15s, background 0.15s;
13937
+ }
13938
+
13939
+ .pa-banded__copy:hover {
13940
+ opacity: 1;
13941
+ background: rgba(128, 128, 128, 0.1);
13942
+ }
13943
+
13944
+ .pa-banded__row--copy-btn .pa-banded__value, .pa-banded__row--copy-hover .pa-banded__value {
13945
+ gap: 0.8rem;
13946
+ }
13947
+
13948
+ .pa-banded__row--copy-btn .pa-banded__copy {
13949
+ opacity: 0.5;
13950
+ }
13951
+
13952
+ .pa-banded__row--copy-hover .pa-banded__copy {
13953
+ opacity: 0;
13954
+ }
13955
+
13956
+ .pa-banded__row--copy-hover:hover .pa-banded__copy {
13957
+ opacity: 0.5;
13958
+ }
13959
+
13960
+ .pa-banded__row--copy-hover:hover .pa-banded__copy:hover {
13961
+ opacity: 1;
13962
+ background: rgba(128, 128, 128, 0.1);
13963
+ }
13964
+
13965
+ .pa-banded__row--copy-click .pa-banded__value {
13966
+ cursor: pointer;
13967
+ transition: opacity 0.15s;
13968
+ }
13969
+
13970
+ .pa-banded__row--copy-click .pa-banded__value:hover {
13971
+ opacity: 0.7;
13972
+ }
13973
+
13974
+ .pa-banded__row--copy-click .pa-banded__value::after {
13975
+ content: "Click to copy";
13976
+ font-size: 1rem;
13977
+ opacity: 0;
13978
+ margin-inline-start: 0.8rem;
13979
+ transition: opacity 0.15s;
13980
+ }
13981
+
13982
+ .pa-banded__row--copy-click .pa-banded__value:hover::after {
13983
+ opacity: 0.6;
13984
+ }
13985
+
13986
+ .pa-banded__row--copied .pa-banded__value::after {
13987
+ content: "Copied!" !important;
13988
+ opacity: 1 !important;
13989
+ color: var(--pa-color-4, #28a745);
13990
+ }
13991
+
13797
13992
  .pa-accent-grid {
13798
13993
  display: grid;
13799
13994
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
@@ -13838,6 +14033,687 @@ code {
13838
14033
  line-height: 1.2;
13839
14034
  }
13840
14035
 
14036
+ .pa-accent-grid__copy {
14037
+ flex-shrink: 0;
14038
+ padding: 0.4rem;
14039
+ background: transparent;
14040
+ border: none;
14041
+ border-radius: 4px;
14042
+ cursor: pointer;
14043
+ transition: opacity 0.15s, background 0.15s;
14044
+ }
14045
+
14046
+ .pa-accent-grid__copy:hover {
14047
+ opacity: 1;
14048
+ background: rgba(128, 128, 128, 0.1);
14049
+ }
14050
+
14051
+ .pa-accent-grid__item--copy-btn .pa-accent-grid__value, .pa-accent-grid__item--copy-hover .pa-accent-grid__value {
14052
+ display: flex;
14053
+ align-items: center;
14054
+ gap: 0.8rem;
14055
+ }
14056
+
14057
+ .pa-accent-grid__item--copy-btn .pa-accent-grid__copy {
14058
+ opacity: 0.5;
14059
+ }
14060
+
14061
+ .pa-accent-grid__item--copy-hover .pa-accent-grid__copy {
14062
+ opacity: 0;
14063
+ }
14064
+
14065
+ .pa-accent-grid__item--copy-hover:hover .pa-accent-grid__copy {
14066
+ opacity: 0.5;
14067
+ }
14068
+
14069
+ .pa-accent-grid__item--copy-hover:hover .pa-accent-grid__copy:hover {
14070
+ opacity: 1;
14071
+ background: rgba(128, 128, 128, 0.1);
14072
+ }
14073
+
14074
+ .pa-accent-grid__item--copy-click .pa-accent-grid__value {
14075
+ cursor: pointer;
14076
+ transition: opacity 0.15s;
14077
+ }
14078
+
14079
+ .pa-accent-grid__item--copy-click .pa-accent-grid__value:hover {
14080
+ opacity: 0.7;
14081
+ }
14082
+
14083
+ .pa-accent-grid__item--copy-click .pa-accent-grid__value::after {
14084
+ content: "Click to copy";
14085
+ font-size: 1rem;
14086
+ opacity: 0;
14087
+ margin-inline-start: 0.8rem;
14088
+ transition: opacity 0.15s;
14089
+ }
14090
+
14091
+ .pa-accent-grid__item--copy-click .pa-accent-grid__value:hover::after {
14092
+ opacity: 0.6;
14093
+ }
14094
+
14095
+ .pa-accent-grid__item--copied .pa-accent-grid__value::after {
14096
+ content: "Copied!" !important;
14097
+ opacity: 1 !important;
14098
+ color: var(--pa-color-4, #28a745);
14099
+ }
14100
+
14101
+ /* ========================================
14102
+ Data Visualization Components
14103
+ Progress bars, rings, gauges, heatmaps, sparklines
14104
+ ======================================== */
14105
+ .pa-progress {
14106
+ width: 100%;
14107
+ height: 0.8rem;
14108
+ background: rgba(0, 0, 0, 0.08);
14109
+ border-radius: 4px;
14110
+ overflow: hidden;
14111
+ position: relative;
14112
+ }
14113
+
14114
+ .pa-progress__fill {
14115
+ height: 100%;
14116
+ width: var(--value, 0%);
14117
+ background: #007bff;
14118
+ border-radius: inherit;
14119
+ transition: width 0.25s ease;
14120
+ }
14121
+
14122
+ .pa-progress__label {
14123
+ display: flex;
14124
+ justify-content: space-between;
14125
+ margin-bottom: 0.4rem;
14126
+ font-size: 1.2rem;
14127
+ font-weight: 500;
14128
+ color: var(--pa-text-color-1);
14129
+ }
14130
+
14131
+ .pa-progress__label-value {
14132
+ color: var(--pa-text-color-2);
14133
+ }
14134
+
14135
+ .pa-progress--xs {
14136
+ height: 0.3rem;
14137
+ }
14138
+
14139
+ .pa-progress--sm {
14140
+ height: 0.5rem;
14141
+ }
14142
+
14143
+ .pa-progress--lg {
14144
+ height: 1.2rem;
14145
+ }
14146
+
14147
+ .pa-progress--success > .pa-progress__fill {
14148
+ background: #28a745;
14149
+ }
14150
+
14151
+ .pa-progress--warning > .pa-progress__fill {
14152
+ background: #ffc107;
14153
+ }
14154
+
14155
+ .pa-progress--danger > .pa-progress__fill {
14156
+ background: #dc3545;
14157
+ }
14158
+
14159
+ .pa-progress--info > .pa-progress__fill {
14160
+ background: #17a2b8;
14161
+ }
14162
+
14163
+ .pa-progress--rounded {
14164
+ border-radius: 50rem;
14165
+ }
14166
+
14167
+ .pa-progress--striped > .pa-progress__fill {
14168
+ background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%);
14169
+ background-size: 1.6rem 1.6rem;
14170
+ }
14171
+
14172
+ .pa-progress--animated > .pa-progress__fill {
14173
+ animation: pa-progress-stripe 1s linear infinite;
14174
+ }
14175
+
14176
+ @keyframes pa-progress-stripe {
14177
+ 0% {
14178
+ background-position: 1.6rem 0;
14179
+ }
14180
+ 100% {
14181
+ background-position: 0 0;
14182
+ }
14183
+ }
14184
+ .pa-progress-group {
14185
+ display: flex;
14186
+ flex-direction: column;
14187
+ gap: 0.4rem;
14188
+ }
14189
+
14190
+ .pa-stacked-bar {
14191
+ display: flex;
14192
+ width: 100%;
14193
+ height: 1.2rem;
14194
+ border-radius: 4px;
14195
+ overflow: hidden;
14196
+ background: rgba(0, 0, 0, 0.08);
14197
+ }
14198
+
14199
+ .pa-stacked-bar__segment {
14200
+ height: 100%;
14201
+ width: var(--value, 0%);
14202
+ transition: width 0.25s ease;
14203
+ background: #007bff;
14204
+ }
14205
+
14206
+ .pa-stacked-bar__segment--success {
14207
+ background: #28a745;
14208
+ }
14209
+
14210
+ .pa-stacked-bar__segment--warning {
14211
+ background: #ffc107;
14212
+ }
14213
+
14214
+ .pa-stacked-bar__segment--danger {
14215
+ background: #dc3545;
14216
+ }
14217
+
14218
+ .pa-stacked-bar__segment--info {
14219
+ background: #17a2b8;
14220
+ }
14221
+
14222
+ .pa-stacked-bar__segment--secondary {
14223
+ background: #6c757d;
14224
+ }
14225
+
14226
+ .pa-stacked-bar__legend {
14227
+ display: flex;
14228
+ flex-wrap: wrap;
14229
+ gap: 1.6rem;
14230
+ margin-top: 0.8rem;
14231
+ }
14232
+
14233
+ .pa-stacked-bar__legend-item {
14234
+ display: flex;
14235
+ align-items: center;
14236
+ gap: 0.4rem;
14237
+ font-size: 1.2rem;
14238
+ color: var(--pa-text-color-2);
14239
+ }
14240
+
14241
+ .pa-stacked-bar__legend-swatch {
14242
+ width: 1rem;
14243
+ height: 1rem;
14244
+ border-radius: 2px;
14245
+ flex-shrink: 0;
14246
+ }
14247
+
14248
+ .pa-stacked-bar__legend-swatch--primary {
14249
+ background: #007bff;
14250
+ }
14251
+
14252
+ .pa-stacked-bar__legend-swatch--success {
14253
+ background: #28a745;
14254
+ }
14255
+
14256
+ .pa-stacked-bar__legend-swatch--warning {
14257
+ background: #ffc107;
14258
+ }
14259
+
14260
+ .pa-stacked-bar__legend-swatch--danger {
14261
+ background: #dc3545;
14262
+ }
14263
+
14264
+ .pa-stacked-bar__legend-swatch--info {
14265
+ background: #17a2b8;
14266
+ }
14267
+
14268
+ .pa-stacked-bar__legend-swatch--secondary {
14269
+ background: #6c757d;
14270
+ }
14271
+
14272
+ .pa-stacked-bar--sm {
14273
+ height: 0.5rem;
14274
+ }
14275
+
14276
+ .pa-stacked-bar--lg {
14277
+ height: 1.2rem;
14278
+ }
14279
+
14280
+ .pa-stacked-bar--rounded {
14281
+ border-radius: 50rem;
14282
+ }
14283
+
14284
+ .pa-progress-ring {
14285
+ width: 8rem;
14286
+ height: 8rem;
14287
+ border-radius: 50%;
14288
+ background: conic-gradient(#007bff calc(var(--value, 0) * 3.6deg), rgba(0, 0, 0, 0.08) 0deg);
14289
+ display: flex;
14290
+ align-items: center;
14291
+ justify-content: center;
14292
+ flex-shrink: 0;
14293
+ }
14294
+
14295
+ .pa-progress-ring__inner {
14296
+ width: 70%;
14297
+ height: 70%;
14298
+ border-radius: 50%;
14299
+ background: #ffffff;
14300
+ display: flex;
14301
+ flex-direction: column;
14302
+ align-items: center;
14303
+ justify-content: center;
14304
+ }
14305
+
14306
+ .pa-progress-ring__value {
14307
+ font-size: 1.8rem;
14308
+ font-weight: 700;
14309
+ line-height: 1;
14310
+ color: var(--pa-text-color-1);
14311
+ }
14312
+
14313
+ .pa-progress-ring__label {
14314
+ font-size: 1rem;
14315
+ color: var(--pa-text-color-2);
14316
+ margin-top: 0.4rem;
14317
+ }
14318
+
14319
+ .pa-progress-ring--sm {
14320
+ width: 5rem;
14321
+ height: 5rem;
14322
+ }
14323
+
14324
+ .pa-progress-ring--sm .pa-progress-ring__value {
14325
+ font-size: 1.6rem;
14326
+ }
14327
+
14328
+ .pa-progress-ring--sm .pa-progress-ring__label {
14329
+ font-size: 1rem;
14330
+ }
14331
+
14332
+ .pa-progress-ring--lg {
14333
+ width: 11rem;
14334
+ height: 11rem;
14335
+ }
14336
+
14337
+ .pa-progress-ring--lg .pa-progress-ring__value {
14338
+ font-size: 2.4rem;
14339
+ }
14340
+
14341
+ .pa-progress-ring--lg .pa-progress-ring__label {
14342
+ font-size: 1.2rem;
14343
+ }
14344
+
14345
+ .pa-progress-ring--success {
14346
+ background: conic-gradient(#28a745 calc(var(--value, 0) * 3.6deg), rgba(0, 0, 0, 0.08) 0deg);
14347
+ }
14348
+
14349
+ .pa-progress-ring--warning {
14350
+ background: conic-gradient(#ffc107 calc(var(--value, 0) * 3.6deg), rgba(0, 0, 0, 0.08) 0deg);
14351
+ }
14352
+
14353
+ .pa-progress-ring--danger {
14354
+ background: conic-gradient(#dc3545 calc(var(--value, 0) * 3.6deg), rgba(0, 0, 0, 0.08) 0deg);
14355
+ }
14356
+
14357
+ .pa-progress-ring--info {
14358
+ background: conic-gradient(#17a2b8 calc(var(--value, 0) * 3.6deg), rgba(0, 0, 0, 0.08) 0deg);
14359
+ }
14360
+
14361
+ .pa-gauge {
14362
+ width: 12rem;
14363
+ height: calc(12rem / 2);
14364
+ border-radius: 12rem 12rem 0 0;
14365
+ overflow: hidden;
14366
+ background: conic-gradient(from 0.75turn, #007bff calc(var(--value, 0) * 1.8deg), rgba(0, 0, 0, 0.08) 0deg);
14367
+ position: relative;
14368
+ flex-shrink: 0;
14369
+ }
14370
+
14371
+ .pa-gauge__inner {
14372
+ position: absolute;
14373
+ bottom: 0;
14374
+ left: 15%;
14375
+ right: 15%;
14376
+ height: 70%;
14377
+ border-radius: 12rem 12rem 0 0;
14378
+ background: #ffffff;
14379
+ display: flex;
14380
+ flex-direction: column;
14381
+ align-items: center;
14382
+ justify-content: flex-end;
14383
+ padding-bottom: 0.4rem;
14384
+ }
14385
+
14386
+ .pa-gauge__value {
14387
+ font-size: 2.4rem;
14388
+ font-weight: 700;
14389
+ line-height: 1;
14390
+ color: var(--pa-text-color-1);
14391
+ }
14392
+
14393
+ .pa-gauge__label {
14394
+ font-size: 1.2rem;
14395
+ color: var(--pa-text-color-2);
14396
+ margin-top: 0.4rem;
14397
+ }
14398
+
14399
+ .pa-gauge__min, .pa-gauge__max {
14400
+ position: absolute;
14401
+ bottom: 0;
14402
+ font-size: 1rem;
14403
+ color: var(--pa-text-color-2);
14404
+ }
14405
+
14406
+ .pa-gauge__min {
14407
+ left: 0;
14408
+ }
14409
+
14410
+ .pa-gauge__max {
14411
+ right: 0;
14412
+ }
14413
+
14414
+ .pa-gauge--success {
14415
+ background: conic-gradient(from 0.75turn, #28a745 calc(var(--value, 0) * 1.8deg), rgba(0, 0, 0, 0.08) 0deg);
14416
+ }
14417
+
14418
+ .pa-gauge--warning {
14419
+ background: conic-gradient(from 0.75turn, #ffc107 calc(var(--value, 0) * 1.8deg), rgba(0, 0, 0, 0.08) 0deg);
14420
+ }
14421
+
14422
+ .pa-gauge--danger {
14423
+ background: conic-gradient(from 0.75turn, #dc3545 calc(var(--value, 0) * 1.8deg), rgba(0, 0, 0, 0.08) 0deg);
14424
+ }
14425
+
14426
+ .pa-gauge--info {
14427
+ background: conic-gradient(from 0.75turn, #17a2b8 calc(var(--value, 0) * 1.8deg), rgba(0, 0, 0, 0.08) 0deg);
14428
+ }
14429
+
14430
+ .pa-gauge--zones {
14431
+ background: conic-gradient(from 0.75turn, #28a745 0deg, #28a745 90deg, #ffc107 90deg, #ffc107 135deg, #dc3545 135deg, #dc3545 180deg, rgba(0, 0, 0, 0.08) 180deg);
14432
+ }
14433
+
14434
+ .pa-data-bar {
14435
+ display: flex;
14436
+ flex-direction: column;
14437
+ gap: 0.4rem;
14438
+ min-width: 6rem;
14439
+ }
14440
+
14441
+ .pa-data-bar__value {
14442
+ font-size: 1.4rem;
14443
+ font-weight: 500;
14444
+ color: var(--pa-text-color-1);
14445
+ line-height: 1;
14446
+ }
14447
+
14448
+ .pa-data-bar__track {
14449
+ width: 100%;
14450
+ height: 0.4rem;
14451
+ background: rgba(0, 0, 0, 0.06);
14452
+ border-radius: 2px;
14453
+ overflow: hidden;
14454
+ }
14455
+
14456
+ .pa-data-bar__fill {
14457
+ height: 100%;
14458
+ width: var(--value, 0%);
14459
+ background: #007bff;
14460
+ border-radius: inherit;
14461
+ transition: width 0.25s ease;
14462
+ }
14463
+
14464
+ .pa-data-bar--success .pa-data-bar__fill {
14465
+ background: #28a745;
14466
+ }
14467
+
14468
+ .pa-data-bar--warning .pa-data-bar__fill {
14469
+ background: #ffc107;
14470
+ }
14471
+
14472
+ .pa-data-bar--danger .pa-data-bar__fill {
14473
+ background: #dc3545;
14474
+ }
14475
+
14476
+ .pa-data-bar--info .pa-data-bar__fill {
14477
+ background: #17a2b8;
14478
+ }
14479
+
14480
+ .pa-data-bar--negative .pa-data-bar__fill {
14481
+ background: #dc3545;
14482
+ margin-inline-start: auto;
14483
+ }
14484
+
14485
+ .pa-heatmap {
14486
+ display: inline-grid;
14487
+ grid-template-columns: repeat(53, 1.2rem);
14488
+ grid-auto-rows: 1.2rem;
14489
+ gap: 0.2rem;
14490
+ }
14491
+
14492
+ .pa-heatmap__cell {
14493
+ border-radius: 2px;
14494
+ background: rgba(0, 0, 0, 0.08);
14495
+ }
14496
+
14497
+ .pa-heatmap__cell[data-level="1"] {
14498
+ background: rgba(0, 123, 255, 0.2);
14499
+ }
14500
+
14501
+ .pa-heatmap__cell[data-level="2"] {
14502
+ background: rgba(0, 123, 255, 0.4);
14503
+ }
14504
+
14505
+ .pa-heatmap__cell[data-level="3"] {
14506
+ background: rgba(0, 123, 255, 0.65);
14507
+ }
14508
+
14509
+ .pa-heatmap__cell[data-level="4"] {
14510
+ background: #007bff;
14511
+ }
14512
+
14513
+ .pa-heatmap--success .pa-heatmap__cell[data-level="1"] {
14514
+ background: rgba(40, 167, 69, 0.2);
14515
+ }
14516
+
14517
+ .pa-heatmap--success .pa-heatmap__cell[data-level="2"] {
14518
+ background: rgba(40, 167, 69, 0.4);
14519
+ }
14520
+
14521
+ .pa-heatmap--success .pa-heatmap__cell[data-level="3"] {
14522
+ background: rgba(40, 167, 69, 0.65);
14523
+ }
14524
+
14525
+ .pa-heatmap--success .pa-heatmap__cell[data-level="4"] {
14526
+ background: #28a745;
14527
+ }
14528
+
14529
+ .pa-heatmap--danger .pa-heatmap__cell[data-level="1"] {
14530
+ background: rgba(220, 53, 69, 0.2);
14531
+ }
14532
+
14533
+ .pa-heatmap--danger .pa-heatmap__cell[data-level="2"] {
14534
+ background: rgba(220, 53, 69, 0.4);
14535
+ }
14536
+
14537
+ .pa-heatmap--danger .pa-heatmap__cell[data-level="3"] {
14538
+ background: rgba(220, 53, 69, 0.65);
14539
+ }
14540
+
14541
+ .pa-heatmap--danger .pa-heatmap__cell[data-level="4"] {
14542
+ background: #dc3545;
14543
+ }
14544
+
14545
+ .pa-heatmap__legend {
14546
+ display: flex;
14547
+ align-items: center;
14548
+ gap: 0.4rem;
14549
+ margin-top: 0.8rem;
14550
+ font-size: 1.2rem;
14551
+ color: var(--pa-text-color-2);
14552
+ }
14553
+
14554
+ .pa-heatmap__legend-cell {
14555
+ width: 1.2rem;
14556
+ height: 1.2rem;
14557
+ border-radius: 2px;
14558
+ background: rgba(0, 0, 0, 0.08);
14559
+ }
14560
+
14561
+ .pa-heatmap__legend-cell[data-level="1"] {
14562
+ background: rgba(0, 123, 255, 0.2);
14563
+ }
14564
+
14565
+ .pa-heatmap__legend-cell[data-level="2"] {
14566
+ background: rgba(0, 123, 255, 0.4);
14567
+ }
14568
+
14569
+ .pa-heatmap__legend-cell[data-level="3"] {
14570
+ background: rgba(0, 123, 255, 0.65);
14571
+ }
14572
+
14573
+ .pa-heatmap__legend-cell[data-level="4"] {
14574
+ background: #007bff;
14575
+ }
14576
+
14577
+ .pa-heatmap--compact {
14578
+ grid-template-columns: repeat(53, 1rem);
14579
+ grid-auto-rows: 1rem;
14580
+ gap: 0.1rem;
14581
+ }
14582
+
14583
+ .pa-heatmap--compact .pa-heatmap__cell {
14584
+ border-radius: 1px;
14585
+ }
14586
+
14587
+ .pa-sparkline {
14588
+ display: inline-flex;
14589
+ align-items: flex-end;
14590
+ gap: 0.2rem;
14591
+ height: 3rem;
14592
+ }
14593
+
14594
+ .pa-sparkline__bar {
14595
+ width: 0.3rem;
14596
+ height: var(--value, 50%);
14597
+ background: #007bff;
14598
+ border-radius: 2px 2px 0 0;
14599
+ transition: height 0.25s ease;
14600
+ min-height: 1px;
14601
+ }
14602
+
14603
+ .pa-sparkline--success .pa-sparkline__bar {
14604
+ background: #28a745;
14605
+ }
14606
+
14607
+ .pa-sparkline--warning .pa-sparkline__bar {
14608
+ background: #ffc107;
14609
+ }
14610
+
14611
+ .pa-sparkline--danger .pa-sparkline__bar {
14612
+ background: #dc3545;
14613
+ }
14614
+
14615
+ .pa-sparkline--info .pa-sparkline__bar {
14616
+ background: #17a2b8;
14617
+ }
14618
+
14619
+ .pa-sparkline--sm {
14620
+ height: 2rem;
14621
+ }
14622
+
14623
+ .pa-sparkline--lg {
14624
+ height: 4.8rem;
14625
+ }
14626
+
14627
+ .pa-sparkline--lg .pa-sparkline__bar {
14628
+ width: 0.4rem;
14629
+ }
14630
+
14631
+ .pa-bar-list {
14632
+ display: flex;
14633
+ flex-direction: column;
14634
+ gap: 1.6rem;
14635
+ }
14636
+
14637
+ .pa-bar-list__item {
14638
+ display: flex;
14639
+ flex-direction: column;
14640
+ gap: 0.4rem;
14641
+ }
14642
+
14643
+ .pa-bar-list__header {
14644
+ display: flex;
14645
+ justify-content: space-between;
14646
+ align-items: baseline;
14647
+ gap: 0.8rem;
14648
+ }
14649
+
14650
+ .pa-bar-list__label {
14651
+ font-size: 1.4rem;
14652
+ color: var(--pa-text-color-1);
14653
+ min-width: 0;
14654
+ overflow: hidden;
14655
+ text-overflow: ellipsis;
14656
+ white-space: nowrap;
14657
+ }
14658
+
14659
+ .pa-bar-list__value {
14660
+ font-size: 1.4rem;
14661
+ font-weight: 600;
14662
+ color: var(--pa-text-color-1);
14663
+ flex-shrink: 0;
14664
+ }
14665
+
14666
+ .pa-bar-list__bar {
14667
+ width: 100%;
14668
+ height: 0.4rem;
14669
+ background: rgba(0, 0, 0, 0.06);
14670
+ border-radius: 2px;
14671
+ overflow: hidden;
14672
+ }
14673
+
14674
+ .pa-bar-list__bar::after {
14675
+ content: "";
14676
+ display: block;
14677
+ height: 100%;
14678
+ width: var(--value, 0%);
14679
+ background: #007bff;
14680
+ border-radius: inherit;
14681
+ transition: width 0.25s ease;
14682
+ }
14683
+
14684
+ .pa-bar-list--success .pa-bar-list__bar::after {
14685
+ background: #28a745;
14686
+ }
14687
+
14688
+ .pa-bar-list--warning .pa-bar-list__bar::after {
14689
+ background: #ffc107;
14690
+ }
14691
+
14692
+ .pa-bar-list--danger .pa-bar-list__bar::after {
14693
+ background: #dc3545;
14694
+ }
14695
+
14696
+ .pa-bar-list--info .pa-bar-list__bar::after {
14697
+ background: #17a2b8;
14698
+ }
14699
+
14700
+ .pa-bar-list--compact {
14701
+ gap: 0.8rem;
14702
+ }
14703
+
14704
+ .pa-bar-list--compact .pa-bar-list__item {
14705
+ gap: 0.2rem;
14706
+ }
14707
+
14708
+ .pa-bar-list--compact .pa-bar-list__label,
14709
+ .pa-bar-list--compact .pa-bar-list__value {
14710
+ font-size: 1.2rem;
14711
+ }
14712
+
14713
+ .pa-bar-list--compact .pa-bar-list__bar {
14714
+ height: 0.3rem;
14715
+ }
14716
+
13841
14717
  /* ========================================
13842
14718
  Utility Components
13843
14719
  Font utilities, compact mode, component showcase
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keenmate/pure-admin-theme-dark",
3
- "version": "1.5.1",
3
+ "version": "2.0.0",
4
4
  "description": "Dark theme for Pure Admin with color variants (blue, green, red) via CSS classes",
5
5
  "style": "dist/dark.css",
6
6
  "exports": {
@@ -33,10 +33,10 @@
33
33
  },
34
34
  "homepage": "https://github.com/KeenMate/pure-admin#readme",
35
35
  "peerDependencies": {
36
- "@keenmate/pure-admin-core": "^1.0.0"
36
+ "@keenmate/pure-admin-core": "^2.0.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@keenmate/pure-admin-core": "^1.0.0",
39
+ "@keenmate/pure-admin-core": "^2.0.0",
40
40
  "sass": "^1.70.0"
41
41
  },
42
42
  "publishConfig": {