@wavemaker/foundation-css 12.0.0-next.45062 → 12.0.0-next.45064

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.
@@ -849,6 +849,28 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
849
849
  --wm-message-container-loading-background: var(--wm-color-primary);
850
850
  --wm-message-container-loading-color: var(--wm-color-on-primary);
851
851
  --wm-message-container-loading-border-color: var(--wm-color-primary);
852
+ --wm-modal-backdrop-opacity: 50%;
853
+ --wm-modal-backdrop-background: color-mix(in srgb, var(--wm-color-scrim), transparent calc(100% - var(--wm-modal-backdrop-opacity)));
854
+ --wm-modal-backdrop-z-index: 999;
855
+ --wm-modal-z-index: 1000;
856
+ --wm-modal-width: 600px;
857
+ --wm-modal-xs-width: 440px;
858
+ --wm-modal-sm-width: 600px;
859
+ --wm-modal-md-width: 900px;
860
+ --wm-modal-lg-width: 1200px;
861
+ --wm-modal-xl-width: 1536px;
862
+ --wm-modal-background: var(--wm-color-surface-container-high);
863
+ --wm-modal-radius: var(--wm-radius-lg);
864
+ --wm-modal-header-padding: var(--wm-space-6) var(--wm-space-6) var(--wm-space-4);
865
+ --wm-modal-title-gap: var(--wm-space-1);
866
+ --wm-modal-title-font-size: var(--wm-h3-font-size);
867
+ --wm-modal-title-font-family: var(--wm-h3-font-family);
868
+ --wm-modal-title-font-weight: var(--wm-h3-font-weight);
869
+ --wm-modal-title-line-height: var(--wm-h3-line-height);
870
+ --wm-modal-title-letter-spacing: var(--wm-h3-letter-spacing);
871
+ --wm-modal-body-padding: var(--wm-space-6) var(--wm-space-6);
872
+ --wm-modal-footer-padding: var(--wm-space-6) var(--wm-space-6);
873
+ --wm-modal-footer-gap: var(--wm-space-3);
852
874
  /*--Nav--*/
853
875
  --wm-nav-min-height: var(--wm-nav-item-min-height);
854
876
  --wm-nav-background: var(--wm-color-surface-container-low);
@@ -913,7 +935,7 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
913
935
  --wm-top-nav-box-shadow: none;
914
936
  --wm-top-nav-z-index: 3;
915
937
  /*--app left panel/nav--*/
916
- --wm-aside-panel-width: 260px;
938
+ --wm-aside-panel-width: 220px;
917
939
  --wm-aside-panel-background: var(--wm-color-surface-container-low);
918
940
  --wm-aside-panel-color: var(--wm-color-on-surface-variant);
919
941
  --wm-aside-panel-padding-top: var(--wm-space-3);
@@ -9581,7 +9603,6 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
9581
9603
  user-select: none;
9582
9604
  touch-action: manipulation;
9583
9605
  }
9584
- .wm-app .close,
9585
9606
  .wm-app .note-popover .note-popover-content .note-color-palette,
9586
9607
  .wm-app .note-toolbar .note-color-palette {
9587
9608
  line-height: 1;
@@ -9653,26 +9674,6 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
9653
9674
  .wm-app input[type="button"].note-btn-block {
9654
9675
  width: 100%;
9655
9676
  }
9656
- .wm-app button.close {
9657
- padding: 0;
9658
- cursor: pointer;
9659
- background: 0 0;
9660
- border: 0;
9661
- -webkit-appearance: none;
9662
- }
9663
- .wm-app .close {
9664
- font-size: 21px;
9665
- color: #000;
9666
- opacity: 0.2;
9667
- }
9668
- .wm-app .close:hover {
9669
- -webkit-opacity: 1;
9670
- -khtml-opacity: 1;
9671
- -moz-opacity: 1;
9672
- opacity: 1;
9673
- -ms-filter: alpha(opacity=100);
9674
- filter: alpha(opacity=100);
9675
- }
9676
9677
  .wm-app .note-dropdown-menu {
9677
9678
  position: absolute;
9678
9679
  top: 100%;
@@ -11331,107 +11332,6 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
11331
11332
  cursor: not-allowed;
11332
11333
  z-index: 1;
11333
11334
  }
11334
- .wm-app .dialog-view {
11335
- width: 100%;
11336
- height: 100%;
11337
- position: absolute !important;
11338
- top: 0;
11339
- right: 0;
11340
- z-index: 100;
11341
- }
11342
- .wm-app .app-dialog,
11343
- .wm-app .app-dialog-body,
11344
- .wm-app .app-dialog-footer,
11345
- .wm-app .app-dialog-header {
11346
- position: relative;
11347
- }
11348
- .wm-app .app-dialog-header .wm-icon24 {
11349
- top: 5px;
11350
- }
11351
- .wm-app .app-dialog-header .wms-delete-datamodel {
11352
- top: 0;
11353
- }
11354
- .wm-app .app-dialog-header .app-dialog-title .wi {
11355
- vertical-align: baseline;
11356
- }
11357
- .wm-app .app-dialog-header .app-dialog-title .dialog-heading:before {
11358
- content: " ";
11359
- }
11360
- .wm-app .app-dialog-body {
11361
- min-height: 100px;
11362
- overflow: auto;
11363
- }
11364
- .wm-app .app-dialog-body.noscroll {
11365
- overflow: inherit;
11366
- }
11367
- .wm-app .app-dialog-body .app-content-column {
11368
- padding: 0;
11369
- }
11370
- .wm-app .app-page-dialog .app-dialog-body .app-form {
11371
- border-color: transparent;
11372
- }
11373
- .wm-app .app-alert-dialog .app-dialog-message.text-error {
11374
- color: #af4565;
11375
- }
11376
- .wm-app .app-alert-dialog .app-dialog-message.text-information {
11377
- color: #479ed6;
11378
- }
11379
- .wm-app .app-alert-dialog .app-dialog-message.text-success {
11380
- color: #6a8969;
11381
- }
11382
- .wm-app .app-alert-dialog .app-dialog-message.text-warning {
11383
- color: #caad16;
11384
- }
11385
- .wm-app .app-confirm-dialog .app-dialog-title .sl-check {
11386
- font-size: 0.8em;
11387
- }
11388
- .wm-app .app-confirm-dialog .app-dialog-message.warning {
11389
- color: red;
11390
- opacity: 0.8;
11391
- }
11392
- .wm-app .app-iframe-dialog .app-dialog-body.modal-body {
11393
- padding: 0;
11394
- }
11395
- .wm-app .app-iframe-dialog .app-dialog-body.modal-body .app-iframe iframe {
11396
- height: 100%;
11397
- width: 100%;
11398
- border: 0;
11399
- }
11400
- .wm-app .app-login-dialog .app-dialog-body .app-login-dialog-message {
11401
- padding: 8px;
11402
- margin-bottom: 8px;
11403
- }
11404
- .wm-app .app-login-dialog .app-dialog-body .app-form {
11405
- box-shadow: none;
11406
- }
11407
- .wm-app .app-login-dialog .app-dialog-body .app-form .panel-body {
11408
- padding: 0;
11409
- }
11410
- .wm-app .app-dialog .app-dialog-form {
11411
- box-shadow: none;
11412
- border-color: transparent;
11413
- }
11414
- .wm-app .app-dialog .app-dialog-form .panel-body {
11415
- padding: 0;
11416
- }
11417
- .wm-app .app-dialog .app-form {
11418
- box-shadow: none !important;
11419
- border-color: transparent;
11420
- margin-bottom: 0;
11421
- }
11422
- .wm-app body.modal-open {
11423
- margin-right: 0;
11424
- overflow: hidden;
11425
- }
11426
- .wm-app body.modal-open .modal {
11427
- overflow: auto;
11428
- will-change: transform;
11429
- }
11430
- .wm-app .modal-backdrop {
11431
- height: 100%;
11432
- bottom: 0;
11433
- position: fixed !important;
11434
- }
11435
11335
  .wm-app .app-prefab {
11436
11336
  min-height: 1em;
11437
11337
  position: relative;
@@ -13162,7 +13062,7 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
13162
13062
  height: auto;
13163
13063
  }
13164
13064
  .wm-app .app-view {
13165
- position: absolute;
13065
+ position: relative;
13166
13066
  min-height: 100%;
13167
13067
  height: inherit;
13168
13068
  top: 0;
@@ -13171,6 +13071,8 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
13171
13071
  }
13172
13072
  .wm-app .app-view .app-dialog {
13173
13073
  z-index: 1000;
13074
+ position: relative;
13075
+ margin: 0;
13174
13076
  }
13175
13077
  .wm-app .app-view .app-dialog.app-page-dialog .app-dialog-body {
13176
13078
  padding: 0;
@@ -14157,8 +14059,13 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
14157
14059
  --wm-btn-color: var(--wm-btn-background);
14158
14060
  background: none !important;
14159
14061
  border: none !important;
14062
+ --wm-btn-padding: var(--wm-space-2) var(--wm-space-3);
14160
14063
  --wm-btn-state-layer-color: var(--wm-btn-background);
14161
14064
  }
14065
+ .wm-app .btn-text .app-icon,
14066
+ .wm-app button-text .app-icon {
14067
+ margin: 0;
14068
+ }
14162
14069
  .wm-app .btn-elevated,
14163
14070
  .wm-app button-elevated {
14164
14071
  box-shadow: var(--wm-btn-elevated);
@@ -15849,6 +15756,98 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
15849
15756
  --wm-message-container-background: var(--wm-message-container-loading-background);
15850
15757
  --wm-message-container-border-color: var(--wm-message-container-loading-border-color);
15851
15758
  }
15759
+ .wm-app .modal-backdrop {
15760
+ position: fixed;
15761
+ inset: 0;
15762
+ width: 100%;
15763
+ height: 100%;
15764
+ z-index: var(--wm-modal-backdrop-z-index);
15765
+ background: var(--wm-modal-backdrop-background);
15766
+ opacity: 0;
15767
+ }
15768
+ .wm-app .modal {
15769
+ position: fixed;
15770
+ inset: 0;
15771
+ z-index: var(--wm-modal-z-index);
15772
+ display: none;
15773
+ }
15774
+ .wm-app .modal.fade {
15775
+ opacity: 0;
15776
+ -webkit-transition: opacity 0.15s linear;
15777
+ -o-transition: opacity 0.15s linear;
15778
+ transition: opacity 0.15s linear;
15779
+ }
15780
+ .wm-app .modal.fade.in {
15781
+ opacity: 1;
15782
+ display: flex !important;
15783
+ }
15784
+ .wm-app .modal-dialog {
15785
+ display: flex;
15786
+ justify-content: center;
15787
+ align-items: center;
15788
+ position: fixed;
15789
+ inset: 0;
15790
+ width: 100%;
15791
+ height: 100%;
15792
+ background: var(--wm-modal-backdrop-background);
15793
+ padding: var(--wm-space-6);
15794
+ margin: var(--wm-space-0);
15795
+ }
15796
+ .wm-app .modal-content {
15797
+ display: flex;
15798
+ flex-direction: column;
15799
+ width: var(--wm-modal-width);
15800
+ max-width: 100%;
15801
+ max-height: 100%;
15802
+ background: var(--wm-modal-background);
15803
+ border-radius: var(--wm-modal-radius);
15804
+ }
15805
+ .wm-app .modal-content .modal-header {
15806
+ padding: var(--wm-modal-header-padding);
15807
+ }
15808
+ .wm-app .modal-content .modal-header .app-dialog-close {
15809
+ position: absolute;
15810
+ right: 0;
15811
+ top: 0;
15812
+ }
15813
+ .wm-app .modal-content .modal-header .modal-title {
15814
+ width: 100%;
15815
+ display: flex;
15816
+ align-items: center;
15817
+ flex-wrap: wrap;
15818
+ gap: var(--wm-modal-title-gap);
15819
+ word-break: break-word;
15820
+ }
15821
+ .wm-app .modal-content .modal-header .modal-title:has(>.app-icon) {
15822
+ flex-direction: column;
15823
+ --wm-modal-title-gap: var(--wm-space-4);
15824
+ }
15825
+ .wm-app .modal-content .modal-header + .modal-body {
15826
+ padding-top: var(--wm-space-0);
15827
+ }
15828
+ .wm-app .modal-content .modal-body {
15829
+ height: 100%;
15830
+ overflow: auto;
15831
+ padding: var(--wm-modal-body-padding);
15832
+ }
15833
+ .wm-app .modal-content .modal-body > .app-grid-layout {
15834
+ padding: 0;
15835
+ margin: 0 calc(var(--wm-grid-layout-column-padding) * -1);
15836
+ width: calc(100% + calc(var(--wm-grid-layout-column-padding) * 2));
15837
+ }
15838
+ .wm-app .modal-content .modal-body:has( + .modal-footer:not([hidden])) {
15839
+ padding-bottom: var(--wm-space-0);
15840
+ }
15841
+ .wm-app .modal-content .modal-footer {
15842
+ padding: var(--wm-modal-footer-padding);
15843
+ display: flex;
15844
+ flex-direction: row;
15845
+ justify-content: flex-end;
15846
+ gap: var(--wm-modal-footer-gap);
15847
+ }
15848
+ .wm-app .modal-content .modal-footer .btn {
15849
+ margin: 0;
15850
+ }
15852
15851
  .wm-app .app-navbar {
15853
15852
  position: relative;
15854
15853
  border: none;
@@ -15860,12 +15859,14 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
15860
15859
  .wm-app .app-navbar > .container-fluid {
15861
15860
  display: flex;
15862
15861
  width: 100%;
15862
+ padding: 0;
15863
15863
  }
15864
15864
  .wm-app .app-navbar > .container-fluid > .navbar-collapse {
15865
15865
  width: 100%;
15866
- display: flex;
15866
+ display: flex !important;
15867
15867
  justify-content: space-between;
15868
15868
  flex-wrap: wrap;
15869
+ padding: 0;
15869
15870
  }
15870
15871
  .wm-app .app-navbar > .container-fluid > .navbar-collapse > .app-nav {
15871
15872
  display: flex;
@@ -15875,6 +15876,10 @@ ex: color-mix(in srgb, color1 50%, color2 30%)
15875
15876
  .wm-app .app-navbar > .container-fluid > .navbar-collapse > .app-nav + .app-nav {
15876
15877
  justify-content: flex-end;
15877
15878
  }
15879
+ .wm-app .app-navbar > .container-fluid > .navbar-collapse > .app-nav::before,
15880
+ .wm-app .app-navbar > .container-fluid > .navbar-collapse > .app-nav::after {
15881
+ display: none;
15882
+ }
15878
15883
  @media (min-width: 768px) {
15879
15884
  .wm-app .app-navbar > .container-fluid > .navbar-header {
15880
15885
  display: none;