@fundamental-styles/theming-preview 0.24.0-rc.13 → 0.24.0-rc.17
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 +157 -83
- package/package.json +2 -2
package/fundamental-styles.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* Fundamental Library Styles v0.24.0-rc.
|
|
3
|
+
* Fundamental Library Styles v0.24.0-rc.17
|
|
4
4
|
* Copyright (c) 2022 SAP SE or an SAP affiliate company.
|
|
5
5
|
* Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)
|
|
6
6
|
*/
|
|
@@ -35864,7 +35864,7 @@ places the element far left of the screen. so it is not visible.
|
|
|
35864
35864
|
-ms-flex-align: center;
|
|
35865
35865
|
align-items: center;
|
|
35866
35866
|
cursor: pointer;
|
|
35867
|
-
padding:
|
|
35867
|
+
padding: var(--fdSwitch_Padding)
|
|
35868
35868
|
}
|
|
35869
35869
|
.fd-switch::after,
|
|
35870
35870
|
.fd-switch::before {
|
|
@@ -35892,8 +35892,7 @@ places the element far left of the screen. so it is not visible.
|
|
|
35892
35892
|
}
|
|
35893
35893
|
.fd-switch__control {
|
|
35894
35894
|
display: inline-block;
|
|
35895
|
-
position: relative
|
|
35896
|
-
padding: .375rem 0
|
|
35895
|
+
position: relative
|
|
35897
35896
|
}
|
|
35898
35897
|
.fd-switch__slider {
|
|
35899
35898
|
font-size: var(--sapFontSize);
|
|
@@ -35909,12 +35908,14 @@ places the element far left of the screen. so it is not visible.
|
|
|
35909
35908
|
background-color: var(--sapButton_Track_Background);
|
|
35910
35909
|
-webkit-box-sizing: content-box;
|
|
35911
35910
|
box-sizing: content-box;
|
|
35912
|
-
width:
|
|
35913
|
-
height:
|
|
35914
|
-
border: var(--
|
|
35911
|
+
width: var(--fdSwitch_Width);
|
|
35912
|
+
height: var(--fdSwitch_Height);
|
|
35913
|
+
border: var(--fdSwitch_Border);
|
|
35915
35914
|
-webkit-transition: all .1s;
|
|
35916
35915
|
transition: all .1s;
|
|
35917
|
-
border-radius:
|
|
35916
|
+
border-radius: var(--fdSwitch_Border_Radius);
|
|
35917
|
+
-webkit-box-shadow: var(--fdSwitch_Shadow);
|
|
35918
|
+
box-shadow: var(--fdSwitch_Shadow)
|
|
35918
35919
|
}
|
|
35919
35920
|
.fd-switch__slider::after,
|
|
35920
35921
|
.fd-switch__slider::before {
|
|
@@ -35944,8 +35945,6 @@ places the element far left of the screen. so it is not visible.
|
|
|
35944
35945
|
-ms-flex-align: center;
|
|
35945
35946
|
align-items: center;
|
|
35946
35947
|
top: 50%;
|
|
35947
|
-
-webkit-transform: translate(-1.1875rem,-50%);
|
|
35948
|
-
transform: translate(-1.1875rem,-50%);
|
|
35949
35948
|
-webkit-transition: all .1s;
|
|
35950
35949
|
transition: all .1s;
|
|
35951
35950
|
min-width: 4.25rem
|
|
@@ -35956,6 +35955,14 @@ places the element far left of the screen. so it is not visible.
|
|
|
35956
35955
|
box-sizing: inherit;
|
|
35957
35956
|
font-size: inherit
|
|
35958
35957
|
}
|
|
35958
|
+
.fd-switch .fd-switch__track {
|
|
35959
|
+
-webkit-transform: translate(calc(var(--fdSwitch_Handle_Offset) * -1),-50%);
|
|
35960
|
+
transform: translate(calc(var(--fdSwitch_Handle_Offset) * -1),-50%)
|
|
35961
|
+
}
|
|
35962
|
+
.fd-switch .fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
35963
|
+
-webkit-transform: translate(calc(var(--fdSwitch_Active_Handle_Offset) * -1),-50%);
|
|
35964
|
+
transform: translate(calc(var(--fdSwitch_Active_Handle_Offset) * -1),-50%)
|
|
35965
|
+
}
|
|
35959
35966
|
.fd-switch__text {
|
|
35960
35967
|
font-size: var(--sapFontSize);
|
|
35961
35968
|
line-height: var(--sapContent_LineHeight);
|
|
@@ -35996,6 +36003,9 @@ places the element far left of the screen. so it is not visible.
|
|
|
35996
36003
|
margin-left: .5rem;
|
|
35997
36004
|
margin-right: 0
|
|
35998
36005
|
}
|
|
36006
|
+
.fd-switch__icon {
|
|
36007
|
+
position: var(--fdSwitch_Semantic_Icon_Position)
|
|
36008
|
+
}
|
|
35999
36009
|
.fd-switch__icon [class*=sap-icon],
|
|
36000
36010
|
.fd-switch__icon[class*=sap-icon] {
|
|
36001
36011
|
display: -webkit-box;
|
|
@@ -36009,7 +36019,7 @@ places the element far left of the screen. so it is not visible.
|
|
|
36009
36019
|
align-items: center;
|
|
36010
36020
|
width: 1.75rem;
|
|
36011
36021
|
min-width: 1.75rem;
|
|
36012
|
-
font-size:
|
|
36022
|
+
font-size: var(--fdSwitch_Icon_Size);
|
|
36013
36023
|
line-height: 1.375rem;
|
|
36014
36024
|
-webkit-transition: visibility 0s ease 30ms,opacity 0s ease 30ms;
|
|
36015
36025
|
transition: visibility 0s ease 30ms,opacity 0s ease 30ms
|
|
@@ -36017,12 +36027,12 @@ places the element far left of the screen. so it is not visible.
|
|
|
36017
36027
|
.fd-switch__icon--off [class*=sap-icon],
|
|
36018
36028
|
.fd-switch__icon--off[class*=sap-icon] {
|
|
36019
36029
|
color: var(--sapNegativeElementColor);
|
|
36020
|
-
margin:
|
|
36030
|
+
margin: var(--fdSwitch_Icon_Error_Margin)
|
|
36021
36031
|
}
|
|
36022
36032
|
.fd-switch__icon--on [class*=sap-icon],
|
|
36023
36033
|
.fd-switch__icon--on[class*=sap-icon] {
|
|
36024
36034
|
color: var(--sapPositiveElementColor);
|
|
36025
|
-
margin:
|
|
36035
|
+
margin: var(--fdSwitch_Icon_Success_Margin);
|
|
36026
36036
|
visibility: hidden;
|
|
36027
36037
|
opacity: 0
|
|
36028
36038
|
}
|
|
@@ -36037,13 +36047,13 @@ places the element far left of the screen. so it is not visible.
|
|
|
36037
36047
|
padding: 0;
|
|
36038
36048
|
margin: 0;
|
|
36039
36049
|
border: 0;
|
|
36040
|
-
-webkit-box-sizing:
|
|
36041
|
-
box-sizing:
|
|
36042
|
-
border: var(--fdSwitch_Handle_Border_Width) solid var(--
|
|
36043
|
-
background-color: var(--
|
|
36044
|
-
min-width:
|
|
36045
|
-
min-height:
|
|
36046
|
-
border-radius:
|
|
36050
|
+
-webkit-box-sizing: var(--fdSwitch_Slider_Box_Sizing);
|
|
36051
|
+
box-sizing: var(--fdSwitch_Slider_Box_Sizing);
|
|
36052
|
+
border: var(--fdSwitch_Handle_Border_Width) solid var(--fdSwitch_Handle_Border_Color);
|
|
36053
|
+
background-color: var(--fdSwitch_Handle_Background);
|
|
36054
|
+
min-width: var(--fdSwitch_Handle_Width);
|
|
36055
|
+
min-height: var(--fdSwitch_Handle_Height);
|
|
36056
|
+
border-radius: var(--fdSwitch_Handle_Border_Radius);
|
|
36047
36057
|
background-clip: padding-box
|
|
36048
36058
|
}
|
|
36049
36059
|
.fd-switch__handle::after,
|
|
@@ -36088,31 +36098,35 @@ places the element far left of the screen. so it is not visible.
|
|
|
36088
36098
|
pointer-events: none;
|
|
36089
36099
|
opacity: var(--sapContent_DisabledOpacity)
|
|
36090
36100
|
}
|
|
36101
|
+
.fd-switch__input:focus + .fd-switch__slider {
|
|
36102
|
+
outline-offset: .125rem;
|
|
36103
|
+
outline-width: .125rem;
|
|
36104
|
+
outline-style: solid;
|
|
36105
|
+
outline-color: var(--fdSwitch_Focus_Outline_Color)
|
|
36106
|
+
}
|
|
36091
36107
|
.fd-switch__input:focus + .fd-switch__slider::before {
|
|
36092
36108
|
position: absolute;
|
|
36093
|
-
display:
|
|
36109
|
+
display: var(--fdSwitch_Focus_Border_Display);
|
|
36094
36110
|
outline-offset: -.0625rem;
|
|
36095
36111
|
border-width: var(--sapContent_FocusWidth);
|
|
36096
36112
|
border-color: var(--sapContent_FocusColor);
|
|
36097
36113
|
border-style: var(--sapContent_FocusStyle);
|
|
36098
36114
|
content: "";
|
|
36099
|
-
top:
|
|
36100
|
-
bottom:
|
|
36115
|
+
top: var(--fdSwitch_Focus_Outline_Vertical_Offset);
|
|
36116
|
+
bottom: var(--fdSwitch_Focus_Outline_Vertical_Offset);
|
|
36101
36117
|
left: 0;
|
|
36102
36118
|
right: 0
|
|
36103
36119
|
}
|
|
36104
36120
|
.fd-switch__input:checked + .fd-switch__slider {
|
|
36105
36121
|
background-color: var(--sapButton_Track_Selected_Background);
|
|
36106
|
-
border-color: var(--sapButton_Selected_BorderColor)
|
|
36122
|
+
border-color: var(--sapButton_Selected_BorderColor);
|
|
36123
|
+
-webkit-box-shadow: var(--fdSwitch_Active_Shadow);
|
|
36124
|
+
box-shadow: var(--fdSwitch_Active_Shadow)
|
|
36107
36125
|
}
|
|
36108
36126
|
.fd-switch__input:checked + .fd-switch__slider .fd-switch__handle {
|
|
36109
36127
|
background-color: var(--sapButton_Selected_Background);
|
|
36110
36128
|
border-color: var(--sapButton_Selected_BorderColor)
|
|
36111
36129
|
}
|
|
36112
|
-
.fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
36113
|
-
-webkit-transform: translate(.0625rem,-50%);
|
|
36114
|
-
transform: translate(.0625rem,-50%)
|
|
36115
|
-
}
|
|
36116
36130
|
.fd-switch__input:checked + .fd-switch__slider .fd-switch__icon--off [class*=sap-icon],
|
|
36117
36131
|
.fd-switch__input:checked + .fd-switch__slider .fd-switch__icon--off[class*=sap-icon] {
|
|
36118
36132
|
opacity: 0;
|
|
@@ -36125,29 +36139,29 @@ places the element far left of the screen. so it is not visible.
|
|
|
36125
36139
|
}
|
|
36126
36140
|
.fd-switch[dir=rtl] .fd-switch__icon--on,
|
|
36127
36141
|
[dir=rtl] .fd-switch .fd-switch__icon--on {
|
|
36128
|
-
margin:
|
|
36142
|
+
margin: var(--fdSwitch_Icon_Error_Margin)
|
|
36129
36143
|
}
|
|
36130
36144
|
.fd-switch[dir=rtl] .fd-switch__icon--off,
|
|
36131
36145
|
[dir=rtl] .fd-switch .fd-switch__icon--off {
|
|
36132
|
-
margin:
|
|
36146
|
+
margin: var(--fdSwitch_Icon_Success_Margin)
|
|
36133
36147
|
}
|
|
36134
36148
|
.fd-switch[dir=rtl] .fd-switch__track,
|
|
36135
36149
|
[dir=rtl] .fd-switch .fd-switch__track {
|
|
36136
|
-
-webkit-transform: translate(
|
|
36137
|
-
transform: translate(
|
|
36150
|
+
-webkit-transform: translate(var(--fdSwitch_Handle_Offset),-50%);
|
|
36151
|
+
transform: translate(var(--fdSwitch_Handle_Offset),-50%)
|
|
36138
36152
|
}
|
|
36139
36153
|
.fd-switch[dir=rtl] .fd-switch__input:checked + .fd-switch__slider .fd-switch__track,
|
|
36140
36154
|
[dir=rtl] .fd-switch .fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
36141
|
-
-webkit-transform: translate(
|
|
36142
|
-
transform: translate(
|
|
36155
|
+
-webkit-transform: translate(var(--fdSwitch_Active_Handle_Offset),-50%);
|
|
36156
|
+
transform: translate(var(--fdSwitch_Active_Handle_Offset),-50%)
|
|
36143
36157
|
}
|
|
36144
36158
|
.fd-switch.is-hover .fd-switch__slider,
|
|
36145
36159
|
.fd-switch:hover .fd-switch__slider {
|
|
36146
|
-
border-color: var(--
|
|
36160
|
+
border-color: var(--fdSwitch_Handle_Hover_Border_Color)
|
|
36147
36161
|
}
|
|
36148
36162
|
.fd-switch.is-hover .fd-switch__handle,
|
|
36149
36163
|
.fd-switch:hover .fd-switch__handle {
|
|
36150
|
-
border-color: var(--
|
|
36164
|
+
border-color: var(--fdSwitch_Handle_Hover_Border_Color);
|
|
36151
36165
|
background-color: var(--sapButton_Hover_Background)
|
|
36152
36166
|
}
|
|
36153
36167
|
.fd-switch.is-hover .fd-switch__input:checked + .fd-switch__slider,
|
|
@@ -36156,66 +36170,91 @@ places the element far left of the screen. so it is not visible.
|
|
|
36156
36170
|
}
|
|
36157
36171
|
.fd-switch.is-hover .fd-switch__input:checked + .fd-switch__slider .fd-switch__handle,
|
|
36158
36172
|
.fd-switch:hover .fd-switch__input:checked + .fd-switch__slider .fd-switch__handle {
|
|
36159
|
-
border-color: var(--
|
|
36173
|
+
border-color: var(--fdSwitch_Handle_Selected_Hover_Border_Color);
|
|
36160
36174
|
background-color: var(--sapButton_Selected_Hover_Background)
|
|
36161
36175
|
}
|
|
36162
36176
|
.fd-switch--compact {
|
|
36163
|
-
padding:
|
|
36177
|
+
padding: var(--fdSwitch_Compact_Padding)
|
|
36164
36178
|
}
|
|
36165
36179
|
.fd-switch--compact .fd-switch__handle {
|
|
36166
|
-
min-width:
|
|
36167
|
-
min-height:
|
|
36180
|
+
min-width: var(--fdSwitch_Compact_Handle_Width);
|
|
36181
|
+
min-height: var(--fdSwitch_Compact_Handle_Height)
|
|
36182
|
+
}
|
|
36183
|
+
.fd-switch--compact .fd-switch__track {
|
|
36184
|
+
min-width: 3.125rem
|
|
36168
36185
|
}
|
|
36169
36186
|
.fd-switch--compact .fd-switch__slider {
|
|
36170
|
-
width:
|
|
36171
|
-
height:
|
|
36187
|
+
width: var(--fdSwitch_Compact_Width);
|
|
36188
|
+
height: var(--fdSwitch_Compact_Height)
|
|
36172
36189
|
}
|
|
36173
36190
|
.fd-switch--compact .fd-switch__track {
|
|
36174
36191
|
-webkit-transform: translate(-.8125rem,-50%);
|
|
36175
|
-
transform: translate(-.8125rem,-50%)
|
|
36176
|
-
|
|
36192
|
+
transform: translate(-.8125rem,-50%)
|
|
36193
|
+
}
|
|
36194
|
+
.fd-switch--compact .fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
36195
|
+
-webkit-transform: translate(calc(var(--fdSwitch_Compact_Active_Handle_Offset) * -1),-50%);
|
|
36196
|
+
transform: translate(calc(var(--fdSwitch_Compact_Active_Handle_Offset) * -1),-50%)
|
|
36177
36197
|
}
|
|
36178
36198
|
.fd-switch--compact[dir=rtl] .fd-switch__track,
|
|
36179
36199
|
[dir=rtl] .fd-switch--compact .fd-switch__track {
|
|
36180
36200
|
-webkit-transform: translate(.8125rem,-50%);
|
|
36181
36201
|
transform: translate(.8125rem,-50%)
|
|
36182
36202
|
}
|
|
36203
|
+
.fd-switch--compact[dir=rtl] .fd-switch__input:checked + .fd-switch__slider .fd-switch__track,
|
|
36204
|
+
[dir=rtl] .fd-switch--compact .fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
36205
|
+
-webkit-transform: translate(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset_Rtl),-50%);
|
|
36206
|
+
transform: translate(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset_Rtl),-50%)
|
|
36207
|
+
}
|
|
36183
36208
|
.fd-switch--semantic .fd-switch__slider {
|
|
36184
|
-
width:
|
|
36185
|
-
height:
|
|
36209
|
+
width: var(--fdSwitch_Semantic_Width);
|
|
36210
|
+
height: var(--fdSwitch_Semantic_Height);
|
|
36186
36211
|
border-color: var(--sapErrorBorderColor);
|
|
36187
|
-
background-color: var(--
|
|
36212
|
+
background-color: var(--fdSwitch_Semantic_Error_Background_Color);
|
|
36213
|
+
-webkit-box-shadow: var(--fdSwitch_Semantic_Error_Box_Shadow);
|
|
36214
|
+
box-shadow: var(--fdSwitch_Semantic_Error_Box_Shadow)
|
|
36188
36215
|
}
|
|
36189
36216
|
.fd-switch--semantic .fd-switch__track {
|
|
36190
|
-
-webkit-transform: translate(-1
|
|
36191
|
-
transform: translate(-1
|
|
36217
|
+
-webkit-transform: translate(calc(var(--fdSwitch_Semantic_Handle_Offset) * -1),-50%);
|
|
36218
|
+
transform: translate(calc(var(--fdSwitch_Semantic_Handle_Offset) * -1),-50%)
|
|
36219
|
+
}
|
|
36220
|
+
.fd-switch--semantic .fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
36221
|
+
-webkit-transform: translate(calc(var(--fdSwitch_Semantic_Handle_Active_Offset) * -1),-50%);
|
|
36222
|
+
transform: translate(calc(var(--fdSwitch_Semantic_Handle_Active_Offset) * -1),-50%)
|
|
36192
36223
|
}
|
|
36193
36224
|
.fd-switch--semantic .fd-switch__handle {
|
|
36194
|
-
background-color: var(--
|
|
36195
|
-
|
|
36225
|
+
background-color: var(--fdSwitch_Handle_Background);
|
|
36226
|
+
background-color: var(--fdSwitch_Semantic_Error_Handle_Background_Color);
|
|
36227
|
+
border-color: var(--fdSwitch_Semantic_Error_Handle_Border_Color)
|
|
36196
36228
|
}
|
|
36197
36229
|
.fd-switch--semantic .fd-switch__input:checked + .fd-switch__slider {
|
|
36198
36230
|
background-color: var(--fdSwitch_Semantic_Success_Background_Color);
|
|
36199
|
-
border-color: var(--sapSuccessBorderColor)
|
|
36200
|
-
|
|
36201
|
-
|
|
36202
|
-
-webkit-transform: translate(-.0625rem,-50%);
|
|
36203
|
-
transform: translate(-.0625rem,-50%)
|
|
36231
|
+
border-color: var(--sapSuccessBorderColor);
|
|
36232
|
+
-webkit-box-shadow: var(--fdSwitch_Semantic_Success_Box_Shadow);
|
|
36233
|
+
box-shadow: var(--fdSwitch_Semantic_Success_Box_Shadow)
|
|
36204
36234
|
}
|
|
36205
36235
|
.fd-switch--semantic .fd-switch__input:checked + .fd-switch__slider .fd-switch__handle {
|
|
36206
|
-
border-color: var(--
|
|
36207
|
-
background-color: var(--
|
|
36236
|
+
border-color: var(--fdSwitch_Semantic_Success_Handle_Border_Color);
|
|
36237
|
+
background-color: var(--fdSwitch_Handle_Background);
|
|
36238
|
+
background-color: var(--fdSwitch_Semantic_Success_Handle_Background_Color)
|
|
36208
36239
|
}
|
|
36209
36240
|
.fd-switch--semantic.fd-switch--compact {
|
|
36210
36241
|
padding: .1875rem 0
|
|
36211
36242
|
}
|
|
36212
36243
|
.fd-switch--semantic.fd-switch--compact .fd-switch__slider {
|
|
36213
|
-
width:
|
|
36214
|
-
height:
|
|
36244
|
+
width: var(--fdSwitch_Compact_Semantic_Width);
|
|
36245
|
+
height: var(--fdSwitch_Compact_Semantic_Height)
|
|
36246
|
+
}
|
|
36247
|
+
.fd-switch--semantic.fd-switch--compact .fd-switch__track {
|
|
36248
|
+
-webkit-transform: translate(var(--fdSwitch_Compact_Semantic_Handle_Offset),-50%);
|
|
36249
|
+
transform: translate(var(--fdSwitch_Compact_Semantic_Handle_Offset),-50%)
|
|
36250
|
+
}
|
|
36251
|
+
.fd-switch--semantic.fd-switch--compact .fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
36252
|
+
-webkit-transform: translate(calc(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset) * -1),-50%);
|
|
36253
|
+
transform: translate(calc(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset) * -1),-50%)
|
|
36215
36254
|
}
|
|
36216
36255
|
.fd-switch--semantic.is-hover .fd-switch__icon,
|
|
36217
36256
|
.fd-switch--semantic:hover .fd-switch__icon {
|
|
36218
|
-
color: var(--
|
|
36257
|
+
color: var(--fdSwitch_Semantic_Icon_Error_Color)
|
|
36219
36258
|
}
|
|
36220
36259
|
.fd-switch--semantic.is-hover .fd-switch__slider,
|
|
36221
36260
|
.fd-switch--semantic:hover .fd-switch__slider {
|
|
@@ -36223,8 +36262,8 @@ places the element far left of the screen. so it is not visible.
|
|
|
36223
36262
|
}
|
|
36224
36263
|
.fd-switch--semantic.is-hover .fd-switch__handle,
|
|
36225
36264
|
.fd-switch--semantic:hover .fd-switch__handle {
|
|
36226
|
-
background-color: var(--
|
|
36227
|
-
border-color: var(--
|
|
36265
|
+
background-color: var(--fdSwitch_Semantic_Error_Handle_Hover_Background_Color);
|
|
36266
|
+
border-color: var(--fdSwitch_Semantic_Error_Handle_Hover_Border_Color)
|
|
36228
36267
|
}
|
|
36229
36268
|
.fd-switch--semantic.is-hover .fd-switch__input:checked + .fd-switch__slider,
|
|
36230
36269
|
.fd-switch--semantic:hover .fd-switch__input:checked + .fd-switch__slider {
|
|
@@ -36234,21 +36273,31 @@ places the element far left of the screen. so it is not visible.
|
|
|
36234
36273
|
.fd-switch--semantic.is-hover .fd-switch__input:checked + .fd-switch__slider .fd-switch__handle,
|
|
36235
36274
|
.fd-switch--semantic:hover .fd-switch__input:checked + .fd-switch__slider .fd-switch__handle {
|
|
36236
36275
|
background-color: var(--fdSwitch_Semantic_Success_Handle_Hover_Background_Color);
|
|
36237
|
-
border-color: var(--
|
|
36276
|
+
border-color: var(--fdSwitch_Semantic_Success_Handle_Hover_Border_Color)
|
|
36238
36277
|
}
|
|
36239
36278
|
.fd-switch--semantic.is-hover .fd-switch__input:checked + .fd-switch__slider .fd-switch__icon,
|
|
36240
36279
|
.fd-switch--semantic:hover .fd-switch__input:checked + .fd-switch__slider .fd-switch__icon {
|
|
36241
|
-
color: var(--
|
|
36280
|
+
color: var(--fdSwitch_Semantic_Icon_Success_Color)
|
|
36242
36281
|
}
|
|
36243
36282
|
.fd-switch--semantic[dir=rtl] .fd-switch__track,
|
|
36244
36283
|
[dir=rtl] .fd-switch--semantic .fd-switch__track {
|
|
36245
|
-
-webkit-transform: translate(
|
|
36246
|
-
transform: translate(
|
|
36284
|
+
-webkit-transform: translate(var(--fdSwitch_Semantic_Handle_Offset),-50%);
|
|
36285
|
+
transform: translate(var(--fdSwitch_Semantic_Handle_Offset),-50%)
|
|
36247
36286
|
}
|
|
36248
36287
|
.fd-switch--semantic[dir=rtl] .fd-switch__input:checked + .fd-switch__slider .fd-switch__track,
|
|
36249
36288
|
[dir=rtl] .fd-switch--semantic .fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
36250
|
-
-webkit-transform: translate(
|
|
36251
|
-
transform: translate(
|
|
36289
|
+
-webkit-transform: translate(var(--fdSwitch_Semantic_Handle_Active_Offset),-50%);
|
|
36290
|
+
transform: translate(var(--fdSwitch_Semantic_Handle_Active_Offset),-50%)
|
|
36291
|
+
}
|
|
36292
|
+
.fd-switch--semantic[dir=rtl].fd-switch--compact .fd-switch__track,
|
|
36293
|
+
[dir=rtl] .fd-switch--semantic.fd-switch--compact .fd-switch__track {
|
|
36294
|
+
-webkit-transform: translate(calc(var(--fdSwitch_Compact_Semantic_Handle_Offset) * -1),-50%);
|
|
36295
|
+
transform: translate(calc(var(--fdSwitch_Compact_Semantic_Handle_Offset) * -1),-50%)
|
|
36296
|
+
}
|
|
36297
|
+
.fd-switch--semantic[dir=rtl].fd-switch--compact .fd-switch__input:checked + .fd-switch__slider .fd-switch__track,
|
|
36298
|
+
[dir=rtl] .fd-switch--semantic.fd-switch--compact .fd-switch__input:checked + .fd-switch__slider .fd-switch__track {
|
|
36299
|
+
-webkit-transform: translate(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset),-50%);
|
|
36300
|
+
transform: translate(var(--fdSwitch_Compact_Semantic_Active_Handle_Offset),-50%)
|
|
36252
36301
|
}
|
|
36253
36302
|
/*!
|
|
36254
36303
|
.fd-table(--compact, --condensed, --no-horizontal-borders, --no-vertical-borders, --fixed, --hidden, --tree, --group)
|
|
@@ -40983,9 +41032,11 @@ places the element far left of the screen. so it is not visible.
|
|
|
40983
41032
|
padding: 0;
|
|
40984
41033
|
margin: 0;
|
|
40985
41034
|
border: 0;
|
|
40986
|
-
background-color: var(--sapButton_TokenBackground);
|
|
40987
|
-
color: var(--sapTextColor);
|
|
40988
41035
|
font-size: var(--sapFontSize);
|
|
41036
|
+
color: var(--fdToken_Text_Color);
|
|
41037
|
+
border-radius: var(--fdToken_Border_Radius);
|
|
41038
|
+
background-color: var(--sapButton_TokenBackground);
|
|
41039
|
+
border: var(--sapButton_BorderWidth) solid var(--sapButton_TokenBorderColor);
|
|
40989
41040
|
display: -webkit-inline-box;
|
|
40990
41041
|
display: -ms-inline-flexbox;
|
|
40991
41042
|
display: inline-flex;
|
|
@@ -40995,15 +41046,13 @@ places the element far left of the screen. so it is not visible.
|
|
|
40995
41046
|
-ms-flex-align: center;
|
|
40996
41047
|
align-items: center;
|
|
40997
41048
|
text-align: center;
|
|
40998
|
-
padding: .25rem 0 .25rem
|
|
40999
|
-
border-radius: .25rem;
|
|
41049
|
+
padding: .25rem 0 .25rem var(--fdToken_Padding_Left);
|
|
41000
41050
|
white-space: nowrap;
|
|
41001
41051
|
max-width: 100%;
|
|
41002
41052
|
min-width: 3.625rem;
|
|
41003
41053
|
text-overflow: clip;
|
|
41004
41054
|
height: 1.625rem;
|
|
41005
|
-
line-height: 1.5rem
|
|
41006
|
-
border: var(--sapButton_BorderWidth) solid var(--sapButton_TokenBorderColor)
|
|
41055
|
+
line-height: 1.5rem
|
|
41007
41056
|
}
|
|
41008
41057
|
.fd-token::after,
|
|
41009
41058
|
.fd-token::before {
|
|
@@ -41014,7 +41063,7 @@ places the element far left of the screen. so it is not visible.
|
|
|
41014
41063
|
.fd-token[dir=rtl],
|
|
41015
41064
|
[dir=rtl] .fd-token {
|
|
41016
41065
|
padding-left: 0;
|
|
41017
|
-
padding-right:
|
|
41066
|
+
padding-right: var(--fdToken_Padding_Left)
|
|
41018
41067
|
}
|
|
41019
41068
|
.fd-token__text {
|
|
41020
41069
|
overflow: hidden;
|
|
@@ -41078,15 +41127,17 @@ places the element far left of the screen. so it is not visible.
|
|
|
41078
41127
|
box-shadow: none
|
|
41079
41128
|
}
|
|
41080
41129
|
.fd-token:hover {
|
|
41081
|
-
background-color: var(--
|
|
41082
|
-
border-color: var(--
|
|
41130
|
+
background-color: var(--fdToken_Background_Color_Hover);
|
|
41131
|
+
border-color: var(--fdToken_Border_Color_Hover);
|
|
41132
|
+
-webkit-box-shadow: var(--fdToken_Box_Shadow_Hover);
|
|
41133
|
+
box-shadow: var(--fdToken_Box_Shadow_Hover)
|
|
41083
41134
|
}
|
|
41084
41135
|
.fd-token.is-focus,
|
|
41085
41136
|
.fd-token:focus {
|
|
41086
41137
|
z-index: 5;
|
|
41087
41138
|
-webkit-box-shadow: none;
|
|
41088
41139
|
box-shadow: none;
|
|
41089
|
-
outline-offset:
|
|
41140
|
+
outline-offset: var(--fdToken_Outline_Offset);
|
|
41090
41141
|
outline-width: var(--sapContent_FocusWidth);
|
|
41091
41142
|
outline-color: var(--sapContent_FocusColor);
|
|
41092
41143
|
outline-style: var(--sapContent_FocusStyle)
|
|
@@ -41109,6 +41160,17 @@ places the element far left of the screen. so it is not visible.
|
|
|
41109
41160
|
padding-left: 0;
|
|
41110
41161
|
padding-right: .25rem
|
|
41111
41162
|
}
|
|
41163
|
+
.fd-token--compact.is-focus,
|
|
41164
|
+
.fd-token--compact:focus {
|
|
41165
|
+
z-index: 5;
|
|
41166
|
+
-webkit-box-shadow: none;
|
|
41167
|
+
box-shadow: none;
|
|
41168
|
+
outline-offset: var(--fdToken_Outline_Offset);
|
|
41169
|
+
outline-width: var(--sapContent_FocusWidth);
|
|
41170
|
+
outline-color: var(--sapContent_FocusColor);
|
|
41171
|
+
outline-style: var(--sapContent_FocusStyle);
|
|
41172
|
+
outline-offset: var(--fdToken_Outline_Offset_Compact)
|
|
41173
|
+
}
|
|
41112
41174
|
.fd-token--selected {
|
|
41113
41175
|
color: var(--sapButton_Selected_TextColor);
|
|
41114
41176
|
background-color: var(--sapButton_Selected_Background);
|
|
@@ -41119,22 +41181,26 @@ places the element far left of the screen. so it is not visible.
|
|
|
41119
41181
|
}
|
|
41120
41182
|
.fd-token--selected:hover {
|
|
41121
41183
|
background-color: var(--sapButton_Selected_Hover_Background);
|
|
41122
|
-
border-color: var(--sapButton_Selected_Hover_BorderColor)
|
|
41184
|
+
border-color: var(--sapButton_Selected_Hover_BorderColor);
|
|
41185
|
+
-webkit-box-shadow: var(--fdToken_Box_Shadow_Selected_Hover);
|
|
41186
|
+
box-shadow: var(--fdToken_Box_Shadow_Selected_Hover)
|
|
41123
41187
|
}
|
|
41124
41188
|
.fd-token--selected.is-focus,
|
|
41125
41189
|
.fd-token--selected:focus {
|
|
41126
41190
|
z-index: 5;
|
|
41127
41191
|
-webkit-box-shadow: none;
|
|
41128
41192
|
box-shadow: none;
|
|
41129
|
-
outline-offset:
|
|
41193
|
+
outline-offset: var(--fdToken_Outline_Offset);
|
|
41130
41194
|
outline-width: var(--sapContent_FocusWidth);
|
|
41131
41195
|
outline-color: var(--sapContent_FocusColor);
|
|
41132
41196
|
outline-style: var(--sapContent_FocusStyle);
|
|
41133
|
-
outline-color: var(--
|
|
41197
|
+
outline-color: var(--fdToken_Border_Color_Selected_Focus)
|
|
41134
41198
|
}
|
|
41135
41199
|
.fd-token--readonly {
|
|
41136
41200
|
color: var(--sapContent_LabelColor);
|
|
41137
|
-
|
|
41201
|
+
background-color: var(--fdToken_Background_Color_Read_Only);
|
|
41202
|
+
padding: .25rem .375rem;
|
|
41203
|
+
border: var(--sapButton_BorderWidth) solid var(--fdToken_Border_Color_Read_Only)
|
|
41138
41204
|
}
|
|
41139
41205
|
.fd-token--readonly.fd-token--compact {
|
|
41140
41206
|
padding: .1rem .25rem
|
|
@@ -41143,6 +41209,14 @@ places the element far left of the screen. so it is not visible.
|
|
|
41143
41209
|
[dir=rtl] .fd-token--readonly.fd-token--compact {
|
|
41144
41210
|
padding-left: .25rem
|
|
41145
41211
|
}
|
|
41212
|
+
.fd-token--readonly.is-hover,
|
|
41213
|
+
.fd-token--readonly:hover {
|
|
41214
|
+
-webkit-box-shadow: none;
|
|
41215
|
+
box-shadow: none;
|
|
41216
|
+
color: var(--sapContent_LabelColor);
|
|
41217
|
+
background-color: var(--fdToken_Background_Color_Read_Only);
|
|
41218
|
+
border: var(--sapButton_BorderWidth) solid var(--fdToken_Border_Color_Read_Only)
|
|
41219
|
+
}
|
|
41146
41220
|
.fd-token--readonly[dir=rtl],
|
|
41147
41221
|
[dir=rtl] .fd-token--readonly {
|
|
41148
41222
|
padding-left: .375rem
|
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.17",
|
|
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.17"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|