@clayui/css 3.107.0 → 3.108.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.107.0
3
+ * Clay 3.108.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>
@@ -12031,6 +12031,24 @@ label.custom-control-label {
12031
12031
  width: 100%;
12032
12032
  z-index: 1050;
12033
12033
  }
12034
+ @media (max-width: 767.98px) {
12035
+ .modal .close {
12036
+ margin-right: -0.5rem;
12037
+ }
12038
+ .modal .modal-header {
12039
+ height: 3rem;
12040
+ padding: 0.5rem 1rem;
12041
+ }
12042
+ .modal .modal-title {
12043
+ font-size: 1.125rem;
12044
+ }
12045
+ .modal .modal-body {
12046
+ padding: 0.5rem 1rem;
12047
+ }
12048
+ .modal .modal-footer {
12049
+ padding: 0.5rem;
12050
+ }
12051
+ }
12034
12052
 
12035
12053
  .modal-dialog {
12036
12054
  margin: 0.5rem;
@@ -12221,7 +12239,7 @@ label.custom-control-label {
12221
12239
  padding-top: 0.75rem;
12222
12240
  }
12223
12241
  .modal-footer > * {
12224
- margin: calc(0.5rem * 0.5);
12242
+ margin: 0 calc(0.5rem * 0.5);
12225
12243
  }
12226
12244
 
12227
12245
  .modal-item-group {
@@ -12268,6 +12286,7 @@ label.custom-control-label {
12268
12286
 
12269
12287
  .modal-footer > .modal-item-last {
12270
12288
  margin-left: auto;
12289
+ margin-right: 0;
12271
12290
  }
12272
12291
 
12273
12292
  .modal-title {
@@ -19149,8 +19168,8 @@ th {
19149
19168
 
19150
19169
  caption {
19151
19170
  color: #6c757d;
19152
- padding-bottom: 0.75rem;
19153
- padding-top: 0.75rem;
19171
+ padding-bottom: 0.5rem 1rem;
19172
+ padding-top: 0.5rem 1rem;
19154
19173
  text-align: left;
19155
19174
  }
19156
19175
 
@@ -19179,24 +19198,19 @@ caption {
19179
19198
  .table thead td {
19180
19199
  border-bottom: calc(2 * 0.0625rem) solid #dee2e6;
19181
19200
  border-top-width: 0px;
19182
- vertical-align: bottom;
19201
+ vertical-align: middle;
19183
19202
  }
19184
19203
  .table th:first-child,
19185
19204
  .table td:first-child,
19186
19205
  .table .table-column-start {
19187
- padding-left: 15px;
19188
- }
19189
- .table th:last-child,
19190
- .table td:last-child,
19191
- .table .table-column-end {
19192
- padding-right: 15px;
19206
+ padding-left: 1.25rem;
19193
19207
  }
19194
19208
  .table th {
19195
19209
  background-clip: padding-box;
19196
19210
  border-top: 0.0625rem solid #dee2e6;
19197
19211
  color: #495057;
19198
- height: 36px;
19199
- padding: 0.75rem;
19212
+ height: 56px;
19213
+ padding: 0.5rem 1rem;
19200
19214
  position: relative;
19201
19215
  vertical-align: top;
19202
19216
  }
@@ -19208,7 +19222,8 @@ caption {
19208
19222
  border-right-width: 0px;
19209
19223
  border-style: solid;
19210
19224
  border-top-width: 0.0625rem;
19211
- padding: 0.75rem;
19225
+ height: 56px;
19226
+ padding: 0.5rem 1rem;
19212
19227
  position: relative;
19213
19228
  vertical-align: middle;
19214
19229
  }
@@ -19217,12 +19232,15 @@ caption {
19217
19232
  }
19218
19233
  .table caption {
19219
19234
  caption-side: top;
19220
- padding-left: 0.75rem;
19221
- padding-right: 0.75rem;
19235
+ padding-left: 1rem;
19236
+ padding-right: 1rem;
19222
19237
  }
19223
19238
  .table .table-divider th,
19224
19239
  .table .table-divider td {
19225
- padding: 0.75rem;
19240
+ background-color: #fff;
19241
+ height: 34px;
19242
+ line-height: 17px;
19243
+ padding: 0.5rem 1rem 0.5rem 1.25rem;
19226
19244
  }
19227
19245
  .table .table-active {
19228
19246
  background-color: #ececec;
@@ -19251,8 +19269,8 @@ caption {
19251
19269
  }
19252
19270
  .table .autofit-col {
19253
19271
  justify-content: center;
19254
- padding-left: 0.75rem;
19255
- padding-right: 0.75rem;
19272
+ padding-left: 1rem;
19273
+ padding-right: 1rem;
19256
19274
  }
19257
19275
  .table .autofit-col:first-child {
19258
19276
  padding-left: 0;
@@ -19274,17 +19292,27 @@ caption {
19274
19292
  }
19275
19293
  .table .quick-action-menu {
19276
19294
  align-items: flex-start;
19277
- padding-bottom: 0.75rem;
19278
- padding-top: 0.75rem;
19295
+ padding-bottom: 0.5rem;
19296
+ padding-top: 0.5rem;
19279
19297
  }
19280
19298
 
19281
19299
  .table-caption-bottom caption {
19282
19300
  caption-side: bottom;
19283
19301
  }
19284
19302
 
19303
+ .table-lg th,
19304
+ .table-lg td {
19305
+ padding: 1.0625rem;
19306
+ }
19307
+ .table-md th,
19308
+ .table-md td {
19309
+ height: 48px;
19310
+ padding: 0.375rem 1rem;
19311
+ }
19285
19312
  .table-sm th,
19286
19313
  .table-sm td {
19287
- padding: 0.3rem;
19314
+ height: 32px;
19315
+ padding: 0.25rem 1rem;
19288
19316
  }
19289
19317
  .table-bordered {
19290
19318
  border: 0.0625rem solid #dee2e6;
@@ -19297,6 +19325,14 @@ caption {
19297
19325
  .table-bordered td {
19298
19326
  border: 0.0625rem solid #dee2e6;
19299
19327
  }
19328
+ .table-head-bordered thead th,
19329
+ .table-head-bordered thead td {
19330
+ border-left: 0.0625rem solid #dee2e6;
19331
+ }
19332
+ .table-head-bordered thead th:first-child,
19333
+ .table-head-bordered thead td:first-child {
19334
+ border-left-width: 0;
19335
+ }
19300
19336
  .table-borderless th,
19301
19337
  .table-borderless td,
19302
19338
  .table-borderless thead th,
@@ -19304,8 +19340,9 @@ caption {
19304
19340
  border: 0;
19305
19341
  }
19306
19342
 
19307
- .table-striped tbody tr:nth-of-type(odd) td,
19308
- .table-striped tbody tr:nth-of-type(odd) th {
19343
+ .table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider),
19344
+ .table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider) td,
19345
+ .table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider) th {
19309
19346
  background-color: #f2f2f2;
19310
19347
  }
19311
19348
 
@@ -19550,11 +19587,6 @@ td.table-focus {
19550
19587
  background-color: #b9bbbe;
19551
19588
  }
19552
19589
 
19553
- .table-striped tbody .table-disabled:nth-of-type(odd) td,
19554
- .table-striped tbody .table-disabled:nth-of-type(odd) th {
19555
- background-color: #fff;
19556
- }
19557
-
19558
19590
  .table .thead-dark th {
19559
19591
  background-color: #343a40;
19560
19592
  border-color: #454d55;
@@ -19578,7 +19610,9 @@ td.table-focus {
19578
19610
  .table-dark.table-bordered {
19579
19611
  border-width: 0;
19580
19612
  }
19581
- .table-dark.table-striped tbody tr:nth-of-type(odd) {
19613
+ .table-dark.table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider),
19614
+ .table-dark.table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider) th,
19615
+ .table-dark.table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider) td {
19582
19616
  background-color: rgba(255, 255, 255, 0.05);
19583
19617
  }
19584
19618
  .table-dark.table-hover tbody tr:hover {
@@ -19769,10 +19803,10 @@ td.table-focus {
19769
19803
  }
19770
19804
  .table-list .table-divider th,
19771
19805
  .table-list .table-divider td {
19772
- padding-bottom: 0.75rem;
19773
- padding-left: 0.75rem;
19774
- padding-right: 0.75rem;
19775
- padding-top: 0.75rem;
19806
+ padding-bottom: 0.5rem;
19807
+ padding-left: 1.25rem;
19808
+ padding-right: 1rem;
19809
+ padding-top: 0.5rem;
19776
19810
  }
19777
19811
  .table-list .table-active {
19778
19812
  background-color: #dadada;
@@ -19815,8 +19849,9 @@ td.table-focus {
19815
19849
  .table.table-list.table-bordered .table-column-start {
19816
19850
  border-left-width: 0;
19817
19851
  }
19818
- .table-list.table-striped tbody tr:nth-of-type(odd) td,
19819
- .table-list.table-striped tbody tr:nth-of-type(odd) th {
19852
+ .table-list.table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider),
19853
+ .table-list.table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider) th,
19854
+ .table-list.table-striped tbody tr:nth-of-type(odd):not(.table-active):not(.table-disabled):not(.table-divider) td {
19820
19855
  background-color: #f2f2f2;
19821
19856
  }
19822
19857
 
@@ -19838,12 +19873,6 @@ td.table-focus {
19838
19873
  .table-list.table-hover .table-disabled:hover {
19839
19874
  background-color: #fff;
19840
19875
  }
19841
- .table-list.table-striped tbody .table-disabled:nth-of-type(odd),
19842
- .table-list.table-striped tbody .table-disabled:nth-of-type(odd) td,
19843
- .table-list.table-striped tbody .table-disabled:nth-of-type(odd) th {
19844
- background-color: #fff;
19845
- }
19846
-
19847
19876
  .table-list-title {
19848
19877
  font-size: 1rem;
19849
19878
  font-weight: 500;
@@ -19968,16 +19997,6 @@ td.table-focus {
19968
19997
  vertical-align: top;
19969
19998
  }
19970
19999
 
19971
- .table-nested-rows th:first-child,
19972
- .table-nested-rows td:first-child,
19973
- .table-nested-rows .table-column-start {
19974
- padding-left: 1.25rem;
19975
- }
19976
- .table-nested-rows th:last-child,
19977
- .table-nested-rows td:last-child,
19978
- .table-nested-rows .table-column-end {
19979
- padding-right: 1.25rem;
19980
- }
19981
20000
  .table-nested-rows .autofit-col {
19982
20001
  padding-left: 0.125rem;
19983
20002
  padding-right: 0.125rem;