@clayui/css 3.147.0 → 3.148.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 (36) hide show
  1. package/lib/css/atlas.css +71 -293
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +71 -276
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/cadmin.css +36 -276
  6. package/lib/css/cadmin.css.map +1 -1
  7. package/lib/images/icons/icons.svg +1 -1
  8. package/package.json +2 -2
  9. package/src/scss/_license-text.scss +1 -1
  10. package/src/scss/atlas/variables/_globals.scss +1 -0
  11. package/src/scss/atlas/variables/_pagination.scss +5 -1
  12. package/src/scss/cadmin/components/_form-validation.scss +4 -0
  13. package/src/scss/cadmin/components/_forms.scss +19 -0
  14. package/src/scss/cadmin/components/_pagination.scss +8 -6
  15. package/src/scss/cadmin/components/_slideout.scss +0 -12
  16. package/src/scss/cadmin/components/_utilities.scss +4 -0
  17. package/src/scss/cadmin/variables/_forms.scss +22 -0
  18. package/src/scss/cadmin/variables/_globals.scss +6 -5
  19. package/src/scss/cadmin/variables/_pagination.scss +2 -0
  20. package/src/scss/cadmin/variables/_sidebar.scss +2 -2
  21. package/src/scss/cadmin/variables/_slideout.scss +96 -30
  22. package/src/scss/cadmin/variables/_utilities.scss +11 -0
  23. package/src/scss/components/_form-validation.scss +4 -0
  24. package/src/scss/components/_forms.scss +16 -0
  25. package/src/scss/components/_pagination.scss +8 -6
  26. package/src/scss/components/_slideout.scss +3 -11
  27. package/src/scss/components/_utilities.scss +4 -0
  28. package/src/scss/mixins/_globals.scss +8 -0
  29. package/src/scss/mixins/_sidebar.scss +67 -0
  30. package/src/scss/mixins/_slideout.scss +16 -0
  31. package/src/scss/variables/_drilldown.scss +1 -1
  32. package/src/scss/variables/_forms.scss +22 -0
  33. package/src/scss/variables/_globals.scss +6 -5
  34. package/src/scss/variables/_pagination.scss +2 -0
  35. package/src/scss/variables/_slideout.scss +96 -30
  36. package/src/scss/variables/_utilities.scss +11 -0
package/lib/css/atlas.css CHANGED
@@ -1,6 +1,6 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Clay 3.147.0
3
+ * Clay 3.148.0
4
4
  *
5
5
  * SPDX-FileCopyrightText: © 2020 Liferay, Inc. <https://liferay.com>
6
6
  * SPDX-FileCopyrightText: © 2020 Contributors to the project Clay <https://github.com/liferay/clay/graphs/contributors>
@@ -7707,7 +7707,6 @@ input[type=button].btn-block {
7707
7707
  .drilldown-inner {
7708
7708
  display: flex;
7709
7709
  flex-grow: 1;
7710
- overflow: hidden;
7711
7710
  transition: height 0.25s ease;
7712
7711
  }
7713
7712
  @media (prefers-reduced-motion: reduce) {
@@ -7774,6 +7773,7 @@ input[type=button].btn-block {
7774
7773
  }
7775
7774
  .drilldown.dropdown-menu .drilldown-inner {
7776
7775
  min-height: 266px;
7776
+ overflow: hidden;
7777
7777
  }
7778
7778
  .drilldown.dropdown-menu .inline-scroller {
7779
7779
  max-height: none;
@@ -7910,10 +7910,21 @@ label {
7910
7910
  label[for] {
7911
7911
  cursor: pointer;
7912
7912
  }
7913
+ label + .form-feedback-group {
7914
+ margin-bottom: 0.75rem;
7915
+ }
7913
7916
  label + .form-text {
7914
7917
  margin-bottom: 0.25rem;
7915
7918
  margin-top: 0;
7916
7919
  }
7920
+ label .form-help-text {
7921
+ color: #9b92a5;
7922
+ display: inline;
7923
+ font-size: 0.875rem;
7924
+ font-weight: 400;
7925
+ margin-left: 0.5rem;
7926
+ margin-top: 0;
7927
+ }
7917
7928
  label .reference-mark {
7918
7929
  color: #b95000;
7919
7930
  font-size: 6px;
@@ -11483,6 +11494,13 @@ label.custom-control-label {
11483
11494
  width: 0.125rem;
11484
11495
  }
11485
11496
 
11497
+ .form-help-text {
11498
+ color: #6b6c7e;
11499
+ display: block;
11500
+ font-size: 0.875rem;
11501
+ margin-top: 0.25rem;
11502
+ }
11503
+
11486
11504
  .was-validated .form-control:valid,
11487
11505
  .was-validated .form-control.is-valid {
11488
11506
  background-color: #edf9f0;
@@ -19342,98 +19360,6 @@ label.custom-control-label {
19342
19360
  word-wrap: break-word;
19343
19361
  }
19344
19362
 
19345
- .pagination-sm .page-link {
19346
- font-size: 0.75rem;
19347
- height: 1.5rem;
19348
- line-height: 1;
19349
- padding-bottom: 0;
19350
- padding-right: 0.5rem;
19351
- padding-left: 0.5rem;
19352
- padding-top: 0;
19353
- }
19354
- .pagination-sm .page-link > .c-inner {
19355
- margin-bottom: 0;
19356
- margin-left: -0.5rem;
19357
- margin-right: -0.5rem;
19358
- margin-top: 0;
19359
- }
19360
- .pagination-sm .page-item:first-child .page-link,
19361
- .pagination-sm .page-link-first {
19362
- border-bottom-left-radius: 0.3125rem;
19363
- border-top-left-radius: 0.3125rem;
19364
- }
19365
- .pagination-sm .page-item:last-child .page-link,
19366
- .pagination-sm .page-link-last {
19367
- border-bottom-right-radius: 0.3125rem;
19368
- border-top-right-radius: 0.3125rem;
19369
- }
19370
- .pagination-sm .pagination-items-per-page {
19371
- border-radius: 0.3125rem;
19372
- }
19373
- .pagination-sm .pagination-items-per-page > a,
19374
- .pagination-sm .pagination-items-per-page > button {
19375
- font-size: 0.75rem;
19376
- height: 1.5rem;
19377
- line-height: 1;
19378
- padding-bottom: 0;
19379
- padding-left: 0.625rem;
19380
- padding-right: 0.625rem;
19381
- padding-top: 0;
19382
- }
19383
- .pagination-sm .pagination-items-per-page > a > .c-inner,
19384
- .pagination-sm .pagination-items-per-page > button > .c-inner {
19385
- margin-bottom: 0;
19386
- margin-left: -0.625rem;
19387
- margin-right: -0.625rem;
19388
- margin-top: 0;
19389
- }
19390
- .pagination-sm .pagination-items-per-page + .pagination-results {
19391
- font-size: 0.75rem;
19392
- line-height: 1;
19393
- padding: 0 0.625rem;
19394
- }
19395
-
19396
- .pagination-lg .page-link {
19397
- font-size: 1.125rem;
19398
- height: 2.75rem;
19399
- line-height: 1;
19400
- padding-bottom: 0;
19401
- padding-left: 1rem;
19402
- padding-right: 1rem;
19403
- padding-top: 0;
19404
- }
19405
- .pagination-lg .page-link > .c-inner {
19406
- margin-bottom: 0;
19407
- margin-left: -1rem;
19408
- margin-right: -1rem;
19409
- margin-top: 0;
19410
- }
19411
- .pagination-lg .page-item:first-child .page-link,
19412
- .pagination-lg .page-link-first {
19413
- border-bottom-left-radius: 0.3125rem;
19414
- border-top-left-radius: 0.3125rem;
19415
- }
19416
- .pagination-lg .page-item:last-child .page-link,
19417
- .pagination-lg .page-link-last {
19418
- border-bottom-right-radius: 0.3125rem;
19419
- border-top-right-radius: 0.3125rem;
19420
- }
19421
- .pagination-lg .pagination-items-per-page {
19422
- border-radius: 0.3125rem;
19423
- }
19424
- .pagination-lg .pagination-items-per-page > a,
19425
- .pagination-lg .pagination-items-per-page > button {
19426
- font-size: 1.125rem;
19427
- height: 2.75rem;
19428
- line-height: 1;
19429
- padding: 0 0.625rem;
19430
- }
19431
- .pagination-lg .pagination-items-per-page + .pagination-results {
19432
- font-size: 1.125rem;
19433
- line-height: 1;
19434
- padding: 0 0.625rem;
19435
- }
19436
-
19437
19363
  .panel {
19438
19364
  background-color: #fff;
19439
19365
  border-color: transparent;
@@ -20980,7 +20906,6 @@ a.sheet-subtitle.focus, a.sheet-subtitle:focus-visible, .c-prefers-focus a.sheet
20980
20906
 
20981
20907
  .sidebar-sm {
20982
20908
  font-size: 0.875rem;
20983
- font-size: 0.875rem;
20984
20909
  }
20985
20910
  .sidebar-light {
20986
20911
  background-color: #fff;
@@ -20988,11 +20913,6 @@ a.sheet-subtitle.focus, a.sheet-subtitle:focus-visible, .c-prefers-focus a.sheet
20988
20913
  border-left-width: 0px;
20989
20914
  color: #272833;
20990
20915
  box-shadow: -0.25rem 0 0.5rem -0.25rem rgba(0, 0, 0, 0.1);
20991
- background-color: #fff;
20992
- border-color: #e7e7ed;
20993
- border-left-width: 0px;
20994
- color: #272833;
20995
- box-shadow: -0.25rem 0 0.5rem -0.25rem rgba(0, 0, 0, 0.1);
20996
20916
  }
20997
20917
  .sidenav-start .sidebar-light,
20998
20918
  .sidenav-left .sidebar-light {
@@ -21095,82 +21015,10 @@ a.sheet-subtitle.focus, a.sheet-subtitle:focus-visible, .c-prefers-focus a.sheet
21095
21015
  .sidebar-light .component-navigation-bar .navbar-overlay {
21096
21016
  background-color: #fff;
21097
21017
  }
21098
- .sidebar-light .close {
21099
- color: #6b6c7e;
21100
- }
21101
- .sidebar-light .close:hover {
21102
- background-color: rgba(39, 40, 51, 0.03);
21103
- color: #272833;
21104
- }
21105
- .sidebar-light .close:active {
21106
- background-color: rgba(39, 40, 51, 0.06);
21107
- color: #272833;
21108
- }
21109
- .sidebar-light .close:disabled {
21110
- background-color: transparent;
21111
- box-shadow: none;
21112
- color: #6b6c7e;
21113
- cursor: not-allowed;
21114
- opacity: 0.4;
21115
- }
21116
- .sidebar-light .close:disabled:active {
21117
- pointer-events: none;
21118
- }
21119
- .sidebar-light .close:focus {
21120
- background-color: rgba(39, 40, 51, 0.03);
21121
- color: #272833;
21122
- }
21123
- .sidebar-light .sidebar-header {
21124
- background-color: inherit;
21125
- border: 0px solid #e7e7ed;
21126
- }
21127
- .sidebar-light .sidebar-footer {
21128
- background-color: inherit;
21129
- border: 0px solid #e7e7ed;
21130
- }
21131
- .sidebar-light .sidebar-dd .href {
21132
- color: #272833;
21133
- }
21134
- .sidebar-light .sidebar-panel {
21135
- background-color: #f1f2f5;
21136
- }
21137
- .sidebar-light .sidebar-list-group .list-group-title {
21138
- font-size: 1rem;
21139
- }
21140
- .sidebar-light .sidebar-list-group .list-group-title .href {
21141
- color: #272833;
21142
- }
21143
- .sidebar-light .component-navigation-bar {
21144
- background-color: #fff;
21145
- border-color: #cdced9;
21146
- }
21147
- .sidebar-light .component-navigation-bar .navbar-nav .nav-link {
21148
- color: #6b6c7e;
21149
- }
21150
- .sidebar-light .component-navigation-bar .navbar-nav .nav-link:hover {
21151
- color: #6b6c7e;
21152
- }
21153
- .sidebar-light .component-navigation-bar .navbar-nav .nav-link:active {
21154
- color: #272833;
21155
- }
21156
- .sidebar-light .component-navigation-bar .navbar-nav .nav-link:disabled {
21157
- color: #a7a9bc;
21158
- }
21159
- .sidebar-light .sidenav-start {
21160
- box-shadow: 0.25rem 0 0.5rem -0.25rem rgba(0, 0, 0, 0.1);
21161
- }
21162
- .sidebar-light .sidebar-dt {
21163
- color: #6b6c7e;
21164
- }
21165
- .sidebar-light .panel-unstyled .header .link:focus {
21166
- box-shadow: 0 0 0 0.25rem #fff, 0 0 0 0.375rem #5791ff;
21167
- }
21168
21018
 
21169
21019
  .sidebar-dark {
21170
21020
  background-color: #272833;
21171
21021
  color: #fff;
21172
- background-color: #272833;
21173
- color: #fff;
21174
21022
  }
21175
21023
  .sidebar-dark .close {
21176
21024
  color: #a7a9bc;
@@ -21231,62 +21079,9 @@ a.sheet-subtitle.focus, a.sheet-subtitle:focus-visible, .c-prefers-focus a.sheet
21231
21079
  .sidebar-dark .nav-nested .nav-link[aria-expanded=true], .sidebar-dark .nav-nested .nav-link.show {
21232
21080
  color: #fff;
21233
21081
  }
21234
- .sidebar-dark .sidebar-header .component-title {
21235
- color: inherit;
21236
- }
21237
- .sidebar-dark .sidebar-header .component-title .href {
21238
- color: inherit;
21239
- }
21240
- .sidebar-dark .sidebar-header .component-subtitle {
21241
- color: inherit;
21242
- }
21243
- .sidebar-dark .sidebar-header .component-subtitle .href {
21244
- color: inherit;
21245
- }
21246
- .sidebar-dark .close {
21247
- color: #a7a9bc;
21248
- }
21249
- .sidebar-dark .close:hover {
21250
- color: #fff;
21251
- }
21252
- .sidebar-dark .nav-nested .nav-link {
21253
- border-radius: 0.25rem;
21254
- color: #a7a9bc;
21255
- transition: box-shadow 0.15s ease-in-out;
21256
- }
21257
- @media (prefers-reduced-motion: reduce) {
21258
- .sidebar-dark .nav-nested .nav-link {
21259
- transition: none;
21260
- }
21261
- }
21262
- .c-prefers-reduced-motion .sidebar-dark .nav-nested .nav-link {
21263
- transition: none;
21264
- }
21265
-
21266
- .sidebar-dark .nav-nested .nav-link:hover {
21267
- color: #fff;
21268
- }
21269
- .sidebar-dark .nav-nested .nav-link:focus {
21270
- box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.25rem #5791ff;
21271
- outline: 0;
21272
- }
21273
- .sidebar-dark .nav-nested .nav-link:active {
21274
- color: #fff;
21275
- }
21276
- .sidebar-dark .nav-nested .nav-link:disabled {
21277
- box-shadow: none;
21278
- color: #a7a9bc;
21279
- opacity: 0.65;
21280
- }
21281
- .sidebar-dark .nav-nested .nav-link:disabled:active {
21282
- pointer-events: none;
21283
- }
21284
-
21285
21082
  .sidebar-dark-l2 {
21286
21083
  background-color: #393a4a;
21287
21084
  color: #fff;
21288
- background-color: #393a4a;
21289
- color: #fff;
21290
21085
  }
21291
21086
  .sidebar-dark-l2 .close {
21292
21087
  color: #a7a9bc;
@@ -21347,57 +21142,6 @@ a.sheet-subtitle.focus, a.sheet-subtitle:focus-visible, .c-prefers-focus a.sheet
21347
21142
  .sidebar-dark-l2 .nav-nested .nav-link[aria-expanded=true], .sidebar-dark-l2 .nav-nested .nav-link.show {
21348
21143
  color: #fff;
21349
21144
  }
21350
- .sidebar-dark-l2 .sidebar-header .component-title {
21351
- color: inherit;
21352
- }
21353
- .sidebar-dark-l2 .sidebar-header .component-title .href {
21354
- color: inherit;
21355
- }
21356
- .sidebar-dark-l2 .sidebar-header .component-subtitle {
21357
- color: inherit;
21358
- }
21359
- .sidebar-dark-l2 .sidebar-header .component-subtitle .href {
21360
- color: inherit;
21361
- }
21362
- .sidebar-dark-l2 .close {
21363
- color: #a7a9bc;
21364
- }
21365
- .sidebar-dark-l2 .close:hover {
21366
- color: #fff;
21367
- }
21368
- .sidebar-dark-l2 .nav-nested .nav-link {
21369
- border-radius: 0.25rem;
21370
- color: #a7a9bc;
21371
- transition: box-shadow 0.15s ease-in-out;
21372
- }
21373
- @media (prefers-reduced-motion: reduce) {
21374
- .sidebar-dark-l2 .nav-nested .nav-link {
21375
- transition: none;
21376
- }
21377
- }
21378
- .c-prefers-reduced-motion .sidebar-dark-l2 .nav-nested .nav-link {
21379
- transition: none;
21380
- }
21381
-
21382
- .sidebar-dark-l2 .nav-nested .nav-link:hover {
21383
- color: #fff;
21384
- }
21385
- .sidebar-dark-l2 .nav-nested .nav-link:focus {
21386
- box-shadow: 0 0 0 0.125rem #fff, 0 0 0 0.25rem #5791ff;
21387
- outline: 0;
21388
- }
21389
- .sidebar-dark-l2 .nav-nested .nav-link:active {
21390
- color: #fff;
21391
- }
21392
- .sidebar-dark-l2 .nav-nested .nav-link:disabled {
21393
- box-shadow: none;
21394
- color: #a7a9bc;
21395
- opacity: 0.65;
21396
- }
21397
- .sidebar-dark-l2 .nav-nested .nav-link:disabled:active {
21398
- pointer-events: none;
21399
- }
21400
-
21401
21145
  .c-slideout-start .sidebar-light {
21402
21146
  box-shadow: 0.25rem 0 0.5rem -0.25rem rgba(0, 0, 0, 0.1);
21403
21147
  }
@@ -21472,10 +21216,6 @@ a.sheet-subtitle.focus, a.sheet-subtitle:focus-visible, .c-prefers-focus a.sheet
21472
21216
  flex-shrink: 0;
21473
21217
  position: relative;
21474
21218
  width: 320px;
21475
- display: none;
21476
- flex-shrink: 0;
21477
- position: relative;
21478
- width: 320px;
21479
21219
  }
21480
21220
  .c-slideout .sidebar .sidebar-body {
21481
21221
  flex-grow: 1;
@@ -21484,12 +21224,15 @@ a.sheet-subtitle.focus, a.sheet-subtitle:focus-visible, .c-prefers-focus a.sheet
21484
21224
  .c-slideout .sidebar .sidebar-footer {
21485
21225
  border-top-width: 1px;
21486
21226
  }
21487
- .c-slideout .sidebar .sidebar-body {
21488
- flex-grow: 1;
21489
- overflow: visible;
21490
- }
21491
- .c-slideout .sidebar .sidebar-footer {
21492
- border-top-width: 1px;
21227
+ @supports (position: sticky) {
21228
+ @media (max-height: 700px) {
21229
+ .c-slideout .sidebar .sidebar-header.sticky-top {
21230
+ position: static;
21231
+ }
21232
+ .c-slideout .sidebar .sidebar-footer.sticky-bottom {
21233
+ position: static;
21234
+ }
21235
+ }
21493
21236
  }
21494
21237
  .c-slideout .sidebar.c-slideout-show {
21495
21238
  display: flex;
@@ -21519,7 +21262,41 @@ a.sheet-subtitle.focus, a.sheet-subtitle:focus-visible, .c-prefers-focus a.sheet
21519
21262
  @media (max-width: 767.98px) {
21520
21263
  .c-slideout .sidebar {
21521
21264
  width: 280px;
21522
- width: 280px;
21265
+ }
21266
+ }
21267
+
21268
+ .c-slideout-fluid.c-slideout-push-start {
21269
+ padding-left: 33vw;
21270
+ }
21271
+ .c-slideout-fluid.c-slideout-push-end {
21272
+ padding-right: 33vw;
21273
+ }
21274
+ .c-slideout-fluid .sidebar {
21275
+ max-width: 33vw;
21276
+ width: 33vw;
21277
+ }
21278
+ @media (max-width: 991.98px) {
21279
+ .c-slideout-fluid.c-slideout-push-start {
21280
+ padding-left: 50vw;
21281
+ }
21282
+ .c-slideout-fluid.c-slideout-push-end {
21283
+ padding-right: 50vw;
21284
+ }
21285
+ .c-slideout-fluid .sidebar {
21286
+ max-width: 50vw;
21287
+ width: 50vw;
21288
+ }
21289
+ }
21290
+ @media (max-width: 767.98px) {
21291
+ .c-slideout-fluid.c-slideout-push-start {
21292
+ padding-left: 0;
21293
+ }
21294
+ .c-slideout-fluid.c-slideout-push-end {
21295
+ padding-right: 0;
21296
+ }
21297
+ .c-slideout-fluid .sidebar {
21298
+ max-width: none;
21299
+ width: 100vw;
21523
21300
  }
21524
21301
  }
21525
21302
 
@@ -21534,8 +21311,6 @@ a.sheet-subtitle.focus, a.sheet-subtitle:focus-visible, .c-prefers-focus a.sheet
21534
21311
  .c-slideout-start .sidebar {
21535
21312
  left: -360px;
21536
21313
  width: 320px;
21537
- left: -360px;
21538
- width: 320px;
21539
21314
  }
21540
21315
  .c-slideout-start .sidebar.c-slideout-show {
21541
21316
  left: 0;
@@ -21553,8 +21328,6 @@ a.sheet-subtitle.focus, a.sheet-subtitle:focus-visible, .c-prefers-focus a.sheet
21553
21328
  .c-slideout-start .sidebar {
21554
21329
  left: -320px;
21555
21330
  width: 280px;
21556
- left: -320px;
21557
- width: 280px;
21558
21331
  }
21559
21332
  .c-slideout-start .tbar-stacked {
21560
21333
  left: -40px;
@@ -21571,7 +21344,6 @@ a.sheet-subtitle.focus, a.sheet-subtitle:focus-visible, .c-prefers-focus a.sheet
21571
21344
  }
21572
21345
  .c-slideout-end .sidebar {
21573
21346
  right: -360px;
21574
- right: -360px;
21575
21347
  }
21576
21348
  .c-slideout-end .sidebar.c-slideout-show {
21577
21349
  right: 0;
@@ -21592,7 +21364,6 @@ a.sheet-subtitle.focus, a.sheet-subtitle:focus-visible, .c-prefers-focus a.sheet
21592
21364
  }
21593
21365
  .c-slideout-end .sidebar {
21594
21366
  right: -320px;
21595
- right: -320px;
21596
21367
  }
21597
21368
  .c-slideout-end .tbar-stacked {
21598
21369
  right: -40px;
@@ -24694,6 +24465,13 @@ td.table-focus {
24694
24465
  outline: 0;
24695
24466
  }
24696
24467
 
24468
+ .c-focus-trap {
24469
+ background: inherit;
24470
+ color: inherit;
24471
+ display: contents;
24472
+ font: inherit;
24473
+ }
24474
+
24697
24475
  .autofit-row {
24698
24476
  display: flex;
24699
24477
  flex-wrap: nowrap;