From 9a7693f4f26bc243de33bee09c9cf7fcdbd3eb00 Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Wed, 18 Sep 2019 14:35:25 +0200 Subject: Add multiview modes to LPE selector --- share/ui/dialog-livepatheffect-add.ui | 166 +++++++++++++++++++--------------- share/ui/style.css | 69 +++++++++----- 2 files changed, 137 insertions(+), 98 deletions(-) (limited to 'share') diff --git a/share/ui/dialog-livepatheffect-add.ui b/share/ui/dialog-livepatheffect-add.ui index 2bc147b65..57336300e 100644 --- a/share/ui/dialog-livepatheffect-add.ui +++ b/share/ui/dialog-livepatheffect-add.ui @@ -130,99 +130,114 @@ - + True - True - False - center + False + start center - True - False - LPESelectorEffectRadioList + True + start - - LPESelectorEffectFavShowImage + True - False - center + True + False + start center - 22 - pack-less - 2 - + False + LPESelectorEffectRadioList + + + LPESelectorEffectFavShowImage + True + False + center + center + 22 + pack-less + 2 + + + + + False + True + 1 + 0 + - - - False - True - 1 - 5 - - - - - True - True - False - center - center - False - LPESelectorEffectRadioList - - LPESelectorEffectFavShowImage + True - False - center + True + False + start center - 22 - pack-more - 2 - + False + LPESelectorEffectRadioList + + + LPESelectorEffectFavShowImage + True + False + center + center + 22 + pack-more + 2 + + + + + False + True + 1 + 1 + - - - False - True - 1 - 6 - - - - - True - True - False - center - center - False - - LPESelectorEffectFavShowImage + True - False - center + True + False + start center - 27 - hamburger-menu - 2 - + True + False + + + LPESelectorEffectFavShowImage + True + False + center + center + 27 + hamburger-menu + 2 + + + + + False + True + 1 + 2 + - False + True True - 1 - 7 + 5 @@ -234,7 +249,7 @@ False True 4 - 8 + 7 @@ -264,7 +279,7 @@ False True - 9 + 8 @@ -596,6 +611,7 @@ + LPESelectorButtonBox True False center diff --git a/share/ui/style.css b/share/ui/style.css index 1ce6fe819..380b66078 100644 --- a/share/ui/style.css +++ b/share/ui/style.css @@ -190,6 +190,29 @@ spinbutton undershoot { outline-style: none; } +.inksmall { + font-size: 11px; +} + +.inkswitch slider { + min-width: 18px; + min-height: 18px; +} + +.inkswitch image { + color: transparent; + background-color: transparent; + background-image: image(transparent); + -gtk-icon-style:symbolic; +} + +.inkswitch { + margin: 2px; + padding: 0; + font-size: 8px; +} + + #LPEDialogSelector, #LPEDialogSelector .frame, #LPEDialogSelector .searchbar { @@ -266,8 +289,8 @@ spinbutton undershoot { } #LPEDialogSelector.LPEPackLess flowboxchild { -margin:1px; -padding:1px; +margin:5px 1px 0px; +padding:3px 3px 10px 3px; } #LPEDialogSelector.LPEPackLess flowboxchild label { font-size:14px; @@ -276,36 +299,36 @@ font-size:14px; font-size:13px; } -#SelectorsAndStyleDialog button { - padding: 4px; - min-height: 16px; - margin: 2px; - padding: 2px; +#LPEDialogSelector.LPEList .lpename { + margin-bottom: 1px; + font-weight:bold; } - -.inksmall { - font-size: 11px; +#LPEDialogSelector.LPEList flowboxchild { + padding:3px 1px 3px 10px; + margin:1px 0px 1px; + border-radius:0; + border-style:dotted; + border-color:@theme_fg_color; + border-width: 0 0 1px 0; } - -.inkswitch slider { - min-width: 18px; - min-height: 18px; +#LPEDialogSelector.LPEList flowboxchild:selected { + border-style:none; + margin:-3px 0px 0px; + padding:4px 1px 4px 10px; } -.inkswitch image { - color: transparent; - background-color: transparent; - background-image: image(transparent); - -gtk-icon-style:symbolic; +#LPEDialogSelector.LPEList #LPESelectorFlowBox *:selected #LPESelectorEffectFavTop, +#LPEDialogSelector.LPEList #LPESelectorFlowBox *:selected:focus #LPESelectorEffectFavTop { + opacity: 1; } -.inkswitch { +#SelectorsAndStyleDialog button { + padding: 4px; + min-height: 16px; margin: 2px; - padding: 0; - font-size: 8px; + padding: 2px; } - #XMLAndAttributesDialog .toggle, #SelectorsAndStyleDialog .toggle { min-width: 18px; -- cgit v1.2.3