@clayui/css 3.70.1 → 3.74.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.70.1
3
+ * Clay 3.74.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>
@@ -1211,6 +1211,10 @@ button.collapse-icon .c-inner {
1211
1211
  margin-right: -0.75rem;
1212
1212
  margin-top: -0.375rem;
1213
1213
  }
1214
+ .btn .inline-item {
1215
+ line-height: 1;
1216
+ margin-top: -3px;
1217
+ }
1214
1218
  .btn .inline-item .lexicon-icon {
1215
1219
  margin-top: 0;
1216
1220
  }
@@ -1231,6 +1235,32 @@ fieldset:disabled a.btn:active {
1231
1235
  pointer-events: none;
1232
1236
  }
1233
1237
 
1238
+ .btn-xs {
1239
+ font-size: 0.75rem;
1240
+ padding-bottom: 0.125rem;
1241
+ padding-left: 0.5rem;
1242
+ padding-right: 0.5rem;
1243
+ padding-top: 0.125rem;
1244
+ }
1245
+ .btn-xs .c-inner {
1246
+ margin-bottom: -0.125rem;
1247
+ margin-left: -0.5rem;
1248
+ margin-right: -0.5rem;
1249
+ margin-top: -0.125rem;
1250
+ }
1251
+ .btn-xs .inline-item {
1252
+ font-size: inherit;
1253
+ margin-top: -3px;
1254
+ }
1255
+ .btn-xs .inline-item-before {
1256
+ margin-right: 0.25rem;
1257
+ }
1258
+ .btn-xs .inline-item-after {
1259
+ margin-left: 0.25rem;
1260
+ }
1261
+ .btn-xs .btn-section {
1262
+ font-size: 0.375rem;
1263
+ }
1234
1264
  .btn-group-lg > .btn,
1235
1265
  .btn-group-lg .btn-group > .btn, .btn-lg {
1236
1266
  border-radius: 0.3rem;
@@ -1304,6 +1334,10 @@ input[type=button].btn-block {
1304
1334
  margin: 0;
1305
1335
  max-width: none;
1306
1336
  }
1337
+ .btn-monospaced.btn-xs {
1338
+ height: 1.5rem;
1339
+ width: 1.5rem;
1340
+ }
1307
1341
  .btn-monospaced {
1308
1342
  align-items: center;
1309
1343
  display: inline-flex;
@@ -1338,6 +1372,9 @@ input[type=button].btn-block {
1338
1372
  .btn-monospaced .lexicon-icon {
1339
1373
  margin-top: 0;
1340
1374
  }
1375
+ .btn-monospaced .inline-item {
1376
+ margin-top: 0;
1377
+ }
1341
1378
  .btn-group-vertical > .btn-monospaced.btn-lg, .btn-group-lg .btn-monospaced, .btn-monospaced.btn-lg {
1342
1379
  height: 3rem;
1343
1380
  width: 3rem;
@@ -5650,6 +5687,9 @@ input[type=button].btn-block {
5650
5687
  .form-check-card .custom-control .custom-control-input:checked ~ .card {
5651
5688
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
5652
5689
  }
5690
+ .form-check-card .custom-control .custom-control-input:checked ~ .card {
5691
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
5692
+ }
5653
5693
  .form-check-card .form-check-input:checked ~ .card {
5654
5694
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
5655
5695
  }
@@ -8584,19 +8624,37 @@ label.custom-control-label {
8584
8624
  border-color: #007bff;
8585
8625
  color: #fff;
8586
8626
  }
8627
+ .custom-control-input:checked ~ .custom-control-label::before {
8628
+ background-color: #007bff;
8629
+ border-color: #007bff;
8630
+ color: #fff;
8631
+ }
8587
8632
  .custom-control-input:checked[disabled] ~ .custom-control-label::before, .custom-control-input:checked:disabled ~ .custom-control-label::before {
8588
8633
  background-color: #e9ecef;
8589
8634
  box-shadow: none;
8590
8635
  }
8636
+ .custom-control-input:checked[readonly] ~ .custom-control-label::before {
8637
+ background-color: #fff;
8638
+ border-color: #adb5bd;
8639
+ }
8591
8640
  .custom-checkbox .custom-control-input ~ .custom-control-label::before {
8592
8641
  border-radius: 0.25rem;
8593
8642
  }
8594
8643
  .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
8595
8644
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='8'%20height='8'%20viewBox='0%200%208%208'%3E%3Cpath%20fill='%23fff'%20d='M6.564.75l-3.59%203.612-1.538-1.55L0%204.26l2.974%202.99L8%202.193z'/%3E%3C/svg%3E");
8596
8645
  }
8646
+ .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
8647
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='8'%20height='8'%20viewBox='0%200%208%208'%3E%3Cpath%20fill='%23fff'%20d='M6.564.75l-3.59%203.612-1.538-1.55L0%204.26l2.974%202.99L8%202.193z'/%3E%3C/svg%3E");
8648
+ }
8597
8649
  .custom-checkbox .custom-control-input:checked[disabled] ~ .custom-control-label::before, .custom-checkbox .custom-control-input:checked:disabled ~ .custom-control-label::before {
8598
8650
  background-color: rgba(0, 123, 255, 0.5);
8599
8651
  }
8652
+ .custom-checkbox .custom-control-input:checked[readonly] ~ .custom-control-label::before {
8653
+ background-color: #fff;
8654
+ }
8655
+ .custom-checkbox .custom-control-input:checked[readonly] ~ .custom-control-label::after {
8656
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='8'%20height='8'%20viewBox='0%200%208%208'%3E%3Cpath%20fill='%236c757d'%20d='M6.564.75l-3.59%203.612-1.538-1.55L0%204.26l2.974%202.99L8%202.193z'/%3E%3C/svg%3E");
8657
+ }
8600
8658
  .custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
8601
8659
  background-color: #007bff;
8602
8660
  border-color: #007bff;
@@ -8607,12 +8665,22 @@ label.custom-control-label {
8607
8665
  .custom-checkbox .custom-control-input:indeterminate[disabled] ~ .custom-control-label::before, .custom-checkbox .custom-control-input:indeterminate:disabled ~ .custom-control-label::before {
8608
8666
  background-color: rgba(0, 123, 255, 0.5);
8609
8667
  }
8668
+ .custom-checkbox .custom-control-input:indeterminate[readonly] ~ .custom-control-label::before {
8669
+ background-color: #fff;
8670
+ border-color: #adb5bd;
8671
+ }
8672
+ .custom-checkbox .custom-control-input:indeterminate[readonly] ~ .custom-control-label::after {
8673
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='4'%20height='4'%20viewBox='0%200%204%204'%3E%3Cpath%20stroke='%23343a40'%20d='M0%202h4'/%3E%3C/svg%3E");
8674
+ }
8610
8675
  .custom-radio .custom-control-input ~ .custom-control-label::before {
8611
8676
  border-radius: 50%;
8612
8677
  }
8613
8678
  .custom-radio .custom-control-input:checked ~ .custom-control-label::after {
8614
8679
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='-4%20-4%208%208'%3E%3Ccircle%20r='3'%20fill='%23fff'/%3E%3C/svg%3E");
8615
8680
  }
8681
+ .custom-radio .custom-control-input:checked ~ .custom-control-label::after {
8682
+ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='-4%20-4%208%208'%3E%3Ccircle%20r='3'%20fill='%23fff'/%3E%3C/svg%3E");
8683
+ }
8616
8684
  .custom-radio .custom-control-input:checked[disabled] ~ .custom-control-label::before, .custom-radio .custom-control-input:checked:disabled ~ .custom-control-label::before {
8617
8685
  background-color: rgba(0, 123, 255, 0.5);
8618
8686
  }
@@ -17830,16 +17898,16 @@ caption {
17830
17898
  .table-hover .table-disabled:hover td {
17831
17899
  background-color: #fff;
17832
17900
  }
17833
- .table-primary,
17834
- .table-primary > th,
17835
- .table-primary > td {
17901
+ .table .table-primary,
17902
+ .table .table-primary > th,
17903
+ .table .table-primary > td {
17836
17904
  background-color: #b8daff;
17837
17905
  border-color: #7abaff;
17838
17906
  }
17839
- .table-primary th,
17840
- .table-primary td,
17841
- .table-primary thead th,
17842
- .table-primary tbody + tbody {
17907
+ .table .table-primary th,
17908
+ .table .table-primary td,
17909
+ .table .table-primary thead th,
17910
+ .table .table-primary tbody + tbody {
17843
17911
  border-color: #7abaff;
17844
17912
  }
17845
17913
 
@@ -17851,16 +17919,16 @@ caption {
17851
17919
  background-color: #9fcdff;
17852
17920
  }
17853
17921
 
17854
- .table-secondary,
17855
- .table-secondary > th,
17856
- .table-secondary > td {
17922
+ .table .table-secondary,
17923
+ .table .table-secondary > th,
17924
+ .table .table-secondary > td {
17857
17925
  background-color: #d6d8db;
17858
17926
  border-color: #b3b7bb;
17859
17927
  }
17860
- .table-secondary th,
17861
- .table-secondary td,
17862
- .table-secondary thead th,
17863
- .table-secondary tbody + tbody {
17928
+ .table .table-secondary th,
17929
+ .table .table-secondary td,
17930
+ .table .table-secondary thead th,
17931
+ .table .table-secondary tbody + tbody {
17864
17932
  border-color: #b3b7bb;
17865
17933
  }
17866
17934
 
@@ -17872,16 +17940,16 @@ caption {
17872
17940
  background-color: #c8cbcf;
17873
17941
  }
17874
17942
 
17875
- .table-success,
17876
- .table-success > th,
17877
- .table-success > td {
17943
+ .table .table-success,
17944
+ .table .table-success > th,
17945
+ .table .table-success > td {
17878
17946
  background-color: #c3e6cb;
17879
17947
  border-color: #8fd19e;
17880
17948
  }
17881
- .table-success th,
17882
- .table-success td,
17883
- .table-success thead th,
17884
- .table-success tbody + tbody {
17949
+ .table .table-success th,
17950
+ .table .table-success td,
17951
+ .table .table-success thead th,
17952
+ .table .table-success tbody + tbody {
17885
17953
  border-color: #8fd19e;
17886
17954
  }
17887
17955
 
@@ -17893,16 +17961,16 @@ caption {
17893
17961
  background-color: #b1dfbb;
17894
17962
  }
17895
17963
 
17896
- .table-info,
17897
- .table-info > th,
17898
- .table-info > td {
17964
+ .table .table-info,
17965
+ .table .table-info > th,
17966
+ .table .table-info > td {
17899
17967
  background-color: #bee5eb;
17900
17968
  border-color: #86cfda;
17901
17969
  }
17902
- .table-info th,
17903
- .table-info td,
17904
- .table-info thead th,
17905
- .table-info tbody + tbody {
17970
+ .table .table-info th,
17971
+ .table .table-info td,
17972
+ .table .table-info thead th,
17973
+ .table .table-info tbody + tbody {
17906
17974
  border-color: #86cfda;
17907
17975
  }
17908
17976
 
@@ -17914,16 +17982,16 @@ caption {
17914
17982
  background-color: #abdde5;
17915
17983
  }
17916
17984
 
17917
- .table-warning,
17918
- .table-warning > th,
17919
- .table-warning > td {
17985
+ .table .table-warning,
17986
+ .table .table-warning > th,
17987
+ .table .table-warning > td {
17920
17988
  background-color: #ffeeba;
17921
17989
  border-color: #ffdf7e;
17922
17990
  }
17923
- .table-warning th,
17924
- .table-warning td,
17925
- .table-warning thead th,
17926
- .table-warning tbody + tbody {
17991
+ .table .table-warning th,
17992
+ .table .table-warning td,
17993
+ .table .table-warning thead th,
17994
+ .table .table-warning tbody + tbody {
17927
17995
  border-color: #ffdf7e;
17928
17996
  }
17929
17997
 
@@ -17935,16 +18003,16 @@ caption {
17935
18003
  background-color: #ffe8a1;
17936
18004
  }
17937
18005
 
17938
- .table-danger,
17939
- .table-danger > th,
17940
- .table-danger > td {
18006
+ .table .table-danger,
18007
+ .table .table-danger > th,
18008
+ .table .table-danger > td {
17941
18009
  background-color: #f5c6cb;
17942
18010
  border-color: #ed969e;
17943
18011
  }
17944
- .table-danger th,
17945
- .table-danger td,
17946
- .table-danger thead th,
17947
- .table-danger tbody + tbody {
18012
+ .table .table-danger th,
18013
+ .table .table-danger td,
18014
+ .table .table-danger thead th,
18015
+ .table .table-danger tbody + tbody {
17948
18016
  border-color: #ed969e;
17949
18017
  }
17950
18018
 
@@ -17956,16 +18024,16 @@ caption {
17956
18024
  background-color: #f1b0b7;
17957
18025
  }
17958
18026
 
17959
- .table-light,
17960
- .table-light > th,
17961
- .table-light > td {
18027
+ .table .table-light,
18028
+ .table .table-light > th,
18029
+ .table .table-light > td {
17962
18030
  background-color: #fdfdfe;
17963
18031
  border-color: #fbfcfc;
17964
18032
  }
17965
- .table-light th,
17966
- .table-light td,
17967
- .table-light thead th,
17968
- .table-light tbody + tbody {
18033
+ .table .table-light th,
18034
+ .table .table-light td,
18035
+ .table .table-light thead th,
18036
+ .table .table-light tbody + tbody {
17969
18037
  border-color: #fbfcfc;
17970
18038
  }
17971
18039
 
@@ -17977,16 +18045,29 @@ caption {
17977
18045
  background-color: #ececf6;
17978
18046
  }
17979
18047
 
17980
- .table-dark,
17981
- .table-dark > th,
17982
- .table-dark > td {
18048
+ .table .table-dark,
18049
+ .table .table-dark > th,
18050
+ .table .table-dark > td {
17983
18051
  background-color: #c6c8ca;
17984
18052
  border-color: #95999c;
17985
18053
  }
17986
- .table-dark th,
17987
- .table-dark td,
17988
- .table-dark thead th,
17989
- .table-dark tbody + tbody {
18054
+ .table .table-dark .table-title,
18055
+ .table .table-dark > th .table-title,
18056
+ .table .table-dark > td .table-title {
18057
+ color: #fff;
18058
+ }
18059
+ .table .table-dark .table-title[href],
18060
+ .table .table-dark .table-title [href],
18061
+ .table .table-dark > th .table-title[href],
18062
+ .table .table-dark > th .table-title [href],
18063
+ .table .table-dark > td .table-title[href],
18064
+ .table .table-dark > td .table-title [href] {
18065
+ color: inherit;
18066
+ }
18067
+ .table .table-dark th,
18068
+ .table .table-dark td,
18069
+ .table .table-dark thead th,
18070
+ .table .table-dark tbody + tbody {
17990
18071
  border-color: #95999c;
17991
18072
  }
17992
18073