@fundamental-styles/theming-preview 0.24.0-rc.113 → 0.24.0-rc.116
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/fundamental-styles.css +148 -162
- package/package.json +2 -2
package/fundamental-styles.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
@charset "UTF-8";
|
|
3
3
|
/*!
|
|
4
|
-
* Fundamental Library Styles v0.24.0-rc.
|
|
4
|
+
* Fundamental Library Styles v0.24.0-rc.116
|
|
5
5
|
* Copyright (c) 2022 SAP SE or an SAP affiliate company.
|
|
6
6
|
* Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)
|
|
7
7
|
*/
|
|
@@ -19459,6 +19459,7 @@
|
|
|
19459
19459
|
height: 100%;
|
|
19460
19460
|
position: relative;
|
|
19461
19461
|
overflow: hidden;
|
|
19462
|
+
outline: none;
|
|
19462
19463
|
}
|
|
19463
19464
|
.fd-grid-list .fd-grid-list__item::before, .fd-grid-list .fd-grid-list__item::after {
|
|
19464
19465
|
-webkit-box-sizing: inherit;
|
|
@@ -19477,7 +19478,7 @@
|
|
|
19477
19478
|
-webkit-box-shadow: var(--fdGrid_List_Item_Focus_Box_Shadow);
|
|
19478
19479
|
box-shadow: var(--fdGrid_List_Item_Focus_Box_Shadow);
|
|
19479
19480
|
border: var(--fdGrid_List_Item_Focus_Border);
|
|
19480
|
-
border-radius: var(--
|
|
19481
|
+
border-radius: var(--fdGrid_List_Item_Border_Radius);
|
|
19481
19482
|
z-index: 1;
|
|
19482
19483
|
}
|
|
19483
19484
|
.fd-grid-list .fd-grid-list__item--height-auto {
|
|
@@ -19761,32 +19762,6 @@
|
|
|
19761
19762
|
.fd-grid-list__group-header--no-margin {
|
|
19762
19763
|
margin-top: 0;
|
|
19763
19764
|
}
|
|
19764
|
-
.fd-grid-list__filter,
|
|
19765
|
-
.fd-grid-list__filter * {
|
|
19766
|
-
color: var(--sapList_TextColor) !important;
|
|
19767
|
-
}
|
|
19768
|
-
.fd-grid-list__filter[class*=active]:focus, .fd-grid-list__filter[class*=active].is-focus {
|
|
19769
|
-
outline-offset: -0.1875rem;
|
|
19770
|
-
outline-width: var(--sapContent_FocusWidth);
|
|
19771
|
-
outline-color: var(--sapContent_FocusColor);
|
|
19772
|
-
outline-style: var(--sapContent_FocusStyle);
|
|
19773
|
-
}
|
|
19774
|
-
.fd-grid-list__filter[class*=active],
|
|
19775
|
-
.fd-grid-list__filter[class*=active] * {
|
|
19776
|
-
color: var(--sapInfobar_TextColor) !important;
|
|
19777
|
-
}
|
|
19778
|
-
.fd-grid-list__filter .fd-grid-list__filter-button:hover, .fd-grid-list__filter .fd-grid-list__filter-button.is-hover {
|
|
19779
|
-
background: transparent;
|
|
19780
|
-
-webkit-box-shadow: none;
|
|
19781
|
-
box-shadow: none;
|
|
19782
|
-
border: none;
|
|
19783
|
-
}
|
|
19784
|
-
.fd-grid-list__filter .fd-grid-list__filter-button:active, .fd-grid-list__filter .fd-grid-list__filter-button.is-active {
|
|
19785
|
-
background: transparent;
|
|
19786
|
-
-webkit-box-shadow: none;
|
|
19787
|
-
box-shadow: none;
|
|
19788
|
-
border: none;
|
|
19789
|
-
}
|
|
19790
19765
|
.fd-grid-list__more {
|
|
19791
19766
|
font-size: var(--sapFontSize);
|
|
19792
19767
|
line-height: var(--sapContent_LineHeight);
|
|
@@ -21899,11 +21874,11 @@
|
|
|
21899
21874
|
box-sizing: inherit;
|
|
21900
21875
|
font-size: inherit;
|
|
21901
21876
|
}
|
|
21902
|
-
.fd-menu__item:first-child {
|
|
21877
|
+
.fd-menu__item:first-child, .fd-menu__item:first-child .fd-menu__link::after {
|
|
21903
21878
|
border-top-right-radius: var(--fdButton_Menu_Border_Radius);
|
|
21904
21879
|
border-top-left-radius: var(--fdButton_Menu_Border_Radius);
|
|
21905
21880
|
}
|
|
21906
|
-
.fd-menu__item:last-child {
|
|
21881
|
+
.fd-menu__item:last-child, .fd-menu__item:last-child .fd-menu__link::after {
|
|
21907
21882
|
border-bottom-right-radius: var(--fdButton_Menu_Border_Radius);
|
|
21908
21883
|
border-bottom-left-radius: var(--fdButton_Menu_Border_Radius);
|
|
21909
21884
|
}
|
|
@@ -21930,17 +21905,24 @@
|
|
|
21930
21905
|
border-radius: inherit;
|
|
21931
21906
|
height: 2.75rem;
|
|
21932
21907
|
padding: 0.75rem 1rem 0.75rem 0.75rem;
|
|
21908
|
+
outline: none;
|
|
21933
21909
|
}
|
|
21934
21910
|
.fd-menu__link::before, .fd-menu__link::after {
|
|
21935
21911
|
-webkit-box-sizing: inherit;
|
|
21936
21912
|
box-sizing: inherit;
|
|
21937
21913
|
font-size: inherit;
|
|
21938
21914
|
}
|
|
21939
|
-
.fd-menu__link:focus, .fd-menu__link.is-focus {
|
|
21940
|
-
|
|
21941
|
-
|
|
21942
|
-
|
|
21943
|
-
|
|
21915
|
+
.fd-menu__link:focus::after, .fd-menu__link.is-focus::after {
|
|
21916
|
+
border-width: var(--sapContent_FocusWidth);
|
|
21917
|
+
border-color: var(--sapContent_FocusColor);
|
|
21918
|
+
border-style: var(--sapContent_FocusStyle);
|
|
21919
|
+
content: "";
|
|
21920
|
+
position: absolute;
|
|
21921
|
+
pointer-events: none;
|
|
21922
|
+
top: 0.0625rem;
|
|
21923
|
+
bottom: 0.0625rem;
|
|
21924
|
+
left: 0.0625rem;
|
|
21925
|
+
right: 0.0625rem;
|
|
21944
21926
|
}
|
|
21945
21927
|
.fd-menu__link:hover, .fd-menu__link.is-hover {
|
|
21946
21928
|
background-color: var(--sapList_Hover_Background);
|
|
@@ -21959,10 +21941,19 @@
|
|
|
21959
21941
|
.fd-menu__link[aria-selected=true]:hover:not(:active):not(.is-active), .fd-menu__link[aria-selected=true].is-hover:not(:active):not(.is-active), .fd-menu__link.is-selected:hover:not(:active):not(.is-active), .fd-menu__link.is-selected.is-hover:not(:active):not(.is-active) {
|
|
21960
21942
|
background-color: var(--sapList_Hover_SelectionBackground);
|
|
21961
21943
|
}
|
|
21944
|
+
.fd-menu__link[aria-selected=true]:focus, .fd-menu__link[aria-selected=true].is-focus, .fd-menu__link.is-selected:focus, .fd-menu__link.is-selected.is-focus {
|
|
21945
|
+
z-index: 5;
|
|
21946
|
+
}
|
|
21947
|
+
.fd-menu__link[aria-selected=true]:focus::after, .fd-menu__link[aria-selected=true].is-focus::after, .fd-menu__link.is-selected:focus::after, .fd-menu__link.is-selected.is-focus::after {
|
|
21948
|
+
bottom: 0.125rem;
|
|
21949
|
+
}
|
|
21962
21950
|
.fd-menu__link:active, .fd-menu__link.is-active {
|
|
21963
21951
|
color: var(--sapList_Active_TextColor);
|
|
21964
21952
|
background-color: var(--sapList_Active_Background);
|
|
21965
21953
|
}
|
|
21954
|
+
.fd-menu__link:active::after, .fd-menu__link.is-active::after {
|
|
21955
|
+
display: none;
|
|
21956
|
+
}
|
|
21966
21957
|
.fd-menu__link:active .fd-menu__title, .fd-menu__link.is-active .fd-menu__title {
|
|
21967
21958
|
color: var(--sapList_Active_TextColor);
|
|
21968
21959
|
}
|
|
@@ -21995,6 +21986,12 @@
|
|
|
21995
21986
|
.fd-menu__link.has-child[aria-expanded=true]:not(:active):not(.is-active):hover:not(:active):not(.is-active), .fd-menu__link.has-child[aria-expanded=true]:not(:active):not(.is-active).is-hover:not(:active):not(.is-active), .fd-menu__link.has-child.is-expanded:not(:active):not(.is-active):hover:not(:active):not(.is-active), .fd-menu__link.has-child.is-expanded:not(:active):not(.is-active).is-hover:not(:active):not(.is-active) {
|
|
21996
21987
|
background-color: var(--sapList_Hover_SelectionBackground);
|
|
21997
21988
|
}
|
|
21989
|
+
.fd-menu__link.has-child[aria-expanded=true]:not(:active):not(.is-active):focus, .fd-menu__link.has-child[aria-expanded=true]:not(:active):not(.is-active).is-focus, .fd-menu__link.has-child.is-expanded:not(:active):not(.is-active):focus, .fd-menu__link.has-child.is-expanded:not(:active):not(.is-active).is-focus {
|
|
21990
|
+
z-index: 5;
|
|
21991
|
+
}
|
|
21992
|
+
.fd-menu__link.has-child[aria-expanded=true]:not(:active):not(.is-active):focus::after, .fd-menu__link.has-child[aria-expanded=true]:not(:active):not(.is-active).is-focus::after, .fd-menu__link.has-child.is-expanded:not(:active):not(.is-active):focus::after, .fd-menu__link.has-child.is-expanded:not(:active):not(.is-active).is-focus::after {
|
|
21993
|
+
bottom: 0.125rem;
|
|
21994
|
+
}
|
|
21998
21995
|
.fd-menu__title {
|
|
21999
21996
|
font-size: var(--sapFontSize);
|
|
22000
21997
|
line-height: var(--sapContent_LineHeight);
|
|
@@ -34230,6 +34227,7 @@ places the element far left of the screen. so it is not visible.
|
|
|
34230
34227
|
align-items: center;
|
|
34231
34228
|
cursor: pointer;
|
|
34232
34229
|
padding: var(--fdSwitch_Padding);
|
|
34230
|
+
--fdSwitch_Track_Offset: translate(calc(var(--fdSwitch_Handle_Offset) * -1), -50%);
|
|
34233
34231
|
}
|
|
34234
34232
|
.fd-switch::before, .fd-switch::after {
|
|
34235
34233
|
-webkit-box-sizing: inherit;
|
|
@@ -34265,7 +34263,7 @@ places the element far left of the screen. so it is not visible.
|
|
|
34265
34263
|
padding: 0;
|
|
34266
34264
|
margin: 0;
|
|
34267
34265
|
border: 0;
|
|
34268
|
-
background-color: var(--
|
|
34266
|
+
background-color: var(--fdSwitch_Track_Background);
|
|
34269
34267
|
-webkit-box-sizing: content-box;
|
|
34270
34268
|
box-sizing: content-box;
|
|
34271
34269
|
width: var(--fdSwitch_Width);
|
|
@@ -34276,6 +34274,7 @@ places the element far left of the screen. so it is not visible.
|
|
|
34276
34274
|
border-radius: var(--fdSwitch_Border_Radius);
|
|
34277
34275
|
-webkit-box-shadow: var(--fdSwitch_Shadow);
|
|
34278
34276
|
box-shadow: var(--fdSwitch_Shadow);
|
|
34277
|
+
border-color: var(--fdSwitch_Border_Color);
|
|
34279
34278
|
}
|
|
34280
34279
|
.fd-switch__slider::before, .fd-switch__slider::after {
|
|
34281
34280
|
-webkit-box-sizing: inherit;
|
|
@@ -34307,19 +34306,16 @@ places the element far left of the screen. so it is not visible.
|
|
|
34307
34306
|
-webkit-transition: all 0.1s;
|
|
34308
34307
|
transition: all 0.1s;
|
|
34309
34308
|
min-width: 4.25rem;
|
|
34309
|
+
-webkit-transform: var(--fdSwitch_Track_Offset);
|
|
34310
|
+
transform: var(--fdSwitch_Track_Offset);
|
|
34310
34311
|
}
|
|
34311
34312
|
.fd-switch__track::before, .fd-switch__track::after {
|
|
34312
34313
|
-webkit-box-sizing: inherit;
|
|
34313
34314
|
box-sizing: inherit;
|
|
34314
34315
|
font-size: inherit;
|
|
34315
34316
|
}
|
|
34316
|
-
.fd-switch .fd-
|
|
34317
|
-
|
|
34318
|
-
transform: translate(calc(var(--fdSwitch_Handle_Offset) * -1), -50%);
|
|
34319
|
-
}
|
|
34320
|
-
.fd-switch .fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
34321
|
-
-webkit-transform: translate(calc(var(--fdSwitch_Active_Handle_Offset) * -1), -50%);
|
|
34322
|
-
transform: translate(calc(var(--fdSwitch_Active_Handle_Offset) * -1), -50%);
|
|
34317
|
+
.fd-switch .fd-switch__input:checked + .fd-switch__slider {
|
|
34318
|
+
--fdSwitch_Track_Offset: translate(calc(var(--fdSwitch_Active_Handle_Offset) * -1), -50%);
|
|
34323
34319
|
}
|
|
34324
34320
|
.fd-switch__text {
|
|
34325
34321
|
font-size: var(--sapFontSize);
|
|
@@ -34380,11 +34376,11 @@ places the element far left of the screen. so it is not visible.
|
|
|
34380
34376
|
transition: visibility 0s ease 0.03s, opacity 0s ease 0.03s;
|
|
34381
34377
|
}
|
|
34382
34378
|
.fd-switch__icon--off [class*=sap-icon], .fd-switch__icon--off[class*=sap-icon] {
|
|
34383
|
-
color: var(--
|
|
34379
|
+
color: var(--fdSwitch_Semantic_Handle_Error_Color);
|
|
34384
34380
|
margin: var(--fdSwitch_Icon_Error_Margin);
|
|
34385
34381
|
}
|
|
34386
34382
|
.fd-switch__icon--on [class*=sap-icon], .fd-switch__icon--on[class*=sap-icon] {
|
|
34387
|
-
color: var(--
|
|
34383
|
+
color: var(--fdSwitch_Semantic_Handle_Success_Color);
|
|
34388
34384
|
margin: var(--fdSwitch_Icon_Success_Margin);
|
|
34389
34385
|
visibility: hidden;
|
|
34390
34386
|
opacity: 0;
|
|
@@ -34459,14 +34455,11 @@ places the element far left of the screen. so it is not visible.
|
|
|
34459
34455
|
border-radius: var(--fdSwitch_Focus_Outline_Border_Radius);
|
|
34460
34456
|
}
|
|
34461
34457
|
.fd-switch__input:checked + .fd-switch__slider {
|
|
34462
|
-
|
|
34463
|
-
|
|
34464
|
-
|
|
34465
|
-
|
|
34466
|
-
|
|
34467
|
-
.fd-switch__input:checked + .fd-switch__slider .fd-switch__handle {
|
|
34468
|
-
background-color: var(--sapButton_Selected_Background);
|
|
34469
|
-
border-color: var(--sapButton_Selected_BorderColor);
|
|
34458
|
+
--fdSwitch_Track_Background: var(--sapButton_Track_Selected_Background);
|
|
34459
|
+
--fdSwitch_Shadow: var(--fdSwitch_Active_Shadow);
|
|
34460
|
+
--fdSwitch_Handle_Background: var(--sapButton_Selected_Background);
|
|
34461
|
+
--fdSwitch_Handle_Border_Color: var(--sapButton_Selected_BorderColor);
|
|
34462
|
+
--fdSwitch_Border_Color: var(--sapButton_Selected_BorderColor);
|
|
34470
34463
|
}
|
|
34471
34464
|
.fd-switch__input:checked + .fd-switch__slider .fd-switch__icon--off [class*=sap-icon], .fd-switch__input:checked + .fd-switch__slider .fd-switch__icon--off[class*=sap-icon] {
|
|
34472
34465
|
opacity: 0;
|
|
@@ -34476,147 +34469,108 @@ places the element far left of the screen. so it is not visible.
|
|
|
34476
34469
|
opacity: 1;
|
|
34477
34470
|
visibility: visible;
|
|
34478
34471
|
}
|
|
34472
|
+
[dir=rtl] .fd-switch, .fd-switch[dir=rtl] {
|
|
34473
|
+
--fdSwitch_Track_Offset: translate(var(--fdSwitch_Handle_Offset), -50%);
|
|
34474
|
+
}
|
|
34479
34475
|
[dir=rtl] .fd-switch .fd-switch__icon--on, .fd-switch[dir=rtl] .fd-switch__icon--on {
|
|
34480
34476
|
margin: var(--fdSwitch_Icon_Error_Margin);
|
|
34481
34477
|
}
|
|
34482
34478
|
[dir=rtl] .fd-switch .fd-switch__icon--off, .fd-switch[dir=rtl] .fd-switch__icon--off {
|
|
34483
34479
|
margin: var(--fdSwitch_Icon_Success_Margin);
|
|
34484
34480
|
}
|
|
34485
|
-
[dir=rtl] .fd-switch .fd-
|
|
34486
|
-
|
|
34487
|
-
transform: translate(var(--fdSwitch_Handle_Offset), -50%);
|
|
34481
|
+
[dir=rtl] .fd-switch .fd-switch__input:checked + .fd-switch__slider, .fd-switch[dir=rtl] .fd-switch__input:checked + .fd-switch__slider {
|
|
34482
|
+
--fdSwitch_Track_Offset: translate(var(--fdSwitch_Active_Handle_Offset), -50%);
|
|
34488
34483
|
}
|
|
34489
|
-
|
|
34490
|
-
|
|
34491
|
-
|
|
34492
|
-
|
|
34493
|
-
|
|
34494
|
-
|
|
34495
|
-
}
|
|
34496
|
-
.fd-switch:hover .fd-switch__handle, .fd-switch.is-hover .fd-switch__handle {
|
|
34497
|
-
border-color: var(--fdSwitch_Handle_Hover_Border_Color);
|
|
34498
|
-
background-color: var(--sapButton_Hover_Background);
|
|
34484
|
+
.fd-switch:hover, .fd-switch.is-hover {
|
|
34485
|
+
--fdSwitch_Track_Background: var(--fdSwitch_On_Hover_Slider_Background);
|
|
34486
|
+
--fdSwitch_Shadow: var(--fdSwitch_On_Hover_Slider_Shadow);
|
|
34487
|
+
--fdSwitch_Handle_Border_Color: var(--fdSwitch_Handle_Hover_Border_Color);
|
|
34488
|
+
--fdSwitch_Handle_Background: var(--fdSwitch_Hover_Handle_Background);
|
|
34489
|
+
--fdSwitch_Border_Color: var(--fdSwitch_On_Hover_Slider_Border);
|
|
34499
34490
|
}
|
|
34500
34491
|
.fd-switch:hover .fd-switch__input:checked + .fd-switch__slider, .fd-switch.is-hover .fd-switch__input:checked + .fd-switch__slider {
|
|
34501
|
-
|
|
34502
|
-
|
|
34503
|
-
|
|
34504
|
-
|
|
34505
|
-
background-color: var(--sapButton_Selected_Hover_Background);
|
|
34492
|
+
--fdSwitch_Track_Background: var(--fdSwitch_On_Hover_Slider_Active_Background);
|
|
34493
|
+
--fdSwitch_Shadow: var(--fdSwitch_On_Hover_Slider_Active_Shadow);
|
|
34494
|
+
--fdSwitch_Handle_Background: var(--fdSwitch_Hover_Handle_Active_Background);
|
|
34495
|
+
--fdSwitch_Handle_Border_Color: var(--fdSwitch_Handle_Selected_Hover_Border_Color);
|
|
34506
34496
|
}
|
|
34507
34497
|
.fd-switch--compact {
|
|
34508
|
-
|
|
34509
|
-
|
|
34510
|
-
|
|
34511
|
-
|
|
34512
|
-
|
|
34498
|
+
--fdSwitch_Padding: var(--fdSwitch_Compact_Padding);
|
|
34499
|
+
--fdSwitch_Handle_Width: var(--fdSwitch_Compact_Handle_Width);
|
|
34500
|
+
--fdSwitch_Handle_Height: var(--fdSwitch_Compact_Handle_Height);
|
|
34501
|
+
--fdSwitch_Width: var(--fdSwitch_Compact_Width);
|
|
34502
|
+
--fdSwitch_Height: var(--fdSwitch_Compact_Height);
|
|
34503
|
+
--fdSwitch_Icon_Size: var(--fdSwitch_Compact_Icon_Size);
|
|
34504
|
+
--fdSwitch_Track_Offset: translate(-0.8125rem, -50%);
|
|
34513
34505
|
}
|
|
34514
34506
|
.fd-switch--compact .fd-switch__track {
|
|
34515
34507
|
min-width: 3.125rem;
|
|
34516
34508
|
}
|
|
34517
|
-
.fd-switch--compact .fd-switch__slider {
|
|
34518
|
-
|
|
34519
|
-
height: var(--fdSwitch_Compact_Height);
|
|
34520
|
-
}
|
|
34521
|
-
.fd-switch--compact .fd-switch__track {
|
|
34522
|
-
-webkit-transform: translate(-0.8125rem, -50%);
|
|
34523
|
-
transform: translate(-0.8125rem, -50%);
|
|
34524
|
-
}
|
|
34525
|
-
.fd-switch--compact .fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
34526
|
-
-webkit-transform: translate(calc(var(--fdSwitch_Compact_Active_Handle_Offset) * -1), -50%);
|
|
34527
|
-
transform: translate(calc(var(--fdSwitch_Compact_Active_Handle_Offset) * -1), -50%);
|
|
34528
|
-
}
|
|
34529
|
-
[dir=rtl] .fd-switch--compact .fd-switch__track, .fd-switch--compact[dir=rtl] .fd-switch__track {
|
|
34530
|
-
-webkit-transform: translate(0.8125rem, -50%);
|
|
34531
|
-
transform: translate(0.8125rem, -50%);
|
|
34532
|
-
}
|
|
34533
|
-
[dir=rtl] .fd-switch--compact .fd-switch__input:checked + .fd-switch__slider .fd-switch__track, .fd-switch--compact[dir=rtl] .fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
34534
|
-
-webkit-transform: translate(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset_Rtl), -50%);
|
|
34535
|
-
transform: translate(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset_Rtl), -50%);
|
|
34509
|
+
.fd-switch--compact .fd-switch__input:checked + .fd-switch__slider {
|
|
34510
|
+
--fdSwitch_Track_Offset: translate(calc(var(--fdSwitch_Compact_Active_Handle_Offset) * -1), -50%);
|
|
34536
34511
|
}
|
|
34537
|
-
.fd-switch--
|
|
34538
|
-
|
|
34539
|
-
height: var(--fdSwitch_Semantic_Height);
|
|
34540
|
-
border-color: var(--sapErrorBorderColor);
|
|
34541
|
-
background-color: var(--fdSwitch_Semantic_Error_Background_Color);
|
|
34542
|
-
-webkit-box-shadow: var(--fdSwitch_Semantic_Error_Box_Shadow);
|
|
34543
|
-
box-shadow: var(--fdSwitch_Semantic_Error_Box_Shadow);
|
|
34544
|
-
}
|
|
34545
|
-
.fd-switch--semantic .fd-switch__track {
|
|
34546
|
-
-webkit-transform: translate(calc(var(--fdSwitch_Semantic_Handle_Offset) * -1), -50%);
|
|
34547
|
-
transform: translate(calc(var(--fdSwitch_Semantic_Handle_Offset) * -1), -50%);
|
|
34512
|
+
[dir=rtl] .fd-switch--compact, .fd-switch--compact[dir=rtl] {
|
|
34513
|
+
--fdSwitch_Track_Offset: translate(0.8125rem, -50%);
|
|
34548
34514
|
}
|
|
34549
|
-
.fd-switch--
|
|
34550
|
-
|
|
34551
|
-
transform: translate(calc(var(--fdSwitch_Semantic_Handle_Active_Offset) * -1), -50%);
|
|
34515
|
+
[dir=rtl] .fd-switch--compact .fd-switch__input:checked + .fd-switch__slider, .fd-switch--compact[dir=rtl] .fd-switch__input:checked + .fd-switch__slider {
|
|
34516
|
+
--fdSwitch_Track_Offset: translate(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset_Rtl), -50%);
|
|
34552
34517
|
}
|
|
34553
|
-
.fd-switch--semantic
|
|
34554
|
-
|
|
34555
|
-
|
|
34556
|
-
|
|
34518
|
+
.fd-switch--semantic {
|
|
34519
|
+
--fdSwitch_Width: var(--fdSwitch_Semantic_Width);
|
|
34520
|
+
--fdSwitch_Height: var(--fdSwitch_Semantic_Height);
|
|
34521
|
+
--fdSwitch_Track_Background: var(--fdSwitch_Semantic_Error_Background_Color);
|
|
34522
|
+
--fdSwitch_Shadow: var(--fdSwitch_Semantic_Error_Box_Shadow);
|
|
34523
|
+
--fdSwitch_Handle_Background: var(--fdSwitch_Semantic_Error_Handle_Background_Color);
|
|
34524
|
+
--fdSwitch_Handle_Border_Color: var(--fdSwitch_Semantic_Error_Handle_Border_Color);
|
|
34525
|
+
--fdSwitch_Border_Color: var(--sapErrorBorderColor);
|
|
34526
|
+
--fdSwitch_Track_Offset: translate(calc(var(--fdSwitch_Semantic_Handle_Offset) * -1), -50%);
|
|
34557
34527
|
}
|
|
34558
34528
|
.fd-switch--semantic .fd-switch__input:checked + .fd-switch__slider {
|
|
34559
|
-
|
|
34560
|
-
border-color: var(--sapSuccessBorderColor);
|
|
34561
|
-
-webkit-box-shadow: var(--fdSwitch_Semantic_Success_Box_Shadow);
|
|
34562
|
-
box-shadow: var(--fdSwitch_Semantic_Success_Box_Shadow);
|
|
34529
|
+
--fdSwitch_Track_Offset: translate(calc(var(--fdSwitch_Semantic_Handle_Active_Offset) * -1), -50%);
|
|
34563
34530
|
}
|
|
34564
|
-
.fd-switch--semantic .fd-switch__input:checked + .fd-switch__slider
|
|
34565
|
-
|
|
34566
|
-
|
|
34567
|
-
|
|
34531
|
+
.fd-switch--semantic .fd-switch__input:checked + .fd-switch__slider {
|
|
34532
|
+
--fdSwitch_Track_Background: var(--fdSwitch_Semantic_Success_Background_Color);
|
|
34533
|
+
--fdSwitch_Shadow: var(--fdSwitch_Semantic_Success_Box_Shadow);
|
|
34534
|
+
--fdSwitch_Handle_Border_Color: var(--fdSwitch_Semantic_Success_Handle_Border_Color);
|
|
34535
|
+
--fdSwitch_Handle_Background: var(--fdSwitch_Semantic_Success_Handle_Background_Color);
|
|
34536
|
+
--fdSwitch_Border_Color: var(--fdSwitch_Semantic_Success_Handle_Border_Color);
|
|
34568
34537
|
}
|
|
34569
34538
|
.fd-switch--semantic.fd-switch--compact {
|
|
34539
|
+
--fdSwitch_Width: var(--fdSwitch_Compact_Semantic_Width);
|
|
34540
|
+
--fdSwitch_Height: var(--fdSwitch_Compact_Semantic_Height);
|
|
34570
34541
|
padding: 0.1875rem 0;
|
|
34542
|
+
--fdSwitch_Track_Offset: translate(var(--fdSwitch_Compact_Semantic_Handle_Offset), -50%);
|
|
34571
34543
|
}
|
|
34572
|
-
.fd-switch--semantic.fd-switch--compact .fd-switch__slider {
|
|
34573
|
-
|
|
34574
|
-
height: var(--fdSwitch_Compact_Semantic_Height);
|
|
34575
|
-
}
|
|
34576
|
-
.fd-switch--semantic.fd-switch--compact .fd-switch__track {
|
|
34577
|
-
-webkit-transform: translate(var(--fdSwitch_Compact_Semantic_Handle_Offset), -50%);
|
|
34578
|
-
transform: translate(var(--fdSwitch_Compact_Semantic_Handle_Offset), -50%);
|
|
34544
|
+
.fd-switch--semantic.fd-switch--compact .fd-switch__input:checked + .fd-switch__slider {
|
|
34545
|
+
--fdSwitch_Track_Offset: translate(calc(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset) * -1), -50%);
|
|
34579
34546
|
}
|
|
34580
|
-
.fd-switch--semantic.fd-switch--
|
|
34581
|
-
|
|
34582
|
-
|
|
34583
|
-
|
|
34584
|
-
|
|
34585
|
-
|
|
34586
|
-
|
|
34587
|
-
|
|
34588
|
-
border-color: var(--fdSwitch_Semantic_Error_Color);
|
|
34589
|
-
}
|
|
34590
|
-
.fd-switch--semantic:hover .fd-switch__handle, .fd-switch--semantic.is-hover .fd-switch__handle {
|
|
34591
|
-
background-color: var(--fdSwitch_Semantic_Error_Handle_Hover_Background_Color);
|
|
34592
|
-
border-color: var(--fdSwitch_Semantic_Error_Handle_Hover_Border_Color);
|
|
34547
|
+
.fd-switch--semantic:hover, .fd-switch--semantic.is-hover {
|
|
34548
|
+
--fdSwitch_Track_Background: var(--fdSwitch_Semantic_Hover_Error_Background_Color);
|
|
34549
|
+
--fdSwitch_Shadow: var(--fdSwitch_Semantic_Hover_Error_Box_Shadow);
|
|
34550
|
+
--fdSwitch_Handle_Background: var(--fdSwitch_Semantic_Error_Handle_Hover_Background_Color);
|
|
34551
|
+
--fdSwitch_Handle_Border_Color: var(--fdSwitch_Semantic_Error_Handle_Hover_Border_Color);
|
|
34552
|
+
--fdSwitch_Semantic_Handle_Error_Color: var(--fdSwitch_Semantic_Hover_Error_Color);
|
|
34553
|
+
--fdSwitch_Semantic_Handle_Success_Color: var(--fdSwitch_Semantic_Hover_Success_Color);
|
|
34554
|
+
--fdSwitch_Border_Color: var(--fdSwitch_Semantic_Hover_Error_Border_Color);
|
|
34593
34555
|
}
|
|
34594
34556
|
.fd-switch--semantic:hover .fd-switch__input:checked + .fd-switch__slider, .fd-switch--semantic.is-hover .fd-switch__input:checked + .fd-switch__slider {
|
|
34595
|
-
|
|
34596
|
-
|
|
34557
|
+
--fdSwitch_Track_Background: var(--fdSwitch_Semantic_Hover_Success_Background_Color);
|
|
34558
|
+
--fdSwitch_Shadow: var(--fdSwitch_Semantic_Hover_Success_Box_Shadow);
|
|
34559
|
+
--fdSwitch_Handle_Background: var(--fdSwitch_Semantic_Success_Handle_Hover_Background_Color);
|
|
34560
|
+
--fdSwitch_Handle_Border_Color: var(--fdSwitch_Semantic_Success_Handle_Hover_Border_Color);
|
|
34561
|
+
--fdSwitch_Border_Color: var(--fdSwitch_Semantic_Hover_Success_Border_Color);
|
|
34597
34562
|
}
|
|
34598
|
-
.fd-switch--semantic
|
|
34599
|
-
|
|
34600
|
-
border-color: var(--fdSwitch_Semantic_Success_Handle_Hover_Border_Color);
|
|
34563
|
+
[dir=rtl] .fd-switch--semantic, .fd-switch--semantic[dir=rtl] {
|
|
34564
|
+
--fdSwitch_Track_Offset: translate(var(--fdSwitch_Semantic_Handle_Offset), -50%);
|
|
34601
34565
|
}
|
|
34602
|
-
.fd-switch--semantic
|
|
34603
|
-
|
|
34566
|
+
[dir=rtl] .fd-switch--semantic .fd-switch__input:checked + .fd-switch__slider, .fd-switch--semantic[dir=rtl] .fd-switch__input:checked + .fd-switch__slider {
|
|
34567
|
+
--fdSwitch_Track_Offset: translate(var(--fdSwitch_Semantic_Handle_Active_Offset), -50%);
|
|
34604
34568
|
}
|
|
34605
|
-
[dir=rtl] .fd-switch--semantic
|
|
34606
|
-
|
|
34607
|
-
transform: translate(var(--fdSwitch_Semantic_Handle_Offset), -50%);
|
|
34569
|
+
[dir=rtl] .fd-switch--semantic.fd-switch--compact, .fd-switch--semantic[dir=rtl].fd-switch--compact {
|
|
34570
|
+
--fdSwitch_Track_Offset: translate(calc(var(--fdSwitch_Compact_Semantic_Handle_Offset) * -1), -50%);
|
|
34608
34571
|
}
|
|
34609
|
-
[dir=rtl] .fd-switch--semantic .fd-switch__input:checked + .fd-switch__slider
|
|
34610
|
-
|
|
34611
|
-
transform: translate(var(--fdSwitch_Semantic_Handle_Active_Offset), -50%);
|
|
34612
|
-
}
|
|
34613
|
-
[dir=rtl] .fd-switch--semantic.fd-switch--compact .fd-switch__track, .fd-switch--semantic[dir=rtl].fd-switch--compact .fd-switch__track {
|
|
34614
|
-
-webkit-transform: translate(calc(var(--fdSwitch_Compact_Semantic_Handle_Offset) * -1), -50%);
|
|
34615
|
-
transform: translate(calc(var(--fdSwitch_Compact_Semantic_Handle_Offset) * -1), -50%);
|
|
34616
|
-
}
|
|
34617
|
-
[dir=rtl] .fd-switch--semantic.fd-switch--compact .fd-switch__input:checked + .fd-switch__slider .fd-switch__track, .fd-switch--semantic[dir=rtl].fd-switch--compact .fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
34618
|
-
-webkit-transform: translate(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset), -50%);
|
|
34619
|
-
transform: translate(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset), -50%);
|
|
34572
|
+
[dir=rtl] .fd-switch--semantic.fd-switch--compact .fd-switch__input:checked + .fd-switch__slider, .fd-switch--semantic[dir=rtl].fd-switch--compact .fd-switch__input:checked + .fd-switch__slider {
|
|
34573
|
+
--fdSwitch_Track_Offset: translate(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset), -50%);
|
|
34620
34574
|
}
|
|
34621
34575
|
/* Fully expanded pseudo element. Requires parent to have specified position */
|
|
34622
34576
|
/* stylelint-disable */
|
|
@@ -39482,6 +39436,10 @@ places the element far left of the screen. so it is not visible.
|
|
|
39482
39436
|
.fd-toolbar--info {
|
|
39483
39437
|
background-color: var(--sapInfobar_NonInteractive_Background);
|
|
39484
39438
|
color: var(--sapList_TextColor);
|
|
39439
|
+
padding-left: 0.5rem;
|
|
39440
|
+
padding-right: 1rem;
|
|
39441
|
+
position: relative;
|
|
39442
|
+
outline: none;
|
|
39485
39443
|
}
|
|
39486
39444
|
.fd-toolbar--info.fd-toolbar--active {
|
|
39487
39445
|
background-color: var(--sapInfobar_Background);
|
|
@@ -39493,6 +39451,34 @@ places the element far left of the screen. so it is not visible.
|
|
|
39493
39451
|
.fd-toolbar--info.fd-toolbar--active:active, .fd-toolbar--info.fd-toolbar--active.is-active {
|
|
39494
39452
|
background-color: var(--sapInfobar_Active_Background);
|
|
39495
39453
|
}
|
|
39454
|
+
[dir=rtl] .fd-toolbar--info, .fd-toolbar--info[dir=rtl] {
|
|
39455
|
+
padding-right: 0.5rem;
|
|
39456
|
+
padding-left: 1rem;
|
|
39457
|
+
}
|
|
39458
|
+
.fd-toolbar--info:focus::after, .fd-toolbar--info.is-focus::after {
|
|
39459
|
+
border-width: var(--sapContent_FocusWidth);
|
|
39460
|
+
border-color: var(--sapContent_FocusColor);
|
|
39461
|
+
border-style: var(--sapContent_FocusStyle);
|
|
39462
|
+
content: "";
|
|
39463
|
+
position: absolute;
|
|
39464
|
+
pointer-events: none;
|
|
39465
|
+
top: 0.0625rem;
|
|
39466
|
+
bottom: 0.0625rem;
|
|
39467
|
+
left: 0.0625rem;
|
|
39468
|
+
right: 0.0625rem;
|
|
39469
|
+
}
|
|
39470
|
+
.fd-toolbar--info:focus, .fd-toolbar--info.is-focus {
|
|
39471
|
+
z-index: 5;
|
|
39472
|
+
}
|
|
39473
|
+
.fd-toolbar--info:focus::after, .fd-toolbar--info.is-focus::after {
|
|
39474
|
+
border-color: var(--fdToolbar_Info_Outline_Color);
|
|
39475
|
+
}
|
|
39476
|
+
.fd-toolbar--info [class*=sap-icon] {
|
|
39477
|
+
font-size: 1rem;
|
|
39478
|
+
height: 1rem;
|
|
39479
|
+
line-height: 1rem;
|
|
39480
|
+
color: var(--sapInfobar_TextColor);
|
|
39481
|
+
}
|
|
39496
39482
|
.fd-toolbar__spacer {
|
|
39497
39483
|
font-size: var(--sapFontSize);
|
|
39498
39484
|
line-height: var(--sapContent_LineHeight);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-styles/theming-preview",
|
|
3
|
-
"version": "0.24.0-rc.
|
|
3
|
+
"version": "0.24.0-rc.116",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://sap.github.io/fundamental-styles/",
|
|
6
6
|
"description": "Fundamental Library Styles - Theming Package Preview",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"url": "https://github.com/SAP/fundamental-styles"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"fundamental-styles": "0.24.0-rc.
|
|
12
|
+
"fundamental-styles": "0.24.0-rc.116"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|