More bugfix to the Gtk3 RawTherapee theme, see issue #3446

This commit is contained in:
Hombre
2016-10-22 02:13:50 +02:00
parent c2888d634f
commit b2af94ac74
5 changed files with 62 additions and 16 deletions

View File

@@ -67,7 +67,7 @@ frame {
padding: 4px; padding: 4px;
} }
frame label { frame > label {
color: #D8D8D8; color: #D8D8D8;
} }
@@ -76,6 +76,19 @@ frame label {
margin: 0px; margin: 0px;
} }
#FileCatalog {
background-color: #393939;
}
#FileCatalog:selected {
background-color: #565656;
}
#BeforeAfterContainer frame {
background-color: #262626;
padding: 0;
margin: 2px;
}
/* Frames in Preferences */ /* Frames in Preferences */
#PrefNotebook frame { #PrefNotebook frame {
background-color: #3B3B3B; background-color: #3B3B3B;
@@ -84,7 +97,7 @@ frame label {
} }
/* Frames in the toolbox. Not MyExpander frames. */ /* Frames in the toolbox. Not MyExpander frames. */
eventbox .frame { eventbox.frame {
border-color: #565656; border-color: #565656;
} }
@@ -92,12 +105,25 @@ window decoration {
padding: 0; padding: 0;
margin: 0; margin: 0;
box-shadow: 0 0; box-shadow: 0 0;
border-radius: 0 0 0 0;
} }
button { button {
padding: 0; padding: 0;
min-height: 5px; min-height: 5px;
min-width: 5px; min-width: 5px;
background-image: linear-gradient(#343434, #2E2E2E, #292929);
}
button.flat {
background-image: none;
}
button:hover {
background-image: linear-gradient(#444444, #3E3E3E, #393939);
}
combobox {
min-height: 5px;
min-width: 5px;
} }
box { box {
@@ -259,7 +285,13 @@ menuitem {
background-color: #363636; background-color: #363636;
} }
#ExpanderBox frame { #ExpanderBox frame,
#ExpanderBox2 frame,
#ExpanderBox3 frame {
padding: 2px 0 0 0;
border-style: none;
}
#ExpanderBox frame > border {
background-color: #3B3B3B; background-color: #3B3B3B;
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
@@ -269,11 +301,29 @@ menuitem {
padding: 3px; padding: 3px;
} }
#ExpanderBox frame > label, #ExpanderBox frame frame > label,
#ExpanderBox2 frame > label, #ExpanderBox2 frame frame > label,
#ExpanderBox3 frame > label, #ExpanderBox3 frame frame > label {
margin-left: 7pt;
margin-top: 0;
}
#ExpanderBox frame > box, #ExpanderBox frame frame > box,
#ExpanderBox2 frame > box, #ExpanderBox2 frame frame > box,
#ExpanderBox3 frame > box, #ExpanderBox3 frame frame > box {
margin: 2px;
}
#ExpanderBox > box > checkbutton, #ExpanderBox > box > box,
#ExpanderBox2 > box > checkbutton, #ExpanderBox2 > box > box,
#ExpanderBox3 > box > checkbutton, #ExpanderBox3 > box > box {
margin-top: 3px;
}
#ExpanderBox frame drawingarea { #ExpanderBox frame drawingarea {
background-color: #3B3B3B; background-color: #3B3B3B;
} }
#ExpanderBox frame frame { #ExpanderBox frame frame > border {
background-color: #414141; background-color: #414141;
border: 1px solid #373737; border: 1px solid #373737;
border-radius: 4px; border-radius: 4px;
@@ -298,7 +348,7 @@ menuitem {
background-color: #3B3B3B; background-color: #3B3B3B;
} }
#ExpanderBox2 frame { #ExpanderBox2 frame > border {
background-color: #414141; background-color: #414141;
border: 1px solid #373737; border: 1px solid #373737;
border-radius: 4px; border-radius: 4px;
@@ -310,7 +360,7 @@ menuitem {
background-color: #414141; background-color: #414141;
} }
#ExpanderBox2 frame frame { #ExpanderBox2 frame frame > border {
background-color: #474747; background-color: #474747;
border: 1px solid #3D3D3D; border: 1px solid #3D3D3D;
border-radius: 4px; border-radius: 4px;
@@ -455,16 +505,17 @@ paned > separator {
#RightNotebook header { #RightNotebook header {
/* OK */ /* OK */
background-color: #393939; background-color: #2A2A2A;
} }
#RightNotebook tabs { #RightNotebook tabs {
/* OK */ /* OK */
background-color: #393939; background-color: #2A2A2A;
padding-bottom: 5px; padding-bottom: 5px;
} }
#RightNotebook tab:hover { #RightNotebook tab:hover {
/* OK */ /* OK */
background-color: #505050; background-color: #505050;
color: #D6D6D6;
} }
#RightNotebook tab:active { #RightNotebook tab:active {
/* OK */ /* OK */

View File

@@ -581,11 +581,7 @@ EditorPanel::EditorPanel (FilePanel* filePanel)
viewpaned->pack2 (*editbox, true, true); viewpaned->pack2 (*editbox, true, true);
hpanedl->pack2 (*viewpaned, true, true);
Gtk::Frame* vbfr = Gtk::manage (new Gtk::Frame ());
vbfr->add (*viewpaned);
vbfr->set_size_request (100, 250);
hpanedl->pack2 (*vbfr, true, true);
hpanedr->pack1 (*hpanedl, true, false); hpanedr->pack1 (*hpanedl, true, false);
hpanedr->pack2 (*vboxright, false, false); hpanedr->pack2 (*vboxright, false, false);

View File

@@ -119,8 +119,6 @@ public:
bool browserDirPanelOpened; bool browserDirPanelOpened;
bool editorFilmStripOpened; bool editorFilmStripOpened;
int historyPanelWidth; int historyPanelWidth;
Glib::ustring font;
Glib::ustring colorPickerFont;
int windowWidth; int windowWidth;
int windowHeight; int windowHeight;
int windowX; int windowX;

View File

@@ -380,6 +380,7 @@ Retinex::Retinex () : FoldableToolPanel(this, "retinex", M("TP_RETINEX_LABEL"),
expsettings->add(*settingsVBox); expsettings->add(*settingsVBox);
expsettings->setLevel(2);
neutrHBox = Gtk::manage (new Gtk::HBox ()); neutrHBox = Gtk::manage (new Gtk::HBox ());
neutrHBox->set_border_width (2); neutrHBox->set_border_width (2);

View File

@@ -741,7 +741,7 @@ void ThumbBrowserBase::on_style_updated ()
ThumbBrowserBase::Internal::Internal () : ofsX(0), ofsY(0), parent(NULL), dirty(true) ThumbBrowserBase::Internal::Internal () : ofsX(0), ofsY(0), parent(NULL), dirty(true)
{ {
Glib::RefPtr<Gtk::StyleContext> style = get_style_context(); Glib::RefPtr<Gtk::StyleContext> style = get_style_context();
set_name("Thumbnail"); set_name("FileCatalog");
} }
void ThumbBrowserBase::Internal::setParent (ThumbBrowserBase* p) void ThumbBrowserBase::Internal::setParent (ThumbBrowserBase* p)