@clayui/css 3.130.0 → 3.132.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.
package/lib/css/base.css CHANGED
@@ -1,6 +1,6 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
- * Clay 3.130.0
3
+ * Clay 3.132.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>
@@ -3553,6 +3553,7 @@ input[type=button].btn-block {
3553
3553
  }
3554
3554
 
3555
3555
  .card-page {
3556
+ container-type: inline-size;
3556
3557
  display: flex;
3557
3558
  flex-wrap: wrap;
3558
3559
  list-style: none;
@@ -4483,6 +4484,11 @@ input[type=button].btn-block {
4483
4484
  border-color: transparent;
4484
4485
  color: #ed99a1;
4485
4486
  }
4487
+ .breadcrumb-bar {
4488
+ align-items: center;
4489
+ display: flex;
4490
+ }
4491
+
4486
4492
  .breadcrumb {
4487
4493
  background-color: #e9ecef;
4488
4494
  border-radius: 0.25rem;
@@ -6287,6 +6293,10 @@ input[type=button].btn-block {
6287
6293
  transform: none;
6288
6294
  }
6289
6295
 
6296
+ .card-page {
6297
+ container-name: c-card-page;
6298
+ container-type: inline-size;
6299
+ }
6290
6300
  .card-page.card-page-equal-height .card-page-item,
6291
6301
  .card-page.card-page-equal-height .card-page-item-asset,
6292
6302
  .card-page.card-page-equal-height .card-page-item-directory {
@@ -6309,101 +6319,92 @@ input[type=button].btn-block {
6309
6319
  }
6310
6320
 
6311
6321
  .card-page-item-directory {
6312
- display: block;
6313
- flex-grow: 1;
6314
- min-width: 193px;
6322
+ flex-basis: 100%;
6323
+ max-width: 100%;
6315
6324
  padding-left: 15px;
6316
6325
  padding-right: 15px;
6317
- position: relative;
6318
- width: 100%;
6319
6326
  }
6320
- @media (min-width: 0) {
6321
- .card-page-item-directory {
6322
- min-width: 193px;
6323
- padding-left: 15px;
6324
- padding-right: 15px;
6325
- }
6326
- }
6327
- @media (min-width: 576px) {
6327
+ @container c-card-page (min-width: 540px) {
6328
6328
  .card-page-item-directory {
6329
6329
  flex-basis: 50%;
6330
6330
  max-width: 50%;
6331
6331
  }
6332
6332
  }
6333
- @media (min-width: 768px) {
6333
+ @container c-card-page (min-width: 720px) {
6334
6334
  .card-page-item-directory {
6335
- flex-basis: 33.3333%;
6336
- max-width: 33.3333%;
6335
+ flex-basis: 33.33333%;
6336
+ max-width: 33.33333%;
6337
6337
  }
6338
6338
  }
6339
- @media (min-width: 992px) {
6339
+ @container c-card-page (min-width: 960px) {
6340
6340
  .card-page-item-directory {
6341
6341
  flex-basis: 25%;
6342
6342
  max-width: 25%;
6343
6343
  }
6344
6344
  }
6345
+ @container c-card-page (min-width: 1140px) {
6346
+ .card-page-item-directory {
6347
+ flex-basis: 20%;
6348
+ max-width: 20%;
6349
+ }
6350
+ }
6345
6351
 
6346
6352
  .card-page-item-asset {
6347
- display: block;
6348
- flex-grow: 1;
6349
- min-width: 193px;
6353
+ flex-basis: 100%;
6354
+ max-width: 100%;
6350
6355
  padding-left: 15px;
6351
6356
  padding-right: 15px;
6352
- position: relative;
6353
- width: 100%;
6354
6357
  }
6355
- @media (min-width: 0) {
6356
- .card-page-item-asset {
6357
- min-width: 193px;
6358
- padding-left: 15px;
6359
- padding-right: 15px;
6360
- }
6361
- }
6362
- @media (min-width: 576px) {
6358
+ @container c-card-page (min-width: 540px) {
6363
6359
  .card-page-item-asset {
6364
6360
  flex-basis: 50%;
6365
6361
  max-width: 50%;
6366
6362
  }
6367
6363
  }
6368
- @media (min-width: 768px) {
6364
+ @container c-card-page (min-width: 720px) {
6369
6365
  .card-page-item-asset {
6370
- flex-basis: 33.3333%;
6371
- max-width: 33.3333%;
6366
+ flex-basis: 33.33333%;
6367
+ max-width: 33.33333%;
6372
6368
  }
6373
6369
  }
6374
- @media (min-width: 992px) {
6370
+ @container c-card-page (min-width: 960px) {
6375
6371
  .card-page-item-asset {
6376
6372
  flex-basis: 25%;
6377
6373
  max-width: 25%;
6378
6374
  }
6379
6375
  }
6376
+ @container c-card-page (min-width: 1140px) {
6377
+ .card-page-item-asset {
6378
+ flex-basis: 20%;
6379
+ max-width: 20%;
6380
+ }
6381
+ }
6380
6382
 
6381
6383
  .card-page-item-user {
6382
- display: block;
6383
- flex-basis: 50%;
6384
- flex-grow: 1;
6385
- max-width: 50%;
6384
+ flex-basis: 100%;
6385
+ max-width: 100%;
6386
6386
  padding-left: 15px;
6387
6387
  padding-right: 15px;
6388
- position: relative;
6389
- width: 100%;
6390
6388
  }
6391
- @media (min-width: 0) {
6389
+ @container c-card-page (min-width: 540px) {
6392
6390
  .card-page-item-user {
6393
6391
  flex-basis: 50%;
6394
6392
  max-width: 50%;
6395
- padding-left: 15px;
6396
- padding-right: 15px;
6397
6393
  }
6398
6394
  }
6399
- @media (min-width: 576px) {
6395
+ @container c-card-page (min-width: 720px) {
6400
6396
  .card-page-item-user {
6401
6397
  flex-basis: 33.33333%;
6402
6398
  max-width: 33.33333%;
6403
- min-width: 200px;
6404
6399
  }
6405
6400
  }
6406
- @media (min-width: 992px) {
6401
+ @container c-card-page (min-width: 960px) {
6402
+ .card-page-item-user {
6403
+ flex-basis: 25%;
6404
+ max-width: 25%;
6405
+ }
6406
+ }
6407
+ @container c-card-page (min-width: 1140px) {
6407
6408
  .card-page-item-user {
6408
6409
  flex-basis: 20%;
6409
6410
  max-width: 20%;
@@ -31625,19 +31626,69 @@ a.text-dark:hover, a.text-dark:focus {
31625
31626
  scroll-behavior: auto;
31626
31627
  transition: none;
31627
31628
  }
31629
+ .c-prefers-reduced-motion .loading-animation-squares {
31630
+ display: block;
31631
+ height: 1em;
31632
+ margin-left: auto;
31633
+ margin-right: auto;
31634
+ overflow: hidden;
31635
+ position: relative;
31636
+ text-align: left;
31637
+ vertical-align: middle;
31638
+ width: 1em;
31639
+ }
31628
31640
  .c-prefers-reduced-motion .loading-animation-squares::before {
31641
+ animation: loading-animation-circle 1s linear infinite;
31629
31642
  background-color: transparent;
31643
+ border-radius: 50%;
31644
+ box-shadow: -0.03125em -0.375em 0 0 currentColor;
31645
+ content: "";
31630
31646
  display: block;
31631
31647
  font-size: inherit;
31648
+ height: 0.25em;
31649
+ left: 50%;
31650
+ margin-left: -0.125em;
31651
+ margin-top: -0.125em;
31632
31652
  opacity: inherit;
31653
+ position: absolute;
31654
+ top: 50%;
31633
31655
  transform: none;
31656
+ width: 0.25em;
31634
31657
  }
31658
+ @media (prefers-reduced-motion: reduce) {
31659
+ .c-prefers-reduced-motion .loading-animation-squares::before {
31660
+ animation: none;
31661
+ }
31662
+ }
31663
+ .c-prefers-reduced-motion .c-prefers-reduced-motion .loading-animation-squares::before {
31664
+ animation: none;
31665
+ }
31666
+
31635
31667
  .c-prefers-reduced-motion .loading-animation-squares::after {
31668
+ animation: loading-animation-circle 1s linear infinite;
31669
+ background-color: currentColor;
31670
+ border-radius: 50%;
31671
+ content: "";
31672
+ display: block;
31636
31673
  font-size: inherit;
31674
+ height: 1em;
31637
31675
  left: auto;
31676
+ -webkit-mask: conic-gradient(transparent 10%, #000), linear-gradient(#000 0 0) content-box;
31677
+ -webkit-mask-composite: source-out;
31678
+ mask-composite: subtract;
31679
+ padding: 0.25em;
31638
31680
  position: relative;
31639
31681
  top: auto;
31640
31682
  transform: none;
31683
+ width: 1em;
31684
+ }
31685
+ @media (prefers-reduced-motion: reduce) {
31686
+ .c-prefers-reduced-motion .loading-animation-squares::after {
31687
+ animation: none;
31688
+ }
31689
+ }
31690
+ .c-prefers-reduced-motion .c-prefers-reduced-motion .loading-animation-squares::after {
31691
+ animation: none;
31641
31692
  }
31642
31693
 
31643
31694
  @keyframes loading-animation-circle {
@@ -31645,7 +31696,7 @@ a.text-dark:hover, a.text-dark:focus {
31645
31696
  transform: rotate(360deg);
31646
31697
  }
31647
31698
  }
31648
- .loading-animation, .c-prefers-reduced-motion .loading-animation-squares {
31699
+ .loading-animation {
31649
31700
  display: block;
31650
31701
  height: 1em;
31651
31702
  margin-left: auto;
@@ -31656,7 +31707,7 @@ a.text-dark:hover, a.text-dark:focus {
31656
31707
  vertical-align: middle;
31657
31708
  width: 1em;
31658
31709
  }
31659
- .loading-animation::before, .c-prefers-reduced-motion .loading-animation-squares::before {
31710
+ .loading-animation::before {
31660
31711
  animation: loading-animation-circle 1s linear infinite;
31661
31712
  border-radius: 50%;
31662
31713
  box-shadow: -0.03125em -0.375em 0 0 currentColor;
@@ -31670,15 +31721,15 @@ a.text-dark:hover, a.text-dark:focus {
31670
31721
  width: 0.25em;
31671
31722
  }
31672
31723
  @media (prefers-reduced-motion: reduce) {
31673
- .loading-animation::before, .c-prefers-reduced-motion .loading-animation-squares::before {
31724
+ .loading-animation::before {
31674
31725
  animation: none;
31675
31726
  }
31676
31727
  }
31677
- .c-prefers-reduced-motion .loading-animation::before, .c-prefers-reduced-motion .loading-animation-squares::before {
31728
+ .c-prefers-reduced-motion .loading-animation::before {
31678
31729
  animation: none;
31679
31730
  }
31680
31731
 
31681
- .loading-animation::after, .c-prefers-reduced-motion .loading-animation-squares::after {
31732
+ .loading-animation::after {
31682
31733
  animation: loading-animation-circle 1s linear infinite;
31683
31734
  background-color: currentColor;
31684
31735
  border-radius: 50%;
@@ -31692,11 +31743,11 @@ a.text-dark:hover, a.text-dark:focus {
31692
31743
  width: 1em;
31693
31744
  }
31694
31745
  @media (prefers-reduced-motion: reduce) {
31695
- .loading-animation::after, .c-prefers-reduced-motion .loading-animation-squares::after {
31746
+ .loading-animation::after {
31696
31747
  animation: none;
31697
31748
  }
31698
31749
  }
31699
- .c-prefers-reduced-motion .loading-animation::after, .c-prefers-reduced-motion .loading-animation-squares::after {
31750
+ .c-prefers-reduced-motion .loading-animation::after {
31700
31751
  animation: none;
31701
31752
  }
31702
31753
 
@@ -31810,6 +31861,78 @@ a.text-dark:hover, a.text-dark:focus {
31810
31861
  animation: none;
31811
31862
  }
31812
31863
 
31864
+ @media (prefers-reduced-motion: reduce) {
31865
+ .loading-animation-squares {
31866
+ display: block;
31867
+ height: 1em;
31868
+ margin-left: auto;
31869
+ margin-right: auto;
31870
+ overflow: hidden;
31871
+ position: relative;
31872
+ text-align: left;
31873
+ vertical-align: middle;
31874
+ width: 1em;
31875
+ }
31876
+ .loading-animation-squares::before {
31877
+ animation: loading-animation-circle 1s linear infinite;
31878
+ background-color: transparent;
31879
+ border-radius: 50%;
31880
+ box-shadow: -0.03125em -0.375em 0 0 currentColor;
31881
+ content: "";
31882
+ display: block;
31883
+ font-size: inherit;
31884
+ height: 0.25em;
31885
+ left: 50%;
31886
+ margin-left: -0.125em;
31887
+ margin-top: -0.125em;
31888
+ opacity: inherit;
31889
+ position: absolute;
31890
+ top: 50%;
31891
+ transform: none;
31892
+ width: 0.25em;
31893
+ }
31894
+ }
31895
+ @media (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
31896
+ .loading-animation-squares::before {
31897
+ animation: none;
31898
+ }
31899
+ }
31900
+ @media (prefers-reduced-motion: reduce) {
31901
+ .c-prefers-reduced-motion .loading-animation-squares::before {
31902
+ animation: none;
31903
+ }
31904
+ }
31905
+ @media (prefers-reduced-motion: reduce) {
31906
+ .loading-animation-squares::after {
31907
+ animation: loading-animation-circle 1s linear infinite;
31908
+ background-color: currentColor;
31909
+ border-radius: 50%;
31910
+ content: "";
31911
+ display: block;
31912
+ font-size: inherit;
31913
+ height: 1em;
31914
+ left: auto;
31915
+ -webkit-mask: conic-gradient(transparent 10%, #000), linear-gradient(#000 0 0) content-box;
31916
+ -webkit-mask-composite: source-out;
31917
+ mask-composite: subtract;
31918
+ padding: 0.25em;
31919
+ position: relative;
31920
+ top: auto;
31921
+ transform: none;
31922
+ width: 1em;
31923
+ }
31924
+ }
31925
+ @media (prefers-reduced-motion: reduce) and (prefers-reduced-motion: reduce) {
31926
+ .loading-animation-squares::after {
31927
+ animation: none;
31928
+ }
31929
+ }
31930
+ @media (prefers-reduced-motion: reduce) {
31931
+ .c-prefers-reduced-motion .loading-animation-squares::after {
31932
+ animation: none;
31933
+ }
31934
+ }
31935
+
31813
31936
  .loading-animation-xs {
31814
31937
  font-size: 0.625rem;
31815
31938
  }