From 3932218fd0862627a3c614aaf6825256e66a5517 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Tue, 30 Aug 2016 23:53:36 +0200 Subject: use color swatches for selected bg and fg in svg assets --- common/cinnamon/common-assets/menu/menu-hover.svg | 30 +++++++-- .../common-assets/misc/add-workspace-active.svg | 55 ++++++++++++++--- .../misc/calendar-arrow-left-hover.svg | 28 +++++++-- .../misc/calendar-arrow-right-hover.svg | 28 +++++++-- .../cinnamon/common-assets/misc/corner-ripple.svg | 6 +- .../common-assets/panel/activities-active.svg | 32 ++++++++-- .../panel/window-list-active-bottom.svg | 30 +++++++-- .../common-assets/panel/window-list-active-top.svg | 28 +++++++-- .../common-assets/switch/switch-off-selected.svg | 38 ++++++++++-- .../common-assets/switch/switch-on-selected.svg | 66 ++++++++++++++++++-- .../checkbox/checkbox-checked-focused.svg | 27 ++++++-- .../dark-assets/checkbox/checkbox-checked.svg | 25 +++++++- .../checkbox/checkbox-unchecked-focused.svg | 27 ++++++-- common/cinnamon/dark-assets/misc/message.svg | 30 +++++++-- common/cinnamon/dark-assets/switch/switch-on.svg | 27 ++++++-- .../checkbox/checkbox-checked-focused.svg | 57 +++++++++++++++-- .../light-assets/checkbox/checkbox-checked.svg | 55 +++++++++++++++-- .../checkbox/checkbox-unchecked-focused.svg | 25 +++++++- common/cinnamon/light-assets/misc/message.svg | 37 +++++++++-- common/cinnamon/light-assets/switch/switch-on.svg | 72 +++++++++++++++++++--- 20 files changed, 624 insertions(+), 99 deletions(-) (limited to 'common/cinnamon') diff --git a/common/cinnamon/common-assets/menu/menu-hover.svg b/common/cinnamon/common-assets/menu/menu-hover.svg index 6ae13ca..4d3f262 100644 --- a/common/cinnamon/common-assets/menu/menu-hover.svg +++ b/common/cinnamon/common-assets/menu/menu-hover.svg @@ -2,11 +2,13 @@ + id="defs6929"> + + + + + + style="fill:url(#linearGradient4140);fill-opacity:1"> + style="opacity:1;fill:url(#linearGradient4140);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0" /> diff --git a/common/cinnamon/common-assets/misc/add-workspace-active.svg b/common/cinnamon/common-assets/misc/add-workspace-active.svg index f60de34..d39784c 100644 --- a/common/cinnamon/common-assets/misc/add-workspace-active.svg +++ b/common/cinnamon/common-assets/misc/add-workspace-active.svg @@ -2,11 +2,13 @@ + id="defs4"> + + + + + + + + + image/svg+xml - + @@ -75,7 +112,7 @@ id="layer1" transform="translate(0,-852.36218)"> @@ -85,7 +122,7 @@ style="fill:#000000;fill-opacity:1;opacity:0.5" /> + style="fill:url(#linearGradient4149);fill-opacity:1"> + style="opacity:1;fill:url(#linearGradient4149);fill-opacity:1;stroke:#102b68;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /> + style="opacity:1;fill:url(#linearGradient4149);fill-opacity:1;stroke:#102b68;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /> diff --git a/common/cinnamon/common-assets/misc/calendar-arrow-left-hover.svg b/common/cinnamon/common-assets/misc/calendar-arrow-left-hover.svg index a5cc13e..9292ecc 100644 --- a/common/cinnamon/common-assets/misc/calendar-arrow-left-hover.svg +++ b/common/cinnamon/common-assets/misc/calendar-arrow-left-hover.svg @@ -2,11 +2,13 @@ Gnome Symbolic Icon Theme + id="defs7386"> + + + + + diff --git a/common/cinnamon/common-assets/misc/calendar-arrow-right-hover.svg b/common/cinnamon/common-assets/misc/calendar-arrow-right-hover.svg index f718628..e29be39 100644 --- a/common/cinnamon/common-assets/misc/calendar-arrow-right-hover.svg +++ b/common/cinnamon/common-assets/misc/calendar-arrow-right-hover.svg @@ -2,11 +2,13 @@ Gnome Symbolic Icon Theme + id="defs7386"> + + + + + diff --git a/common/cinnamon/common-assets/misc/corner-ripple.svg b/common/cinnamon/common-assets/misc/corner-ripple.svg index ff58c92..3f52f68 100644 --- a/common/cinnamon/common-assets/misc/corner-ripple.svg +++ b/common/cinnamon/common-assets/misc/corner-ripple.svg @@ -34,8 +34,8 @@ fit-margin-right="0" fit-margin-bottom="0" inkscape:zoom="2.3864854" - inkscape:cx="-38.639816" - inkscape:cy="27.143174" + inkscape:cx="54.174496" + inkscape:cy="43.066171" inkscape:current-layer="svg2" /> @@ -68,7 +68,7 @@ image/svg+xml - + diff --git a/common/cinnamon/common-assets/panel/activities-active.svg b/common/cinnamon/common-assets/panel/activities-active.svg index 6986f5c..ae5c602 100644 --- a/common/cinnamon/common-assets/panel/activities-active.svg +++ b/common/cinnamon/common-assets/panel/activities-active.svg @@ -2,11 +2,13 @@ + id="defs3"> + + + + + @@ -134,21 +154,21 @@ id="layer1" transform="translate(0,-276)"> @@ -30,8 +32,8 @@ inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:zoom="19.769528" - inkscape:cx="15.988499" - inkscape:cy="3.1982956" + inkscape:cx="6.9341604" + inkscape:cy="3.0971298" inkscape:current-layer="layer1" showgrid="true" inkscape:grid-bbox="true" @@ -74,7 +76,25 @@ snapvisiblegridlinesonly="true" /> + id="defs3"> + + + + + @@ -132,7 +152,7 @@ id="layer1" transform="translate(0,-296)"> + id="defs3"> + + + + + @@ -132,7 +152,7 @@ id="layer1" transform="translate(0,-296)"> + + + + + + style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Andale Mono';-inkscape-font-specification:'Andale Mono';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;display:inline;overflow:visible;visibility:visible;opacity:0.6;fill:url(#linearGradient4168);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.78124988;marker:none;enable-background:new" /> diff --git a/common/cinnamon/common-assets/switch/switch-on-selected.svg b/common/cinnamon/common-assets/switch/switch-on-selected.svg index 7c2572d..a86b37a 100644 --- a/common/cinnamon/common-assets/switch/switch-on-selected.svg +++ b/common/cinnamon/common-assets/switch/switch-on-selected.svg @@ -2,11 +2,13 @@ + + + + + + + + + + + style="display:inline;opacity:1;fill:url(#linearGradient4168);fill-opacity:1;stroke:none" /> + style="display:inline;opacity:1;fill:url(#linearGradient4170);fill-opacity:1;stroke:none" /> diff --git a/common/cinnamon/dark-assets/checkbox/checkbox-checked-focused.svg b/common/cinnamon/dark-assets/checkbox/checkbox-checked-focused.svg index 7789a23..0c2a8ee 100644 --- a/common/cinnamon/dark-assets/checkbox/checkbox-checked-focused.svg +++ b/common/cinnamon/dark-assets/checkbox/checkbox-checked-focused.svg @@ -2,11 +2,13 @@ + + + + image/svg+xml - + @@ -136,7 +155,7 @@ height="13.99999" width="13.999989" id="rect5147-9-1-5-7-6-7-4" - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#5294e2;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient4161);fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" ry="1.9999917" /> diff --git a/common/cinnamon/dark-assets/checkbox/checkbox-checked.svg b/common/cinnamon/dark-assets/checkbox/checkbox-checked.svg index d2f64f9..b17ab7c 100644 --- a/common/cinnamon/dark-assets/checkbox/checkbox-checked.svg +++ b/common/cinnamon/dark-assets/checkbox/checkbox-checked.svg @@ -2,11 +2,13 @@ + + + + diff --git a/common/cinnamon/dark-assets/checkbox/checkbox-unchecked-focused.svg b/common/cinnamon/dark-assets/checkbox/checkbox-unchecked-focused.svg index fcaae67..0c111f0 100644 --- a/common/cinnamon/dark-assets/checkbox/checkbox-unchecked-focused.svg +++ b/common/cinnamon/dark-assets/checkbox/checkbox-unchecked-focused.svg @@ -2,11 +2,13 @@ + + + + image/svg+xml - + @@ -126,7 +145,7 @@ id="g5400-2-47"> + id="defs6623"> + + + + + + + + + image/svg+xml - + @@ -175,7 +194,7 @@ x="0" y="1029.3622" /> + + + + + + + + + image/svg+xml - + @@ -163,7 +208,7 @@ height="13.99999" width="13.999989" id="rect5147-9-1-5-7-6-7" - style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#5294e2;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" + style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient4168);fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" ry="1.9999917" /> @@ -196,7 +241,7 @@ height="1.9999826" width="5" id="rect3977-39" - style="fill:#ffffff;fill-opacity:1;stroke:none" /> + style="fill:url(#linearGradient4171);fill-opacity:1;stroke:none" /> + style="fill:url(#linearGradient4173);fill-opacity:1;stroke:none" /> + + + + + + + + + @@ -196,7 +241,7 @@ height="1.9999826" width="5" id="rect3977-39" - style="fill:#ffffff;fill-opacity:1;stroke:none" /> + style="fill:url(#linearGradient4171);fill-opacity:1;stroke:none" /> + style="fill:url(#linearGradient4173);fill-opacity:1;stroke:none" /> + + + + + id="defs6623"> + + + + + + diff --git a/common/cinnamon/light-assets/switch/switch-on.svg b/common/cinnamon/light-assets/switch/switch-on.svg index 0203bbb..9945e14 100644 --- a/common/cinnamon/light-assets/switch/switch-on.svg +++ b/common/cinnamon/light-assets/switch/switch-on.svg @@ -2,11 +2,13 @@ + + + + + + + + + + image/svg+xml - + @@ -175,7 +229,7 @@ x="0" y="1029.3622" /> + style="display:inline;opacity:1;fill:url(#linearGradient4183);fill-opacity:1;stroke:none" /> + style="display:inline;opacity:1;fill:url(#linearGradient4185);fill-opacity:1;stroke:none" /> -- cgit v1.2.3 From 06b091100947a17f29b82f92bf0fa38735eaabac Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Wed, 31 Aug 2016 00:00:33 +0200 Subject: don't use selected_fg_color in weird places --- common/cinnamon/cinnamon-dark.css | 100 +++++++++++++++++++------------------- common/cinnamon/cinnamon.css | 100 +++++++++++++++++++------------------- common/cinnamon/sass/_colors.scss | 9 +++- common/cinnamon/sass/_common.scss | 22 +++++---- 4 files changed, 120 insertions(+), 111 deletions(-) (limited to 'common/cinnamon') diff --git a/common/cinnamon/cinnamon-dark.css b/common/cinnamon/cinnamon-dark.css index 584ea8b..2da56b1 100644 --- a/common/cinnamon/cinnamon-dark.css +++ b/common/cinnamon/cinnamon-dark.css @@ -22,7 +22,7 @@ stage { text-shadow: 0 1px rgba(64, 69, 82, 0); color: #D3DAE3; background-color: #444a58; - border: 1px solid #5294E2; + border: 1px solid #5294e2; box-shadow: inset 0 2px 4px rgba(68, 74, 88, 0.05); } .popup-menu #notification .notification-button:hover, .popup-menu #notification .notification-icon-button:hover, .menu-favorites-button:hover, .menu-application-button-selected, .menu-category-button-selected, .sound-button:hover { text-shadow: 0 1px rgba(64, 69, 82, 0); @@ -34,14 +34,14 @@ stage { text-shadow: 0 1px rgba(64, 69, 82, 0); color: #D3DAE3; background-color: #444a58; - border: 1px solid #5294E2; + border: 1px solid #5294e2; box-shadow: inset 0 2px 4px rgba(68, 74, 88, 0.05); } .popup-menu #notification .notification-button:active, .popup-menu #notification .notification-icon-button:active, .sound-button:active, .popup-menu #notification .notification-button:active:focus, .popup-menu #notification .notification-icon-button:active:focus, .sound-button:active:focus { text-shadow: 0 1px rgba(64, 69, 82, 0); color: #ffffff; - background-color: #5294E2; - border: 1px solid #5294E2; - box-shadow: inset 0 2px 4px #5294E2; } + background-color: #5294e2; + border: 1px solid #5294e2; + box-shadow: inset 0 2px 4px #5294e2; } .popup-menu #notification .notification-button:insensitive, .popup-menu #notification .notification-icon-button:insensitive, .sound-button:insensitive { text-shadow: 0 1px rgba(64, 69, 82, 0); color: rgba(211, 218, 227, 0.45); @@ -64,12 +64,12 @@ stage { border: 1px solid rgba(26, 28, 34, 0.35); background-color: rgba(119, 127, 151, 0.45); } .notification-button:focus, .notification-icon-button:focus, .modal-dialog-button-box .modal-dialog-button:focus { - color: #5294E2; } + color: #5294e2; } .notification-button:active, .notification-icon-button:active, .modal-dialog-button-box .modal-dialog-button:active { text-shadow: 0 1px rgba(64, 69, 82, 0); color: #ffffff; - border: 1px solid #5294E2; - background-color: #5294E2; } + border: 1px solid #5294e2; + background-color: #5294e2; } .notification-button:insensitive, .notification-icon-button:insensitive, .modal-dialog-button-box .modal-dialog-button:insensitive { text-shadow: 0 1px rgba(64, 69, 82, 0); color: #5d626e; @@ -79,7 +79,7 @@ stage { .popup-menu #notification StEntry, #menu-search-entry { padding: 7px; caret-size: 1px; - selection-background-color: #5294E2; + selection-background-color: #5294e2; selected-color: #ffffff; transition-duration: 300ms; border-radius: 3px; @@ -90,7 +90,7 @@ stage { .popup-menu #notification StEntry:focus, #menu-search-entry:focus, .popup-menu #notification StEntry:hover, #menu-search-entry:hover { color: #D3DAE3; background-color: #404552; - border: 1px solid #5294E2; + border: 1px solid #5294e2; box-shadow: inset 0 2px 4px rgba(64, 69, 82, 0.05); } .popup-menu #notification StEntry:insensitive, #menu-search-entry:insensitive { color: rgba(211, 218, 227, 0.45); @@ -106,7 +106,7 @@ stage { padding: 7px; caret-size: 1px; caret-color: #BAC3CF; - selection-background-color: #5294E2; + selection-background-color: #5294e2; selected-color: #ffffff; transition-duration: 300ms; border-radius: 3px; @@ -116,8 +116,8 @@ stage { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .notification StEntry:focus { color: #ffffff; - background-color: #5294E2; - border: 1px solid #5294E2; + background-color: #5294e2; + border: 1px solid #5294e2; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .notification StEntry:insensitive { color: rgba(186, 195, 207, 0.55); @@ -147,7 +147,7 @@ StScrollBar { StScrollBar StButton#vhandle:hover, StScrollBar StButton#hhandle:hover { background-color: #676b78; } StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { - background-color: #5294E2; } + background-color: #5294e2; } .separator { -gradient-height: 1px; @@ -161,7 +161,7 @@ StScrollBar { -slider-height: 4px; -slider-background-color: #2b2e39; -slider-border-color: transparent; - -slider-active-background-color: #5294E2; + -slider-active-background-color: #5294e2; -slider-active-border-color: transparent; -slider-border-width: 0; -slider-handle-radius: 4px; @@ -359,7 +359,7 @@ StScrollBar { background-gradient-end: rgba(0, 255, 0, 0.2); } .panel-top, .panel-bottom { - color: #ffffff; + color: white; font-size: 1em; padding: 0px; } @@ -401,9 +401,9 @@ StScrollBar { padding: 5px 8px; -cinnamon-caption-spacing: 4px; } .window-caption#selected { - background-color: #5294E2; + background-color: #5294e2; color: #ffffff; - border: 1px solid #5294E2; + border: 1px solid #5294e2; spacing: 25px; } .expo-workspaces-name-entry, @@ -419,20 +419,20 @@ StScrollBar { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .expo-workspaces-name-entry:focus, .expo-workspaces-name-entry#selected:focus { - border: 1px solid #5294E2; - background-color: #5294E2; + border: 1px solid #5294e2; + background-color: #5294e2; color: #ffffff; font-style: italic; transition-duration: 300; selection-background-color: #ffffff; - selected-color: #5294E2; } + selected-color: #5294e2; } .expo-workspace-thumbnail-frame { border: 4px solid rgba(255, 255, 255, 0); background-color: rgba(255, 255, 255, 0); border-radius: 2px; } .expo-workspace-thumbnail-frame#active { - border: 4px solid #5294E2; + border: 4px solid #5294e2; background-color: black; border-radius: 2px; } @@ -605,7 +605,7 @@ StScrollBar { .calendar-today:hover { font-weight: bold; color: #ffffff; - background-color: #5294E2; + background-color: #5294e2; border-width: 0; } .calendar-other-month-day { @@ -672,11 +672,11 @@ StScrollBar { border-radius: 2px; } .switcher-list .item-box:outlined { padding: 8px; - border: 1px solid #5294E2; } + border: 1px solid #5294e2; } .switcher-list .item-box:selected { color: #ffffff; - background-color: #5294E2; - border: 0px solid #5294E2; } + background-color: #5294e2; + border: 0px solid #5294e2; } .switcher-list .thumbnail { width: 256px; } .switcher-list .thumbnail-box { @@ -691,7 +691,7 @@ StScrollBar { color: #BAC3CF; } .switcher-arrow:highlighted { border-color: transparent; - color: #ffffff; } + color: white; } .thumbnail-scroll-gradient-left { background-color: transparent; @@ -763,15 +763,15 @@ StScrollBar { border-radius: 3px; caret-color: #BAC3CF; selected-color: #ffffff; - selection-background-color: #5294E2; + selection-background-color: #5294e2; color: #BAC3CF; background-color: rgba(102, 109, 132, 0.35); border: 1px solid rgba(26, 28, 34, 0.35); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .run-dialog-entry:focus { color: #ffffff; - background-color: #5294E2; - border: 1px solid #5294E2; + background-color: #5294e2; + border: 1px solid #5294e2; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .run-dialog .modal-dialog-button-box { border: none; @@ -866,8 +866,8 @@ StScrollBar { .keyboard-key:active, .keyboard-key:checked { text-shadow: 0 1px rgba(64, 69, 82, 0); color: #ffffff; - border: 1px solid #5294E2; - background-color: #5294E2; } + border: 1px solid #5294e2; + background-color: #5294e2; } .keyboard-key:grayed { text-shadow: 0 1px rgba(64, 69, 82, 0); color: #5d626e; @@ -978,7 +978,7 @@ StScrollBar { font-weight: bold; spacing: 1em; padding: 16px; - color: #ffffff; + color: white; border-image: url("common-assets/misc/osd.svg") 9 9 9 9; } .osd-window { @@ -989,7 +989,7 @@ StScrollBar { margin: 32px; min-width: 64px; min-height: 64px; - color: #ffffff; + color: white; background: none; border: none; border-radius: 5px; @@ -1001,7 +1001,7 @@ StScrollBar { height: 4px; background-color: rgba(0, 0, 0, 0.5); border-radius: 2px; - color: #5294E2; } + color: #5294e2; } .window-list-box { spacing: 6px; @@ -1024,9 +1024,9 @@ StScrollBar { transition-duration: 100; color: rgba(255, 255, 255, 0.6); } .window-list-item-box:hover { - color: #ffffff; } + color: white; } .window-list-item-box:active, .window-list-item-box:checked, .window-list-item-box:focus { - color: #ffffff; } + color: white; } .panel-bottom .window-list-item-box:active, .panel-bottom .window-list-item-box:checked, .panel-bottom .window-list-item-box:focus { border-image: url("common-assets/panel/window-list-active-bottom.svg") 3 3 1 3; } .panel-top .window-list-item-box:active, .panel-top .window-list-item-box:checked, .panel-top .window-list-item-box:focus { @@ -1122,9 +1122,9 @@ StScrollBar { .sound-player-overlay StButton:active { text-shadow: 0 1px rgba(64, 69, 82, 0); color: #ffffff; - background-color: #5294E2; - border: 1px solid #5294E2; - box-shadow: inset 0 2px 4px #5294E2; } + background-color: #5294e2; + border: 1px solid #5294e2; + box-shadow: inset 0 2px 4px #5294e2; } .sound-player-overlay StBoxLayout { padding-top: 2px; } .sound-player .slider { @@ -1134,7 +1134,7 @@ StScrollBar { -slider-height: 0.5em; -slider-background-color: #2d303b; -slider-border-color: transparent; - -slider-active-background-color: #5294E2; + -slider-active-background-color: #5294e2; -slider-active-border-color: transparent; -slider-border-width: 0px; -slider-handle-radius: 0px; } @@ -1156,7 +1156,7 @@ StScrollBar { padding-top: 4px; transition-duration: 300; } .workspace-button:outlined, .workspace-button:outlined:hover { - color: #5294E2; } + color: #5294e2; } .workspace-button:hover { color: rgba(82, 148, 226, 0.5); } @@ -1171,7 +1171,7 @@ StScrollBar { background-color: rgba(0, 0, 0, 0.2); } .workspace-graph .workspace:active { - border: 1px solid #5294E2; + border: 1px solid #5294e2; background-gradient-direction: none; } .workspace-graph .workspace .windows { @@ -1195,7 +1195,7 @@ StScrollBar { transition-duration: 200; } .panel-launcher:hover { background-gradient-direction: none; - border: 0px solid #5294E2; } + border: 0px solid #5294e2; } .panel-bottom .panel-launcher:hover { border-bottom-width: 1px; } .panel-top .panel-launcher:hover { @@ -1216,22 +1216,22 @@ StScrollBar { .applet-box { padding-left: 3px; padding-right: 3px; - color: #ffffff; + color: white; text-shadow: none; transition-duration: 100; } .applet-box:hover { color: #ffffff; - background-color: #5294E2; } + background-color: #5294e2; } .applet-label { font-weight: bold; - color: #ffffff; } + color: white; } .applet-label:hover, .applet-box:hover > .applet-label { color: #ffffff; text-shadow: none; } .applet-icon { - color: #ffffff; + color: white; icon-size: 22px; } .applet-icon:hover, .applet-box:hover > .applet-icon { color: #ffffff; @@ -1272,7 +1272,7 @@ StScrollBar { padding: 12px; padding-bottom: 6px; } .desklet-drag-placeholder { - border: 2px solid #5294E2; + border: 2px solid #5294e2; background-color: rgba(82, 148, 226, 0.3); } .photoframe-box { @@ -1297,7 +1297,7 @@ StScrollBar { .tile-preview, .tile-preview.snap, .tile-hud, .tile-hud.snap { background-color: rgba(82, 148, 226, 0.3); - border: 1px solid #5294E2; } + border: 1px solid #5294e2; } .xkcd-box { padding: 6px; diff --git a/common/cinnamon/cinnamon.css b/common/cinnamon/cinnamon.css index 6aaee78..5ea0a46 100644 --- a/common/cinnamon/cinnamon.css +++ b/common/cinnamon/cinnamon.css @@ -22,7 +22,7 @@ stage { text-shadow: 0 1px rgba(255, 255, 255, 0); color: #5c616c; background-color: #fbfbfc; - border: 1px solid #5294E2; + border: 1px solid #5294e2; box-shadow: inset 0 2px 4px rgba(251, 251, 252, 0.05); } .popup-menu #notification .notification-button:hover, .popup-menu #notification .notification-icon-button:hover, .menu-favorites-button:hover, .menu-application-button-selected, .menu-category-button-selected, .sound-button:hover { text-shadow: 0 1px rgba(255, 255, 255, 0); @@ -34,14 +34,14 @@ stage { text-shadow: 0 1px rgba(255, 255, 255, 0); color: #5c616c; background-color: #fbfbfc; - border: 1px solid #5294E2; + border: 1px solid #5294e2; box-shadow: inset 0 2px 4px rgba(251, 251, 252, 0.05); } .popup-menu #notification .notification-button:active, .popup-menu #notification .notification-icon-button:active, .sound-button:active, .popup-menu #notification .notification-button:active:focus, .popup-menu #notification .notification-icon-button:active:focus, .sound-button:active:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); color: #ffffff; - background-color: #5294E2; - border: 1px solid #5294E2; - box-shadow: inset 0 2px 4px #5294E2; } + background-color: #5294e2; + border: 1px solid #5294e2; + box-shadow: inset 0 2px 4px #5294e2; } .popup-menu #notification .notification-button:insensitive, .popup-menu #notification .notification-icon-button:insensitive, .sound-button:insensitive { text-shadow: 0 1px rgba(255, 255, 255, 0); color: rgba(92, 97, 108, 0.55); @@ -64,12 +64,12 @@ stage { border: 1px solid rgba(26, 28, 34, 0.35); background-color: rgba(119, 127, 151, 0.45); } .notification-button:focus, .notification-icon-button:focus, .modal-dialog-button-box .modal-dialog-button:focus { - color: #5294E2; } + color: #5294e2; } .notification-button:active, .notification-icon-button:active, .modal-dialog-button-box .modal-dialog-button:active { text-shadow: 0 1px rgba(255, 255, 255, 0); color: #ffffff; - border: 1px solid #5294E2; - background-color: #5294E2; } + border: 1px solid #5294e2; + background-color: #5294e2; } .notification-button:insensitive, .notification-icon-button:insensitive, .modal-dialog-button-box .modal-dialog-button:insensitive { text-shadow: 0 1px rgba(255, 255, 255, 0); color: #5d626e; @@ -79,7 +79,7 @@ stage { .popup-menu #notification StEntry, #menu-search-entry { padding: 7px; caret-size: 1px; - selection-background-color: #5294E2; + selection-background-color: #5294e2; selected-color: #ffffff; transition-duration: 300ms; border-radius: 3px; @@ -90,7 +90,7 @@ stage { .popup-menu #notification StEntry:focus, #menu-search-entry:focus, .popup-menu #notification StEntry:hover, #menu-search-entry:hover { color: #5c616c; background-color: #ffffff; - border: 1px solid #5294E2; + border: 1px solid #5294e2; box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05); } .popup-menu #notification StEntry:insensitive, #menu-search-entry:insensitive { color: rgba(92, 97, 108, 0.55); @@ -106,7 +106,7 @@ stage { padding: 7px; caret-size: 1px; caret-color: #BAC3CF; - selection-background-color: #5294E2; + selection-background-color: #5294e2; selected-color: #ffffff; transition-duration: 300ms; border-radius: 3px; @@ -116,8 +116,8 @@ stage { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .notification StEntry:focus { color: #ffffff; - background-color: #5294E2; - border: 1px solid #5294E2; + background-color: #5294e2; + border: 1px solid #5294e2; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .notification StEntry:insensitive { color: rgba(186, 195, 207, 0.55); @@ -147,7 +147,7 @@ StScrollBar { StScrollBar StButton#vhandle:hover, StScrollBar StButton#hhandle:hover { background-color: #c7c9cd; } StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active { - background-color: #5294E2; } + background-color: #5294e2; } .separator { -gradient-height: 1px; @@ -161,7 +161,7 @@ StScrollBar { -slider-height: 4px; -slider-background-color: #cfd6e6; -slider-border-color: transparent; - -slider-active-background-color: #5294E2; + -slider-active-background-color: #5294e2; -slider-active-border-color: transparent; -slider-border-width: 0; -slider-handle-radius: 4px; @@ -359,7 +359,7 @@ StScrollBar { background-gradient-end: rgba(0, 255, 0, 0.2); } .panel-top, .panel-bottom { - color: #ffffff; + color: white; font-size: 1em; padding: 0px; } @@ -401,9 +401,9 @@ StScrollBar { padding: 5px 8px; -cinnamon-caption-spacing: 4px; } .window-caption#selected { - background-color: #5294E2; + background-color: #5294e2; color: #ffffff; - border: 1px solid #5294E2; + border: 1px solid #5294e2; spacing: 25px; } .expo-workspaces-name-entry, @@ -419,20 +419,20 @@ StScrollBar { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .expo-workspaces-name-entry:focus, .expo-workspaces-name-entry#selected:focus { - border: 1px solid #5294E2; - background-color: #5294E2; + border: 1px solid #5294e2; + background-color: #5294e2; color: #ffffff; font-style: italic; transition-duration: 300; selection-background-color: #ffffff; - selected-color: #5294E2; } + selected-color: #5294e2; } .expo-workspace-thumbnail-frame { border: 4px solid rgba(255, 255, 255, 0); background-color: rgba(255, 255, 255, 0); border-radius: 2px; } .expo-workspace-thumbnail-frame#active { - border: 4px solid #5294E2; + border: 4px solid #5294e2; background-color: black; border-radius: 2px; } @@ -605,7 +605,7 @@ StScrollBar { .calendar-today:hover { font-weight: bold; color: #ffffff; - background-color: #5294E2; + background-color: #5294e2; border-width: 0; } .calendar-other-month-day { @@ -672,11 +672,11 @@ StScrollBar { border-radius: 2px; } .switcher-list .item-box:outlined { padding: 8px; - border: 1px solid #5294E2; } + border: 1px solid #5294e2; } .switcher-list .item-box:selected { color: #ffffff; - background-color: #5294E2; - border: 0px solid #5294E2; } + background-color: #5294e2; + border: 0px solid #5294e2; } .switcher-list .thumbnail { width: 256px; } .switcher-list .thumbnail-box { @@ -691,7 +691,7 @@ StScrollBar { color: #BAC3CF; } .switcher-arrow:highlighted { border-color: transparent; - color: #ffffff; } + color: white; } .thumbnail-scroll-gradient-left { background-color: transparent; @@ -763,15 +763,15 @@ StScrollBar { border-radius: 3px; caret-color: #BAC3CF; selected-color: #ffffff; - selection-background-color: #5294E2; + selection-background-color: #5294e2; color: #BAC3CF; background-color: rgba(102, 109, 132, 0.35); border: 1px solid rgba(26, 28, 34, 0.35); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .run-dialog-entry:focus { color: #ffffff; - background-color: #5294E2; - border: 1px solid #5294E2; + background-color: #5294e2; + border: 1px solid #5294e2; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .run-dialog .modal-dialog-button-box { border: none; @@ -866,8 +866,8 @@ StScrollBar { .keyboard-key:active, .keyboard-key:checked { text-shadow: 0 1px rgba(255, 255, 255, 0); color: #ffffff; - border: 1px solid #5294E2; - background-color: #5294E2; } + border: 1px solid #5294e2; + background-color: #5294e2; } .keyboard-key:grayed { text-shadow: 0 1px rgba(255, 255, 255, 0); color: #5d626e; @@ -978,7 +978,7 @@ StScrollBar { font-weight: bold; spacing: 1em; padding: 16px; - color: #ffffff; + color: white; border-image: url("common-assets/misc/osd.svg") 9 9 9 9; } .osd-window { @@ -989,7 +989,7 @@ StScrollBar { margin: 32px; min-width: 64px; min-height: 64px; - color: #ffffff; + color: white; background: none; border: none; border-radius: 5px; @@ -1001,7 +1001,7 @@ StScrollBar { height: 4px; background-color: rgba(0, 0, 0, 0.5); border-radius: 2px; - color: #5294E2; } + color: #5294e2; } .window-list-box { spacing: 6px; @@ -1024,9 +1024,9 @@ StScrollBar { transition-duration: 100; color: rgba(255, 255, 255, 0.6); } .window-list-item-box:hover { - color: #ffffff; } + color: white; } .window-list-item-box:active, .window-list-item-box:checked, .window-list-item-box:focus { - color: #ffffff; } + color: white; } .panel-bottom .window-list-item-box:active, .panel-bottom .window-list-item-box:checked, .panel-bottom .window-list-item-box:focus { border-image: url("common-assets/panel/window-list-active-bottom.svg") 3 3 1 3; } .panel-top .window-list-item-box:active, .panel-top .window-list-item-box:checked, .panel-top .window-list-item-box:focus { @@ -1122,9 +1122,9 @@ StScrollBar { .sound-player-overlay StButton:active { text-shadow: 0 1px rgba(255, 255, 255, 0); color: #ffffff; - background-color: #5294E2; - border: 1px solid #5294E2; - box-shadow: inset 0 2px 4px #5294E2; } + background-color: #5294e2; + border: 1px solid #5294e2; + box-shadow: inset 0 2px 4px #5294e2; } .sound-player-overlay StBoxLayout { padding-top: 2px; } .sound-player .slider { @@ -1134,7 +1134,7 @@ StScrollBar { -slider-height: 0.5em; -slider-background-color: #cfd6e6; -slider-border-color: transparent; - -slider-active-background-color: #5294E2; + -slider-active-background-color: #5294e2; -slider-active-border-color: transparent; -slider-border-width: 0px; -slider-handle-radius: 0px; } @@ -1156,7 +1156,7 @@ StScrollBar { padding-top: 4px; transition-duration: 300; } .workspace-button:outlined, .workspace-button:outlined:hover { - color: #5294E2; } + color: #5294e2; } .workspace-button:hover { color: rgba(82, 148, 226, 0.5); } @@ -1171,7 +1171,7 @@ StScrollBar { background-color: rgba(0, 0, 0, 0.2); } .workspace-graph .workspace:active { - border: 1px solid #5294E2; + border: 1px solid #5294e2; background-gradient-direction: none; } .workspace-graph .workspace .windows { @@ -1195,7 +1195,7 @@ StScrollBar { transition-duration: 200; } .panel-launcher:hover { background-gradient-direction: none; - border: 0px solid #5294E2; } + border: 0px solid #5294e2; } .panel-bottom .panel-launcher:hover { border-bottom-width: 1px; } .panel-top .panel-launcher:hover { @@ -1216,22 +1216,22 @@ StScrollBar { .applet-box { padding-left: 3px; padding-right: 3px; - color: #ffffff; + color: white; text-shadow: none; transition-duration: 100; } .applet-box:hover { color: #ffffff; - background-color: #5294E2; } + background-color: #5294e2; } .applet-label { font-weight: bold; - color: #ffffff; } + color: white; } .applet-label:hover, .applet-box:hover > .applet-label { color: #ffffff; text-shadow: none; } .applet-icon { - color: #ffffff; + color: white; icon-size: 22px; } .applet-icon:hover, .applet-box:hover > .applet-icon { color: #ffffff; @@ -1272,7 +1272,7 @@ StScrollBar { padding: 12px; padding-bottom: 6px; } .desklet-drag-placeholder { - border: 2px solid #5294E2; + border: 2px solid #5294e2; background-color: rgba(82, 148, 226, 0.3); } .photoframe-box { @@ -1297,7 +1297,7 @@ StScrollBar { .tile-preview, .tile-preview.snap, .tile-hud, .tile-hud.snap { background-color: rgba(82, 148, 226, 0.3); - border: 1px solid #5294E2; } + border: 1px solid #5294e2; } .xkcd-box { padding: 6px; diff --git a/common/cinnamon/sass/_colors.scss b/common/cinnamon/sass/_colors.scss index 47daa0f..8d3a5f2 100644 --- a/common/cinnamon/sass/_colors.scss +++ b/common/cinnamon/sass/_colors.scss @@ -8,7 +8,7 @@ $bg_color: if($variant =='light', #F5F6F7, #383C4A); $fg_color: if($variant =='light', #5c616c, #D3DAE3); $selected_fg_color: #ffffff; -$selected_bg_color: #5294E2; +$selected_bg_color: #5294e2; $selected_borders_color: darken($selected_bg_color, 20%); $borders_color: if($variant =='light', darken($bg_color,9%), darken($bg_color,6%)); @@ -18,11 +18,18 @@ $link_visited_color: if($variant == 'light', darken($selected_bg_color,20%), lighten($selected_bg_color,10%)); $selection_mode_bg: if($transparency == 'true', transparentize($selected_bg_color, 0.05), $selected_bg_color); +$selection_mode_fg: $selected_fg_color; $warning_color: #F27835; $error_color: #FC4138; +$warning_fg_color: white; +$error_fg_color: white; $success_color: #73d216; $destructive_color: #F04A50; $suggested_color: #4DADD4; +$destructive_fg_color: white; +$suggested_fg_color: white; + +$drop_target_color: #F08437; //insensitive state derived colors $insensitive_fg_color: if($variant == 'light', transparentize($fg_color, 0.45), transparentize($fg_color, 0.55)); diff --git a/common/cinnamon/sass/_common.scss b/common/cinnamon/sass/_common.scss index c1788b0..73c0529 100644 --- a/common/cinnamon/sass/_common.scss +++ b/common/cinnamon/sass/_common.scss @@ -8,6 +8,7 @@ $font-family: Futura Bk bt, sans, Sans-Serif; $_bubble_bg_color: opacify($osd_bg_color,0.25); $_bubble_fg_color: $osd_fg_color; $_bubble_borders_color: transparentize($osd_fg_color,0.8); +$_shell_fg_color: white; stage { font-family: $font-family; @@ -397,9 +398,10 @@ StScrollBar { } .panel { + $_panel_fg_color: $_shell_fg_color; &-top, &-bottom { - color: $selected_fg_color; + color: $_panel_fg_color; font-size: 1em; padding: 0px; } @@ -833,7 +835,7 @@ StScrollBar { &:highlighted { border-color: rgba(0,0,0,0); - color: $selected_fg_color; + color: $_shell_fg_color; } } @@ -1186,7 +1188,7 @@ StScrollBar { font-weight: bold; spacing: 1em; padding: 16px; - color: $selected_fg_color; + color: $_shell_fg_color; border-image: url("common-assets/misc/osd.svg") 9 9 9 9; } @@ -1199,7 +1201,7 @@ StScrollBar { min-width: 64px; min-height: 64px; - color: $selected_fg_color; + color: $_shell_fg_color; background: none; border: none; border-radius: 5px; @@ -1241,14 +1243,14 @@ StScrollBar { padding-left: 8px; padding-right: 8px; transition-duration: 100; - color: transparentize($selected_fg_color, 0.4); + color: transparentize($_shell_fg_color, 0.4); - &:hover {color: $selected_fg_color;} + &:hover {color: $_shell_fg_color;} &:active, &:checked, &:focus { - color: $selected_fg_color; + color: $_shell_fg_color; .panel-bottom & { border-image: url("common-assets/panel/window-list-active-bottom.svg") 3 3 1 3; } @@ -1485,7 +1487,7 @@ StScrollBar { &-box { padding-left: 3px; padding-right: 3px; - color: $selected_fg_color; + color: $_shell_fg_color; text-shadow: none; transition-duration: 100; @@ -1497,7 +1499,7 @@ StScrollBar { &-label { font-weight: bold; - color: $selected_fg_color; + color: $_shell_fg_color; &:hover, .applet-box:hover > & { color: $selected_fg_color; @@ -1506,7 +1508,7 @@ StScrollBar { } &-icon { - color: $selected_fg_color; + color: $_shell_fg_color; icon-size: 22px; &:hover, .applet-box:hover > & { -- cgit v1.2.3 From 28dfc77210aa27314ac545a225586220d7078adf Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Wed, 14 Sep 2016 12:17:35 +0200 Subject: cinnamon: add proper popup-combo-menu styling (#634) --- common/cinnamon/cinnamon-dark.css | 34 +++++++++++++++------------------- common/cinnamon/cinnamon.css | 34 +++++++++++++++------------------- common/cinnamon/sass/_common.scss | 11 ++++------- 3 files changed, 34 insertions(+), 45 deletions(-) (limited to 'common/cinnamon') diff --git a/common/cinnamon/cinnamon-dark.css b/common/cinnamon/cinnamon-dark.css index 2da56b1..4531658 100644 --- a/common/cinnamon/cinnamon-dark.css +++ b/common/cinnamon/cinnamon-dark.css @@ -249,42 +249,43 @@ StScrollBar { font-weight: normal; text-align: center; } -.popup-menu { +.popup-menu, +.popup-combo-menu { color: white; min-width: 200px; color: #D3DAE3; border-image: url("dark-assets/menu/menu.svg") 9 9 9 9; } .popup-menu-arrow { icon-size: 16px; } - .popup-menu .popup-sub-menu { + .popup-menu .popup-sub-menu, .popup-combo-menu .popup-sub-menu { background-gradient-direction: none; box-shadow: none; border-image: url("dark-assets/menu/submenu.svg") 9 9 9 9; } - .popup-menu .popup-sub-menu .popup-menu-item:ltr { + .popup-menu .popup-sub-menu .popup-menu-item:ltr, .popup-combo-menu .popup-sub-menu .popup-menu-item:ltr { padding-right: 0em; } - .popup-menu .popup-sub-menu .popup-menu-item:rtl { + .popup-menu .popup-sub-menu .popup-menu-item:rtl, .popup-combo-menu .popup-sub-menu .popup-menu-item:rtl { padding-left: 0em; } - .popup-menu .popup-sub-menu StScrollBar { + .popup-menu .popup-sub-menu StScrollBar, .popup-combo-menu .popup-sub-menu StScrollBar { padding: 4px; } - .popup-menu .popup-sub-menu StScrollBar StBin#trough, .popup-menu .popup-sub-menu StScrollBar StBin#vhandle { + .popup-menu .popup-sub-menu StScrollBar StBin#trough, .popup-menu .popup-sub-menu StScrollBar StBin#vhandle, .popup-combo-menu .popup-sub-menu StScrollBar StBin#trough, .popup-combo-menu .popup-sub-menu StScrollBar StBin#vhandle { border-width: 0; } - .popup-menu .popup-menu-content { + .popup-menu .popup-menu-content, .popup-combo-menu .popup-menu-content { padding: 1em 0em 1em 0em; } - .popup-menu .popup-menu-item { + .popup-menu .popup-menu-item, .popup-combo-menu .popup-menu-item { padding: .4em 1.75em; spacing: 1em; } - .popup-menu .popup-menu-item:active { + .popup-menu .popup-menu-item:active, .popup-combo-menu .popup-menu-item:active { color: #ffffff; background-color: transparent; border-image: url("common-assets/menu/menu-hover.svg") 9 9 1 1; } - .popup-menu .popup-menu-item:insensitive { + .popup-menu .popup-menu-item:insensitive, .popup-combo-menu .popup-menu-item:insensitive { color: rgba(211, 218, 227, 0.5); background: none; } - .popup-menu .popup-inactive-menu-item { + .popup-menu .popup-inactive-menu-item, .popup-combo-menu .popup-inactive-menu-item { color: #D3DAE3; } - .popup-menu .popup-inactive-menu-item:insensitive { + .popup-menu .popup-inactive-menu-item:insensitive, .popup-combo-menu .popup-inactive-menu-item:insensitive { color: rgba(211, 218, 227, 0.45); } - .popup-menu .popup-menu-item:active .popup-inactive-menu-item { + .popup-menu .popup-menu-item:active .popup-inactive-menu-item, .popup-combo-menu .popup-menu-item:active .popup-inactive-menu-item { color: #ffffff; } .popup-menu-icon { icon-size: 16px; } @@ -297,13 +298,8 @@ StScrollBar { -arrow-base: 0; -arrow-rise: 0; } -/*Don't know what this does*/ .popup-combo-menu { - background-color: rgba(0, 0, 0, 0.4); - padding: 1em 0em; - color: red; - border: 1px solid rgba(0, 0, 0, 0.6); - border-radius: 3px; } + padding: 10px 1px; } .popup-combobox-item { spacing: 1em; } diff --git a/common/cinnamon/cinnamon.css b/common/cinnamon/cinnamon.css index 5ea0a46..e0ea24a 100644 --- a/common/cinnamon/cinnamon.css +++ b/common/cinnamon/cinnamon.css @@ -249,42 +249,43 @@ StScrollBar { font-weight: normal; text-align: center; } -.popup-menu { +.popup-menu, +.popup-combo-menu { color: white; min-width: 200px; color: #5c616c; border-image: url("light-assets/menu/menu.svg") 9 9 9 9; } .popup-menu-arrow { icon-size: 16px; } - .popup-menu .popup-sub-menu { + .popup-menu .popup-sub-menu, .popup-combo-menu .popup-sub-menu { background-gradient-direction: none; box-shadow: none; border-image: url("light-assets/menu/submenu.svg") 9 9 9 9; } - .popup-menu .popup-sub-menu .popup-menu-item:ltr { + .popup-menu .popup-sub-menu .popup-menu-item:ltr, .popup-combo-menu .popup-sub-menu .popup-menu-item:ltr { padding-right: 0em; } - .popup-menu .popup-sub-menu .popup-menu-item:rtl { + .popup-menu .popup-sub-menu .popup-menu-item:rtl, .popup-combo-menu .popup-sub-menu .popup-menu-item:rtl { padding-left: 0em; } - .popup-menu .popup-sub-menu StScrollBar { + .popup-menu .popup-sub-menu StScrollBar, .popup-combo-menu .popup-sub-menu StScrollBar { padding: 4px; } - .popup-menu .popup-sub-menu StScrollBar StBin#trough, .popup-menu .popup-sub-menu StScrollBar StBin#vhandle { + .popup-menu .popup-sub-menu StScrollBar StBin#trough, .popup-menu .popup-sub-menu StScrollBar StBin#vhandle, .popup-combo-menu .popup-sub-menu StScrollBar StBin#trough, .popup-combo-menu .popup-sub-menu StScrollBar StBin#vhandle { border-width: 0; } - .popup-menu .popup-menu-content { + .popup-menu .popup-menu-content, .popup-combo-menu .popup-menu-content { padding: 1em 0em 1em 0em; } - .popup-menu .popup-menu-item { + .popup-menu .popup-menu-item, .popup-combo-menu .popup-menu-item { padding: .4em 1.75em; spacing: 1em; } - .popup-menu .popup-menu-item:active { + .popup-menu .popup-menu-item:active, .popup-combo-menu .popup-menu-item:active { color: #ffffff; background-color: transparent; border-image: url("common-assets/menu/menu-hover.svg") 9 9 1 1; } - .popup-menu .popup-menu-item:insensitive { + .popup-menu .popup-menu-item:insensitive, .popup-combo-menu .popup-menu-item:insensitive { color: rgba(92, 97, 108, 0.5); background: none; } - .popup-menu .popup-inactive-menu-item { + .popup-menu .popup-inactive-menu-item, .popup-combo-menu .popup-inactive-menu-item { color: #5c616c; } - .popup-menu .popup-inactive-menu-item:insensitive { + .popup-menu .popup-inactive-menu-item:insensitive, .popup-combo-menu .popup-inactive-menu-item:insensitive { color: rgba(92, 97, 108, 0.55); } - .popup-menu .popup-menu-item:active .popup-inactive-menu-item { + .popup-menu .popup-menu-item:active .popup-inactive-menu-item, .popup-combo-menu .popup-menu-item:active .popup-inactive-menu-item { color: #ffffff; } .popup-menu-icon { icon-size: 16px; } @@ -297,13 +298,8 @@ StScrollBar { -arrow-base: 0; -arrow-rise: 0; } -/*Don't know what this does*/ .popup-combo-menu { - background-color: rgba(0, 0, 0, 0.4); - padding: 1em 0em; - color: red; - border: 1px solid rgba(0, 0, 0, 0.6); - border-radius: 3px; } + padding: 10px 1px; } .popup-combobox-item { spacing: 1em; } diff --git a/common/cinnamon/sass/_common.scss b/common/cinnamon/sass/_common.scss index 73c0529..6760dcc 100644 --- a/common/cinnamon/sass/_common.scss +++ b/common/cinnamon/sass/_common.scss @@ -267,7 +267,8 @@ StScrollBar { // // Popvers/Menus // -.popup-menu { +.popup-menu, +%menu { color: white; min-width: 200px; color: $fg_color; @@ -325,13 +326,9 @@ StScrollBar { -arrow-rise: 0; } -/*Don't know what this does*/ .popup-combo-menu { - background-color: rgba(0,0,0,0.4); - padding: 1em 0em; - color: red; - border: 1px solid rgba(0,0,0,0.6); - border-radius: 3px; + @extend %menu; + padding: 10px 1px; } .popup-image-menu-item {} -- cgit v1.2.3