Certain fixes
This commit is contained in:
parent
92150da33d
commit
1de27475fd
4 changed files with 33 additions and 13 deletions
|
@ -53,8 +53,9 @@ decoration:backdrop {
|
|||
0 0 0 1px @headerbar_backdrop_color;
|
||||
}
|
||||
|
||||
/* since they do not work properly on gtk4, remove box-shadow in gtk-3 */
|
||||
tooltip.background decoration {
|
||||
box-shadow: 0 0.25em 0.5em 0 alpha(black, 0.5);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* calendar */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@define-color accent_color #3c9000;
|
||||
@define-color accent_color #c1ff94;
|
||||
@define-color accent_bg_color #c1ff94;
|
||||
@define-color accent_fg_color #245700;
|
||||
@define-color destructive_color #a51d2d;
|
||||
|
|
|
@ -77,22 +77,24 @@ list.rich-list > row, stacksidebar row {
|
|||
|
||||
list > row.activatable:hover,
|
||||
listview > row.activatable:hover {
|
||||
background-color: alpha(currentColor, 0.1);
|
||||
background-color: alpha(@accent_bg_color, 0.2);
|
||||
}
|
||||
|
||||
list > row.activatable:hover:selected,
|
||||
listview > row.activatable:hover:selected {
|
||||
list > row.activatable:hover:selected, list > row.activatable:hover:selected:active,
|
||||
listview > row.activatable:hover:selected, listview > row.activatable:hover:selected:active {
|
||||
background-color: @accent_bg_color;
|
||||
color: @accent_fg_color;
|
||||
}
|
||||
|
||||
list > row.activatable:active,
|
||||
listview > row.activatable:active {
|
||||
background-color: alpha(@accent_bg_color, 0.1);
|
||||
background-color: alpha(@accent_bg_color, 0.5);
|
||||
color: @accent_fg_color;
|
||||
}
|
||||
|
||||
list > row.activatable:active:hover,
|
||||
listview > row.activatable:active:hover {
|
||||
background-color: alpha(@accent_bg_color, 0.2);
|
||||
background-color: alpha(@accent_bg_color, 0.7);
|
||||
}
|
||||
|
||||
list.separators > row:not(:last-child) {
|
||||
|
@ -496,9 +498,12 @@ tab, button.radio, stackswitcher > button, .circular, .pill {
|
|||
margin: 1px;
|
||||
}
|
||||
|
||||
tab.reorderable-page {
|
||||
tab.reorderable-page, tabbox > tabboxchild > tab {
|
||||
border-style: double;
|
||||
border-width: 3px;
|
||||
min-width: 1em;
|
||||
min-height: 1em;
|
||||
padding: 0.1em 0.3em;
|
||||
}
|
||||
|
||||
stackswitcher > button {
|
||||
|
@ -696,7 +701,7 @@ separator, paned > separator {
|
|||
separator {
|
||||
min-width: 1px;
|
||||
min-height: 1px;
|
||||
margin: 0.5em;
|
||||
margin: 0.4em;
|
||||
}
|
||||
|
||||
paned > separator, paned.horizontal > separator, paned.vertical > separator {
|
||||
|
@ -706,7 +711,9 @@ paned > separator, paned.horizontal > separator, paned.vertical > separator {
|
|||
margin: 0.2em;
|
||||
}
|
||||
|
||||
|
||||
button separator {
|
||||
margin: 0.2em;
|
||||
}
|
||||
|
||||
.horizontal > separator {
|
||||
margin-right: 0.5em;
|
||||
|
@ -1026,6 +1033,7 @@ tooltip, tooltip.background {
|
|||
color: @info_fg_color;
|
||||
border: 1px dashed alpha(@info_fg_color, 0.5);
|
||||
padding: 0.5em;
|
||||
border-radius: 9999px;
|
||||
/*background-clip: border-box;*/
|
||||
}
|
||||
|
||||
|
@ -1045,6 +1053,13 @@ gridview > child {
|
|||
|
||||
}
|
||||
|
||||
/* leaflet */
|
||||
|
||||
leaflet > separator {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* banner */
|
||||
|
||||
/* flap */
|
||||
|
|
|
@ -67,10 +67,14 @@ background-color: unset;
|
|||
0 0 0 1px @headerbar_backdrop_color;
|
||||
}
|
||||
|
||||
tooltip.background {
|
||||
box-shadow: 0 0.25em 0.5em 0 alpha(black, 0.5); /* apparently, this is useless */
|
||||
}
|
||||
/* box-shadows are cut, so do not draw them */
|
||||
/*tooltip.background {
|
||||
box-shadow: 0 0.25em 0.5em 0 alpha(black, 0.5);
|
||||
}*/
|
||||
|
||||
tooltip {
|
||||
margin: 2px; /*otherwise, border might look cut; weirdly it could also be used to draw box-shadow, though...*/
|
||||
}
|
||||
|
||||
/* calendar */
|
||||
|
||||
|
|
Loading…
Reference in a new issue