common.css 1.78 KB
.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;
}