@skyux/theme 11.11.2 → 11.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/sky.css +38 -9
- package/css/themes/modern/styles.css +514 -318
- package/documentation.json +102 -102
- package/package.json +1 -1
package/css/sky.css
CHANGED
|
@@ -874,6 +874,15 @@ a.sky-btn:hover {
|
|
|
874
874
|
font-weight: 600;
|
|
875
875
|
src: url("https://sky.blackbaudcdn.net/static/skyux-fonts/2.0.0/assets/BLKBSans-CondSemibold.woff") format("woff");
|
|
876
876
|
}
|
|
877
|
+
.sky-form-control:not(.sky-theme-modern *) {
|
|
878
|
+
--sky-override-form-control-color: var(--sky-text-color-default);
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
.sky-control-label-required:not(.sky-theme-modern *) {
|
|
882
|
+
--sky-override-required-color: var(--sky-highlight-color-danger);
|
|
883
|
+
--sky-override-required-space: var(--sky-padding-half);
|
|
884
|
+
}
|
|
885
|
+
|
|
877
886
|
.sky-form-control {
|
|
878
887
|
width: 100%;
|
|
879
888
|
padding: 6px 12px;
|
|
@@ -883,7 +892,7 @@ a.sky-btn:hover {
|
|
|
883
892
|
border-right: 1px solid #cdcfd2;
|
|
884
893
|
line-height: 1.428571429;
|
|
885
894
|
font-size: 15px;
|
|
886
|
-
color: var(--sky-
|
|
895
|
+
color: var(--sky-override-form-control-color, var(--sky-color-text-default));
|
|
887
896
|
}
|
|
888
897
|
.sky-form-control:not([type=range]):not([type=radio]):not([type=checkbox]):not(select) {
|
|
889
898
|
/* Remove device-specific styles */
|
|
@@ -938,8 +947,8 @@ textarea.ng-invalid.ng-touched {
|
|
|
938
947
|
/* TODO: remove this fallback `content` line, once support for content alt text is added to firefox & safari */
|
|
939
948
|
content: "*";
|
|
940
949
|
content: "*"/"";
|
|
941
|
-
color: var(--sky-
|
|
942
|
-
padding-left:
|
|
950
|
+
color: var(--sky-override-required-color, var(--sky-color-text-danger));
|
|
951
|
+
padding-left: var(--sky-override-required-space, var(--sky-space-gap-label-s));
|
|
943
952
|
}
|
|
944
953
|
|
|
945
954
|
.sky-control-help-container:not(:empty):not(.sky-theme-modern *) {
|
|
@@ -1024,6 +1033,9 @@ select::-ms-expand {
|
|
|
1024
1033
|
--sky-layout-host-links-spacing: var(--sky-margin-stacked-xl)
|
|
1025
1034
|
var(--sky-margin-inline-sm);
|
|
1026
1035
|
}
|
|
1036
|
+
.sky-layout-host-blocks .sky-margin-stacked-xl:empty, .sky-layout-host-list .sky-margin-stacked-xl:empty, .sky-layout-host-tabs .sky-margin-stacked-xl:empty {
|
|
1037
|
+
margin-bottom: 0;
|
|
1038
|
+
}
|
|
1027
1039
|
.sky-layout-host-blocks:has(> sky-page-content):has(> sky-page-links), .sky-layout-host-list:has(> sky-page-content):has(> sky-page-links), .sky-layout-host-tabs:has(> sky-page-content):has(> sky-page-links) {
|
|
1028
1040
|
display: grid;
|
|
1029
1041
|
grid-template: "header" "content" "links";
|
|
@@ -1068,13 +1080,16 @@ select::-ms-expand {
|
|
|
1068
1080
|
--sky-layout-host-content-spacing: 0;
|
|
1069
1081
|
--sky-layout-host-tab-content-spacing: 10px;
|
|
1070
1082
|
}
|
|
1083
|
+
.sky-layout-host-none {
|
|
1084
|
+
--sky-layout-host-links-display: none;
|
|
1085
|
+
}
|
|
1071
1086
|
|
|
1072
1087
|
@media (min-width: 768px) {
|
|
1073
1088
|
.sky-layout-host-blocks:has(> sky-page-content):has(> sky-page-links), .sky-layout-host-list:has(> sky-page-content):has(> sky-page-links), .sky-layout-host-tabs:has(> sky-page-content):has(> sky-page-links) {
|
|
1074
1089
|
--sky-layout-host-links-spacing: var(--sky-margin-inline-xl);
|
|
1075
1090
|
grid-template: "header-alerts header-alerts header-alerts" "header-avatar header-text header-text" "header-avatar header-content links" "content content links";
|
|
1076
|
-
grid-template-rows: minmax(var(--sky-margin-stacked-xl), min-content) minmax(var(--sky-margin-stacked-xl), min-content) minmax(var(--sky-margin-stacked-xl), min-content)
|
|
1077
|
-
grid-template-columns: 0
|
|
1091
|
+
grid-template-rows: minmax(var(--sky-margin-stacked-xl), min-content) minmax(var(--sky-margin-stacked-xl), min-content) minmax(var(--sky-margin-stacked-xl), min-content) auto;
|
|
1092
|
+
grid-template-columns: 0 75% 25%;
|
|
1078
1093
|
}
|
|
1079
1094
|
.sky-layout-host-blocks:has(> sky-page-content):has(> sky-page-links) > sky-page-header,
|
|
1080
1095
|
.sky-layout-host-blocks:has(> sky-page-content):has(> sky-page-links) .sky-page-header,
|
|
@@ -1111,7 +1126,10 @@ select::-ms-expand {
|
|
|
1111
1126
|
margin-top: 0;
|
|
1112
1127
|
}
|
|
1113
1128
|
.sky-layout-host-blocks:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)), .sky-layout-host-list:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)), .sky-layout-host-tabs:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)) {
|
|
1114
|
-
|
|
1129
|
+
--sky-layout-host-header-avatar-size: calc(
|
|
1130
|
+
120px + var(--sky-margin-inline-xl)
|
|
1131
|
+
);
|
|
1132
|
+
grid-template-columns: var(--sky-layout-host-header-avatar-size) calc(75% - var(--sky-layout-host-header-avatar-size)) 25%;
|
|
1115
1133
|
}
|
|
1116
1134
|
.sky-layout-host-blocks:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)) h1.sky-page-header-text, .sky-layout-host-list:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)) h1.sky-page-header-text, .sky-layout-host-tabs:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)) h1.sky-page-header-text {
|
|
1117
1135
|
margin: 0;
|
|
@@ -1141,8 +1159,8 @@ select::-ms-expand {
|
|
|
1141
1159
|
.sky-responsive-container-lg .sky-layout-host-tabs:has(> sky-page-content):has(> sky-page-links) {
|
|
1142
1160
|
--sky-layout-host-links-spacing: var(--sky-margin-inline-xl);
|
|
1143
1161
|
grid-template: "header-alerts header-alerts header-alerts" "header-avatar header-text header-text" "header-avatar header-content links" "content content links";
|
|
1144
|
-
grid-template-rows: minmax(var(--sky-margin-stacked-xl), min-content) minmax(var(--sky-margin-stacked-xl), min-content) minmax(var(--sky-margin-stacked-xl), min-content)
|
|
1145
|
-
grid-template-columns: 0
|
|
1162
|
+
grid-template-rows: minmax(var(--sky-margin-stacked-xl), min-content) minmax(var(--sky-margin-stacked-xl), min-content) minmax(var(--sky-margin-stacked-xl), min-content) auto;
|
|
1163
|
+
grid-template-columns: 0 75% 25%;
|
|
1146
1164
|
}
|
|
1147
1165
|
.sky-responsive-container-sm .sky-layout-host-blocks:has(> sky-page-content):has(> sky-page-links) > sky-page-header,
|
|
1148
1166
|
.sky-responsive-container-sm .sky-layout-host-blocks:has(> sky-page-content):has(> sky-page-links) .sky-page-header,
|
|
@@ -1233,7 +1251,10 @@ select::-ms-expand {
|
|
|
1233
1251
|
.sky-responsive-container-lg .sky-layout-host-blocks:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)),
|
|
1234
1252
|
.sky-responsive-container-lg .sky-layout-host-list:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)),
|
|
1235
1253
|
.sky-responsive-container-lg .sky-layout-host-tabs:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)) {
|
|
1236
|
-
|
|
1254
|
+
--sky-layout-host-header-avatar-size: calc(
|
|
1255
|
+
120px + var(--sky-margin-inline-xl)
|
|
1256
|
+
);
|
|
1257
|
+
grid-template-columns: var(--sky-layout-host-header-avatar-size) calc(75% - var(--sky-layout-host-header-avatar-size)) 25%;
|
|
1237
1258
|
}
|
|
1238
1259
|
.sky-responsive-container-sm .sky-layout-host-blocks:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)) h1.sky-page-header-text, .sky-responsive-container-sm .sky-layout-host-list:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)) h1.sky-page-header-text, .sky-responsive-container-sm .sky-layout-host-tabs:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)) h1.sky-page-header-text,
|
|
1239
1260
|
.sky-responsive-container-md .sky-layout-host-blocks:has(> sky-page-content):has(> sky-page-links):has(sky-page-header-avatar:not(:empty)) h1.sky-page-header-text,
|
|
@@ -1526,6 +1547,14 @@ select::-ms-expand {
|
|
|
1526
1547
|
margin-bottom: 40px;
|
|
1527
1548
|
}
|
|
1528
1549
|
|
|
1550
|
+
.sky-form-field-stacked {
|
|
1551
|
+
margin-bottom: 10px;
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
.sky-field-group-stacked {
|
|
1555
|
+
margin-bottom: 20px;
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1529
1558
|
.sky-switch:not(.sky-theme-modern *) {
|
|
1530
1559
|
cursor: pointer;
|
|
1531
1560
|
display: inline-flex;
|