-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ANY] Redesign, multiple bug fixes, new fxml and css logic (#128)
* [FIX] Don't set cape as avatar * [ANY] Redesign, multiple bug fixes, new fxml and css logic --------- Co-authored-by: Gravita <[email protected]>
- Loading branch information
Showing
70 changed files
with
1,272 additions
and
1,604 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"recommendations": [ | ||
"redhat.java", | ||
"vscode.github", | ||
"vscode.git", | ||
"redhat.vscode-xml", | ||
"GitHub.vscode-pull-request-github", | ||
"vscjava.vscode-java-dependency", | ||
"vscjava.vscode-gradle", | ||
"vscjava.vscode-java-debug", | ||
"vscode.css-language-features", | ||
"cwan.native-ascii-converter", | ||
"SirTori.indenticator", | ||
"oderwat.indent-rainbow", | ||
"liamhammett.inline-parameters", | ||
"mhutchie.git-graph" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.Tooltip?> | ||
<?import javafx.scene.shape.SVGPath?> | ||
|
||
<!-- Кнопка назад --> | ||
<Button id="back" prefHeight="32.0" prefWidth="32.0" styleClass="icon-button" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1"> | ||
<graphic> | ||
<SVGPath content="M16 3H13.5V5.57143H16V3ZM11 5.57145H13.5V8.14288H11V5.57145ZM6 10.7143H8.5V8.14289H11V10.7143H8.5V13.2857H6V10.7143ZM13.5 18.4286H16V21H13.5V18.4286H11V15.8572H13.5V18.4286ZM11 13.2857H8.5V15.8572H11V13.2857Z" styleClass="icon-button-color" /> | ||
</graphic> | ||
<tooltip> | ||
<Tooltip anchorLocation="WINDOW_BOTTOM_LEFT" text="%runtime.scenes.serverinfo.backTooltip" /> | ||
</tooltip> | ||
</Button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.Tooltip?> | ||
<?import javafx.scene.shape.SVGPath?> | ||
|
||
<!-- Кнопка отменить загрузку (java 11+) --> | ||
<Button id="cancel" styleClass="icon-button"> | ||
<graphic> | ||
<SVGPath content="M492.857 4C491.286 4 490 5.28599 490 6.85714V25.1429C490 26.714 491.286 28 492.857 28H511.143C512.714 28 514 26.714 514 25.1429V6.85714C514 5.28599 512.714 4 511.143 4H492.857ZM492.857 5.14286H511.143C512.096 5.14286 512.857 5.90372 512.857 6.85714V25.1429C512.857 26.0963 512.096 26.8571 511.143 26.8571H492.857C491.904 26.8571 491.143 26.0963 491.143 25.1429V6.85714C491.143 5.90372 491.904 5.14286 492.857 5.14286Z M495 16C495 12.134 498.134 9 502 9C505.866 9 509 12.134 509 16C509 19.866 505.866 23 502 23C498.134 23 495 19.866 495 16Z M500.707 13.293C500.512 13.0975 500.256 13 500 13C499.744 13 499.489 13.0975 499.293 13.293C498.902 13.684 498.902 14.3161 499.293 14.7071L500.586 16L499.293 17.293C498.902 17.684 498.902 18.3161 499.293 18.7071C499.488 18.9021 499.744 19 500 19C500.256 19 500.512 18.9021 500.707 18.7071L502 17.4141L503.293 18.7071C503.488 18.9021 503.744 19 504 19C504.256 19 504.512 18.9021 504.707 18.7071C505.098 18.3161 505.098 17.684 504.707 17.293L503.414 16L504.707 14.7071C505.098 14.3161 505.098 13.684 504.707 13.293C504.316 12.902 503.684 12.902 503.293 13.293L502 14.586L500.707 13.293Z" styleClass="icon-button-error" /> | ||
</graphic> | ||
<tooltip> | ||
<Tooltip anchorLocation="WINDOW_BOTTOM_LEFT" text="%runtime.scenes.update.cancelTooltip" /> | ||
</tooltip> | ||
</Button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.Tooltip?> | ||
<?import javafx.scene.shape.SVGPath?> | ||
|
||
<!-- Кнопка настроек опциональных модов --> | ||
<Button id="clientSettings" styleClass="icon-button"> | ||
<graphic> | ||
<SVGPath content="m 10.5332,10 h 4.2 v 2.25 h 8.4 v 1.5 h -8.4 V 16 h -4.2 V 13.75 H 9.13324 v -1.5 h 1.39996 z m 1.4,1.5 v 3 h 1.4 v -3 z m 5.6,4.5 h 4.2 v 2.25 h 1.4 v 1.5 h -1.4 V 22 h -4.2 V 19.75 H 9.13324 v -1.5 h 8.39996 z m 1.4,1.5 v 3 h 1.4 v -3 z M 6.85714,4 C 5.28599,4 4,5.28599 4,6.85714 V 25.1429 C 4,26.714 5.28599,28 6.85714,28 H 25.1429 C 26.714,28 28,26.714 28,25.1429 V 6.85714 C 28,5.28599 26.714,4 25.1429,4 Z m 0,1.14286 H 25.1429 c 0.9534,0 1.7142,0.76086 1.7142,1.71428 V 25.1429 c 0,0.9534 -0.7608,1.7142 -1.7142,1.7142 H 6.85714 c -0.95342,0 -1.71428,-0.7608 -1.71428,-1.7142 V 6.85714 c 0,-0.95342 0.76086,-1.71428 1.71428,-1.71428 z" styleClass="icon-button-color" /> | ||
</graphic> | ||
<tooltip> | ||
<Tooltip anchorLocation="WINDOW_BOTTOM_LEFT" text="%runtime.scenes.serverinfo.clientSettingsTooltip" /> | ||
</tooltip> | ||
</Button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.Tooltip?> | ||
<?import javafx.scene.shape.SVGPath?> | ||
|
||
<!-- Кнопка закрытия оверлея --> | ||
<Button id="close" prefHeight="32.0" prefWidth="32.0" styleClass="icon-button"> | ||
<graphic> | ||
<SVGPath content="M7.35714 4C5.78599 4 4.5 5.28599 4.5 6.85714V25.1429C4.5 26.714 5.78599 28 7.35714 28H25.6429C27.214 28 28.5 26.714 28.5 25.1429V6.85714C28.5 5.28599 27.214 4 25.6429 4H7.35714ZM7.35714 5.14286H25.6429C26.5963 5.14286 27.3571 5.90372 27.3571 6.85714V25.1429C27.3571 26.0963 26.5963 26.8571 25.6429 26.8571H7.35714C6.40372 26.8571 5.64286 26.0963 5.64286 25.1429V6.85714C5.64286 5.90372 6.40372 5.14286 7.35714 5.14286ZM11.7612 10.4531L10.9531 11.2612L15.692 16L10.9531 20.7388L11.7612 21.5469L16.5 16.808L21.2388 21.5469L22.0469 20.7388L17.308 16L22.0469 11.2612L21.2388 10.4531L16.5 15.192L11.7612 10.4531Z" styleClass="icon-button-color" /> | ||
</graphic> | ||
<tooltip> | ||
<Tooltip anchorLocation="WINDOW_BOTTOM_LEFT" text="%runtime.dialogs.apply.close-dialogTooltip" /> | ||
</tooltip> | ||
</Button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.Tooltip?> | ||
<?import javafx.scene.shape.SVGPath?> | ||
|
||
<!-- Кнопка консоли --> | ||
<Button id="console" styleClass="icon-button"> | ||
<graphic> | ||
<SVGPath content="M3.35715 0C1.78599 0 0.5 1.28599 0.5 2.85714V21.1428C0.5 22.714 1.78599 24 3.35715 24H21.6429C23.214 24 24.5 22.714 24.5 21.1428V2.85714C24.5 1.28599 23.214 0 21.6429 0H3.35715ZM3.35715 1.14286H21.6429C22.5963 1.14286 23.3571 1.90372 23.3571 2.85714V21.1428C23.3571 22.0963 22.5963 22.8571 21.6429 22.8571H3.35715C2.40373 22.8571 1.64285 22.0963 1.64285 21.1428V2.85714C1.64285 1.90372 2.40373 1.14286 3.35715 1.14286Z M5.5 6V18H19.5V6H5.5ZM6.66667 7.09091H18.3333V8.18182H6.66667V7.09091ZM6.66667 9.27273H18.3333V16.9091H6.66667V9.27273ZM9.71094 10.7898L8.8724 11.5739L10.4948 13.0909L8.8724 14.608L9.71094 15.392L11.7526 13.483L12.1536 13.0909L11.7526 12.6989L9.71094 10.7898ZM12.5 14.1818V15.2727H16V14.1818H12.5Z" styleClass="icon-button-color" /> | ||
</graphic> | ||
<tooltip> | ||
<Tooltip anchorLocation="WINDOW_BOTTOM_LEFT" text="%runtime.scenes.settings.consoleTooltip" /> | ||
</tooltip> | ||
</Button> |
Oops, something went wrong.