Rename qss to css.

This commit is contained in:
Krad
2022-07-29 18:07:38 +08:00
parent 453a073225
commit 8e2b0c2015
4 changed files with 17 additions and 4 deletions

163
src/Combinear.css Normal file
View File

@@ -0,0 +1,163 @@
/*-----QWidget-----*/
*{
font:12px;
}
QToolBar
{
background-color: #323232;
border-bottom:1px solid #cdcdcd;
}
QWidget#statusBar
{
background-color: #323232;
border:1px solid #5a5a5a;
color:white;
}
/*-----QToolButton-----*/
QToolButton
{
border-radius: 5px; margin:0px 0px 0px 0px; padding:3px;
background-color: #323232;
}
QToolButton::menu-button
{
background-color: transparent;
}
QToolButton::menu-arrow {
image: url(:/InfiniteViewer/Icon/triangle-down-white.png);
width:6px;
}
QToolButton:hover
{
background-color: #8a8a8a;
}
QToolButton:checked
{
background-color: #646464;
}
QToolButton:pressed
{
background-color: #646464;
}
QToolButton:disabled
{
background-color: #222222;
}
/*-----QMenu-----*/
QMenu {
background-color: #f0f0f0;
}
QMenu::item {
background-color: transparent;
}
QMenu::item:selected { /* when user selects item using mouse or keyboard */
background-color: #8a8a8a;
}
/*-----DicomImageView-----*/
DicomImageView#dicomview
{
border: 1px solid #646464;
}
QFrame#wrapper
{
border-top: 1px solid #646464;
border-bottom: 0px;
border-left: 0px;
border-right: 0px;
}
/*-----QScrollBar-----*/
QScrollBar:vertical {
border: 0px solid grey;
background: #2d2d2d;
width: 15px;
margin: 0px 0 0px 0;
}
QScrollBar::handle:vertical {
background: #5a5a5a;
min-height: 25px;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
background: #2d2d2d;
}
/*-----QSlider-----*/
QSlider::groove:horizontal
{
background-color: transparent;
height: 3px;
}
QSlider::sub-page:horizontal
{
background-color: #131313;
}
QSlider::add-page:horizontal
{
background-color: #131313;
}
QSlider::handle:horizontal
{
background-color: #dd8c98;
width: 14px;
margin-top: -6px;
margin-bottom: -6px;
border-radius: 6px;
}
QSlider::handle:horizontal:hover
{
background-color: #d89e25;
border-radius: 6px;
}
QSlider::sub-page:horizontal:disabled
{
background-color: #bbb;
border-color: #999;
}
QSlider::add-page:horizontal:disabled
{
background-color: #eee;
border-color: #999;
}
QSlider::handle:horizontal:disabled
{
background-color: #eee;
border: 1px solid #aaa;
border-radius: 3px;
}