YanFrp/src/main/resources/css/main.css

135 lines
3.0 KiB
CSS

#MainPane {
-fx-background-color: rgb(240, 240, 240);
-fx-background-radius: 14 14 14 14;
}
#titleLable, #closeBtn, #minimizeBtn {
-fx-text-fill: black;
}
#minimizeBtn:hover {
-fx-background-color: rgba(148, 148, 148, 0.40);
}
#titleLable:disabled {
-fx-font-size: 18;
-fx-opacity: 0.4;
}
/* 布局边框 */
.mainPane, #addProxyBtn, .jfx-list-view{
-fx-border-color: linear-gradient(#57b4f2, #9198e5);
}
/* 文本框边框 */
.jfx-text-field, .jfx-combo-box {
-jfx-focus-color: #00000000;
-jfx-unfocus-color: #00000000;
}
/* 文本框 */
.inputText, .inputText-left, .inputText-right{
-fx-border-style: solid;
-fx-border-color: linear-gradient(#57b4f2, #9198e5);
-fx-border-radius: 5;
}
.inputText-left {
-fx-border-radius: 5 0 0 5;
}
.inputText-right {
-fx-border-radius: 0 5 5 0;
}
/* 服务线路 */
#proxyServerComboBox {
-fx-font-size: 16;
-fx-text-fill: #757575;
}
/* 隧道列表 */
#proxyListView .list-cell:selected {
-fx-background-color: linear-gradient(#9198e5, #57b4f2);
}
#proxyListView .list-cell:hover {
-fx-opacity: 0.7;
-fx-background-color: linear-gradient(#9198e5, #57b4f2);
}
#proxyListView .list-cell:hover lable, #proxyListView .list-cell:selected label, .proxyListItem-select{
-fx-text-fill: white;
}
.proxyListItemLabel {
-fx-font-size: 16px;
}
.proxyListItemIcon {
-fx-font-size: 14px;
}
.proxyListItem-run FontIcon {
-fx-icon-color: linear-gradient(#95f257, #91e5ac);
}
.proxyListItem-stop FontIcon {
-fx-icon-color: linear-gradient(#f25757, #e591b1);
}
.proxyListItem-close FontIcon {
-fx-icon-color: linear-gradient(grey, #524e50);
}
/* 面板背景 */
#proxySetupPane, #proxyListPane, .whitePane {
-fx-background-color: white;
}
#MainBottomPane {
-fx-padding: 10;
}
/* 代理设置-标签 */
.proxySetupLabel {
-fx-font-size: 15px;
-fx-font-family: "Microsoft YaHei";
}
/* 隧道类型 */
#proxyProtocolComboBox {
-fx-font-size: 14px;
-fx-font-family: "Microsoft YaHei";
}
/* 自定义域名 */
#customizeDomainBtn, #resetProxyBtn, #copyDomainBtn {
-fx-text-fill: linear-gradient(#57b4f2, #9198e5);
}
/* 添加隧道 */
#addProxyBtn {
-fx-border-width: 0 1 1;
-fx-font-size: 14px;
-fx-text-fill: white;
-fx-background-color: linear-gradient(rgb(87, 180, 242), rgb(145, 152, 229));
-fx-font-family: "Microsoft YaHei";
}
/* 启动 */
#startProxyBtn {
-fx-font-size: 16px;
-fx-font-family: "Microsoft YaHei";
}
.startProxyBtn, #copyP2pConfig, #importP2pConfig {
-fx-text-fill: white;
-fx-background-color: linear-gradient(#57b4f2, #9198e5);
}
.stopProxyBtn {
-fx-text-fill: white;
-fx-background-color: linear-gradient(#f25757, #e591b1);
}
/* 修改Tab的背景颜色 */
.jfx-tab-pane .tab-header-background {
-fx-background-color: linear-gradient(#57b4f2, #9198e5);
}
/* 日志 */
.text-area {
-fx-font-size: 15;
-fx-font-family: monospace;
-fx-background-color: white;
}
.proxySetupItemBox {
-fx-pref-width: 520;
-fx-pref-height: 50;
-fx-padding: 10 0 10 0;
}