From 531595de4100771dd100f603b226f27efa8dc9e1 Mon Sep 17 00:00:00 2001
From: Horst3180
Date: Sun, 15 Nov 2015 21:37:52 +0100
Subject: cinnamon tweaks
---
common/cinnamon/cinnamon-dark.css | 36 +++----
common/cinnamon/cinnamon.css | 36 +++----
.../common-assets/misc/add-workspace-active.svg | 117 +++++++++++++++++++++
.../common-assets/misc/add-workspace-hover.svg | 8 +-
.../cinnamon/common-assets/misc/add-workspace.svg | 6 +-
common/cinnamon/sass/_common.scss | 21 ++--
6 files changed, 162 insertions(+), 62 deletions(-)
create mode 100644 common/cinnamon/common-assets/misc/add-workspace-active.svg
(limited to 'common/cinnamon')
diff --git a/common/cinnamon/cinnamon-dark.css b/common/cinnamon/cinnamon-dark.css
index d322198..536965e 100644
--- a/common/cinnamon/cinnamon-dark.css
+++ b/common/cinnamon/cinnamon-dark.css
@@ -11,25 +11,26 @@ stage {
min-height: 20px;
padding: 5px 32px;
transition-duration: 0;
- border-radius: 2px;
text-shadow: 0 1px rgba(64, 69, 82, 0);
color: #D3DAE3;
background-color: #444a58;
border: 1px solid #2b2e39;
box-shadow: inset 0 2px 4px rgba(68, 74, 88, 0.05); }
+ .popup-menu #notification .notification-button, .popup-menu #notification .notification-icon-button, .sound-button, .popup-menu #notification .notification-button:focus, .popup-menu #notification .notification-icon-button:focus, .sound-button:focus, .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, .popup-menu #notification .notification-button:hover:focus, .popup-menu #notification .notification-icon-button:hover:focus, .menu-favorites-button:focus:hover, .menu-application-button-selected:focus, .menu-category-button-selected:focus, .sound-button:hover:focus, .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, .popup-menu #notification .notification-button:insensitive, .popup-menu #notification .notification-icon-button:insensitive, .sound-button:insensitive {
+ border-radius: 2px; }
.popup-menu #notification .notification-button:focus, .popup-menu #notification .notification-icon-button:focus, .sound-button:focus {
text-shadow: 0 1px rgba(64, 69, 82, 0);
color: #D3DAE3;
background-color: #444a58;
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, .sound-button:hover {
+ .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);
color: #D3DAE3;
background-color: #505666;
border: 1px solid #2b2e39;
box-shadow: inset 0 2px 4px rgba(80, 86, 102, 0.05); }
- .popup-menu #notification .notification-button:hover:focus, .popup-menu #notification .notification-icon-button:hover:focus, .sound-button:hover:focus {
+ .popup-menu #notification .notification-button:hover:focus, .popup-menu #notification .notification-icon-button:hover:focus, .menu-favorites-button:focus:hover, .menu-application-button-selected:focus, .menu-category-button-selected:focus, .sound-button:hover:focus {
text-shadow: 0 1px rgba(64, 69, 82, 0);
color: #D3DAE3;
background-color: #444a58;
@@ -432,10 +433,13 @@ StScrollBar {
background-image: url("common-assets/misc/add-workspace.svg");
height: 200px;
width: 35px;
- transition-duration: 200; }
+ transition-duration: 100; }
.workspace-add-button:hover {
background-image: url("common-assets/misc/add-workspace-hover.svg");
- transition-duration: 200; }
+ transition-duration: 100; }
+ .workspace-add-button:active {
+ background-image: url("common-assets/misc/add-workspace-active.svg");
+ transition-duration: 100; }
.workspace-overview-background-shade {
background-color: rgba(0, 0, 0, 0.5); }
@@ -655,7 +659,7 @@ StScrollBar {
.switcher-list .item-box:selected {
color: #ffffff;
background-color: #5294E2;
- border: 1px solid #5294E2; }
+ border: 0px solid #5294E2; }
.switcher-list .thumbnail {
width: 256px; }
.switcher-list .thumbnail-box {
@@ -876,12 +880,6 @@ StScrollBar {
.menu-favorites-button {
padding: 10px;
border: 1px solid transparent; }
- .menu-favorites-button:hover {
- text-shadow: 0 1px rgba(64, 69, 82, 0);
- color: #D3DAE3;
- background-color: #505666;
- border: 1px solid #2b2e39;
- box-shadow: inset 0 2px 4px rgba(80, 86, 102, 0.05); }
.menu-places-box {
margin: auto;
@@ -904,12 +902,7 @@ StScrollBar {
.menu-application-button:highlighted {
font-weight: bold; }
.menu-application-button-selected {
- padding: 7px;
- text-shadow: 0 1px rgba(64, 69, 82, 0);
- color: #D3DAE3;
- background-color: #505666;
- border: 1px solid #2b2e39;
- box-shadow: inset 0 2px 4px rgba(80, 86, 102, 0.05); }
+ padding: 7px; }
.menu-application-button-selected:highlighted {
font-weight: bold; }
.menu-application-button-label:ltr {
@@ -921,12 +914,7 @@ StScrollBar {
padding: 7px;
border: 1px solid transparent; }
.menu-category-button-selected {
- padding: 7px;
- text-shadow: 0 1px rgba(64, 69, 82, 0);
- color: #D3DAE3;
- background-color: #505666;
- border: 1px solid #2b2e39;
- box-shadow: inset 0 2px 4px rgba(80, 86, 102, 0.05); }
+ padding: 7px; }
.menu-category-button-hover {
background-color: red;
border-radius: 2px; }
diff --git a/common/cinnamon/cinnamon.css b/common/cinnamon/cinnamon.css
index 348d220..a8576ca 100644
--- a/common/cinnamon/cinnamon.css
+++ b/common/cinnamon/cinnamon.css
@@ -11,25 +11,26 @@ stage {
min-height: 20px;
padding: 5px 32px;
transition-duration: 0;
- border-radius: 2px;
text-shadow: 0 1px rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #fbfbfc;
border: 1px solid #cfd6e6;
box-shadow: inset 0 2px 4px rgba(251, 251, 252, 0.05); }
+ .popup-menu #notification .notification-button, .popup-menu #notification .notification-icon-button, .sound-button, .popup-menu #notification .notification-button:focus, .popup-menu #notification .notification-icon-button:focus, .sound-button:focus, .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, .popup-menu #notification .notification-button:hover:focus, .popup-menu #notification .notification-icon-button:hover:focus, .menu-favorites-button:focus:hover, .menu-application-button-selected:focus, .menu-category-button-selected:focus, .sound-button:hover:focus, .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, .popup-menu #notification .notification-button:insensitive, .popup-menu #notification .notification-icon-button:insensitive, .sound-button:insensitive {
+ border-radius: 2px; }
.popup-menu #notification .notification-button:focus, .popup-menu #notification .notification-icon-button:focus, .sound-button:focus {
text-shadow: 0 1px rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #fbfbfc;
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, .sound-button:hover {
+ .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);
color: #5c616c;
background-color: white;
border: 1px solid #cfd6e6;
box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05); }
- .popup-menu #notification .notification-button:hover:focus, .popup-menu #notification .notification-icon-button:hover:focus, .sound-button:hover:focus {
+ .popup-menu #notification .notification-button:hover:focus, .popup-menu #notification .notification-icon-button:hover:focus, .menu-favorites-button:focus:hover, .menu-application-button-selected:focus, .menu-category-button-selected:focus, .sound-button:hover:focus {
text-shadow: 0 1px rgba(255, 255, 255, 0);
color: #5c616c;
background-color: #fbfbfc;
@@ -432,10 +433,13 @@ StScrollBar {
background-image: url("common-assets/misc/add-workspace.svg");
height: 200px;
width: 35px;
- transition-duration: 200; }
+ transition-duration: 100; }
.workspace-add-button:hover {
background-image: url("common-assets/misc/add-workspace-hover.svg");
- transition-duration: 200; }
+ transition-duration: 100; }
+ .workspace-add-button:active {
+ background-image: url("common-assets/misc/add-workspace-active.svg");
+ transition-duration: 100; }
.workspace-overview-background-shade {
background-color: rgba(0, 0, 0, 0.5); }
@@ -655,7 +659,7 @@ StScrollBar {
.switcher-list .item-box:selected {
color: #ffffff;
background-color: #5294E2;
- border: 1px solid #5294E2; }
+ border: 0px solid #5294E2; }
.switcher-list .thumbnail {
width: 256px; }
.switcher-list .thumbnail-box {
@@ -876,12 +880,6 @@ StScrollBar {
.menu-favorites-button {
padding: 10px;
border: 1px solid transparent; }
- .menu-favorites-button:hover {
- text-shadow: 0 1px rgba(255, 255, 255, 0);
- color: #5c616c;
- background-color: white;
- border: 1px solid #cfd6e6;
- box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05); }
.menu-places-box {
margin: auto;
@@ -904,12 +902,7 @@ StScrollBar {
.menu-application-button:highlighted {
font-weight: bold; }
.menu-application-button-selected {
- padding: 7px;
- text-shadow: 0 1px rgba(255, 255, 255, 0);
- color: #5c616c;
- background-color: white;
- border: 1px solid #cfd6e6;
- box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05); }
+ padding: 7px; }
.menu-application-button-selected:highlighted {
font-weight: bold; }
.menu-application-button-label:ltr {
@@ -921,12 +914,7 @@ StScrollBar {
padding: 7px;
border: 1px solid transparent; }
.menu-category-button-selected {
- padding: 7px;
- text-shadow: 0 1px rgba(255, 255, 255, 0);
- color: #5c616c;
- background-color: white;
- border: 1px solid #cfd6e6;
- box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05); }
+ padding: 7px; }
.menu-category-button-hover {
background-color: red;
border-radius: 2px; }
diff --git a/common/cinnamon/common-assets/misc/add-workspace-active.svg b/common/cinnamon/common-assets/misc/add-workspace-active.svg
new file mode 100644
index 0000000..f60de34
--- /dev/null
+++ b/common/cinnamon/common-assets/misc/add-workspace-active.svg
@@ -0,0 +1,117 @@
+
+
+
+
diff --git a/common/cinnamon/common-assets/misc/add-workspace-hover.svg b/common/cinnamon/common-assets/misc/add-workspace-hover.svg
index 0cb3f8a..e771e33 100644
--- a/common/cinnamon/common-assets/misc/add-workspace-hover.svg
+++ b/common/cinnamon/common-assets/misc/add-workspace-hover.svg
@@ -25,8 +25,8 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="8"
- inkscape:cx="9.897951"
- inkscape:cy="99.174726"
+ inkscape:cx="-12.039549"
+ inkscape:cy="128.92473"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
@@ -75,7 +75,7 @@
id="layer1"
transform="translate(0,-852.36218)">
@@ -85,7 +85,7 @@
style="fill:#000000;fill-opacity:1;opacity:0.5" />
image/svg+xml
-
+
diff --git a/common/cinnamon/sass/_common.scss b/common/cinnamon/sass/_common.scss
index 37942f5..1a16835 100644
--- a/common/cinnamon/sass/_common.scss
+++ b/common/cinnamon/sass/_common.scss
@@ -33,7 +33,10 @@ stage {
min-height: 20px;
padding: 5px 32px;
transition-duration: 0;
- border-radius: 2px;
+
+ &, &:focus, &:hover, &:hover:focus, &:active, &:active:focus, &:insensitive {
+ border-radius: 2px;
+ }
@include button(normal);
@@ -488,11 +491,15 @@ StScrollBar {
background-image: url("common-assets/misc/add-workspace.svg");
height: 200px;
width: 35px;
- transition-duration: 200;
+ transition-duration: 100;
&:hover {
background-image: url("common-assets/misc/add-workspace-hover.svg");
- transition-duration: 200;
+ transition-duration: 100;
+ }
+ &:active {
+ background-image: url("common-assets/misc/add-workspace-active.svg");
+ transition-duration: 100;
}
}
&-overview-background-shade { background-color: rgba(0,0,0,0.5); }
@@ -785,7 +792,7 @@ StScrollBar {
&:selected {
color: $selected_fg_color;
background-color: $selected_bg_color;
- border: 1px solid $selected_bg_color;
+ border: 0px solid $selected_bg_color;
}
}
@@ -1055,7 +1062,7 @@ StScrollBar {
padding: 10px;
border: 1px solid rgba(0,0,0,0);
- &:hover { @include button(hover); }
+ &:hover { @extend %button:hover; }
}
&-places {
@@ -1083,7 +1090,7 @@ StScrollBar {
&-selected {
padding: 7px;
- @include button(hover);
+ @extend %button:hover;
&:highlighted { font-weight: bold; }
}
@@ -1098,7 +1105,7 @@ StScrollBar {
&-selected {
padding: 7px;
- @include button(hover);
+ @extend %button:hover;
}
&-hover {
background-color: red;
--
cgit v1.2.3