summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-10-10 09:44:37 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-10-10 09:44:37 +0000
commitc8a5d3b1767c8f887bfdaf6f7d46a081aeea1b62 (patch)
tree8199cb62d6d5eb3826457a96b315f82d357f9774 /share
parentImprove node tool not limiting the time to make the rendering (diff)
downloadinkscape-c8a5d3b1767c8f887bfdaf6f7d46a081aeea1b62.tar.gz
inkscape-c8a5d3b1767c8f887bfdaf6f7d46a081aeea1b62.zip
Actualizarshare/ui/style.css
Diffstat (limited to 'share')
-rw-r--r--share/ui/style.css92
1 files changed, 31 insertions, 61 deletions
diff --git a/share/ui/style.css b/share/ui/style.css
index c680e4382..c6d76db74 100644
--- a/share/ui/style.css
+++ b/share/ui/style.css
@@ -60,16 +60,15 @@
* widget->get_style_context()->add_class("mycoolclass");
* we define a bunch of helper CSS styles
* Each Inkscape desktop has some classes in top level window
- * called "dark|bright" and "symbolic|regular" so you can style using this clases
- * by this way you can always know if the UI is in dark mode
+ * called "dark|bright" (syncked with dark or brighrt themes) and "symbolic|regular" (defined by the user in themes preferences)
+ * so you can style using this clases
+ * by this way you can always know if the UI is in dark mode or using symbolic icons
* Also added some helper clases:
- * ::::::: Color based
- * ::::::: apply to colors
- * ::::::: scope widget and all his childs
- * ".inverted" invert colors
- * :::::::: Icon Based.
+ * ".inverted" invert colors fon widhet and childs
* ".symbolic" Force icon symbolic
* ".regular" Force colorful icons
+ * " .forcebright Force darlk even if the towp wingow has clas dark (happends when theme is dark)
+ * " .forcedark" Force darlk even if the towp wingow has clas bright
* :::::::: Combo box.
* "..combobright" Combo bright
*/
@@ -78,11 +77,6 @@
opacity: 0.4;
}
-image {
- color: @theme_fg_color;
- -gtk-icon-palette: default;
-}
-
.symbolic image {
-gtk-icon-style: symbolic;
}
@@ -113,25 +107,25 @@ image {
background-image: inherit;
}
-.combobright * {
- color: @theme_text_color;
- background-color: @theme_base_color;
- background-image: image(@theme_base_color);
- border-radius: 4px;
+.combobright .combo,
+.combobright menu{
+ 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;
}
-
-.dark .combobright * {
- color: @theme_base_color;
- background-color: @theme_text_color;
- background-image: image(@theme_text_color);
- border-radius: 4px;
+.combobright .combo *,
+.combobright menu *{
+ color: inherit;
+ background-color: inherit;
+ background-image: inherit;
}
.attrpop textview {
font-size: 13px;
}
-
/*
*to get system default colors
* with Gdk::RGBA success =_symbolic_error_color.get_stseparatole_context()->get_color();
@@ -155,11 +149,6 @@ image {
color: @success_color;
}
-image.disabled,
-.symboliccolors:disabled * {
- opacity: 0.35;
-}
-
spinbutton {
padding: 0;
outline-style: none;
@@ -179,6 +168,10 @@ spinbutton entry {
padding-right: 0;
}
+spinbutton undershoot {
+ outline-style: none;
+}
+
iconview *:hover {
border-width: 1px;
border-color: @theme_fg_color;
@@ -190,10 +183,6 @@ iconview *:hover {
border-color: @theme_bg_color;
}
-spinbutton undershoot {
- outline-style: none;
-}
-
.inksmall {
font-size: 11px;
}
@@ -216,14 +205,7 @@ spinbutton undershoot {
font-size: 8px;
}
-
-#LPEDialogSelector,
-#LPEDialogSelector .frame,
-#LPEDialogSelector .searchbar {
- outline-width: 0;
- border-width: 0;
-}
-
+/* LPE Dialog add */
#LPESelectorFlowBox GtkFlowBoxChild,
#LPESelectorFlowBox flowboxchild {
border-width: 0px;
@@ -299,10 +281,12 @@ spinbutton undershoot {
#LPEDialogSelector.LPEPackMore flowboxchild {
margin:5px 1px 0px;
padding:3px 3px 10px 3px;
-}
+}
+
#LPEDialogSelector.LPEPackMore flowboxchild label {
font-size:14px;
-}
+}
+
#LPEDialogSelector.LPEPackMore #LPESelectorEffectInfoPop label{
font-size:13px;
}
@@ -311,6 +295,7 @@ font-size:13px;
margin-bottom: 1px;
font-weight:bold;
}
+
#LPEDialogSelector.LPEList flowboxchild {
padding:3px 1px 3px 10px;
margin:1px 0px 1px;
@@ -319,6 +304,7 @@ font-size:13px;
border-color:@theme_fg_color;
border-width: 0 0 1px 0;
}
+
#LPEDialogSelector.LPEList flowboxchild:selected {
border-style:none;
margin:-3px 0px 0px;
@@ -330,6 +316,7 @@ font-size:13px;
opacity: 1;
}
+/* Selector and XML dialog */
#SelectorsAndStyleDialog button {
padding: 4px;
min-height: 16px;
@@ -385,17 +372,11 @@ font-size:13px;
font-size: 7pt;
}
-
/* The actual canvas (Inkscape's drawing area). */
-
SPCanvas {
background-color: white;
}
-combobox window.popup scrolledwindow treeview separator {}
-
-#font_selector_family {}
-
#TextFontFamilyAction_combobox {
-GtkComboBox-appears-as-list: true;
}
@@ -406,41 +387,31 @@ combobox window.popup scrolledwindow treeview separator {}
padding: 0;
}
-
/* Keep palette scrollbar from generating warnings. */
-
#PreviewHolderScroller .vertical slider {
min-height: 15px;
}
-
/* Override minimum size of container children for palette. */
-
#ColorItemPreview {
min-height: 5px;
min-width: 5px;
}
-
/* Reduce width of Fill and Stroke dialog */
-
#ColorModeButton {
padding-left: 0;
padding-right: 0;
}
-
/* Reduce width of +/- buttons. */
-
.up,
.down {
padding-left: 0;
padding-right: 0;
}
-
/* InkSpinScale */
-
#InkSpinScale {
background: @theme_bg_color;
border: 1px black;
@@ -459,7 +430,6 @@ combobox window.popup scrolledwindow treeview separator {}
/* Hide slider */
-
#InkSpinScale slider {
background: none;
border: none;
@@ -495,4 +465,4 @@ combobox window.popup scrolledwindow treeview separator {}
#UnicodeIconView {
font-size: 16px;
-}
+} \ No newline at end of file