Skip to content

Commit 91fcc4e

Browse files
authored
清理未使用样式 (#6698)
1 parent 34aeba1 commit 91fcc4e

1 file changed

Lines changed: 1 addition & 65 deletions

File tree

  • HMCL/src/main/resources/assets/css

HMCL/src/main/resources/assets/css/root.css

Lines changed: 1 addition & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,6 @@
7070
-fx-fill: -monet-on-primary-fixed;
7171
}
7272

73-
.hint.success {
74-
-fx-background-color: #d1e7dd;
75-
-fx-border-color: -monet-outline;
76-
}
77-
78-
.hint.success Text, .hint.success .svg {
79-
-fx-fill: #0a3622;
80-
}
81-
8273
.hint.error {
8374
-fx-background-color: -monet-error-container;
8475
-fx-border-color: -monet-outline;
@@ -1237,69 +1228,14 @@
12371228
-fx-font-size: 14.0px;
12381229
}
12391230

1240-
/* unused */
1241-
.toggle-icon1 .icon {
1242-
-fx-fill: #4285F4;
1243-
-fx-padding: 20.0;
1244-
}
1245-
1246-
.toggle-icon1 {
1247-
-fx-pref-width: 80px;
1248-
-fx-background-radius: 80px;
1249-
-fx-pref-height: 80px;
1250-
-fx-background-color: transparent;
1251-
-jfx-toggle-color: rgba(66.0, 133.0, 244.0, 0.29885056614875793);
1252-
-jfx-untoggle-color: transparent;
1253-
}
1254-
1255-
.toggle-icon1 .jfx-rippler {
1256-
-jfx-rippler-fill: rgba(66.0, 133.0, 244.0, 0.29885056614875793);
1257-
-jfx-mask-type: CIRCLE;
1258-
}
1259-
1260-
.toggle-icon2, .toggle-icon3, .jfx-decorator-button {
1231+
.jfx-decorator-button {
12611232
-fx-pref-width: 50px;
12621233
-fx-background-radius: 50px;
12631234
-fx-pref-height: 50px;
12641235
-fx-background-color: transparent;
12651236
}
12661237

1267-
/* unused */
1268-
.toggle-icon2 .icon {
1269-
-fx-fill: RED;
1270-
}
1271-
1272-
.toggle-icon2 .jfx-rippler {
1273-
-jfx-rippler-fill: RED;
1274-
-jfx-mask-type: CIRCLE;
1275-
}
1276-
1277-
/* unused */
1278-
.toggle-icon3 {
1279-
-fx-toggle-icon4-size: 35px;
1280-
-fx-pref-width: -fx-toggle-icon4-size;
1281-
-fx-max-width: -fx-toggle-icon4-size;
1282-
-fx-min-width: -fx-toggle-icon4-size;
1283-
-fx-pref-height: -fx-toggle-icon4-size;
1284-
-fx-max-height: -fx-toggle-icon4-size;
1285-
-fx-min-height: -fx-toggle-icon4-size;
1286-
-fx-background-radius: 50px;
1287-
-fx-background-color: transparent;
1288-
-jfx-toggle-color: white;
1289-
-jfx-untoggle-color: transparent;
1290-
}
1291-
1292-
.toggle-icon3 .icon {
1293-
-fx-fill: rgb(204.0, 204.0, 51.0);
1294-
-fx-padding: 10.0;
1295-
}
1296-
1297-
.toggle-icon3 .jfx-rippler {
1298-
-jfx-rippler-fill: white;
1299-
-jfx-mask-type: CIRCLE;
1300-
}
13011238

1302-
/* used */
13031239
.toggle-icon4 {
13041240
-fx-toggle-icon4-size: 30px;
13051241
-fx-pref-width: -fx-toggle-icon4-size;

0 commit comments

Comments
 (0)