HighContrast: Honour .monospace set by GtkTextView

Copy the line that sets a monospace family from Adwaita (same place too)

noticed at https://gitlab.gnome.org/GNOME/gtk/issues/141#note_91610
This commit is contained in:
Daniel Boles 2018-03-29 18:16:57 +01:00
parent f8e1924355
commit 6ad33a274b
3 changed files with 8 additions and 0 deletions

View File

@ -2581,6 +2581,7 @@ levelbar {
}
}
// catch all extend :)
%selected_items {
@ -2589,6 +2590,9 @@ levelbar {
&:backdrop { background-color: $borders_color; color: $selected_fg_color; }
}
.monospace { font-family: monospace; }
/**********
* frames *
**********/

View File

@ -1150,6 +1150,8 @@ levelbar block.empty:backdrop { border-color: rgba(255, 255, 255, 0.15); }
.view:backdrop:selected, textview text:backdrop:selected, iconview:backdrop:selected, calendar:backdrop:selected, textview text:backdrop:selected:focus, iconview:backdrop:selected:focus, calendar:backdrop:focus:selected, textview text:backdrop:selected:hover, iconview:backdrop:selected:hover, calendar:backdrop:hover:selected, textview text selection:backdrop, flowbox flowboxchild:backdrop:selected, label selection:backdrop, spinbutton:not(.vertical) selection:backdrop, entry selection:backdrop, modelbutton.flat:backdrop:selected, popover.background checkbutton:backdrop:selected, popover.background radiobutton:backdrop:selected, .menuitem.button.flat:backdrop:selected, row.activatable:backdrop:selected, .sidebar:backdrop:selected { background-color: gray; color: #000; }
.monospace { font-family: monospace; }
/********** frames * */
frame, .frame { border: 1px solid gray; padding: 0; }

View File

@ -1156,6 +1156,8 @@ levelbar block.empty:backdrop { border-color: rgba(0, 0, 0, 0.15); }
.view:backdrop:selected, textview text:backdrop:selected, iconview:backdrop:selected, calendar:backdrop:selected, textview text:backdrop:selected:focus, iconview:backdrop:selected:focus, calendar:backdrop:focus:selected, textview text:backdrop:selected:hover, iconview:backdrop:selected:hover, calendar:backdrop:hover:selected, textview text selection:backdrop, flowbox flowboxchild:backdrop:selected, label selection:backdrop, spinbutton:not(.vertical) selection:backdrop, entry selection:backdrop, modelbutton.flat:backdrop:selected, popover.background checkbutton:backdrop:selected, popover.background radiobutton:backdrop:selected, .menuitem.button.flat:backdrop:selected, row.activatable:backdrop:selected, .sidebar:backdrop:selected { background-color: gray; color: #fff; }
.monospace { font-family: monospace; }
/********** frames * */
frame, .frame { border: 1px solid gray; padding: 0; }