Shrunk down tab buttons, fixed selected text highlight, added hover and inactive adjuster button states, removed FileBrowser frame's padding which fixes bug #2948 and bug #2949
This commit is contained in:
@@ -46,6 +46,10 @@ GtkNotebook {
|
|||||||
padding: 4px 4px 4px 4px;
|
padding: 4px 4px 4px 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.filebrowser GtkFrame {
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Frames in the toolbox. Not MyExpander frames. */
|
/* Frames in the toolbox. Not MyExpander frames. */
|
||||||
GtkEventBox .frame {
|
GtkEventBox .frame {
|
||||||
border-color: #565656;
|
border-color: #565656;
|
||||||
@@ -67,8 +71,6 @@ GtkEventBox .frame {
|
|||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.separator {
|
.separator {
|
||||||
color: #363636;
|
color: #363636;
|
||||||
}
|
}
|
||||||
@@ -94,7 +96,7 @@ GtkImage {
|
|||||||
padding: 1px;
|
padding: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Horizontal group of buttons in 1 column */
|
/* Vertical group of buttons in 1 column */
|
||||||
GtkButton.Top {
|
GtkButton.Top {
|
||||||
border-radius: 10px 4px 0 0;
|
border-radius: 10px 4px 0 0;
|
||||||
border-style: solid solid none solid;
|
border-style: solid solid none solid;
|
||||||
@@ -132,11 +134,25 @@ GtkButton.Right {
|
|||||||
}
|
}
|
||||||
/* end */
|
/* end */
|
||||||
|
|
||||||
|
/* [1.23[-][+]] */
|
||||||
GtkEntry, GtkSpinButton {
|
GtkEntry, GtkSpinButton {
|
||||||
padding: 1px 4px 0 1px;
|
padding: 1px 10px 0 1px;
|
||||||
background-color: #262626;
|
background-color: #262626;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GtkEntry:insensitive, GtkSpinButton:insensitive {
|
||||||
|
background-color: #363636;
|
||||||
|
}
|
||||||
|
|
||||||
|
GtkEntry:hover, GtkSpinButton:hover {
|
||||||
|
background-color: #565656;
|
||||||
|
}
|
||||||
|
|
||||||
|
GtkEntry:selected {
|
||||||
|
color: #262626;
|
||||||
|
background-color: #AAAAAA;
|
||||||
|
}
|
||||||
|
|
||||||
/* Context menus */
|
/* Context menus */
|
||||||
GtkMenu {
|
GtkMenu {
|
||||||
background-color: #262626;
|
background-color: #262626;
|
||||||
@@ -189,7 +205,7 @@ GtkNotebook tab {
|
|||||||
background-color: #404040;
|
background-color: #404040;
|
||||||
border: 1px solid #505050;
|
border: 1px solid #505050;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 5px;
|
padding: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
GtkNotebook tab:hover {
|
GtkNotebook tab:hover {
|
||||||
|
@@ -56,6 +56,7 @@ FileCatalog::FileCatalog (CoarsePanel* cp, ToolBar* tb, FilePanel* filepanel) :
|
|||||||
|
|
||||||
// construct and initialize thumbnail browsers
|
// construct and initialize thumbnail browsers
|
||||||
fileBrowser = Gtk::manage( new FileBrowser() );
|
fileBrowser = Gtk::manage( new FileBrowser() );
|
||||||
|
fileBrowser->get_style_context()->add_class ("filebrowser");
|
||||||
fileBrowser->setFileBrowserListener (this);
|
fileBrowser->setFileBrowserListener (this);
|
||||||
fileBrowser->setArrangement (ThumbBrowserBase::TB_Vertical);
|
fileBrowser->setArrangement (ThumbBrowserBase::TB_Vertical);
|
||||||
fileBrowser->show ();
|
fileBrowser->show ();
|
||||||
@@ -399,6 +400,7 @@ FileCatalog::FileCatalog (CoarsePanel* cp, ToolBar* tb, FilePanel* filepanel) :
|
|||||||
hBox = Gtk::manage( new Gtk::HBox () );
|
hBox = Gtk::manage( new Gtk::HBox () );
|
||||||
hBox->show ();
|
hBox->show ();
|
||||||
hBox->pack_end (*fileBrowser);
|
hBox->pack_end (*fileBrowser);
|
||||||
|
hBox->get_style_context()->add_class ("filmstripPanel");
|
||||||
fileBrowser->applyFilter (getFilter()); // warning: can call this only after all objects used in getFilter (e.g. Query) are instantiated
|
fileBrowser->applyFilter (getFilter()); // warning: can call this only after all objects used in getFilter (e.g. Query) are instantiated
|
||||||
//printf("FileCatalog::FileCatalog fileBrowser->applyFilter (getFilter())\n");
|
//printf("FileCatalog::FileCatalog fileBrowser->applyFilter (getFilter())\n");
|
||||||
pack_start (*hBox);
|
pack_start (*hBox);
|
||||||
|
Reference in New Issue
Block a user