summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-08-22 10:50:50 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-08-22 10:50:50 +0000
commitaef2f68ac3735b77c81b5b39e2d6b370b413d8d2 (patch)
treec3e177ba0c9cccac9edf19c05a174bba767e9296
parentAllow to store empty value XML node attributtes (diff)
downloadinkscape-aef2f68ac3735b77c81b5b39e2d6b370b413d8d2.tar.gz
inkscape-aef2f68ac3735b77c81b5b39e2d6b370b413d8d2.zip
Add styling to textview pointed by Adam Belis in team_ux
-rw-r--r--share/ui/style.css8
-rw-r--r--src/ui/dialog/attrdialog.cpp1
2 files changed, 7 insertions, 2 deletions
diff --git a/share/ui/style.css b/share/ui/style.css
index 6287a1622..1749a0538 100644
--- a/share/ui/style.css
+++ b/share/ui/style.css
@@ -97,10 +97,10 @@ image {
color: @theme_bg_color;
background-color: @theme_fg_color;
background-image: image(@theme_fg_color);
+ caret-color: @theme_bg_color;
+ -gtk-secondary-caret-color: @theme_fg_color;
}
-
-
.inverted :not(menuitem):not(.rawstyle):not(overshoot):not(undershoot):not(selection),
.bright .forcedark :not(menuitem):not(.rawstyle):not(overshoot):not(undershoot):not(selection),
.dark .forcebright :not(menuitem):not(.rawstyle):not(overshoot):not(undershoot):not(selection) {
@@ -123,6 +123,10 @@ image {
border-radius: 4px;
}
+.attrpop textview {
+ font-size: 13px;
+}
+
/*
*to get system default colors
diff --git a/src/ui/dialog/attrdialog.cpp b/src/ui/dialog/attrdialog.cpp
index 7a699abab..0dbc1f331 100644
--- a/src/ui/dialog/attrdialog.cpp
+++ b/src/ui/dialog/attrdialog.cpp
@@ -163,6 +163,7 @@ AttrDialog::AttrDialog()
_popover->set_position(Gtk::PositionType::POS_BOTTOM);
_popover->signal_closed().connect(sigc::mem_fun(*this, &AttrDialog::popClosed));
_popover->get_style_context()->add_class("inverted");
+ _popover->get_style_context()->add_class("attrpop");
attr_reset_context(0);
_getContents()->pack_start(_mainBox, Gtk::PACK_EXPAND_WIDGET);
setDesktop(getDesktop());