Solved Libreoffice undershoot glitch, plus some minor things

This commit is contained in:
Eudaimon 2021-09-03 19:53:28 +02:00
parent 9c1ec4b6d0
commit 941c7bb199
6 changed files with 58 additions and 19 deletions

6
TODO.md Normal file
View File

@ -0,0 +1,6 @@
# To do:
"treeview.view:drop(active)" done, needs checking

View File

@ -11,7 +11,11 @@
# And modified by Nestort (https://www.pling.com/u/nestort/)
#original bg_color:#3d3d3e
gtk_color_scheme = "bg_color:#3d3d3e\nbg_active_color:#141414\nselected_color:#3399FF"
gtk-color-scheme = "insensitive_bg_color:#3d3d3e"
gtk-color-scheme = "insensitive_fg_color:#000000"
gtk-color-scheme = "insensitive_text_color:#000000"
gtk-auto-mnemonics = 1 # press alt for underline
@ -79,25 +83,25 @@ style "default"
fg[PRELIGHT] = @selected_color
fg[ACTIVE] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[INSENSITIVE] = "#000000"
fg[INSENSITIVE] = @insensitive_fg_color
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade (0.5, @bg_color)
bg[ACTIVE] = shade (1.1, @bg_color)
bg[SELECTED] = @bg_active_color # scaler trough, pressed buttons
bg[INSENSITIVE] = @bg_color
bg[INSENSITIVE] = @insensitive_bg_color
base[NORMAL] = @bg_color # for some old GTK2 apps
base[PRELIGHT] = @selected_color
base[ACTIVE] = shade(0.76,@selected_color)
base[SELECTED] = @bg_active_color # selected text
base[INSENSITIVE] = shade (0.7, @bg_color) # "#B3B3B3"
base[INSENSITIVE] = @insensitive_bg_color # "#B3B3B3"
text[NORMAL] = "#FFFFFF"
text[PRELIGHT] = @selected_color
text[ACTIVE] = "#FFFFFF"
text[SELECTED] = @selected_color
text[INSENSITIVE] = "#000000"
text[INSENSITIVE] = @insensitive_text_color
engine "pixmap" {
image {
@ -378,7 +382,7 @@ style "default"
style "menu"
{
bg[NORMAL] = shade (0.9, @bg_active_color)
#bg[NORMAL] = shade (0.9, @bg_active_color)
#fg[NORMAL] = "#ffffff"
#text[NORMAL] = "#ffffff"
text[INSENSITIVE] = "#000000"
@ -407,6 +411,7 @@ style "menuitem"
text[INSENSITIVE] = "#000000"
fg[INSENSITIVE] = "#000000"
xthickness = 2
ythickness = 3 # 4 for Qt?
@ -425,6 +430,7 @@ style "menubar-menuitem"
ythickness = 3
text[INSENSITIVE] = "#000000"
fg[INSENSITIVE] = "#000000"
}
#style "misc-sep"
@ -559,6 +565,8 @@ style "toolbar"
xthickness = 3
ythickness = 4
#bg[NORMAL] = @bg_color
text[INSENSITIVE] = "#000000"
fg[INSENSITIVE] = "#000000"
engine "pixmap" {
image {
function = BOX

View File

@ -65,7 +65,7 @@
@define-color trough_bg_color_a #2F2F30;
@define-color trough_bg_color_b #414243;
@define-color active_switch_bg_color #A0A0A0;
@define-color active_switch_bg_color @selected_fg_color;
@define-color borders #ababab;
@ -184,7 +184,8 @@
outline-color: @focus_border;
outline-style: dashed;
outline-offset: 2px;
outline-offset: 2px; /*2px*/
}
@ -224,6 +225,15 @@
color: @theme_selected_fg_color;
}
.needs-attention label, .needs-attention > .label {
background-size: 6px 6px;
background-image: image(@selected_fg_color);
background-position: right top;
background-repeat: no-repeat;
padding-right: 6px;
}
iconview :selected {
border: none;
background-color: @theme_selected_bg_color;
@ -340,7 +350,9 @@ row {
*********/
.view,
.view:disabled {
color: @theme_fg_color;
color: mix(@theme_fg_color, @insensitive_fg_color, 0.5);
/*color: @theme_fg_color;*/
/*color: @insensitive_fg_color;*/
border-radius: 0;
/*background-color: @theme_bg_color*/;
/*border-width: 3;*/
@ -544,6 +556,7 @@ entry:disabled {
background-color: @theme_bg_color;
color: @insensitive_fg_color;
box-shadow: none;
text-shadow: none;
}
spinbutton:not(.vertical) progress,
@ -849,7 +862,7 @@ frame > border,
border-style: solid;
border-width: 1px;
border-color: @theme_main_color; /* used by Firefox */
padding: 2px;
padding: 0px;
/*background-image: linear-gradient(to bottom,
shade(@theme_bg_color, 1.33),
shade(@theme_bg_color, 1.06) 8px,
@ -1036,6 +1049,12 @@ treeview.view:hover {
background-color: alpha(@theme_selected_bg_color, 0.2);
}
treeview.view:drop(active) {
/*color: @theme_main_color;*/
background-color: alpha(@theme_selected_bg_color, 0.4);
}
treeview.view:selected {
border-style: solid;
border-width: 1px 0px 0px 0px;
@ -1317,6 +1336,7 @@ button {
min-height: 16px;
min-width: 16px;
padding: 2px 4px;
/*margin: 0px;*/
border-radius: 0px;
border-width: 3px;
@ -1327,6 +1347,7 @@ button {
background-image: linear-gradient(to bottom,
@button_gradient_color_a,
@button_gradient_color_b);
margin: -1px;
}
@ -1487,14 +1508,12 @@ button.flat:not(:hover):not(:active):not(:checked)
border-width: 3px;
border-style: solid;
border-image-source: none;
/*margin: 3px;*/
margin: -1px;
}
/****************************
* Suggested action buttons *
****************************/
/* Not different from other buttons. */
/******************************
* Destructive action buttons *
@ -1514,6 +1533,10 @@ button.destructive-action:hover {
}
/****************************
* Suggested action buttons *
****************************/
button.suggested-action {
background-image: linear-gradient(to bottom,
mix (@button_gradient_color_a, green, 0.3),
@ -2491,7 +2514,7 @@ switch trough {
switch trough:active,
switch:checked {
color: @theme_main_color;
/*color: @theme_main_color;*/
background-image: linear-gradient(to bottom,
shade(@active_switch_bg_color, 0.9),
shade(@active_switch_bg_color, 1.1));
@ -2953,7 +2976,9 @@ row:selected label {
}
label.keycap {
border: 1px outset shade(@text_color, 0.6);
border: 2px outset shade(@base_color, 0.7);
padding: 2px;
text-shadow: 1px 1px 0px black;
}
/**************
@ -2990,9 +3015,9 @@ stacksidebar.sidebar row > label {
padding-right: 5px;
}
stacksidebar.sidebar row.needs-attention > .label {
/*stacksidebar.sidebar row.needs-attention > .label {
background-size: 5px 5px, 0 0;
}
}*/
/****************
* File Chooser *
@ -3338,7 +3363,7 @@ overshoot.right:backdrop {
box-shadow: none;
}
/* result is disable undershoot */
undershoot.top {
background-color: transparent;
background-image: linear-gradient(to bottom,

BIN
preview/square.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
preview/widgets01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

BIN
preview/widgets02.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB