@keenmate/pure-admin-theme-corporate 1.3.0 → 1.5.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/corporate.css +181 -67
  2. package/package.json +10 -1
@@ -205,7 +205,7 @@ body.pa-container-2xl .pa-navbar {
205
205
  gap: 1.6rem;
206
206
  }
207
207
 
208
- .pa-header__left {
208
+ .pa-header__start {
209
209
  display: flex;
210
210
  align-items: center;
211
211
  gap: 1.6rem;
@@ -220,7 +220,7 @@ body.pa-container-2xl .pa-navbar {
220
220
  justify-content: center;
221
221
  }
222
222
 
223
- .pa-header__right {
223
+ .pa-header__end {
224
224
  display: flex;
225
225
  align-items: center;
226
226
  gap: 1.6rem;
@@ -322,7 +322,7 @@ body.pa-layout--sticky .pa-layout__inner {
322
322
  gap: 1.6rem;
323
323
  }
324
324
 
325
- .pa-footer__left {
325
+ .pa-footer__start {
326
326
  display: flex;
327
327
  align-items: center;
328
328
  gap: 1.6rem;
@@ -337,14 +337,14 @@ body.pa-layout--sticky .pa-layout__inner {
337
337
  justify-content: center;
338
338
  }
339
339
 
340
- .pa-footer__right {
340
+ .pa-footer__end {
341
341
  display: flex;
342
342
  align-items: center;
343
343
  gap: 1.6rem;
344
344
  flex-shrink: 0;
345
345
  }
346
346
 
347
- .pa-footer__right--vertical {
347
+ .pa-footer__end--vertical {
348
348
  flex-direction: column;
349
349
  align-items: flex-end;
350
350
  gap: 0.4rem;
@@ -356,22 +356,22 @@ body.pa-layout--sticky .pa-layout__inner {
356
356
  min-height: auto;
357
357
  padding: 0.8rem 1.6rem;
358
358
  }
359
- .pa-footer__left,
359
+ .pa-footer__start,
360
360
  .pa-footer__center,
361
- .pa-footer__right {
361
+ .pa-footer__end {
362
362
  flex-shrink: 1;
363
363
  min-width: 0;
364
364
  }
365
- .pa-footer__left {
365
+ .pa-footer__start {
366
366
  flex: 1 1 auto;
367
367
  }
368
368
  .pa-footer__center {
369
369
  display: none;
370
370
  }
371
- .pa-footer__right {
371
+ .pa-footer__end {
372
372
  flex: 0 1 auto;
373
373
  }
374
- .pa-footer__right--vertical {
374
+ .pa-footer__end--vertical {
375
375
  align-items: flex-end;
376
376
  }
377
377
  }
@@ -2843,6 +2843,7 @@ body:not(.sidebar-hidden) .pa-layout__sidebar--icon-collapse .pa-sidebar__icon {
2843
2843
  display: flex;
2844
2844
  justify-content: space-between;
2845
2845
  align-items: center;
2846
+ gap: 1.6rem;
2846
2847
  min-width: 0;
2847
2848
  }
2848
2849
 
@@ -2874,9 +2875,45 @@ body:not(.sidebar-hidden) .pa-layout__sidebar--icon-collapse .pa-sidebar__icon {
2874
2875
  font-size: 1.6rem;
2875
2876
  }
2876
2877
 
2878
+ .pa-card__header > h1,
2879
+ .pa-card__header > h2,
2880
+ .pa-card__header > h3,
2881
+ .pa-card__header > h4,
2882
+ .pa-card__header > h5,
2883
+ .pa-card__header > h6 {
2884
+ flex-shrink: 0;
2885
+ }
2886
+
2887
+ .pa-card__header > p {
2888
+ flex: 1;
2889
+ min-width: 0;
2890
+ overflow: hidden;
2891
+ text-overflow: ellipsis;
2892
+ white-space: nowrap;
2893
+ color: var(--pa-text-color-2);
2894
+ font-size: 1.4rem;
2895
+ }
2896
+
2897
+ .pa-card__header .pa-card__actions,
2898
+ .pa-card__header .pa-btn-group {
2899
+ flex-shrink: 0;
2900
+ }
2901
+
2877
2902
  .pa-card__header .pa-btn {
2878
2903
  margin-top: -0.25rem;
2879
2904
  margin-bottom: -0.25rem;
2905
+ flex-shrink: 0;
2906
+ }
2907
+
2908
+ .pa-card__header--wrap {
2909
+ flex-wrap: wrap;
2910
+ }
2911
+
2912
+ .pa-card__header--wrap > p {
2913
+ white-space: normal;
2914
+ flex-basis: 100%;
2915
+ order: 1;
2916
+ margin-top: 0.4rem;
2880
2917
  }
2881
2918
 
2882
2919
  .pa-card__title {
@@ -3488,21 +3525,21 @@ a.pa-card p {
3488
3525
  background: linear-gradient(to right, var(--pa-main-bg), color-mix(in srgb, var(--pa-main-bg) 80%, transparent));
3489
3526
  }
3490
3527
 
3491
- .pa-tabs--scrollable .pa-tabs__scroll-btn--left, .pa-tabs--scrollable .pa-tabs__scroll-btn--start {
3528
+ .pa-tabs--scrollable .pa-tabs__scroll-btn--start {
3492
3529
  inset-inline-start: 0;
3493
3530
  background: linear-gradient(to right, color-mix(in srgb, var(--pa-main-bg) 95%, transparent), transparent);
3494
3531
  }
3495
3532
 
3496
- [dir=rtl] .pa-tabs--scrollable .pa-tabs__scroll-btn--left, [dir=rtl] .pa-tabs--scrollable .pa-tabs__scroll-btn--start {
3533
+ [dir=rtl] .pa-tabs--scrollable .pa-tabs__scroll-btn--start {
3497
3534
  background: linear-gradient(to left, color-mix(in srgb, var(--pa-main-bg) 95%, transparent), transparent);
3498
3535
  }
3499
3536
 
3500
- .pa-tabs--scrollable .pa-tabs__scroll-btn--right, .pa-tabs--scrollable .pa-tabs__scroll-btn--end {
3537
+ .pa-tabs--scrollable .pa-tabs__scroll-btn--end {
3501
3538
  inset-inline-end: 0;
3502
3539
  background: linear-gradient(to left, color-mix(in srgb, var(--pa-main-bg) 95%, transparent), transparent);
3503
3540
  }
3504
3541
 
3505
- [dir=rtl] .pa-tabs--scrollable .pa-tabs__scroll-btn--right, [dir=rtl] .pa-tabs--scrollable .pa-tabs__scroll-btn--end {
3542
+ [dir=rtl] .pa-tabs--scrollable .pa-tabs__scroll-btn--end {
3506
3543
  background: linear-gradient(to right, color-mix(in srgb, var(--pa-main-bg) 95%, transparent), transparent);
3507
3544
  }
3508
3545
 
@@ -5205,19 +5242,19 @@ a.pa-card p {
5205
5242
  margin: 0;
5206
5243
  }
5207
5244
 
5208
- .pa-btn--align-left {
5245
+ .pa-btn--align-start {
5209
5246
  justify-content: flex-start;
5210
5247
  }
5211
5248
 
5212
- .pa-btn--align-left .pa-btn__icon {
5249
+ .pa-btn--align-start .pa-btn__icon {
5213
5250
  padding-inline-start: 0;
5214
5251
  }
5215
5252
 
5216
- .pa-btn--align-right {
5253
+ .pa-btn--align-end {
5217
5254
  justify-content: flex-end;
5218
5255
  }
5219
5256
 
5220
- .pa-btn--align-right .pa-btn__icon {
5257
+ .pa-btn--align-end .pa-btn__icon {
5221
5258
  padding-inline-end: 0;
5222
5259
  }
5223
5260
 
@@ -6240,7 +6277,7 @@ a.pa-card p {
6240
6277
  text-align: end;
6241
6278
  }
6242
6279
 
6243
- .pa-popover--right .pa-popover__body {
6280
+ .pa-popover--end .pa-popover__body {
6244
6281
  text-align: end;
6245
6282
  }
6246
6283
 
@@ -8875,6 +8912,11 @@ web-multiselect {
8875
8912
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
8876
8913
  }
8877
8914
 
8915
+ .pa-table-card:has(.pa-detail-view) .pa-table-card__body {
8916
+ position: relative;
8917
+ overflow: hidden;
8918
+ }
8919
+
8878
8920
  .pa-table-card__header {
8879
8921
  padding: 0.5rem 1rem;
8880
8922
  min-height: 4rem;
@@ -8956,6 +8998,33 @@ web-multiselect {
8956
8998
  border-bottom: none;
8957
8999
  }
8958
9000
 
9001
+ .pa-table-card__body .pa-detail-view {
9002
+ height: 100%;
9003
+ }
9004
+
9005
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main .pa-table {
9006
+ border-radius: 0;
9007
+ }
9008
+
9009
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main .pa-table th:first-child,
9010
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main .pa-table td:first-child {
9011
+ padding-inline-start: 1rem;
9012
+ }
9013
+
9014
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main .pa-table th:last-child,
9015
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main .pa-table td:last-child {
9016
+ padding-inline-end: 1rem;
9017
+ }
9018
+
9019
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main .pa-table tbody tr:last-child td {
9020
+ border-bottom: none;
9021
+ }
9022
+
9023
+ .pa-table-card__body .pa-detail-view .pa-detail-view__main web-grid {
9024
+ --wg-cell-padding-left: 1rem;
9025
+ --wg-cell-padding-right: 1rem;
9026
+ }
9027
+
8959
9028
  .pa-table-card__footer {
8960
9029
  padding: 1.2rem 1rem;
8961
9030
  border-top: 1px solid var(--pa-border-color);
@@ -9154,6 +9223,11 @@ web-multiselect {
9154
9223
  padding-inline: 0;
9155
9224
  }
9156
9225
 
9226
+ .pa-table-card--plain .pa-table-card__body:has(.pa-detail-view--overlay) {
9227
+ position: relative;
9228
+ overflow: hidden;
9229
+ }
9230
+
9157
9231
  .pa-table-card--plain .pa-table-card__footer {
9158
9232
  background: transparent;
9159
9233
  border-top: none;
@@ -9283,7 +9357,7 @@ web-multiselect {
9283
9357
  justify-content: center;
9284
9358
  }
9285
9359
 
9286
- .pa-pager--left {
9360
+ .pa-pager--start {
9287
9361
  justify-content: flex-start;
9288
9362
  }
9289
9363
 
@@ -9291,7 +9365,7 @@ web-multiselect {
9291
9365
  justify-content: center;
9292
9366
  }
9293
9367
 
9294
- .pa-pager--right {
9368
+ .pa-pager--end {
9295
9369
  justify-content: flex-end;
9296
9370
  }
9297
9371
 
@@ -9340,7 +9414,7 @@ web-multiselect {
9340
9414
  justify-content: center;
9341
9415
  }
9342
9416
 
9343
- .pa-load-more--left {
9417
+ .pa-load-more--start {
9344
9418
  justify-content: flex-start;
9345
9419
  }
9346
9420
 
@@ -9348,7 +9422,7 @@ web-multiselect {
9348
9422
  justify-content: center;
9349
9423
  }
9350
9424
 
9351
- .pa-load-more--right {
9425
+ .pa-load-more--end {
9352
9426
  justify-content: flex-end;
9353
9427
  }
9354
9428
 
@@ -9908,7 +9982,7 @@ code {
9908
9982
  justify-content: center;
9909
9983
  }
9910
9984
 
9911
- .pa-pager--left {
9985
+ .pa-pager--start {
9912
9986
  justify-content: flex-start;
9913
9987
  }
9914
9988
 
@@ -9916,7 +9990,7 @@ code {
9916
9990
  justify-content: center;
9917
9991
  }
9918
9992
 
9919
- .pa-pager--right {
9993
+ .pa-pager--end {
9920
9994
  justify-content: flex-end;
9921
9995
  }
9922
9996
 
@@ -9965,7 +10039,7 @@ code {
9965
10039
  justify-content: center;
9966
10040
  }
9967
10041
 
9968
- .pa-load-more--left {
10042
+ .pa-load-more--start {
9969
10043
  justify-content: flex-start;
9970
10044
  }
9971
10045
 
@@ -9973,7 +10047,7 @@ code {
9973
10047
  justify-content: center;
9974
10048
  }
9975
10049
 
9976
- .pa-load-more--right {
10050
+ .pa-load-more--end {
9977
10051
  justify-content: flex-end;
9978
10052
  }
9979
10053
 
@@ -11179,73 +11253,73 @@ code {
11179
11253
  border-radius: 500px 0 0 500px;
11180
11254
  }
11181
11255
 
11182
- .pa-timeline--alternating.pa-timeline--left::after {
11256
+ .pa-timeline--alternating.pa-timeline--start::after {
11183
11257
  left: 90px;
11184
11258
  }
11185
11259
 
11186
- .pa-timeline--alternating.pa-timeline--left .pa-timeline__item {
11260
+ .pa-timeline--alternating.pa-timeline--start .pa-timeline__item {
11187
11261
  width: 100%;
11188
11262
  padding-left: 120px;
11189
11263
  padding-right: 0;
11190
11264
  left: 0 !important;
11191
11265
  }
11192
11266
 
11193
- .pa-timeline--alternating.pa-timeline--left .pa-timeline__item::after {
11267
+ .pa-timeline--alternating.pa-timeline--start .pa-timeline__item::after {
11194
11268
  left: 82px;
11195
11269
  }
11196
11270
 
11197
- .pa-timeline--alternating.pa-timeline--left .pa-timeline__item::before {
11271
+ .pa-timeline--alternating.pa-timeline--start .pa-timeline__item::before {
11198
11272
  left: 100px;
11199
11273
  }
11200
11274
 
11201
- .pa-timeline--alternating.pa-timeline--left .pa-timeline__item .pa-timeline__date {
11275
+ .pa-timeline--alternating.pa-timeline--start .pa-timeline__item .pa-timeline__date {
11202
11276
  right: auto;
11203
11277
  left: 15px;
11204
11278
  }
11205
11279
 
11206
- .pa-timeline--alternating.pa-timeline--left .pa-timeline__item .pa-timeline__icon {
11280
+ .pa-timeline--alternating.pa-timeline--start .pa-timeline__item .pa-timeline__icon {
11207
11281
  right: auto;
11208
11282
  left: 146px;
11209
11283
  }
11210
11284
 
11211
- .pa-timeline--alternating.pa-timeline--left .pa-timeline__item .pa-timeline__content {
11285
+ .pa-timeline--alternating.pa-timeline--start .pa-timeline__item .pa-timeline__content {
11212
11286
  padding: 3.2rem 3.2rem 3.2rem calc(6.4rem + 40px);
11213
11287
  border-radius: 500px 0 0 500px;
11214
11288
  }
11215
11289
 
11216
- .pa-timeline--alternating.pa-timeline--right::after {
11290
+ .pa-timeline--alternating.pa-timeline--end::after {
11217
11291
  right: 90px;
11218
11292
  left: auto;
11219
11293
  }
11220
11294
 
11221
- .pa-timeline--alternating.pa-timeline--right .pa-timeline__item {
11295
+ .pa-timeline--alternating.pa-timeline--end .pa-timeline__item {
11222
11296
  width: 100%;
11223
11297
  padding-left: 0;
11224
11298
  padding-right: 120px;
11225
11299
  left: 0 !important;
11226
11300
  }
11227
11301
 
11228
- .pa-timeline--alternating.pa-timeline--right .pa-timeline__item::after {
11302
+ .pa-timeline--alternating.pa-timeline--end .pa-timeline__item::after {
11229
11303
  right: 82px;
11230
11304
  left: auto;
11231
11305
  }
11232
11306
 
11233
- .pa-timeline--alternating.pa-timeline--right .pa-timeline__item::before {
11307
+ .pa-timeline--alternating.pa-timeline--end .pa-timeline__item::before {
11234
11308
  right: 100px;
11235
11309
  left: auto;
11236
11310
  }
11237
11311
 
11238
- .pa-timeline--alternating.pa-timeline--right .pa-timeline__item .pa-timeline__date {
11312
+ .pa-timeline--alternating.pa-timeline--end .pa-timeline__item .pa-timeline__date {
11239
11313
  left: auto;
11240
11314
  right: 15px;
11241
11315
  }
11242
11316
 
11243
- .pa-timeline--alternating.pa-timeline--right .pa-timeline__item .pa-timeline__icon {
11317
+ .pa-timeline--alternating.pa-timeline--end .pa-timeline__item .pa-timeline__icon {
11244
11318
  left: auto;
11245
11319
  right: 146px;
11246
11320
  }
11247
11321
 
11248
- .pa-timeline--alternating.pa-timeline--right .pa-timeline__item .pa-timeline__content {
11322
+ .pa-timeline--alternating.pa-timeline--end .pa-timeline__item .pa-timeline__content {
11249
11323
  padding: 3.2rem calc(6.4rem + 40px) 3.2rem 3.2rem;
11250
11324
  border-radius: 0 500px 500px 0;
11251
11325
  }
@@ -12590,14 +12664,18 @@ code {
12590
12664
  top: 0;
12591
12665
  inset-inline-end: 0;
12592
12666
  height: 100%;
12593
- z-index: 2;
12667
+ z-index: 3501;
12668
+ }
12669
+
12670
+ .pa-detail-view--overlay .pa-detail-view__panel--open {
12671
+ max-width: 100%;
12594
12672
  }
12595
12673
 
12596
12674
  .pa-detail-view__overlay {
12597
12675
  position: absolute;
12598
12676
  inset: 0;
12599
12677
  background-color: var(--pa-detail-panel-overlay-bg);
12600
- z-index: 1;
12678
+ z-index: 3500;
12601
12679
  opacity: 0;
12602
12680
  visibility: hidden;
12603
12681
  cursor: pointer;
@@ -13467,6 +13545,62 @@ html.font-size-xlarge {
13467
13545
  max-height: 50rem;
13468
13546
  }
13469
13547
 
13548
+ .h-full {
13549
+ height: 100%;
13550
+ }
13551
+
13552
+ .h-screen {
13553
+ height: 100vh;
13554
+ }
13555
+
13556
+ .min-h-full {
13557
+ min-height: 100%;
13558
+ }
13559
+
13560
+ .min-h-screen {
13561
+ min-height: 100vh;
13562
+ }
13563
+
13564
+ .max-h-full {
13565
+ max-height: 100%;
13566
+ }
13567
+
13568
+ .max-h-screen {
13569
+ max-height: 100vh;
13570
+ }
13571
+
13572
+ .flex-1 {
13573
+ flex: 1 1 0%;
13574
+ }
13575
+
13576
+ .flex-auto {
13577
+ flex: 1 1 auto;
13578
+ }
13579
+
13580
+ .flex-initial {
13581
+ flex: 0 1 auto;
13582
+ }
13583
+
13584
+ .flex-none {
13585
+ flex: none;
13586
+ }
13587
+
13588
+ .flex-grow {
13589
+ flex-grow: 1;
13590
+ }
13591
+
13592
+ .flex-grow-0 {
13593
+ flex-grow: 0;
13594
+ }
13595
+
13596
+ .flex-shrink {
13597
+ flex-shrink: 1;
13598
+ }
13599
+
13600
+ .flex-shrink-0 {
13601
+ flex-shrink: 0;
13602
+ }
13603
+
13470
13604
  .overflow-auto {
13471
13605
  overflow: auto;
13472
13606
  }
@@ -13502,6 +13636,10 @@ html.font-size-xlarge {
13502
13636
  overflow-x: overlay;
13503
13637
  }
13504
13638
 
13639
+ .pa-scroll-lock {
13640
+ overflow: hidden !important;
13641
+ }
13642
+
13505
13643
  .cursor-pointer {
13506
13644
  cursor: pointer;
13507
13645
  }
@@ -13587,14 +13725,6 @@ html.font-size-xlarge {
13587
13725
  text-align: end;
13588
13726
  }
13589
13727
 
13590
- .pa-text--left {
13591
- text-align: start;
13592
- }
13593
-
13594
- .pa-text--right {
13595
- text-align: end;
13596
- }
13597
-
13598
13728
  .pa-text--caption {
13599
13729
  font-size: 1.2rem;
13600
13730
  color: var(--pa-text-color-2);
@@ -14120,14 +14250,6 @@ html.font-size-xlarge {
14120
14250
  text-align: end;
14121
14251
  }
14122
14252
 
14123
- .text-left {
14124
- text-align: start;
14125
- }
14126
-
14127
- .text-right {
14128
- text-align: end;
14129
- }
14130
-
14131
14253
  /* Pure Admin Visual Framework - SCSS Variables Only */
14132
14254
  /* NOTE: 10px rem base - all rem values are now in 10px units (1rem = 10px) */
14133
14255
  .m-0 {
@@ -15460,18 +15582,10 @@ html.font-size-xlarge {
15460
15582
  flex-shrink: 1 !important;
15461
15583
  }
15462
15584
 
15463
- .text-left {
15464
- text-align: left !important;
15465
- }
15466
-
15467
15585
  .text-center {
15468
15586
  text-align: center !important;
15469
15587
  }
15470
15588
 
15471
- .text-right {
15472
- text-align: right !important;
15473
- }
15474
-
15475
15589
  .text-nowrap {
15476
15590
  white-space: nowrap !important;
15477
15591
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keenmate/pure-admin-theme-corporate",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "Corporate theme for Pure Admin",
5
5
  "style": "dist/corporate.css",
6
6
  "exports": {
@@ -23,6 +23,15 @@
23
23
  ],
24
24
  "author": "KeenMate",
25
25
  "license": "MIT",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/KeenMate/pure-admin.git",
29
+ "directory": "packages/theme-corporate"
30
+ },
31
+ "bugs": {
32
+ "url": "https://github.com/KeenMate/pure-admin/issues"
33
+ },
34
+ "homepage": "https://github.com/KeenMate/pure-admin#readme",
26
35
  "peerDependencies": {
27
36
  "@keenmate/pure-admin-core": "^1.0.0"
28
37
  },