6b973bc70b
* Improve GTK+3 theme loading - Merge geany-3.0.css into geany.css - Load geany-3.20.css to override if runtime version dictates - Load geany.css from app->configdir if it exists. * Add initial documentation for GTK+ CSS theming * Add geany.css file to the `Tools->Configuration Files` menu Also mark such config files as changed if they don't already exist to force the user to save or discard any newly created config files. * Allow customizing message window using GTK+ themes * Improve GTK+3 CSS docs a bit State which classes are meant to be overridden by themes. * Go back to conditionally loading geany-3.0.css It can't be merged into geany.css since GTK+ CSS parser doesn't ignore invalid properties when prefixed with vendor extension (ie. -Gtk). * Don't mark unedited config files as changed They probably should be marked as changed since they don't exist on disk yet, but for the time being leave it how it was. * Fix misuse of CSS ID vs class in manual * Minor colour value tweaks Based on feedback from @b4n
54 lines
1.2 KiB
CSS
54 lines
1.2 KiB
CSS
/* custom GTK3 CSS for Geany */
|
|
|
|
/* make close button on the editor's tabs smaller */
|
|
#geany-close-tab-button {
|
|
padding: 0;
|
|
}
|
|
#geany-close-tab-button GtkImage /* GTK < 3.20 */,
|
|
#geany-close-tab-button image /* GTK >= 3.20 */ {
|
|
padding: 0;
|
|
}
|
|
|
|
/* use monospaced font in search entries for easier reading of regexp (#1907117) */
|
|
#GeanyDialogSearch GtkEntry /* GTK < 3.20 */,
|
|
#GeanyDialogSearch entry /* GTK >= 3.20 */ {
|
|
font-family: monospace;
|
|
}
|
|
|
|
/* set red background for GtkEntries showing unmatched searches */
|
|
#geany-search-entry-no-match {
|
|
color: #fff;
|
|
background: #ff6666;
|
|
}
|
|
#geany-search-entry-no-match:selected /* GTK < 3.20 */,
|
|
#geany-search-entry-no-match selection /* GTK >= 3.20 */ {
|
|
background-color: #771111;
|
|
}
|
|
|
|
/* document status colors */
|
|
#geany-document-status-changed {
|
|
color: #ff0000;
|
|
}
|
|
#geany-document-status-disk-changed {
|
|
color: #ff7f00;
|
|
}
|
|
#geany-document-status-readonly {
|
|
color: #007f00;
|
|
}
|
|
|
|
/* compiler message colors */
|
|
#geany-compiler-error {
|
|
color: #ff0000;
|
|
}
|
|
#geany-compiler-context {
|
|
color: #7f0000;
|
|
}
|
|
#geany-compiler-message {
|
|
color: #0000D0;
|
|
}
|
|
|
|
/* red "Terminal" label when terminal dirty */
|
|
#geany-terminal-dirty {
|
|
color: #ff0000;
|
|
}
|