@plexui/styles 0.17.11 → 0.17.13
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/dist/es/components/Button/Button.module.css +173 -118
- package/dist/es/components/Tip/Tip.module.css +64 -0
- package/dist/es/styles/mobile-materials.css +26 -4
- package/dist/es/styles/touch.css +26 -14
- package/dist/es/tokens/tokens.generated.js +43 -25
- package/dist/es/tokens/tokens.generated.js.map +1 -1
- package/package.json +1 -1
|
@@ -941,14 +941,42 @@
|
|
|
941
941
|
--button-mobile-material-scale: 1;
|
|
942
942
|
}
|
|
943
943
|
|
|
944
|
+
/* Clear glass (mobileMaterial="clear") for a button over a photo, a video or a color: iOS 26's clear glass with the
|
|
945
|
+
kit's #f5f5f5 label, in both themes; the type is the glass button's (below). */
|
|
946
|
+
.Button.Button.Button[data-mobile-material="clear"]:where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]) {
|
|
947
|
+
--button-mobile-material-background: var(--mobile-glass-clear-background);
|
|
948
|
+
--button-mobile-material-hover: var(--mobile-glass-clear-background);
|
|
949
|
+
--button-mobile-material-active: var(--mobile-glass-clear-background-active);
|
|
950
|
+
--button-mobile-material-sheen: none;
|
|
951
|
+
--button-mobile-material-shadow: var(--mobile-glass-clear-shadow);
|
|
952
|
+
--button-mobile-material-backdrop-filter: var(--mobile-glass-clear-backdrop-filter);
|
|
953
|
+
--button-mobile-material-opacity: 1;
|
|
954
|
+
--button-mobile-material-scale: 1;
|
|
955
|
+
--button-text-color: var(--mobile-glass-clear-label);
|
|
956
|
+
--button-text-color-hover: var(--mobile-glass-clear-label);
|
|
957
|
+
--button-text-color-active: var(--mobile-glass-clear-label);
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
/* Disabled keeps the clear glass, as a glass button does, and dims its label to 40% */
|
|
961
|
+
.Button.Button.Button[data-mobile-material="clear"]:where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"])[data-disabled] {
|
|
962
|
+
--button-text-color: color-mix(in srgb, var(--mobile-glass-clear-label) 40%, transparent);
|
|
963
|
+
--button-text-color-hover: color-mix(in srgb, var(--mobile-glass-clear-label) 40%, transparent);
|
|
964
|
+
--button-text-color-active: color-mix(in srgb, var(--mobile-glass-clear-label) 40%, transparent);
|
|
965
|
+
}
|
|
966
|
+
|
|
944
967
|
/* A glass text button is the Liquid Glass text button of the iOS 27 kit (Button - Liquid Glass - Text 5473:21667):
|
|
945
|
-
its label is Medium, 17px from the medium (34px) size up,
|
|
946
|
-
the small one keeps 15px. With touch.css, as the glass itself; disabled ones keep it. */
|
|
947
|
-
.Button[data-mobile-material="glass"]:where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]) {
|
|
968
|
+
its label is Medium, 17px from the medium (34px) size up with 12px each side, where a bordered button takes
|
|
969
|
+
Subheadline 15px and 14px; the small one keeps 15px. With touch.css, as the glass itself; disabled ones keep it. */
|
|
970
|
+
.Button:is([data-mobile-material="glass"], [data-mobile-material="clear"]):where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]) {
|
|
948
971
|
font-weight: var(--button-glass-font-weight, var(--button-font-weight));
|
|
949
972
|
}
|
|
950
973
|
|
|
951
|
-
|
|
974
|
+
/* 12 a side unless a gutter is set (gutterSize) or the button is an icon alone */
|
|
975
|
+
.Button:is([data-mobile-material="glass"], [data-mobile-material="clear"]):where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]):where([data-size="md"], [data-size="lg"]):not([data-gutter-size], [data-uniform]) {
|
|
976
|
+
--button-gutter: var(--button-glass-gutter, var(--button-gutter-md));
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
.Button:is([data-mobile-material="glass"], [data-mobile-material="clear"]):where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]):where([data-size="md"], [data-size="lg"]) {
|
|
952
980
|
font-size: var(--button-glass-font-size, var(--button-font-size));
|
|
953
981
|
line-height: var(--button-glass-line-height, var(--button-line-height, 1));
|
|
954
982
|
}
|
|
@@ -960,7 +988,7 @@
|
|
|
960
988
|
242 for gray), and an outline one with it. It shows at once and fades when the finger lifts. A glass button keeps
|
|
961
989
|
its own press, and a row of a list its gray fill (FieldGroup); so does a button a bar or a group makes glass
|
|
962
990
|
(--button-mobile-material-opacity 1, Toolbar, Page, ButtonGroup): its fill stays and its label does not change. */
|
|
963
|
-
.Button[data-variant]:not([data-mobile-material="glass"], [data-disabled]):active {
|
|
991
|
+
.Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active {
|
|
964
992
|
color: var(
|
|
965
993
|
--button-press-text-color,
|
|
966
994
|
light-dark(
|
|
@@ -971,44 +999,44 @@
|
|
|
971
999
|
transition-duration: 0s;
|
|
972
1000
|
}
|
|
973
1001
|
|
|
974
|
-
.Button[data-variant]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1002
|
+
.Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
975
1003
|
transition-duration: 0s;
|
|
976
1004
|
}
|
|
977
1005
|
|
|
978
1006
|
/* Its press does not scale, so on a phone the layers of a button that is not glass never take a transform, nor
|
|
979
1007
|
declare a transition for one: a press changes their fill alone, and starts no transform transition. */
|
|
980
|
-
.Button.Button[data-variant]:not([data-mobile-material="glass"])::before,
|
|
981
|
-
.Button.Button[data-variant]:not([data-mobile-material="glass"])::after {
|
|
1008
|
+
.Button.Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"])::before,
|
|
1009
|
+
.Button.Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"])::after {
|
|
982
1010
|
transform: none;
|
|
983
1011
|
transition-property: opacity, background-color, box-shadow, border-color;
|
|
984
1012
|
}
|
|
985
1013
|
|
|
986
|
-
.Button.Button[data-variant]:not([data-mobile-material="glass"])::after {
|
|
1014
|
+
.Button.Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"])::after {
|
|
987
1015
|
transition-property: none;
|
|
988
1016
|
will-change: auto;
|
|
989
1017
|
}
|
|
990
1018
|
|
|
991
|
-
.Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1019
|
+
.Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
992
1020
|
opacity: var(--button-press-fill-opacity, var(--button-mobile-material-opacity, 0));
|
|
993
1021
|
}
|
|
994
1022
|
|
|
995
|
-
.Button:is([data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1023
|
+
.Button:is([data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
996
1024
|
opacity: var(--button-press-fill-opacity, calc(0.7 + 0.3 * var(--button-mobile-material-opacity, 0)));
|
|
997
1025
|
}
|
|
998
1026
|
|
|
999
|
-
.Button[data-variant="soft"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1027
|
+
.Button[data-variant="soft"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1000
1028
|
background-color: var(--button-mobile-material-active, var(--button-background-color));
|
|
1001
1029
|
}
|
|
1002
1030
|
|
|
1003
|
-
.Button[data-variant="outline"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1031
|
+
.Button[data-variant="outline"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1004
1032
|
background-color: var(--button-mobile-material-active, var(--button-outline-context-background, var(--button-outline-background)));
|
|
1005
1033
|
}
|
|
1006
1034
|
|
|
1007
|
-
.Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-disabled]):active::before, :where([data-theme="light"]) .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1035
|
+
.Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before, :where([data-theme="light"]) .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1008
1036
|
background-color: color-mix(in srgb, var(--button-background-color), #fff 30%);
|
|
1009
1037
|
}
|
|
1010
1038
|
|
|
1011
|
-
:where([data-theme="dark"]) .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1039
|
+
:where([data-theme="dark"]) .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1012
1040
|
background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
1013
1041
|
}
|
|
1014
1042
|
|
|
@@ -1025,7 +1053,7 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1025
1053
|
--button-text-color: var(--button-mobile-disabled-color, var(--mobile-label-tertiary, var(--color-text-disabled)));
|
|
1026
1054
|
}
|
|
1027
1055
|
|
|
1028
|
-
.Button:is([data-mobile-material="flat"], [data-disabled]:where(:not([data-mobile-material="glass"]))) {
|
|
1056
|
+
.Button:is([data-mobile-material="flat"], [data-disabled]:where(:not([data-mobile-material="glass"], [data-mobile-material="clear"]))) {
|
|
1029
1057
|
--button-mobile-material-background: initial;
|
|
1030
1058
|
--button-mobile-material-hover: initial;
|
|
1031
1059
|
--button-mobile-material-active: initial;
|
|
@@ -1066,14 +1094,42 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1066
1094
|
--button-mobile-material-scale: 1;
|
|
1067
1095
|
}
|
|
1068
1096
|
|
|
1097
|
+
/* Clear glass (mobileMaterial="clear") for a button over a photo, a video or a color: iOS 26's clear glass with the
|
|
1098
|
+
kit's #f5f5f5 label, in both themes; the type is the glass button's (below). */
|
|
1099
|
+
:where([data-plex-layout="phone"]) .Button.Button.Button[data-mobile-material="clear"]:where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]) {
|
|
1100
|
+
--button-mobile-material-background: var(--mobile-glass-clear-background);
|
|
1101
|
+
--button-mobile-material-hover: var(--mobile-glass-clear-background);
|
|
1102
|
+
--button-mobile-material-active: var(--mobile-glass-clear-background-active);
|
|
1103
|
+
--button-mobile-material-sheen: none;
|
|
1104
|
+
--button-mobile-material-shadow: var(--mobile-glass-clear-shadow);
|
|
1105
|
+
--button-mobile-material-backdrop-filter: var(--mobile-glass-clear-backdrop-filter);
|
|
1106
|
+
--button-mobile-material-opacity: 1;
|
|
1107
|
+
--button-mobile-material-scale: 1;
|
|
1108
|
+
--button-text-color: var(--mobile-glass-clear-label);
|
|
1109
|
+
--button-text-color-hover: var(--mobile-glass-clear-label);
|
|
1110
|
+
--button-text-color-active: var(--mobile-glass-clear-label);
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/* Disabled keeps the clear glass, as a glass button does, and dims its label to 40% */
|
|
1114
|
+
:where([data-plex-layout="phone"]) .Button.Button.Button[data-mobile-material="clear"]:where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"])[data-disabled] {
|
|
1115
|
+
--button-text-color: color-mix(in srgb, var(--mobile-glass-clear-label) 40%, transparent);
|
|
1116
|
+
--button-text-color-hover: color-mix(in srgb, var(--mobile-glass-clear-label) 40%, transparent);
|
|
1117
|
+
--button-text-color-active: color-mix(in srgb, var(--mobile-glass-clear-label) 40%, transparent);
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1069
1120
|
/* A glass text button is the Liquid Glass text button of the iOS 27 kit (Button - Liquid Glass - Text 5473:21667):
|
|
1070
|
-
its label is Medium, 17px from the medium (34px) size up,
|
|
1071
|
-
the small one keeps 15px. With touch.css, as the glass itself; disabled ones keep it. */
|
|
1072
|
-
:where([data-plex-layout="phone"]) .Button[data-mobile-material="glass"]:where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]) {
|
|
1121
|
+
its label is Medium, 17px from the medium (34px) size up with 12px each side, where a bordered button takes
|
|
1122
|
+
Subheadline 15px and 14px; the small one keeps 15px. With touch.css, as the glass itself; disabled ones keep it. */
|
|
1123
|
+
:where([data-plex-layout="phone"]) .Button:is([data-mobile-material="glass"], [data-mobile-material="clear"]):where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]) {
|
|
1073
1124
|
font-weight: var(--button-glass-font-weight, var(--button-font-weight));
|
|
1074
1125
|
}
|
|
1075
1126
|
|
|
1076
|
-
|
|
1127
|
+
/* 12 a side unless a gutter is set (gutterSize) or the button is an icon alone */
|
|
1128
|
+
:where([data-plex-layout="phone"]) .Button:is([data-mobile-material="glass"], [data-mobile-material="clear"]):where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]):where([data-size="md"], [data-size="lg"]):not([data-gutter-size], [data-uniform]) {
|
|
1129
|
+
--button-gutter: var(--button-glass-gutter, var(--button-gutter-md));
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
:where([data-plex-layout="phone"]) .Button:is([data-mobile-material="glass"], [data-mobile-material="clear"]):where([data-color="primary"], [data-color="secondary"]):where([data-variant="soft"], [data-variant="ghost"]):where([data-size="md"], [data-size="lg"]) {
|
|
1077
1133
|
font-size: var(--button-glass-font-size, var(--button-font-size));
|
|
1078
1134
|
line-height: var(--button-glass-line-height, var(--button-line-height, 1));
|
|
1079
1135
|
}
|
|
@@ -1085,7 +1141,7 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1085
1141
|
242 for gray), and an outline one with it. It shows at once and fades when the finger lifts. A glass button keeps
|
|
1086
1142
|
its own press, and a row of a list its gray fill (FieldGroup); so does a button a bar or a group makes glass
|
|
1087
1143
|
(--button-mobile-material-opacity 1, Toolbar, Page, ButtonGroup): its fill stays and its label does not change. */
|
|
1088
|
-
:where([data-plex-layout="phone"]) .Button[data-variant]:not([data-mobile-material="glass"], [data-disabled]):active {
|
|
1144
|
+
:where([data-plex-layout="phone"]) .Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active {
|
|
1089
1145
|
color: var(
|
|
1090
1146
|
--button-press-text-color,
|
|
1091
1147
|
light-dark(
|
|
@@ -1096,44 +1152,43 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1096
1152
|
transition-duration: 0s;
|
|
1097
1153
|
}
|
|
1098
1154
|
|
|
1099
|
-
:where([data-plex-layout="phone"]) .Button[data-variant]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1155
|
+
:where([data-plex-layout="phone"]) .Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1100
1156
|
transition-duration: 0s;
|
|
1101
1157
|
}
|
|
1102
1158
|
|
|
1103
1159
|
/* Its press does not scale, so on a phone the layers of a button that is not glass never take a transform, nor
|
|
1104
1160
|
declare a transition for one: a press changes their fill alone, and starts no transform transition. */
|
|
1105
|
-
:where([data-plex-layout="phone"]) .Button.Button[data-variant]:not([data-mobile-material="glass"])::before,
|
|
1106
|
-
:where([data-plex-layout="phone"]) .Button.Button[data-variant]:not([data-mobile-material="glass"])::after {
|
|
1161
|
+
:where([data-plex-layout="phone"]) .Button.Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"])::before, :where([data-plex-layout="phone"]) .Button.Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"])::after {
|
|
1107
1162
|
transform: none;
|
|
1108
1163
|
transition-property: opacity, background-color, box-shadow, border-color;
|
|
1109
1164
|
}
|
|
1110
1165
|
|
|
1111
|
-
:where([data-plex-layout="phone"]) .Button.Button[data-variant]:not([data-mobile-material="glass"])::after {
|
|
1166
|
+
:where([data-plex-layout="phone"]) .Button.Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"])::after {
|
|
1112
1167
|
transition-property: none;
|
|
1113
1168
|
will-change: auto;
|
|
1114
1169
|
}
|
|
1115
1170
|
|
|
1116
|
-
:where([data-plex-layout="phone"]) .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1171
|
+
:where([data-plex-layout="phone"]) .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1117
1172
|
opacity: var(--button-press-fill-opacity, var(--button-mobile-material-opacity, 0));
|
|
1118
1173
|
}
|
|
1119
1174
|
|
|
1120
|
-
:where([data-plex-layout="phone"]) .Button:is([data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1175
|
+
:where([data-plex-layout="phone"]) .Button:is([data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1121
1176
|
opacity: var(--button-press-fill-opacity, calc(0.7 + 0.3 * var(--button-mobile-material-opacity, 0)));
|
|
1122
1177
|
}
|
|
1123
1178
|
|
|
1124
|
-
:where([data-plex-layout="phone"]) .Button[data-variant="soft"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1179
|
+
:where([data-plex-layout="phone"]) .Button[data-variant="soft"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1125
1180
|
background-color: var(--button-mobile-material-active, var(--button-background-color));
|
|
1126
1181
|
}
|
|
1127
1182
|
|
|
1128
|
-
:where([data-plex-layout="phone"]) .Button[data-variant="outline"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1183
|
+
:where([data-plex-layout="phone"]) .Button[data-variant="outline"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1129
1184
|
background-color: var(--button-mobile-material-active, var(--button-outline-context-background, var(--button-outline-background)));
|
|
1130
1185
|
}
|
|
1131
1186
|
|
|
1132
|
-
:where([data-plex-layout="phone"]) .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-disabled]):active::before, :where([data-theme="light"]) :where([data-plex-layout="phone"]) .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1187
|
+
:where([data-plex-layout="phone"]) .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before, :where([data-theme="light"]) :where([data-plex-layout="phone"]) .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1133
1188
|
background-color: color-mix(in srgb, var(--button-background-color), #fff 30%);
|
|
1134
1189
|
}
|
|
1135
1190
|
|
|
1136
|
-
:where([data-theme="dark"]) :where([data-plex-layout="phone"]) .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1191
|
+
:where([data-theme="dark"]) :where([data-plex-layout="phone"]) .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1137
1192
|
background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
1138
1193
|
}
|
|
1139
1194
|
|
|
@@ -1150,7 +1205,7 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1150
1205
|
--button-text-color: var(--button-mobile-disabled-color, var(--mobile-label-tertiary, var(--color-text-disabled)));
|
|
1151
1206
|
}
|
|
1152
1207
|
|
|
1153
|
-
:where([data-plex-layout="phone"]) .Button:is([data-mobile-material="flat"], [data-disabled]:where(:not([data-mobile-material="glass"]))) {
|
|
1208
|
+
:where([data-plex-layout="phone"]) .Button:is([data-mobile-material="flat"], [data-disabled]:where(:not([data-mobile-material="glass"], [data-mobile-material="clear"]))) {
|
|
1154
1209
|
--button-mobile-material-background: initial;
|
|
1155
1210
|
--button-mobile-material-hover: initial;
|
|
1156
1211
|
--button-mobile-material-active: initial;
|
|
@@ -1189,13 +1244,13 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1189
1244
|
--button-icon-size: 24px;
|
|
1190
1245
|
}
|
|
1191
1246
|
|
|
1192
|
-
[data-platform="android"] .Button[data-variant]:not([data-mobile-material="glass"]) {
|
|
1247
|
+
[data-platform="android"] .Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1193
1248
|
--button-press-text-color: var(--button-text-color);
|
|
1194
1249
|
--android-button-press: color-mix(in srgb, var(--button-text-color) 10%, transparent);
|
|
1195
1250
|
--android-ripple-ink: var(--android-button-press);
|
|
1196
1251
|
}
|
|
1197
1252
|
|
|
1198
|
-
[data-platform="android"] .Button[data-variant]:not([data-mobile-material="glass"])[data-variant="solid"] {
|
|
1253
|
+
[data-platform="android"] .Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"])[data-variant="solid"] {
|
|
1199
1254
|
--android-button-press: var(--android-button-solid-press);
|
|
1200
1255
|
}
|
|
1201
1256
|
|
|
@@ -1203,14 +1258,14 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1203
1258
|
background-image: var(--android-ripple-image);
|
|
1204
1259
|
}
|
|
1205
1260
|
|
|
1206
|
-
[data-platform="android"] .Button:is([data-variant="solid"], [data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-uniform], [data-navigation-action], :where([data-row], [data-slot="input-group"], [data-slot="input"], [data-toolbar]:not([data-placement="bottom"])) *) {
|
|
1261
|
+
[data-platform="android"] .Button:is([data-variant="solid"], [data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-uniform], [data-navigation-action], :where([data-row], [data-slot="input-group"], [data-slot="input"], [data-toolbar]:not([data-placement="bottom"])) *) {
|
|
1207
1262
|
transition:
|
|
1208
1263
|
opacity var(--transition-duration-basic) var(--transition-ease-basic),
|
|
1209
1264
|
color var(--transition-duration-basic) var(--transition-ease-basic),
|
|
1210
1265
|
scale 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
1211
1266
|
}
|
|
1212
1267
|
|
|
1213
|
-
[data-platform="android"] .Button:is([data-variant="solid"], [data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-uniform], [data-navigation-action], :where([data-row], [data-slot="input-group"], [data-slot="input"], [data-toolbar]:not([data-placement="bottom"])) *):not([data-disabled]):active {
|
|
1268
|
+
[data-platform="android"] .Button:is([data-variant="solid"], [data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-uniform], [data-navigation-action], :where([data-row], [data-slot="input-group"], [data-slot="input"], [data-toolbar]:not([data-placement="bottom"])) *):not([data-disabled]):active {
|
|
1214
1269
|
scale: 0.98;
|
|
1215
1270
|
transition-duration: 80ms;
|
|
1216
1271
|
transition-timing-function: ease-out;
|
|
@@ -1219,189 +1274,189 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1219
1274
|
/* A ghost button in a field or a row (InputGroup.Button, a row's own small action; not a full-row action) and a
|
|
1220
1275
|
ghost icon-only one ripple borderless, as the reference's small buttons (its 20dp circle, no mask): a circle of
|
|
1221
1276
|
20px round the button's center, not clipped to the button's box, in the list selector. */
|
|
1222
|
-
[data-platform="android"] .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-block]):is([data-uniform], :where([data-row], [data-slot="input-group"], [data-slot="input"]) *) {
|
|
1277
|
+
[data-platform="android"] .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-block]):is([data-uniform], :where([data-row], [data-slot="input-group"], [data-slot="input"]) *) {
|
|
1223
1278
|
--android-ripple-radius: 20px;
|
|
1224
1279
|
--android-ripple-ink: var(--android-ripple-color);
|
|
1225
1280
|
}
|
|
1226
1281
|
|
|
1227
1282
|
/* Pressed only, so the focus ring of an unpressed button keeps the button's shape; round what it shows (a row's
|
|
1228
1283
|
button holds its label at the end of its 44px target) */
|
|
1229
|
-
[data-platform="android"] .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-block]):is([data-uniform], :where([data-row], [data-slot="input-group"], [data-slot="input"]) *)[data-ripple]::after {
|
|
1284
|
+
[data-platform="android"] .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-block]):is([data-uniform], :where([data-row], [data-slot="input-group"], [data-slot="input"]) *)[data-ripple]::after {
|
|
1230
1285
|
inset: calc(50% - 20px);
|
|
1231
1286
|
border-radius: 50%;
|
|
1232
1287
|
translate: var(--android-ripple-ox, 0px) var(--android-ripple-oy, 0px);
|
|
1233
1288
|
}
|
|
1234
1289
|
|
|
1235
|
-
[data-platform="android"] .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1290
|
+
[data-platform="android"] .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1236
1291
|
background-color: transparent;
|
|
1237
1292
|
opacity: 1;
|
|
1238
1293
|
}
|
|
1239
1294
|
|
|
1240
|
-
[data-platform="android"] .Button:is([data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1295
|
+
[data-platform="android"] .Button:is([data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1241
1296
|
opacity: 1;
|
|
1242
1297
|
}
|
|
1243
1298
|
|
|
1244
|
-
[data-platform="android"] .Button[data-variant="soft"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1299
|
+
[data-platform="android"] .Button[data-variant="soft"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1245
1300
|
background-color: var(--button-mobile-material-background, var(--button-background-color));
|
|
1246
1301
|
}
|
|
1247
1302
|
|
|
1248
|
-
[data-platform="android"] .Button[data-variant="outline"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1303
|
+
[data-platform="android"] .Button[data-variant="outline"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1249
1304
|
background-color: var(--button-outline-context-background, var(--button-outline-background));
|
|
1250
1305
|
}
|
|
1251
1306
|
|
|
1252
|
-
[data-platform="android"] .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1307
|
+
[data-platform="android"] .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1253
1308
|
background-color: var(--button-background-color);
|
|
1254
1309
|
}
|
|
1255
1310
|
|
|
1256
|
-
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="primary"]:not([data-mobile-material="glass"]) {
|
|
1311
|
+
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="primary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1257
1312
|
--button-background-color: var(--color-background-primary-solid);
|
|
1258
1313
|
--button-text-color: color-mix(in srgb, var(--color-text-primary-solid) 50%, transparent);
|
|
1259
1314
|
}
|
|
1260
1315
|
|
|
1261
|
-
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="primary"]:not([data-mobile-material="glass"]) {
|
|
1316
|
+
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="primary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1262
1317
|
--button-background-color: var(--color-background-primary-soft);
|
|
1263
1318
|
--button-text-color: color-mix(in srgb, var(--color-text-primary-soft) 50%, transparent);
|
|
1264
1319
|
}
|
|
1265
1320
|
|
|
1266
|
-
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="primary"]:not([data-mobile-material="glass"]) {
|
|
1321
|
+
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="primary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1267
1322
|
--button-border-color: var(--color-border-primary-outline);
|
|
1268
1323
|
--button-text-color: color-mix(in srgb, var(--color-text-primary-outline) 50%, transparent);
|
|
1269
1324
|
}
|
|
1270
1325
|
|
|
1271
|
-
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="primary"]:not([data-mobile-material="glass"]) {
|
|
1326
|
+
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="primary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1272
1327
|
--button-text-color: color-mix(in srgb, var(--color-text-primary-ghost) 50%, transparent);
|
|
1273
1328
|
}
|
|
1274
1329
|
|
|
1275
|
-
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="secondary"]:not([data-mobile-material="glass"]) {
|
|
1330
|
+
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="secondary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1276
1331
|
--button-background-color: var(--color-background-secondary-solid);
|
|
1277
1332
|
--button-text-color: color-mix(in srgb, var(--color-text-secondary-solid) 50%, transparent);
|
|
1278
1333
|
}
|
|
1279
1334
|
|
|
1280
|
-
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="secondary"]:not([data-mobile-material="glass"]) {
|
|
1335
|
+
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="secondary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1281
1336
|
--button-background-color: var(--color-background-secondary-soft);
|
|
1282
1337
|
--button-text-color: color-mix(in srgb, var(--color-text-secondary-soft) 50%, transparent);
|
|
1283
1338
|
}
|
|
1284
1339
|
|
|
1285
|
-
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="secondary"]:not([data-mobile-material="glass"]) {
|
|
1340
|
+
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="secondary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1286
1341
|
--button-border-color: var(--color-border-secondary-outline);
|
|
1287
1342
|
--button-text-color: color-mix(in srgb, var(--color-text-secondary-outline) 50%, transparent);
|
|
1288
1343
|
}
|
|
1289
1344
|
|
|
1290
|
-
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="secondary"]:not([data-mobile-material="glass"]) {
|
|
1345
|
+
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="secondary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1291
1346
|
--button-text-color: color-mix(in srgb, var(--color-text-secondary-ghost) 50%, transparent);
|
|
1292
1347
|
}
|
|
1293
1348
|
|
|
1294
|
-
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="success"]:not([data-mobile-material="glass"]) {
|
|
1349
|
+
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="success"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1295
1350
|
--button-background-color: var(--color-background-success-solid);
|
|
1296
1351
|
--button-text-color: color-mix(in srgb, var(--color-text-success-solid) 50%, transparent);
|
|
1297
1352
|
}
|
|
1298
1353
|
|
|
1299
|
-
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="success"]:not([data-mobile-material="glass"]) {
|
|
1354
|
+
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="success"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1300
1355
|
--button-background-color: var(--color-background-success-soft);
|
|
1301
1356
|
--button-text-color: color-mix(in srgb, var(--color-text-success-soft) 50%, transparent);
|
|
1302
1357
|
}
|
|
1303
1358
|
|
|
1304
|
-
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="success"]:not([data-mobile-material="glass"]) {
|
|
1359
|
+
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="success"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1305
1360
|
--button-border-color: var(--color-border-success-outline);
|
|
1306
1361
|
--button-text-color: color-mix(in srgb, var(--color-text-success-outline) 50%, transparent);
|
|
1307
1362
|
}
|
|
1308
1363
|
|
|
1309
|
-
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="success"]:not([data-mobile-material="glass"]) {
|
|
1364
|
+
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="success"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1310
1365
|
--button-text-color: color-mix(in srgb, var(--color-text-success-ghost) 50%, transparent);
|
|
1311
1366
|
}
|
|
1312
1367
|
|
|
1313
|
-
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="danger"]:not([data-mobile-material="glass"]) {
|
|
1368
|
+
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="danger"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1314
1369
|
--button-background-color: var(--color-background-danger-solid);
|
|
1315
1370
|
--button-text-color: color-mix(in srgb, var(--color-text-danger-solid) 50%, transparent);
|
|
1316
1371
|
}
|
|
1317
1372
|
|
|
1318
|
-
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="danger"]:not([data-mobile-material="glass"]) {
|
|
1373
|
+
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="danger"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1319
1374
|
--button-background-color: var(--color-background-danger-soft);
|
|
1320
1375
|
--button-text-color: color-mix(in srgb, var(--color-text-danger-soft) 50%, transparent);
|
|
1321
1376
|
}
|
|
1322
1377
|
|
|
1323
|
-
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="danger"]:not([data-mobile-material="glass"]) {
|
|
1378
|
+
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="danger"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1324
1379
|
--button-border-color: var(--color-border-danger-outline);
|
|
1325
1380
|
--button-text-color: color-mix(in srgb, var(--color-text-danger-outline) 50%, transparent);
|
|
1326
1381
|
}
|
|
1327
1382
|
|
|
1328
|
-
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="danger"]:not([data-mobile-material="glass"]) {
|
|
1383
|
+
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="danger"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1329
1384
|
--button-text-color: color-mix(in srgb, var(--color-text-danger-ghost) 50%, transparent);
|
|
1330
1385
|
}
|
|
1331
1386
|
|
|
1332
|
-
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="warning"]:not([data-mobile-material="glass"]) {
|
|
1387
|
+
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="warning"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1333
1388
|
--button-background-color: var(--color-background-warning-solid);
|
|
1334
1389
|
--button-text-color: color-mix(in srgb, var(--color-text-warning-solid) 50%, transparent);
|
|
1335
1390
|
}
|
|
1336
1391
|
|
|
1337
|
-
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="warning"]:not([data-mobile-material="glass"]) {
|
|
1392
|
+
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="warning"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1338
1393
|
--button-background-color: var(--color-background-warning-soft);
|
|
1339
1394
|
--button-text-color: color-mix(in srgb, var(--color-text-warning-soft) 50%, transparent);
|
|
1340
1395
|
}
|
|
1341
1396
|
|
|
1342
|
-
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="warning"]:not([data-mobile-material="glass"]) {
|
|
1397
|
+
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="warning"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1343
1398
|
--button-border-color: var(--color-border-warning-outline);
|
|
1344
1399
|
--button-text-color: color-mix(in srgb, var(--color-text-warning-outline) 50%, transparent);
|
|
1345
1400
|
}
|
|
1346
1401
|
|
|
1347
|
-
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="warning"]:not([data-mobile-material="glass"]) {
|
|
1402
|
+
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="warning"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1348
1403
|
--button-text-color: color-mix(in srgb, var(--color-text-warning-ghost) 50%, transparent);
|
|
1349
1404
|
}
|
|
1350
1405
|
|
|
1351
|
-
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="caution"]:not([data-mobile-material="glass"]) {
|
|
1406
|
+
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="caution"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1352
1407
|
--button-background-color: var(--color-background-caution-solid);
|
|
1353
1408
|
--button-text-color: color-mix(in srgb, var(--color-text-caution-solid) 50%, transparent);
|
|
1354
1409
|
}
|
|
1355
1410
|
|
|
1356
|
-
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="caution"]:not([data-mobile-material="glass"]) {
|
|
1411
|
+
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="caution"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1357
1412
|
--button-background-color: var(--color-background-caution-soft);
|
|
1358
1413
|
--button-text-color: color-mix(in srgb, var(--color-text-caution-soft) 50%, transparent);
|
|
1359
1414
|
}
|
|
1360
1415
|
|
|
1361
|
-
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="caution"]:not([data-mobile-material="glass"]) {
|
|
1416
|
+
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="caution"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1362
1417
|
--button-border-color: var(--color-border-caution-outline);
|
|
1363
1418
|
--button-text-color: color-mix(in srgb, var(--color-text-caution-outline) 50%, transparent);
|
|
1364
1419
|
}
|
|
1365
1420
|
|
|
1366
|
-
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="caution"]:not([data-mobile-material="glass"]) {
|
|
1421
|
+
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="caution"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1367
1422
|
--button-text-color: color-mix(in srgb, var(--color-text-caution-ghost) 50%, transparent);
|
|
1368
1423
|
}
|
|
1369
1424
|
|
|
1370
|
-
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="info"]:not([data-mobile-material="glass"]) {
|
|
1425
|
+
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="info"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1371
1426
|
--button-background-color: var(--color-background-info-solid);
|
|
1372
1427
|
--button-text-color: color-mix(in srgb, var(--color-text-info-solid) 50%, transparent);
|
|
1373
1428
|
}
|
|
1374
1429
|
|
|
1375
|
-
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="info"]:not([data-mobile-material="glass"]) {
|
|
1430
|
+
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="info"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1376
1431
|
--button-background-color: var(--color-background-info-soft);
|
|
1377
1432
|
--button-text-color: color-mix(in srgb, var(--color-text-info-soft) 50%, transparent);
|
|
1378
1433
|
}
|
|
1379
1434
|
|
|
1380
|
-
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="info"]:not([data-mobile-material="glass"]) {
|
|
1435
|
+
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="info"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1381
1436
|
--button-border-color: var(--color-border-info-outline);
|
|
1382
1437
|
--button-text-color: color-mix(in srgb, var(--color-text-info-outline) 50%, transparent);
|
|
1383
1438
|
}
|
|
1384
1439
|
|
|
1385
|
-
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="info"]:not([data-mobile-material="glass"]) {
|
|
1440
|
+
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="info"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1386
1441
|
--button-text-color: color-mix(in srgb, var(--color-text-info-ghost) 50%, transparent);
|
|
1387
1442
|
}
|
|
1388
1443
|
|
|
1389
|
-
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="discovery"]:not([data-mobile-material="glass"]) {
|
|
1444
|
+
[data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="discovery"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1390
1445
|
--button-background-color: var(--color-background-discovery-solid);
|
|
1391
1446
|
--button-text-color: color-mix(in srgb, var(--color-text-discovery-solid) 50%, transparent);
|
|
1392
1447
|
}
|
|
1393
1448
|
|
|
1394
|
-
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="discovery"]:not([data-mobile-material="glass"]) {
|
|
1449
|
+
[data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="discovery"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1395
1450
|
--button-background-color: var(--color-background-discovery-soft);
|
|
1396
1451
|
--button-text-color: color-mix(in srgb, var(--color-text-discovery-soft) 50%, transparent);
|
|
1397
1452
|
}
|
|
1398
1453
|
|
|
1399
|
-
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="discovery"]:not([data-mobile-material="glass"]) {
|
|
1454
|
+
[data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="discovery"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1400
1455
|
--button-border-color: var(--color-border-discovery-outline);
|
|
1401
1456
|
--button-text-color: color-mix(in srgb, var(--color-text-discovery-outline) 50%, transparent);
|
|
1402
1457
|
}
|
|
1403
1458
|
|
|
1404
|
-
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="discovery"]:not([data-mobile-material="glass"]) {
|
|
1459
|
+
[data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="discovery"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1405
1460
|
--button-text-color: color-mix(in srgb, var(--color-text-discovery-ghost) 50%, transparent);
|
|
1406
1461
|
}
|
|
1407
1462
|
}
|
|
@@ -1413,13 +1468,13 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1413
1468
|
--button-icon-size: 24px;
|
|
1414
1469
|
}
|
|
1415
1470
|
|
|
1416
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant]:not([data-mobile-material="glass"]) {
|
|
1471
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1417
1472
|
--button-press-text-color: var(--button-text-color);
|
|
1418
1473
|
--android-button-press: color-mix(in srgb, var(--button-text-color) 10%, transparent);
|
|
1419
1474
|
--android-ripple-ink: var(--android-button-press);
|
|
1420
1475
|
}
|
|
1421
1476
|
|
|
1422
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant]:not([data-mobile-material="glass"])[data-variant="solid"] {
|
|
1477
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant]:not([data-mobile-material="glass"], [data-mobile-material="clear"])[data-variant="solid"] {
|
|
1423
1478
|
--android-button-press: var(--android-button-solid-press);
|
|
1424
1479
|
}
|
|
1425
1480
|
|
|
@@ -1427,14 +1482,14 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1427
1482
|
background-image: var(--android-ripple-image);
|
|
1428
1483
|
}
|
|
1429
1484
|
|
|
1430
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button:is([data-variant="solid"], [data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-uniform], [data-navigation-action], :where([data-row], [data-slot="input-group"], [data-slot="input"], [data-toolbar]:not([data-placement="bottom"])) *) {
|
|
1485
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button:is([data-variant="solid"], [data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-uniform], [data-navigation-action], :where([data-row], [data-slot="input-group"], [data-slot="input"], [data-toolbar]:not([data-placement="bottom"])) *) {
|
|
1431
1486
|
transition:
|
|
1432
1487
|
opacity var(--transition-duration-basic) var(--transition-ease-basic),
|
|
1433
1488
|
color var(--transition-duration-basic) var(--transition-ease-basic),
|
|
1434
1489
|
scale 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
1435
1490
|
}
|
|
1436
1491
|
|
|
1437
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button:is([data-variant="solid"], [data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-uniform], [data-navigation-action], :where([data-row], [data-slot="input-group"], [data-slot="input"], [data-toolbar]:not([data-placement="bottom"])) *):not([data-disabled]):active {
|
|
1492
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button:is([data-variant="solid"], [data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-uniform], [data-navigation-action], :where([data-row], [data-slot="input-group"], [data-slot="input"], [data-toolbar]:not([data-placement="bottom"])) *):not([data-disabled]):active {
|
|
1438
1493
|
scale: 0.98;
|
|
1439
1494
|
transition-duration: 80ms;
|
|
1440
1495
|
transition-timing-function: ease-out;
|
|
@@ -1443,189 +1498,189 @@ background-color: color-mix(in srgb, var(--button-background-color), #fff 22%);
|
|
|
1443
1498
|
/* A ghost button in a field or a row (InputGroup.Button, a row's own small action; not a full-row action) and a
|
|
1444
1499
|
ghost icon-only one ripple borderless, as the reference's small buttons (its 20dp circle, no mask): a circle of
|
|
1445
1500
|
20px round the button's center, not clipped to the button's box, in the list selector. */
|
|
1446
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-block]):is([data-uniform], :where([data-row], [data-slot="input-group"], [data-slot="input"]) *) {
|
|
1501
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-block]):is([data-uniform], :where([data-row], [data-slot="input-group"], [data-slot="input"]) *) {
|
|
1447
1502
|
--android-ripple-radius: 20px;
|
|
1448
1503
|
--android-ripple-ink: var(--android-ripple-color);
|
|
1449
1504
|
}
|
|
1450
1505
|
|
|
1451
1506
|
/* Pressed only, so the focus ring of an unpressed button keeps the button's shape; round what it shows (a row's
|
|
1452
1507
|
button holds its label at the end of its 44px target) */
|
|
1453
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-block]):is([data-uniform], :where([data-row], [data-slot="input-group"], [data-slot="input"]) *)[data-ripple]::after {
|
|
1508
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-block]):is([data-uniform], :where([data-row], [data-slot="input-group"], [data-slot="input"]) *)[data-ripple]::after {
|
|
1454
1509
|
inset: calc(50% - 20px);
|
|
1455
1510
|
border-radius: 50%;
|
|
1456
1511
|
translate: var(--android-ripple-ox, 0px) var(--android-ripple-oy, 0px);
|
|
1457
1512
|
}
|
|
1458
1513
|
|
|
1459
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1514
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant="ghost"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1460
1515
|
background-color: transparent;
|
|
1461
1516
|
opacity: 1;
|
|
1462
1517
|
}
|
|
1463
1518
|
|
|
1464
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button:is([data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1519
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button:is([data-variant="soft"], [data-variant="outline"]):not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1465
1520
|
opacity: 1;
|
|
1466
1521
|
}
|
|
1467
1522
|
|
|
1468
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant="soft"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1523
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant="soft"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1469
1524
|
background-color: var(--button-mobile-material-background, var(--button-background-color));
|
|
1470
1525
|
}
|
|
1471
1526
|
|
|
1472
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant="outline"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1527
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant="outline"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1473
1528
|
background-color: var(--button-outline-context-background, var(--button-outline-background));
|
|
1474
1529
|
}
|
|
1475
1530
|
|
|
1476
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-disabled]):active::before {
|
|
1531
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-variant="solid"]:not([data-mobile-material="glass"], [data-mobile-material="clear"], [data-disabled]):active::before {
|
|
1477
1532
|
background-color: var(--button-background-color);
|
|
1478
1533
|
}
|
|
1479
1534
|
|
|
1480
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="primary"]:not([data-mobile-material="glass"]) {
|
|
1535
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="primary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1481
1536
|
--button-background-color: var(--color-background-primary-solid);
|
|
1482
1537
|
--button-text-color: color-mix(in srgb, var(--color-text-primary-solid) 50%, transparent);
|
|
1483
1538
|
}
|
|
1484
1539
|
|
|
1485
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="primary"]:not([data-mobile-material="glass"]) {
|
|
1540
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="primary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1486
1541
|
--button-background-color: var(--color-background-primary-soft);
|
|
1487
1542
|
--button-text-color: color-mix(in srgb, var(--color-text-primary-soft) 50%, transparent);
|
|
1488
1543
|
}
|
|
1489
1544
|
|
|
1490
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="primary"]:not([data-mobile-material="glass"]) {
|
|
1545
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="primary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1491
1546
|
--button-border-color: var(--color-border-primary-outline);
|
|
1492
1547
|
--button-text-color: color-mix(in srgb, var(--color-text-primary-outline) 50%, transparent);
|
|
1493
1548
|
}
|
|
1494
1549
|
|
|
1495
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="primary"]:not([data-mobile-material="glass"]) {
|
|
1550
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="primary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1496
1551
|
--button-text-color: color-mix(in srgb, var(--color-text-primary-ghost) 50%, transparent);
|
|
1497
1552
|
}
|
|
1498
1553
|
|
|
1499
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="secondary"]:not([data-mobile-material="glass"]) {
|
|
1554
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="secondary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1500
1555
|
--button-background-color: var(--color-background-secondary-solid);
|
|
1501
1556
|
--button-text-color: color-mix(in srgb, var(--color-text-secondary-solid) 50%, transparent);
|
|
1502
1557
|
}
|
|
1503
1558
|
|
|
1504
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="secondary"]:not([data-mobile-material="glass"]) {
|
|
1559
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="secondary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1505
1560
|
--button-background-color: var(--color-background-secondary-soft);
|
|
1506
1561
|
--button-text-color: color-mix(in srgb, var(--color-text-secondary-soft) 50%, transparent);
|
|
1507
1562
|
}
|
|
1508
1563
|
|
|
1509
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="secondary"]:not([data-mobile-material="glass"]) {
|
|
1564
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="secondary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1510
1565
|
--button-border-color: var(--color-border-secondary-outline);
|
|
1511
1566
|
--button-text-color: color-mix(in srgb, var(--color-text-secondary-outline) 50%, transparent);
|
|
1512
1567
|
}
|
|
1513
1568
|
|
|
1514
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="secondary"]:not([data-mobile-material="glass"]) {
|
|
1569
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="secondary"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1515
1570
|
--button-text-color: color-mix(in srgb, var(--color-text-secondary-ghost) 50%, transparent);
|
|
1516
1571
|
}
|
|
1517
1572
|
|
|
1518
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="success"]:not([data-mobile-material="glass"]) {
|
|
1573
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="success"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1519
1574
|
--button-background-color: var(--color-background-success-solid);
|
|
1520
1575
|
--button-text-color: color-mix(in srgb, var(--color-text-success-solid) 50%, transparent);
|
|
1521
1576
|
}
|
|
1522
1577
|
|
|
1523
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="success"]:not([data-mobile-material="glass"]) {
|
|
1578
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="success"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1524
1579
|
--button-background-color: var(--color-background-success-soft);
|
|
1525
1580
|
--button-text-color: color-mix(in srgb, var(--color-text-success-soft) 50%, transparent);
|
|
1526
1581
|
}
|
|
1527
1582
|
|
|
1528
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="success"]:not([data-mobile-material="glass"]) {
|
|
1583
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="success"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1529
1584
|
--button-border-color: var(--color-border-success-outline);
|
|
1530
1585
|
--button-text-color: color-mix(in srgb, var(--color-text-success-outline) 50%, transparent);
|
|
1531
1586
|
}
|
|
1532
1587
|
|
|
1533
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="success"]:not([data-mobile-material="glass"]) {
|
|
1588
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="success"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1534
1589
|
--button-text-color: color-mix(in srgb, var(--color-text-success-ghost) 50%, transparent);
|
|
1535
1590
|
}
|
|
1536
1591
|
|
|
1537
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="danger"]:not([data-mobile-material="glass"]) {
|
|
1592
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="danger"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1538
1593
|
--button-background-color: var(--color-background-danger-solid);
|
|
1539
1594
|
--button-text-color: color-mix(in srgb, var(--color-text-danger-solid) 50%, transparent);
|
|
1540
1595
|
}
|
|
1541
1596
|
|
|
1542
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="danger"]:not([data-mobile-material="glass"]) {
|
|
1597
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="danger"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1543
1598
|
--button-background-color: var(--color-background-danger-soft);
|
|
1544
1599
|
--button-text-color: color-mix(in srgb, var(--color-text-danger-soft) 50%, transparent);
|
|
1545
1600
|
}
|
|
1546
1601
|
|
|
1547
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="danger"]:not([data-mobile-material="glass"]) {
|
|
1602
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="danger"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1548
1603
|
--button-border-color: var(--color-border-danger-outline);
|
|
1549
1604
|
--button-text-color: color-mix(in srgb, var(--color-text-danger-outline) 50%, transparent);
|
|
1550
1605
|
}
|
|
1551
1606
|
|
|
1552
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="danger"]:not([data-mobile-material="glass"]) {
|
|
1607
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="danger"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1553
1608
|
--button-text-color: color-mix(in srgb, var(--color-text-danger-ghost) 50%, transparent);
|
|
1554
1609
|
}
|
|
1555
1610
|
|
|
1556
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="warning"]:not([data-mobile-material="glass"]) {
|
|
1611
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="warning"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1557
1612
|
--button-background-color: var(--color-background-warning-solid);
|
|
1558
1613
|
--button-text-color: color-mix(in srgb, var(--color-text-warning-solid) 50%, transparent);
|
|
1559
1614
|
}
|
|
1560
1615
|
|
|
1561
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="warning"]:not([data-mobile-material="glass"]) {
|
|
1616
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="warning"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1562
1617
|
--button-background-color: var(--color-background-warning-soft);
|
|
1563
1618
|
--button-text-color: color-mix(in srgb, var(--color-text-warning-soft) 50%, transparent);
|
|
1564
1619
|
}
|
|
1565
1620
|
|
|
1566
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="warning"]:not([data-mobile-material="glass"]) {
|
|
1621
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="warning"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1567
1622
|
--button-border-color: var(--color-border-warning-outline);
|
|
1568
1623
|
--button-text-color: color-mix(in srgb, var(--color-text-warning-outline) 50%, transparent);
|
|
1569
1624
|
}
|
|
1570
1625
|
|
|
1571
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="warning"]:not([data-mobile-material="glass"]) {
|
|
1626
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="warning"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1572
1627
|
--button-text-color: color-mix(in srgb, var(--color-text-warning-ghost) 50%, transparent);
|
|
1573
1628
|
}
|
|
1574
1629
|
|
|
1575
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="caution"]:not([data-mobile-material="glass"]) {
|
|
1630
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="caution"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1576
1631
|
--button-background-color: var(--color-background-caution-solid);
|
|
1577
1632
|
--button-text-color: color-mix(in srgb, var(--color-text-caution-solid) 50%, transparent);
|
|
1578
1633
|
}
|
|
1579
1634
|
|
|
1580
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="caution"]:not([data-mobile-material="glass"]) {
|
|
1635
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="caution"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1581
1636
|
--button-background-color: var(--color-background-caution-soft);
|
|
1582
1637
|
--button-text-color: color-mix(in srgb, var(--color-text-caution-soft) 50%, transparent);
|
|
1583
1638
|
}
|
|
1584
1639
|
|
|
1585
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="caution"]:not([data-mobile-material="glass"]) {
|
|
1640
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="caution"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1586
1641
|
--button-border-color: var(--color-border-caution-outline);
|
|
1587
1642
|
--button-text-color: color-mix(in srgb, var(--color-text-caution-outline) 50%, transparent);
|
|
1588
1643
|
}
|
|
1589
1644
|
|
|
1590
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="caution"]:not([data-mobile-material="glass"]) {
|
|
1645
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="caution"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1591
1646
|
--button-text-color: color-mix(in srgb, var(--color-text-caution-ghost) 50%, transparent);
|
|
1592
1647
|
}
|
|
1593
1648
|
|
|
1594
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="info"]:not([data-mobile-material="glass"]) {
|
|
1649
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="info"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1595
1650
|
--button-background-color: var(--color-background-info-solid);
|
|
1596
1651
|
--button-text-color: color-mix(in srgb, var(--color-text-info-solid) 50%, transparent);
|
|
1597
1652
|
}
|
|
1598
1653
|
|
|
1599
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="info"]:not([data-mobile-material="glass"]) {
|
|
1654
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="info"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1600
1655
|
--button-background-color: var(--color-background-info-soft);
|
|
1601
1656
|
--button-text-color: color-mix(in srgb, var(--color-text-info-soft) 50%, transparent);
|
|
1602
1657
|
}
|
|
1603
1658
|
|
|
1604
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="info"]:not([data-mobile-material="glass"]) {
|
|
1659
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="info"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1605
1660
|
--button-border-color: var(--color-border-info-outline);
|
|
1606
1661
|
--button-text-color: color-mix(in srgb, var(--color-text-info-outline) 50%, transparent);
|
|
1607
1662
|
}
|
|
1608
1663
|
|
|
1609
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="info"]:not([data-mobile-material="glass"]) {
|
|
1664
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="info"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1610
1665
|
--button-text-color: color-mix(in srgb, var(--color-text-info-ghost) 50%, transparent);
|
|
1611
1666
|
}
|
|
1612
1667
|
|
|
1613
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="discovery"]:not([data-mobile-material="glass"]) {
|
|
1668
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="solid"][data-color="discovery"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1614
1669
|
--button-background-color: var(--color-background-discovery-solid);
|
|
1615
1670
|
--button-text-color: color-mix(in srgb, var(--color-text-discovery-solid) 50%, transparent);
|
|
1616
1671
|
}
|
|
1617
1672
|
|
|
1618
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="discovery"]:not([data-mobile-material="glass"]) {
|
|
1673
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="soft"][data-color="discovery"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1619
1674
|
--button-background-color: var(--color-background-discovery-soft);
|
|
1620
1675
|
--button-text-color: color-mix(in srgb, var(--color-text-discovery-soft) 50%, transparent);
|
|
1621
1676
|
}
|
|
1622
1677
|
|
|
1623
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="discovery"]:not([data-mobile-material="glass"]) {
|
|
1678
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="outline"][data-color="discovery"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1624
1679
|
--button-border-color: var(--color-border-discovery-outline);
|
|
1625
1680
|
--button-text-color: color-mix(in srgb, var(--color-text-discovery-outline) 50%, transparent);
|
|
1626
1681
|
}
|
|
1627
1682
|
|
|
1628
|
-
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="discovery"]:not([data-mobile-material="glass"]) {
|
|
1683
|
+
:where([data-plex-layout="phone"]) [data-platform="android"] .Button[data-disabled][data-variant="ghost"][data-color="discovery"]:not([data-mobile-material="glass"], [data-mobile-material="clear"]) {
|
|
1629
1684
|
--button-text-color: color-mix(in srgb, var(--color-text-discovery-ghost) 50%, transparent);
|
|
1630
1685
|
}
|
|
1631
1686
|
}
|