117 lines
3.1 KiB
CSS
Raw Permalink Normal View History

2022-07-30 11:50:01 +08:00
QWidget {color: white; font-family: ΢<EFBFBD><EFBFBD><EFBFBD>ź<EFBFBD>; font-size: 14px; outline:0px}
#m_pMainWgt {border-image:url(:/images/images/bg_main.png);}
#m_pTopWgt {border-image:url(:/images/images/bg_top.png);}
#m_pMinBtn{border-image:url(:/images/images/min_n.png) 5; border-width:5;}
#m_pMinBtn:hover{border-image:url(:/images/images/min_h.png) 5; border-width:5;}
#m_pMinBtn:pressed{border-image:url(:/images/images/min_s.png) 5; border-width:5;}
#m_pMaxBtn{border-image:url(:/images/images/max_n.png) 5; border-width:5;}
#m_pMaxBtn:hover{border-image:url(:/images/images/max_h.png) 5; border-width:5;}
#m_pMaxBtn:pressed{border-image:url(:/images/images/max_s.png) 5; border-width:5;}
#m_pCloseBtn {border: none; background: transparent; border-image: url(:/images/images/close_n.png) 5; border-width: 5;}
#m_pCloseBtn:hover {border-image: url(:/images/images/close_h.png) 5;}
#m_pCloseBtn:pressed {border-image: url(:/images/images/close_s.png) 5;}
#m_pTitleLbl{color:white; font-size:12px;}
#m_pIconLabel{border-image:url(:/images/images/imgSystem/systemIcon.png);}
QGraphicsView
{
background:transparent;
margin: 0;
}
QTreeView,QTableView
{
alternate-background-color: rgba(142, 185, 233, 25);
background-color: rgba(20,26,31,80);
/*gridline-color: rgba(57, 84, 111, 150);*/
border: 1px solid #5c7688;
color: #aac3cf;
show-decoration-selected: 1;
}
QTreeView::item,QTableView::item
{
height: 30px;
border-width: 1;
}
QTreeView::item:hover,QTableView::item:hover
{
border: none;
}
QTreeView::item:selected,QTableView::item:selected
{
border: none;
color:#ffa405;
}
QTabWidget::pane
{ /* The tab widget frame */
border-top: none;
background: transparent;
}
QTabWidget::tab-bar {
left: 1px; /* move to the right by 5px */
}
/* Style the tab using the tab sub-control. Note that
it reads QTabBar _not_ QTabWidget */
QTabBar::tab {
align: left;
color: #beddfc;
background: #1e272e;
border: 1px solid #000000;
/*border-bottom-color: #C2C7CB; same as the pane color */
width: 130px;
height: 32px;
padding: 4px;
}
QTabBar::tab:selected{
align: left;
color: #beddfc;
background: transparent;
border: none;
/*border-bottom-color: #C2C7CB; same as the pane color */
width: 130px;
height: 32px;
padding: 4px;
}
QTabBar::tab:hover
{
align: left;
color: #c47a0f;
background: #1e272e;
border: 1px solid #000000;
/*border-bottom-color: #C2C7CB; same as the pane color */
width: 130px;
height: 32px;
padding: 4px;
}
QTabBar::tab:pressed {
border: none;
}
QTabBar::tab:selected {
border-color: #9B9B9B;
border-bottom-color: #C2C7CB; /* same as pane color */
}
QTabBar::tab:!selected {
margin-top: 2px; /* make non-selected tabs look smaller */
}
QScrollBar:vertical {
background: gray;
width: 6px;
}
QScrollBar::handle:vertical {
width: 6px;
background: gray;
min-height: 20px;
}
QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
width: 3px;
height: 1px;
}