common.css
1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.button:hover{
-fx-cursor: hand;
}
.bgtrans{
-fx-background-color:transparent;
}
.tab-pane > .tab-header-area > .tab-header-background {
-fx-background-color: transparent;
}
/*
.table-pane{
-fx-background-color:#A2CD5A;
}
AnchorPane{
-fx-background-color:#A2CD5A;
}
*/
/*设置表格头靠左、字体大小,字体颜色*/
.table-view .column-header .label{
-fx-alignment: center;
/*-fx-font-family: "Arial";
-fx-text-fill: rgba(68,68,68,0.96);*/
-fx-font-weight:bold;
-fx-font-size: 14;
}
/*表格透明*/
.table-view{
-fx-background-color: transparent;
}
.table-view:focused{
-fx-background-color: transparent;
}
/*设置表格头 derive(-fx-base, 80%)*/
.table-view > .column-header-background{
-fx-background-color: transparent;
-fx-border-width: 0 0 1 0;
-fx-border-color:
transparent
transparent
#949494
transparent;
-fx-border-insets: 0 0 1 0;
}
/*设置每一列内容居中,每一行高度*/
.table-row-cell{
-fx-cell-size: 45px;
-fx-wrap-text:true;
-fx-text-alignment:center;
-fx-alignment: center;
-fx-background-color: transparent;
}
.table-row-cell:selected{
-fx-background-color:#4fa1a4;
}
.table-view .column-header{
-fx-background-color:transparent;
}
.groupBtnBox{
-fx-border-color: #52A2A5;
-fx-border-radius: 5;
}
.groupBtnBox > .label{
-fx-text-fill: #52A2A5;
}
.groupBtn{
-fx-text-fill: #52A2A5;
-fx-background-color:transparent;
-fx-padding:10px 35px;
-fx-font-size:15px
}
.groupBtn:hover{
-fx-text-fill: #4876FF;
}
.groupBtn:active{
-fx-background-color: #4876FF;
}
.singleBtn{
-fx-text-fill: #52A2A5;
-fx-padding:10px 35px;
-fx-border-color:#52A2A5;
-fx-border-radius:5;
-fx-background-color:transparent;
}