增加明暗主题切换
@@ -111,6 +111,9 @@
|
||||
-fx-prompt-text-fill: -fx-text-color;
|
||||
-jfx-size: 16px;
|
||||
}
|
||||
.jfx-toggle-button{
|
||||
-fx-text-fill: -fx-text-color;
|
||||
}
|
||||
|
||||
|
||||
.left-pill {
|
||||
955
client/src/main/resources/css/app-light.css
Normal file
@@ -8,6 +8,7 @@
|
||||
<?import com.jfoenix.controls.JFXListView?>
|
||||
<?import com.jfoenix.controls.JFXRippler?>
|
||||
<?import com.jfoenix.controls.JFXTabPane?>
|
||||
<?import com.jfoenix.controls.JFXToggleButton?>
|
||||
<?import com.jfoenix.controls.JFXToolbar?>
|
||||
<?import com.jfoenix.transitions.hamburger.HamburgerSlideCloseTransition?>
|
||||
<?import javafx.geometry.Insets?>
|
||||
@@ -71,8 +72,7 @@
|
||||
|
||||
|
||||
<HBox alignment="CENTER">
|
||||
<JFXButton fx:id="skinButton" contentDisplay="GRAPHIC_ONLY" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="40.0" prefWidth="40.0" styleClass="tool-bar-button">
|
||||
</JFXButton>
|
||||
<JFXToggleButton fx:id="styleBut" text="暗色" />
|
||||
<JFXButton fx:id="rolesBut" contentDisplay="GRAPHIC_ONLY" maxHeight="40.0" maxWidth="40.0" minHeight="40.0" minWidth="40.0" prefHeight="40.0" prefWidth="40.0" styleClass="tool-bar-button" text="user" textFill="WHITE" />
|
||||
<VBox alignment="CENTER">
|
||||
<Label fx:id="userLabel" maxWidth="1.7976931348623157E308" style="-fx-font-size: 16;-fx-font-weight: bold" text="李稳" VBox.vgrow="ALWAYS" />
|
||||
|
||||
|
Before Width: | Height: | Size: 286 KiB After Width: | Height: | Size: 210 KiB |
|
Before Width: | Height: | Size: 320 KiB After Width: | Height: | Size: 227 KiB |
|
Before Width: | Height: | Size: 560 KiB After Width: | Height: | Size: 441 KiB |
|
Before Width: | Height: | Size: 437 KiB After Width: | Height: | Size: 312 KiB |
|
Before Width: | Height: | Size: 289 KiB After Width: | Height: | Size: 221 KiB |
@@ -17,7 +17,7 @@ sample-client.ribbon.ConnectTimeout = 60000
|
||||
sample-client.ribbon.ReadTimeout = 60000
|
||||
|
||||
#初始服务器列表,可以在运行时通过Archaius动态属性进行更改
|
||||
sample-client.ribbon.listOfServers =127.0.0.1:8080,127.0.0.1:9080
|
||||
sample-client.ribbon.listOfServers =10.211.55.3:8080,10.211.55.3:9080
|
||||
|
||||
|
||||
#启用主要连接
|
||||
|
||||