@clayui/css 3.108.0 → 3.109.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.108.0
3
+ * Clay 3.109.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>
@@ -12045,6 +12045,9 @@ label.custom-control-label {
12045
12045
  .modal .modal-body {
12046
12046
  padding: 0.5rem 1rem;
12047
12047
  }
12048
+ .modal .modal-body-iframe {
12049
+ padding: 0;
12050
+ }
12048
12051
  .modal .modal-footer {
12049
12052
  padding: 0.5rem;
12050
12053
  }
@@ -12179,7 +12182,7 @@ label.custom-control-label {
12179
12182
  border: 0.0625rem solid rgba(0, 0, 0, 0.2);
12180
12183
  display: flex;
12181
12184
  flex-direction: column;
12182
- max-height: calc(100vh - 1.75rem * 2);
12185
+ max-height: calc(100vh - 0.5rem * 2);
12183
12186
  outline: 0;
12184
12187
  overflow: hidden;
12185
12188
  pointer-events: auto;
@@ -19362,9 +19365,11 @@ caption {
19362
19365
  tr.table-focus {
19363
19366
  outline: 0;
19364
19367
  }
19368
+ tr.table-focus th,
19365
19369
  tr.table-focus td {
19366
19370
  outline: 0;
19367
19371
  }
19372
+ tr.table-focus th::before,
19368
19373
  tr.table-focus td::before {
19369
19374
  box-shadow: inset 0 0.2rem 0 0 rgba(0, 123, 255, 0.25), inset 0 -0.2rem 0 0 rgba(0, 123, 255, 0.25);
19370
19375
  content: "";
@@ -19377,6 +19382,7 @@ tr.table-focus td::before {
19377
19382
  pointer-events: none;
19378
19383
  z-index: 1;
19379
19384
  }
19385
+ tr.table-focus th:first-child::after,
19380
19386
  tr.table-focus td:first-child::after {
19381
19387
  box-shadow: inset 0.2rem 0 0 0 rgba(0, 123, 255, 0.25);
19382
19388
  content: "";
@@ -19389,6 +19395,7 @@ tr.table-focus td:first-child::after {
19389
19395
  z-index: 1;
19390
19396
  width: 0.25rem;
19391
19397
  }
19398
+ tr.table-focus th:last-child::after,
19392
19399
  tr.table-focus td:last-child::after {
19393
19400
  box-shadow: inset -0.2rem 0 0 0 rgba(0, 123, 255, 0.25);
19394
19401
  content: "";
@@ -20026,6 +20033,33 @@ td.table-focus {
20026
20033
  display: none;
20027
20034
  }
20028
20035
 
20036
+ .table-sort thead th,
20037
+ .table-sort thead td {
20038
+ cursor: pointer;
20039
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
20040
+ }
20041
+ @media (prefers-reduced-motion: reduce) {
20042
+ .table-sort thead th,
20043
+ .table-sort thead td {
20044
+ transition: none;
20045
+ }
20046
+ }
20047
+ .c-prefers-reduced-motion .table-sort thead th,
20048
+ .c-prefers-reduced-motion .table-sort thead td {
20049
+ transition: none;
20050
+ }
20051
+
20052
+ .table-sort thead th:hover,
20053
+ .table-sort thead td:hover {
20054
+ background-color: #e5f2ff;
20055
+ color: #212529;
20056
+ }
20057
+ .table-sort thead th .component-action,
20058
+ .table-sort thead td .component-action {
20059
+ font-size: 0.75rem;
20060
+ height: 1.5rem;
20061
+ width: 1.5rem;
20062
+ }
20029
20063
  .show-quick-actions-on-hover tr:not(.table-active):not(.table-disabled):hover .quick-action-menu {
20030
20064
  display: flex;
20031
20065
  }
@@ -21024,7 +21058,7 @@ td.table-focus {
21024
21058
  left: 0;
21025
21059
  position: absolute;
21026
21060
  top: 0;
21027
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
21061
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
21028
21062
  width: 50px;
21029
21063
  }
21030
21064
  @media (prefers-reduced-motion: reduce) {
@@ -21049,7 +21083,7 @@ td.table-focus {
21049
21083
  left: 0;
21050
21084
  position: absolute;
21051
21085
  top: 0;
21052
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
21086
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
21053
21087
  width: 25px;
21054
21088
  }
21055
21089
  @media (prefers-reduced-motion: reduce) {
@@ -21062,7 +21096,7 @@ td.table-focus {
21062
21096
  }
21063
21097
 
21064
21098
  .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::before {
21065
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
21099
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
21066
21100
  }
21067
21101
  @media (prefers-reduced-motion: reduce) {
21068
21102
  .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::before {
@@ -21076,7 +21110,7 @@ td.table-focus {
21076
21110
  .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::after {
21077
21111
  content: '\FEFF' attr(data-label-off);
21078
21112
  margin-left: 58px;
21079
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
21113
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
21080
21114
  white-space: nowrap;
21081
21115
  }
21082
21116
  @media (prefers-reduced-motion: reduce) {
@@ -21096,7 +21130,7 @@ td.table-focus {
21096
21130
  text-align: center;
21097
21131
  text-indent: 0;
21098
21132
  top: 0;
21099
- transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
21133
+ transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, opacity 100ms ease-in, right 100ms ease-in;
21100
21134
  width: 25px;
21101
21135
  z-index: 1;
21102
21136
  }
@@ -21281,6 +21315,51 @@ td.table-focus {
21281
21315
  .simple-toggle-switch-reverse.simple-toggle-switch .toggle-switch-label {
21282
21316
  margin-right: 0.5rem;
21283
21317
  }
21318
+ .toggle-switch-sm .simple-toggle-switch .toggle-switch-label, .simple-toggle-switch.toggle-switch-sm .toggle-switch-label {
21319
+ max-width: calc(100% - 38px);
21320
+ }
21321
+ .toggle-switch-sm .toggle-switch-check {
21322
+ height: 16px;
21323
+ width: 30px;
21324
+ }
21325
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar {
21326
+ height: 16px;
21327
+ line-height: 16px;
21328
+ }
21329
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar::before {
21330
+ width: 30px;
21331
+ }
21332
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar::after {
21333
+ height: 16px;
21334
+ width: 16px;
21335
+ }
21336
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle {
21337
+ min-width: 30px;
21338
+ max-width: 30px;
21339
+ }
21340
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::after {
21341
+ margin-left: 38px;
21342
+ }
21343
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon {
21344
+ font-size: 0.6875rem;
21345
+ height: 16px;
21346
+ left: 0;
21347
+ line-height: 16px;
21348
+ width: 16px;
21349
+ }
21350
+ .toggle-switch-sm .toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon-off {
21351
+ left: 14px;
21352
+ }
21353
+ .toggle-switch-sm .toggle-switch-check:checked ~ .toggle-switch-bar::after {
21354
+ left: 14px;
21355
+ }
21356
+ .toggle-switch-sm .toggle-switch-check:checked ~ .toggle-switch-bar .button-icon {
21357
+ left: 14px;
21358
+ }
21359
+ .toggle-switch-sm .toggle-switch-label {
21360
+ font-size: 0.75rem;
21361
+ max-width: calc(100% - 38px);
21362
+ }
21284
21363
  .tooltip {
21285
21364
  display: block;
21286
21365
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;