More style fine tuning, including for the Preferences window
This commit is contained in:
@@ -898,7 +898,7 @@ PREFERENCES_EDITORLAYOUT;Disposition de l'éditeur
|
|||||||
PREFERENCES_EXPAUT;Expert
|
PREFERENCES_EXPAUT;Expert
|
||||||
PREFERENCES_EXTERNALEDITOR;Éditeur externe
|
PREFERENCES_EXTERNALEDITOR;Éditeur externe
|
||||||
PREFERENCES_FBROWSEROPTS;Options du navigateur de fichiers et de vignettes
|
PREFERENCES_FBROWSEROPTS;Options du navigateur de fichiers et de vignettes
|
||||||
PREFERENCES_FILEBROWSERTOOLBARSINGLEROW;Barre de menu de l'explorateur de fichiers uni-ligne (à désactiver pour les écrans de faible résolution)
|
PREFERENCES_FILEBROWSERTOOLBARSINGLEROW;Barre de menu de l'explorateur de fichiers uni-ligne\n(à désactiver pour les écrans de faible résolution)
|
||||||
PREFERENCES_FILEFORMAT;Format du fichier
|
PREFERENCES_FILEFORMAT;Format du fichier
|
||||||
PREFERENCES_FILMSIMULATION;Simulation de Film
|
PREFERENCES_FILMSIMULATION;Simulation de Film
|
||||||
PREFERENCES_FLATFIELD;Champ Uniforme
|
PREFERENCES_FLATFIELD;Champ Uniforme
|
||||||
|
@@ -944,7 +944,7 @@ PREFERENCES_EDITORLAYOUT;Editor Layout
|
|||||||
PREFERENCES_EXPAUT;Expert
|
PREFERENCES_EXPAUT;Expert
|
||||||
PREFERENCES_EXTERNALEDITOR;External Editor
|
PREFERENCES_EXTERNALEDITOR;External Editor
|
||||||
PREFERENCES_FBROWSEROPTS;File Browser / Thumbnail Options
|
PREFERENCES_FBROWSEROPTS;File Browser / Thumbnail Options
|
||||||
PREFERENCES_FILEBROWSERTOOLBARSINGLEROW;Single row file browser toolbar (de-select for low resolution display)
|
PREFERENCES_FILEBROWSERTOOLBARSINGLEROW;Single row file browser toolbar\n(de-select for low resolution display)
|
||||||
PREFERENCES_FILEFORMAT;File format
|
PREFERENCES_FILEFORMAT;File format
|
||||||
PREFERENCES_FILMSIMULATION;Film Simulation
|
PREFERENCES_FILMSIMULATION;Film Simulation
|
||||||
PREFERENCES_FLATFIELD;Flat-Field
|
PREFERENCES_FLATFIELD;Flat-Field
|
||||||
|
@@ -26,17 +26,13 @@
|
|||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
|
||||||
.background {
|
|
||||||
background-color: #484848;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view:selected {
|
.view:selected {
|
||||||
color: #262626;
|
color: #262626;
|
||||||
background-color: #AAAAAA
|
background-color: #AAAAAA
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The Places and Dir browser panels */
|
/* The Places and Dir browser panels */
|
||||||
.view {
|
.view, .textview, textview, textview.view {
|
||||||
background-color: #262626;
|
background-color: #262626;
|
||||||
}
|
}
|
||||||
/* The headers of these panels */
|
/* The headers of these panels */
|
||||||
@@ -45,9 +41,26 @@
|
|||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.background {
|
||||||
|
background-color: #484848;
|
||||||
|
}
|
||||||
|
|
||||||
|
headerbar {
|
||||||
|
background-color: #262626;
|
||||||
|
padding: 3px;
|
||||||
|
margin: 0;
|
||||||
|
border-radius: 0;
|
||||||
|
background-image: none;
|
||||||
|
}
|
||||||
|
|
||||||
window > decoration {
|
window > decoration {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
background-color: #484848;
|
||||||
|
}
|
||||||
|
|
||||||
|
dialog.background {
|
||||||
|
background-color: #484848;
|
||||||
}
|
}
|
||||||
|
|
||||||
box, grid {
|
box, grid {
|
||||||
@@ -67,18 +80,42 @@ frame {
|
|||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
/*border-style: none none none solid;*/
|
/*border-style: none none none solid;*/
|
||||||
padding: 4px;
|
padding: 0 3px;
|
||||||
|
margin: 3px 0 ;
|
||||||
|
background-color: rgba(0,0,0,0.);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create space between frame contents and frame border */
|
/* Create space between frame contents and frame border */
|
||||||
frame border {
|
frame border {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
|
border-radius: 4px;
|
||||||
|
background-color: #383838
|
||||||
}
|
}
|
||||||
|
|
||||||
frame > label {
|
frame > label {
|
||||||
color: #D8D8D8;
|
color: #D8D8D8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tooltip {
|
||||||
|
background-color: rgba(0,0,0,0.95);
|
||||||
|
border-style: none;
|
||||||
|
box-shadow: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
grid separator, box separator {
|
||||||
|
background-color: rgba(0, 0, 0, 0.17);
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
grid separator.horizontal, box separator.horizontal {
|
||||||
|
margin: 0.3em 0.45em;
|
||||||
|
}
|
||||||
|
|
||||||
|
grid separator.vertical, box separator.vertical {
|
||||||
|
margin: 0.45em 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
#FileBrowser {
|
#FileBrowser {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
@@ -97,11 +134,9 @@ frame > label {
|
|||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Frames in Preferences */
|
#BeforeAfterContainer frame border {
|
||||||
#PrefNotebook frame {
|
border-radius: 0;
|
||||||
background-color: #3B3B3B;
|
padding: 4px;
|
||||||
border: 1px solid #505050;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Frames in the toolbox. Not MyExpander frames. */
|
/* Frames in the toolbox. Not MyExpander frames. */
|
||||||
@@ -223,6 +258,16 @@ progressbar.horizontal trough progress {
|
|||||||
min-height: 6px;
|
min-height: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
progressbar trough {
|
||||||
|
background-color: #2A2A2A;
|
||||||
|
border-color: #202020;
|
||||||
|
}
|
||||||
|
|
||||||
|
notebook header progressbar trough {
|
||||||
|
background-color: #202020;
|
||||||
|
border-color: #181818;
|
||||||
|
}
|
||||||
|
|
||||||
.drawingarea {
|
.drawingarea {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
background-color: #2A2A2A;
|
background-color: #2A2A2A;
|
||||||
@@ -496,6 +541,11 @@ notebook tab:active {
|
|||||||
border-color: #989898;
|
border-color: #989898;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notebook tab button {
|
||||||
|
padding: 0 0;
|
||||||
|
margin: 0 3px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Get rid of shitty notebook header shadow */
|
/* Get rid of shitty notebook header shadow */
|
||||||
notebook header.top {
|
notebook header.top {
|
||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
@@ -535,6 +585,7 @@ paned box, paned grid {
|
|||||||
}
|
}
|
||||||
|
|
||||||
paned > separator {
|
paned > separator {
|
||||||
|
border: 1px solid #484848;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
@@ -663,11 +714,7 @@ paned > separator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#PreviewWindow {
|
#PreviewWindow {
|
||||||
border-style: solid none;
|
border-style: solid;
|
||||||
}
|
|
||||||
|
|
||||||
.tooltip {
|
|
||||||
padding: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Decently sized tabs */
|
/* Decently sized tabs */
|
||||||
@@ -675,17 +722,41 @@ paned > separator {
|
|||||||
padding: 0.8em;
|
padding: 0.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#PrefNotebook, #AboutNotebook {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0 0 3pt 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#PrefNotebook header, #AboutNotebook header {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#PrefNotebook header tabs, #AboutNotebook header tabs {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#PrefNotebook stack, #AboutNotebook stack {
|
||||||
|
padding: 3pt;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Add space between bottom panel and window edge */
|
/* Add space between bottom panel and window edge */
|
||||||
#IopsPanel {
|
#IopsPanel {
|
||||||
padding: 0 2px 2px;
|
padding: 0 2px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The thing you catch with the mouse to resize a panel */
|
|
||||||
paned > separator {
|
|
||||||
border: 1px solid #262626;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Move places paned (Places and Folders) away from window edges */
|
/* Move places paned (Places and Folders) away from window edges */
|
||||||
#PlacesPaned {
|
#PlacesPaned {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#MainNotebook > header #CloseButton {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0 0 0 0.3em;
|
||||||
|
}
|
||||||
|
#MainNotebook > header #CloseButton image {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
@@ -49,7 +49,7 @@ History::History (bool bookmarkSupport) : blistener(nullptr), tpc (nullptr), bmn
|
|||||||
|
|
||||||
historyModel = Gtk::ListStore::create (historyColumns);
|
historyModel = Gtk::ListStore::create (historyColumns);
|
||||||
hTreeView->set_model (historyModel);
|
hTreeView->set_model (historyModel);
|
||||||
//hTreeView->set_headers_visible (false);
|
hTreeView->set_headers_visible (false);
|
||||||
hTreeView->set_hscroll_policy(Gtk::SCROLL_MINIMUM);
|
hTreeView->set_hscroll_policy(Gtk::SCROLL_MINIMUM);
|
||||||
hTreeView->set_vscroll_policy(Gtk::SCROLL_NATURAL);
|
hTreeView->set_vscroll_policy(Gtk::SCROLL_NATURAL);
|
||||||
hTreeView->set_size_request(80, -1);
|
hTreeView->set_size_request(80, -1);
|
||||||
|
@@ -54,7 +54,6 @@ Preferences::Preferences (RTWindow *rtwindow)
|
|||||||
set_default_size (options.preferencesWidth, options.preferencesHeight);
|
set_default_size (options.preferencesWidth, options.preferencesHeight);
|
||||||
|
|
||||||
Gtk::Box* mainBox = get_content_area ();
|
Gtk::Box* mainBox = get_content_area ();
|
||||||
mainBox->set_spacing(8);
|
|
||||||
//set_has_separator (false);
|
//set_has_separator (false);
|
||||||
|
|
||||||
Gtk::Notebook* nb = Gtk::manage (new Gtk::Notebook ());
|
Gtk::Notebook* nb = Gtk::manage (new Gtk::Notebook ());
|
||||||
|
@@ -439,8 +439,10 @@ void RTWindow::addEditorPanel (EditorPanel* ep, const std::string &name)
|
|||||||
// construct closeable tab for the image
|
// construct closeable tab for the image
|
||||||
Gtk::Grid* titleGrid = Gtk::manage (new Gtk::Grid ());
|
Gtk::Grid* titleGrid = Gtk::manage (new Gtk::Grid ());
|
||||||
titleGrid->set_tooltip_markup (name);
|
titleGrid->set_tooltip_markup (name);
|
||||||
|
RTImage *closebimg = Gtk::manage(new RTImage ("gtk-close.png"));
|
||||||
Gtk::Button* closeb = Gtk::manage (new Gtk::Button ());
|
Gtk::Button* closeb = Gtk::manage (new Gtk::Button ());
|
||||||
closeb->set_image (*Gtk::manage(new RTImage ("gtk-close.png")));
|
closeb->set_name ("CloseButton");
|
||||||
|
closeb->add (*closebimg);
|
||||||
closeb->set_relief (Gtk::RELIEF_NONE);
|
closeb->set_relief (Gtk::RELIEF_NONE);
|
||||||
closeb->set_focus_on_click (false);
|
closeb->set_focus_on_click (false);
|
||||||
closeb->signal_clicked().connect( sigc::bind (sigc::mem_fun(*this, &RTWindow::remEditorPanel) , ep));
|
closeb->signal_clicked().connect( sigc::bind (sigc::mem_fun(*this, &RTWindow::remEditorPanel) , ep));
|
||||||
|
Reference in New Issue
Block a user