@carbon/styles 1.107.0-rc.0 → 1.108.0-rc.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/css/styles.css
CHANGED
|
@@ -14399,35 +14399,38 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
14399
14399
|
position: relative;
|
|
14400
14400
|
}
|
|
14401
14401
|
|
|
14402
|
+
.cds--table-toolbar {
|
|
14403
|
+
--cds-layout-size-height-local: clamp(max(var(--cds-layout-size-height-min), var(--cds-layout-size-height-xs)), var(--cds-layout-size-height, var(--cds-layout-size-height-lg)), min(var(--cds-layout-size-height-max), var(--cds-layout-size-height-lg)));
|
|
14404
|
+
--cds-layout-size-height-md: 3rem;
|
|
14405
|
+
}
|
|
14406
|
+
.cds--table-toolbar.cds--layout--size-md, .cds--layout--size-md :where(.cds--table-toolbar) {
|
|
14407
|
+
--cds-layout-size-height: var(--cds-layout-size-height-md);
|
|
14408
|
+
}
|
|
14409
|
+
.cds--table-toolbar {
|
|
14410
|
+
--cds-layout-size-height-xl: 3rem;
|
|
14411
|
+
}
|
|
14412
|
+
.cds--table-toolbar.cds--layout--size-xl, .cds--layout--size-xl :where(.cds--table-toolbar) {
|
|
14413
|
+
--cds-layout-size-height: var(--cds-layout-size-height-xl);
|
|
14414
|
+
}
|
|
14402
14415
|
.cds--table-toolbar {
|
|
14403
14416
|
position: relative;
|
|
14404
14417
|
z-index: 1;
|
|
14405
14418
|
display: flex;
|
|
14406
14419
|
background-color: var(--cds-layer);
|
|
14420
|
+
block-size: var(--cds-layout-size-height-local);
|
|
14407
14421
|
inline-size: 100%;
|
|
14408
|
-
min-block-size:
|
|
14422
|
+
min-block-size: var(--cds-layout-size-height-local);
|
|
14409
14423
|
}
|
|
14410
14424
|
|
|
14411
14425
|
.cds--toolbar-content {
|
|
14412
14426
|
display: flex;
|
|
14413
14427
|
justify-content: flex-end;
|
|
14414
|
-
block-size:
|
|
14428
|
+
block-size: var(--cds-layout-size-height-local);
|
|
14415
14429
|
inline-size: 100%;
|
|
14416
14430
|
transform: translate3d(0, 0, 0);
|
|
14417
14431
|
transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9), clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
|
|
14418
14432
|
}
|
|
14419
14433
|
|
|
14420
|
-
.cds--toolbar-content .cds--search .cds--search-input {
|
|
14421
|
-
padding: 0 3rem;
|
|
14422
|
-
background-color: transparent;
|
|
14423
|
-
block-size: 3rem;
|
|
14424
|
-
}
|
|
14425
|
-
|
|
14426
|
-
.cds--toolbar-content .cds--overflow-menu {
|
|
14427
|
-
block-size: 3rem;
|
|
14428
|
-
inline-size: 3rem;
|
|
14429
|
-
}
|
|
14430
|
-
|
|
14431
14434
|
.cds--batch-actions ~ .cds--toolbar-search-container {
|
|
14432
14435
|
display: flex;
|
|
14433
14436
|
align-items: center;
|
|
@@ -14436,11 +14439,6 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
14436
14439
|
}
|
|
14437
14440
|
|
|
14438
14441
|
.cds--toolbar-search-container-expandable {
|
|
14439
|
-
position: relative;
|
|
14440
|
-
block-size: 3rem;
|
|
14441
|
-
box-shadow: none;
|
|
14442
|
-
cursor: pointer;
|
|
14443
|
-
inline-size: 3rem;
|
|
14444
14442
|
transition: width 300ms cubic-bezier(0.5, 0, 0.1, 1), background-color 110ms cubic-bezier(0, 0, 0.38, 0.9);
|
|
14445
14443
|
}
|
|
14446
14444
|
.cds--toolbar-search-container-expandable:hover {
|
|
@@ -14448,7 +14446,7 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
14448
14446
|
}
|
|
14449
14447
|
|
|
14450
14448
|
.cds--search.cds--toolbar-search-container-expandable {
|
|
14451
|
-
inline-size:
|
|
14449
|
+
inline-size: var(--cds-layout-size-height-local);
|
|
14452
14450
|
}
|
|
14453
14451
|
|
|
14454
14452
|
.cds--toolbar-search-container-expandable .cds--search-input {
|
|
@@ -14469,46 +14467,6 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
14469
14467
|
visibility: hidden;
|
|
14470
14468
|
}
|
|
14471
14469
|
|
|
14472
|
-
.cds--toolbar-search-container-expandable.cds--search .cds--search-close {
|
|
14473
|
-
block-size: 3rem;
|
|
14474
|
-
inline-size: 3rem;
|
|
14475
|
-
}
|
|
14476
|
-
.cds--toolbar-search-container-expandable.cds--search .cds--search-close::before {
|
|
14477
|
-
background-color: var(--cds-field-hover);
|
|
14478
|
-
block-size: calc(100% - 0.25rem);
|
|
14479
|
-
inset-block-start: 0.125rem;
|
|
14480
|
-
}
|
|
14481
|
-
|
|
14482
|
-
.cds--toolbar-search-container-expandable.cds--search .cds--search-close:focus::before {
|
|
14483
|
-
background-color: var(--cds-focus, #0f62fe);
|
|
14484
|
-
}
|
|
14485
|
-
|
|
14486
|
-
.cds--table-toolbar .cds--search--lg .cds--search-magnifier-icon {
|
|
14487
|
-
inset-inline-start: 0;
|
|
14488
|
-
}
|
|
14489
|
-
|
|
14490
|
-
.cds--table-toolbar:not(.cds--table-toolbar--sm) .cds--toolbar-search-container-persistent.cds--search--lg .cds--search-magnifier-icon {
|
|
14491
|
-
inset-inline-start: 1rem;
|
|
14492
|
-
}
|
|
14493
|
-
|
|
14494
|
-
.cds--table-toolbar.cds--table-toolbar--sm .cds--search--sm:not(.cds--toolbar-search-container-active):not(.cds--toolbar-search-container-persistent) .cds--search-magnifier-icon {
|
|
14495
|
-
inset-inline-start: 0;
|
|
14496
|
-
}
|
|
14497
|
-
|
|
14498
|
-
.cds--table-toolbar.cds--table-toolbar--sm .cds--search--sm.cds--toolbar-search-container-active .cds--search-magnifier-icon {
|
|
14499
|
-
inset-inline-start: 0.5rem;
|
|
14500
|
-
}
|
|
14501
|
-
|
|
14502
|
-
.cds--table-toolbar .cds--toolbar-search-container-persistent.cds--search--sm .cds--search-magnifier-icon {
|
|
14503
|
-
inset-inline-start: 0.5rem;
|
|
14504
|
-
}
|
|
14505
|
-
|
|
14506
|
-
.cds--toolbar-search-container-expandable .cds--search-magnifier-icon {
|
|
14507
|
-
padding: 1rem;
|
|
14508
|
-
block-size: 3rem;
|
|
14509
|
-
inline-size: 3rem;
|
|
14510
|
-
}
|
|
14511
|
-
|
|
14512
14470
|
.cds--toolbar-search-container-expandable.cds--search--disabled .cds--search-magnifier-icon {
|
|
14513
14471
|
background-color: var(--cds-layer);
|
|
14514
14472
|
cursor: not-allowed;
|
|
@@ -14533,7 +14491,7 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
14533
14491
|
|
|
14534
14492
|
.cds--toolbar-search-container-active .cds--label,
|
|
14535
14493
|
.cds--toolbar-search-container-active .cds--search-input {
|
|
14536
|
-
padding: 0
|
|
14494
|
+
padding: 0 var(--cds-layout-size-height-local);
|
|
14537
14495
|
cursor: text;
|
|
14538
14496
|
}
|
|
14539
14497
|
|
|
@@ -14594,10 +14552,10 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
14594
14552
|
}
|
|
14595
14553
|
.cds--overflow-menu.cds--toolbar-action {
|
|
14596
14554
|
display: flex;
|
|
14597
|
-
padding:
|
|
14598
|
-
block-size:
|
|
14555
|
+
padding: calc(var(--cds-layout-size-height-local) / 2);
|
|
14556
|
+
block-size: var(--cds-layout-size-height-local);
|
|
14599
14557
|
cursor: pointer;
|
|
14600
|
-
inline-size:
|
|
14558
|
+
inline-size: var(--cds-layout-size-height-local);
|
|
14601
14559
|
transition: background 110ms cubic-bezier(0, 0, 0.38, 0.9);
|
|
14602
14560
|
}
|
|
14603
14561
|
|
|
@@ -14630,9 +14588,9 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
14630
14588
|
}
|
|
14631
14589
|
.cds--toolbar-action {
|
|
14632
14590
|
display: flex;
|
|
14633
|
-
block-size:
|
|
14591
|
+
block-size: var(--cds-layout-size-height-local);
|
|
14634
14592
|
cursor: pointer;
|
|
14635
|
-
inline-size:
|
|
14593
|
+
inline-size: var(--cds-layout-size-height-local);
|
|
14636
14594
|
transition: background 110ms cubic-bezier(0, 0, 0.38, 0.9);
|
|
14637
14595
|
}
|
|
14638
14596
|
|
|
@@ -14694,7 +14652,6 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
14694
14652
|
|
|
14695
14653
|
.cds--toolbar-search-container-persistent {
|
|
14696
14654
|
position: relative;
|
|
14697
|
-
block-size: 3rem;
|
|
14698
14655
|
inline-size: 100%;
|
|
14699
14656
|
opacity: 1;
|
|
14700
14657
|
}
|
|
@@ -14708,14 +14665,8 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
14708
14665
|
position: initial;
|
|
14709
14666
|
}
|
|
14710
14667
|
|
|
14711
|
-
.cds--toolbar-search-container-persistent .cds--search-magnifier-icon {
|
|
14712
|
-
inset-inline-start: 1rem;
|
|
14713
|
-
}
|
|
14714
|
-
|
|
14715
14668
|
.cds--toolbar-search-container-persistent .cds--search-input {
|
|
14716
|
-
padding: 0 3rem;
|
|
14717
14669
|
border: none;
|
|
14718
|
-
block-size: 3rem;
|
|
14719
14670
|
}
|
|
14720
14671
|
|
|
14721
14672
|
.cds--toolbar-search-container-persistent .cds--search-input:focus:not([disabled]) {
|
|
@@ -14741,15 +14692,10 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
14741
14692
|
background-color: var(--cds-field-hover);
|
|
14742
14693
|
}
|
|
14743
14694
|
|
|
14744
|
-
.cds--toolbar-search-container-persistent .cds--search-close {
|
|
14745
|
-
block-size: 3rem;
|
|
14746
|
-
inline-size: 3rem;
|
|
14747
|
-
}
|
|
14748
|
-
|
|
14749
14695
|
.cds--batch-actions--active ~ .cds--toolbar-search-container,
|
|
14750
14696
|
.cds--batch-actions--active ~ .cds--toolbar-content {
|
|
14751
14697
|
clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
|
|
14752
|
-
transform: translate3d(0,
|
|
14698
|
+
transform: translate3d(0, var(--cds-layout-size-height-local), 0);
|
|
14753
14699
|
transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9), clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
|
|
14754
14700
|
}
|
|
14755
14701
|
|
|
@@ -14764,7 +14710,7 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
14764
14710
|
inset-inline: 0;
|
|
14765
14711
|
opacity: 0;
|
|
14766
14712
|
pointer-events: none;
|
|
14767
|
-
transform: translate3d(0,
|
|
14713
|
+
transform: translate3d(0, var(--cds-layout-size-height-local), 0);
|
|
14768
14714
|
transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9), clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9), opacity 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
|
|
14769
14715
|
will-change: transform;
|
|
14770
14716
|
}
|
|
@@ -14883,115 +14829,36 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
14883
14829
|
padding-inline-start: 0.5rem;
|
|
14884
14830
|
}
|
|
14885
14831
|
|
|
14886
|
-
.cds--table-toolbar--
|
|
14887
|
-
block-size:
|
|
14888
|
-
min-block-size: 2rem;
|
|
14889
|
-
}
|
|
14890
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-expandable,
|
|
14891
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-persistent {
|
|
14892
|
-
block-size: 2rem;
|
|
14893
|
-
}
|
|
14894
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-expandable .cds--search-input,
|
|
14895
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-persistent .cds--search-input {
|
|
14896
|
-
block-size: 2rem;
|
|
14897
|
-
}
|
|
14898
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-expandable .cds--search-close,
|
|
14899
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-persistent .cds--search-close {
|
|
14900
|
-
block-size: 2rem;
|
|
14901
|
-
inline-size: 2rem;
|
|
14902
|
-
}
|
|
14903
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-expandable .cds--search-magnifier-icon,
|
|
14904
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-persistent .cds--search-magnifier-icon {
|
|
14905
|
-
padding: 0.5rem;
|
|
14906
|
-
block-size: 2rem;
|
|
14907
|
-
inline-size: 2rem;
|
|
14908
|
-
}
|
|
14909
|
-
.cds--table-toolbar--sm .cds--toolbar-action.cds--toolbar-search-container-persistent {
|
|
14910
|
-
inline-size: 100%;
|
|
14911
|
-
}
|
|
14912
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-expandable {
|
|
14913
|
-
inline-size: 2rem;
|
|
14914
|
-
}
|
|
14915
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-expandable .cds--search .cds--search-input {
|
|
14916
|
-
padding: 0 3rem;
|
|
14917
|
-
}
|
|
14918
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-active {
|
|
14919
|
-
flex: auto;
|
|
14920
|
-
transition: flex 175ms cubic-bezier(0.5, 0, 0.1, 1);
|
|
14921
|
-
}
|
|
14922
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-active .cds--search-input {
|
|
14923
|
-
visibility: inherit;
|
|
14924
|
-
}
|
|
14925
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-active .cds--search-input:focus {
|
|
14926
|
-
outline: 2px solid var(--cds-focus, #0f62fe);
|
|
14927
|
-
outline-offset: -2px;
|
|
14928
|
-
}
|
|
14929
|
-
@media screen and (prefers-contrast) {
|
|
14930
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-active .cds--search-input:focus {
|
|
14931
|
-
outline-style: dotted;
|
|
14932
|
-
}
|
|
14933
|
-
}
|
|
14934
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-active .cds--search-input:focus {
|
|
14935
|
-
background-color: var(--cds-field-hover);
|
|
14936
|
-
}
|
|
14937
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-active .cds--search-input:not(:-moz-placeholder-shown) {
|
|
14938
|
-
background-color: var(--cds-field-hover);
|
|
14939
|
-
}
|
|
14940
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-active .cds--search-input:active,
|
|
14941
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-active .cds--search-input:not(:placeholder-shown) {
|
|
14942
|
-
background-color: var(--cds-field-hover);
|
|
14943
|
-
}
|
|
14944
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-active .cds--search-magnifier-icon:focus,
|
|
14945
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-active .cds--search-magnifier-icon:active,
|
|
14946
|
-
.cds--table-toolbar--sm .cds--toolbar-search-container-active .cds--search-magnifier-icon:hover {
|
|
14947
|
-
outline: 2px solid transparent;
|
|
14948
|
-
outline-offset: -2px;
|
|
14949
|
-
background-color: transparent;
|
|
14950
|
-
}
|
|
14951
|
-
.cds--table-toolbar--sm .cds--overflow-menu.cds--toolbar-action {
|
|
14952
|
-
block-size: 2rem;
|
|
14953
|
-
inline-size: 2rem;
|
|
14954
|
-
min-inline-size: 2rem;
|
|
14955
|
-
}
|
|
14956
|
-
.cds--table-toolbar--sm .cds--toolbar-content {
|
|
14957
|
-
block-size: 2rem;
|
|
14958
|
-
}
|
|
14959
|
-
.cds--table-toolbar--sm .cds--toolbar-content .cds--overflow-menu {
|
|
14960
|
-
block-size: 2rem;
|
|
14961
|
-
inline-size: 2rem;
|
|
14962
|
-
}
|
|
14963
|
-
|
|
14964
|
-
.cds--search--disabled .cds--search-magnifier-icon:hover {
|
|
14965
|
-
background-color: transparent;
|
|
14832
|
+
.cds--table-toolbar .cds--batch-actions {
|
|
14833
|
+
block-size: var(--cds-layout-size-height-local);
|
|
14966
14834
|
}
|
|
14967
14835
|
|
|
14968
|
-
.cds--table-toolbar
|
|
14969
|
-
block-size:
|
|
14836
|
+
.cds--table-toolbar .cds--batch-actions .cds--action-list {
|
|
14837
|
+
block-size: var(--cds-layout-size-height-local);
|
|
14970
14838
|
}
|
|
14971
14839
|
|
|
14972
|
-
.cds--table-toolbar
|
|
14840
|
+
.cds--table-toolbar .cds--toolbar-action {
|
|
14973
14841
|
padding: 0.5rem 0;
|
|
14974
|
-
block-size:
|
|
14975
|
-
inline-size:
|
|
14842
|
+
block-size: var(--cds-layout-size-height-local);
|
|
14843
|
+
inline-size: var(--cds-layout-size-height-local);
|
|
14976
14844
|
}
|
|
14977
14845
|
|
|
14978
|
-
.cds--table-toolbar
|
|
14979
|
-
block-size:
|
|
14846
|
+
.cds--table-toolbar .cds--btn--primary {
|
|
14847
|
+
block-size: var(--cds-layout-size-height-local);
|
|
14980
14848
|
min-block-size: auto;
|
|
14981
|
-
padding-block: 0.375rem;
|
|
14982
14849
|
}
|
|
14983
14850
|
|
|
14984
|
-
.cds--table-toolbar
|
|
14985
|
-
inset-block-start:
|
|
14851
|
+
.cds--table-toolbar .cds--btn--primary.cds--batch-summary__cancel::before {
|
|
14852
|
+
inset-block-start: calc((var(--cds-layout-size-height-local) - 1rem) / 2);
|
|
14986
14853
|
}
|
|
14987
14854
|
|
|
14988
|
-
.cds--table-toolbar
|
|
14855
|
+
.cds--table-toolbar .cds--toolbar-action ~ .cds--btn {
|
|
14989
14856
|
overflow: hidden;
|
|
14990
|
-
block-size:
|
|
14857
|
+
block-size: var(--cds-layout-size-height-local);
|
|
14991
14858
|
}
|
|
14992
14859
|
|
|
14993
|
-
.cds--table-toolbar
|
|
14994
|
-
min-block-size:
|
|
14860
|
+
.cds--table-toolbar .cds--batch-summary {
|
|
14861
|
+
min-block-size: var(--cds-layout-size-height-local);
|
|
14995
14862
|
}
|
|
14996
14863
|
|
|
14997
14864
|
.cds--data-table tr.cds--parent-row:first-of-type td {
|
|
@@ -21722,7 +21589,7 @@ optgroup.cds--select-optgroup:disabled,
|
|
|
21722
21589
|
}
|
|
21723
21590
|
|
|
21724
21591
|
.cds--modal-content .cds--form--fluid {
|
|
21725
|
-
margin-inline: -
|
|
21592
|
+
margin-inline: -1rem;
|
|
21726
21593
|
}
|
|
21727
21594
|
|
|
21728
21595
|
.cds--modal-content > p,
|