mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00
theme: refine QTabBar style
This commit is contained in:
parent
a5271d409d
commit
8ed4264097
@ -708,24 +708,27 @@ QTabBar::tab {
|
|||||||
color: @tabbar_fg;
|
color: @tabbar_fg;
|
||||||
background: @tabbar_bg;
|
background: @tabbar_bg;
|
||||||
border: none;
|
border: none;
|
||||||
padding: $2px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::tab:top, QTabBar::tab:bottom {
|
QTabBar::tab:top, QTabBar::tab:bottom {
|
||||||
border-top: $2px solid transparent;
|
border-top: $2px solid transparent;
|
||||||
border-right: $1px solid @tabbar_border;
|
border-right: $1px solid @tabbar_border;
|
||||||
|
/* MUST leave right and left padding 0px. */
|
||||||
|
padding: $2px 0px $2px 0px;
|
||||||
height: $20px;
|
height: $20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::tab:right {
|
QTabBar::tab:right {
|
||||||
border-left: $3px solid transparent;
|
border-left: $3px solid transparent;
|
||||||
border-bottom: $1px solid @tabbar_border;
|
border-bottom: $1px solid @tabbar_border;
|
||||||
|
padding: $5px $2px $5px $2px;
|
||||||
min-width: $20px;
|
min-width: $20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::tab:left {
|
QTabBar::tab:left {
|
||||||
border-right: $3px solid transparent;
|
border-right: $3px solid transparent;
|
||||||
border-bottom: $1px solid @tabbar_border;
|
border-bottom: $1px solid @tabbar_border;
|
||||||
|
padding: $5px $2px $5px $2px;
|
||||||
min-width: $20px;
|
min-width: $20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -708,24 +708,27 @@ QTabBar::tab {
|
|||||||
color: @tabbar_fg;
|
color: @tabbar_fg;
|
||||||
background: @tabbar_bg;
|
background: @tabbar_bg;
|
||||||
border: none;
|
border: none;
|
||||||
padding: $2px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::tab:top, QTabBar::tab:bottom {
|
QTabBar::tab:top, QTabBar::tab:bottom {
|
||||||
border-top: $2px solid transparent;
|
border-top: $2px solid transparent;
|
||||||
border-right: $1px solid @tabbar_border;
|
border-right: $1px solid @tabbar_border;
|
||||||
|
/* MUST leave right and left padding 0px. */
|
||||||
|
padding: $2px 0px $2px 0px;
|
||||||
height: $20px;
|
height: $20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::tab:right {
|
QTabBar::tab:right {
|
||||||
border-left: $3px solid transparent;
|
border-left: $3px solid transparent;
|
||||||
border-bottom: $1px solid @tabbar_border;
|
border-bottom: $1px solid @tabbar_border;
|
||||||
|
padding: $5px $2px $5px $2px;
|
||||||
min-width: $20px;
|
min-width: $20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabBar::tab:left {
|
QTabBar::tab:left {
|
||||||
border-right: $3px solid transparent;
|
border-right: $3px solid transparent;
|
||||||
border-bottom: $1px solid @tabbar_border;
|
border-bottom: $1px solid @tabbar_border;
|
||||||
|
padding: $5px $2px $5px $2px;
|
||||||
min-width: $20px;
|
min-width: $20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user