From 32b0970dda781992e281d2a562b93527222754ad Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Sun, 17 May 2015 21:14:04 +0200 Subject: more gnome-shell tweaks --- gnome-shell/_common.scss | 102 +++++++------- gnome-shell/_drawing.scss | 2 +- gnome-shell/dash/dash-bottom.svg | 147 --------------------- gnome-shell/dash/dash-placeholder.svg | 84 ------------ gnome-shell/dash/dash-right.svg | 144 -------------------- gnome-shell/dash/dash-top.svg | 148 --------------------- gnome-shell/dash/dash.svg | 142 -------------------- gnome-shell/gnome-shell.css | 108 +++++++-------- gnome-shell/misc/bg.svg | 132 +++++++++++++++++++ gnome-shell/misc/dash-placeholder.svg | 84 ++++++++++++ gnome-shell/misc/lg.svg | 242 ---------------------------------- gnome-shell/misc/modal.svg | 25 ++-- gnome-shell/misc/modal2.svg | 141 -------------------- gnome-shell/misc/summary-counter.svg | 118 ----------------- 14 files changed, 331 insertions(+), 1288 deletions(-) delete mode 100644 gnome-shell/dash/dash-bottom.svg delete mode 100755 gnome-shell/dash/dash-placeholder.svg delete mode 100644 gnome-shell/dash/dash-right.svg delete mode 100644 gnome-shell/dash/dash-top.svg delete mode 100644 gnome-shell/dash/dash.svg create mode 100644 gnome-shell/misc/bg.svg create mode 100755 gnome-shell/misc/dash-placeholder.svg delete mode 100644 gnome-shell/misc/lg.svg delete mode 100644 gnome-shell/misc/modal2.svg delete mode 100644 gnome-shell/misc/summary-counter.svg diff --git a/gnome-shell/_common.scss b/gnome-shell/_common.scss index ef81a31..dd0ef43 100644 --- a/gnome-shell/_common.scss +++ b/gnome-shell/_common.scss @@ -198,7 +198,7 @@ StScrollBar { color: $fg_color; background-color: transparentize($bg_color, 1); border: none; - border-image: url("misc/modal2.svg") 10 10 10 10; + border-image: url("misc/modal.svg") 10 10 10 10; padding: 0 6px 6px 6px; > * { padding: 14px; } @@ -643,7 +643,7 @@ StScrollBar { .switcher-list { background: none; border: none; - border-image: url("misc/modal.svg") 10 10 35 14; + border-image: url("misc/bg.svg") 10 10 35 14; border-radius: 3px; padding: 20px; @@ -710,7 +710,7 @@ StScrollBar { &-group { padding: 12px; } &-container { - border-image: url("misc/modal.svg") 10 10 35 14; + border-image: url("misc/bg.svg") 10 10 35 14; border-radius: 3px; padding: 20px; padding-bottom: 24px; @@ -765,9 +765,11 @@ StScrollBar { // #panel { background-color: $panel_bg; + border-color: darken($panel_bg, 9%); + border-bottom-width: 1px; font-weight: bold; height: 2.1em; - min-height: 23px; + min-height: 26px; &.unlock-screen, &.login-screen, @@ -776,6 +778,8 @@ StScrollBar { border-image: none; } + &:overview { background-color: transparentize(darken($panel_bg,10%), 0.15); } + #panelLeft, #panelCenter { // spacing between activities<>app menu and such spacing: 8px; } @@ -1370,34 +1374,30 @@ StScrollBar { // #dash { font-size: 1em; - color: $fg_color; - background-color: transparent; - padding: 10px 0px 10px 0px; - border: none; + color: $osd_fg_color; + background-color: transparentize($panel_bg, 0.08); + padding: 6px 0px 6px 0px; + border-color: transparentize(darken($panel_bg, 9%), 0.08); border-radius: 0px 3px 3px 0px; - border-image: url('dash/dash.svg') 6 11 10 10; .right &, &:rtl { - padding: 10px 0px 10px 0px; + padding: 6px 0px 6px 0px; border-radius: 3px 0 0 3px; - border-image: url('dash/dash-right.svg') 11 6 10 10; } .bottom & { - padding: 0px 10px 0px 10px; + padding: 0px 6px 0px 6px; border-radius: 3px 3px 0 0; - border-image: url('dash/dash-bottom.svg') 10 10 11 6; } .top & { - padding: 0px 10px 0px 10px; + padding: 0px 6px 0px 6px; border-radius: 0 0 3px 3px; - border-image: url('dash/dash-top.svg') 10 10 6 11; } .placeholder { - background-image: url("dash/dash-placeholder.svg"); + background-image: url("misc/dash-placeholder.svg"); background-size: contain; height: 24px; } @@ -1409,11 +1409,11 @@ StScrollBar { } .dash-item-container > StWidget { - padding: 0px 10px 0px 3px; + padding: 0px 4px 0px 5px; - .right &, &:rtl { padding: 0px 3px 0px 10px; } - .bottom & { padding: 10px 0px 3px 0px; } - .top & { padding: 3px 0px 10px 0px; } + .right &, &:rtl { padding: 0px 5px 0px 4px; } + .bottom & { padding: 4px 0px 5px 0px; } + .top & { padding: 5px 0px 4px 0px; } } //osd tooltip @@ -1435,31 +1435,21 @@ StScrollBar { #dash .app-well-app { .overview-icon, - .right & .overview-icon { - padding: 10px; - } - + .right & .overview-icon, .bottom & .overview-icon, .top & .overview-icon { padding: 10px; } &:hover .overview-icon, - .right &:hover .overview-icon { - background-color: $selected_bg_color; - } - + .right &:hover .overview-icon, .bottom &:hover .overview-icon, .top &:hover .overview-icon { background-color: $selected_bg_color; } &:active .overview-icon, - .right &:active .overview-icon { - box-shadow: none; - background-color: darken($selected_bg_color, 10%); - } - + .right &:active .overview-icon, .bottom &:active .overview-icon, .top &:active .overview-icon { box-shadow: none; @@ -1467,14 +1457,10 @@ StScrollBar { } &-running-dot { - width: 20px; + width: 11px; height: 2px; - margin-bottom: 4px; + margin-bottom: 6px; background-color: $selected_bg_color; - - .bottom &, .top & { - margin-bottom: 0px; - } } } @@ -1523,9 +1509,9 @@ StScrollBar { .app-view-control { padding: 4px 32px; - color: transparentize($selected_fg_color, 0.4); + color: transparentize($selected_fg_color, 0.2); background-color: transparentize(darken($panel_bg,10%), 0.15); - border-color: transparentize(darken($panel_bg,10%), 0.15); + border-color: transparentize($osd_fg_color, 0.7); &:hover { color: $selected_fg_color; @@ -1557,7 +1543,7 @@ StScrollBar { &:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); } &:focus, &:selected, &:hover { - background-color: transparentize($osd_fg_color,.9); + background-color: transparentize($osd_fg_color,.6); transition-duration: 200ms; } } @@ -1573,13 +1559,13 @@ StScrollBar { &:active .overview-icon, &:checked .overview-icon { background-color: transparentize(darken($osd_bg_color,10%),.1); - box-shadow: inset 0 1px 2px $osd_borders_color; + box-shadow: inset 0 0 $selected_bg_color; } &:hover .overview-icon, &:focus .overview-icon, &:selected .overview-icon { - background-color: transparentize($osd_fg_color,.9); + background-color: transparentize($osd_fg_color,.6); transition-duration: 0ms; border-image: none; background-image: none; @@ -1608,7 +1594,8 @@ StScrollBar { .app-well-app.app-folder { > .overview-icon { - background-color: $panel_bg; + background-color: transparentize(darken($panel_bg,10%), 0.15); + border: 1px solid transparentize($osd_fg_color, 0.7); } &:hover > .overview-icon { @@ -1627,12 +1614,11 @@ StScrollBar { .app-folder-popup { //expanded collection -arrow-border-radius: 2px; - -arrow-background-color: transparent; - -arrow-border-color: transparent; - -arrow-border-width: 0px; - -arrow-base: 0px; - -arrow-rise: 0px; - border-image: url("misc/modal.svg") 10 10 35 14; + -arrow-background-color: transparentize(darken($panel_bg,10%), 0.15); + -arrow-border-color: transparentize($osd_fg_color, 0.7); + -arrow-border-width: 1px; + -arrow-base: 5; + -arrow-rise: 5; } .app-folder-popup-bin { padding: 5px; } .app-folder-icon { @@ -1670,15 +1656,19 @@ StScrollBar { .workspace-thumbnails { //container ala dash visible-width: 40px; //amount visible before hover spacing: 11px; - padding: 18px 9px 18px 18px; - background-color: transparent; - border-image: url('dash/dash-right.svg') 10 10 10 10; + padding: 12px; + padding-right: 7px; + border-radius: 3px 0 0 3px; + background-color: transparentize($panel_bg, 0.08); + border-color: transparentize(darken($panel_bg, 9%), 0.08); &:rtl { - padding: 18px 18px 18px 9px; - border-image: url('dash/dash.svg') 10 10 10 10; + padding: 12px; + padding-left: 7px; + border-radius: 0 3px 3px 0; } } + .workspace-thumbnail-indicator { border: 4px solid transparentize($selected_bg_color, 0.2); border-radius: 1px; diff --git a/gnome-shell/_drawing.scss b/gnome-shell/_drawing.scss index f3c1f04..0e60551 100644 --- a/gnome-shell/_drawing.scss +++ b/gnome-shell/_drawing.scss @@ -105,7 +105,7 @@ // // normal osd button // - color: $osd_fg_color; + color: lighten($osd_fg_color, 10%); outline-color: transparentize($osd_fg_color, 0.7); border-color: transparentize($osd_fg_color, 0.7); background-color: darken($osd_bg_color, 5%); diff --git a/gnome-shell/dash/dash-bottom.svg b/gnome-shell/dash/dash-bottom.svg deleted file mode 100644 index 6f76257..0000000 --- a/gnome-shell/dash/dash-bottom.svg +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - diff --git a/gnome-shell/dash/dash-placeholder.svg b/gnome-shell/dash/dash-placeholder.svg deleted file mode 100755 index cbae148..0000000 --- a/gnome-shell/dash/dash-placeholder.svg +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/gnome-shell/dash/dash-right.svg b/gnome-shell/dash/dash-right.svg deleted file mode 100644 index 16990b3..0000000 --- a/gnome-shell/dash/dash-right.svg +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - diff --git a/gnome-shell/dash/dash-top.svg b/gnome-shell/dash/dash-top.svg deleted file mode 100644 index e563de9..0000000 --- a/gnome-shell/dash/dash-top.svg +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - diff --git a/gnome-shell/dash/dash.svg b/gnome-shell/dash/dash.svg deleted file mode 100644 index 6afde21..0000000 --- a/gnome-shell/dash/dash.svg +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - diff --git a/gnome-shell/gnome-shell.css b/gnome-shell/gnome-shell.css index c7db223..9edbfee 100644 --- a/gnome-shell/gnome-shell.css +++ b/gnome-shell/gnome-shell.css @@ -168,7 +168,7 @@ StScrollBar { color: #5c616c; background-color: rgba(249, 250, 251, 0); border: none; - border-image: url("misc/modal2.svg") 10 10 10 10; + border-image: url("misc/modal.svg") 10 10 10 10; padding: 0 6px 6px 6px; } .modal-dialog > * { padding: 14px; } @@ -183,7 +183,7 @@ StScrollBar { .modal-dialog-button-box .button, .modal-dialog-button-box .notification-banner .notification-button, .notification-banner .modal-dialog-button-box .notification-button { text-shadow: 0 1px rgba(255, 255, 255, 0); box-shadow: inset 0 0 rgba(255, 255, 255, 0); - color: #A8ADB5; + color: #c4c7cc; outline-color: rgba(168, 173, 181, 0.3); border-color: rgba(168, 173, 181, 0.3); background-color: rgba(48, 52, 59, 0.95); } @@ -497,7 +497,7 @@ StScrollBar { .switcher-list { background: none; border: none; - border-image: url("misc/modal.svg") 10 10 35 14; + border-image: url("misc/bg.svg") 10 10 35 14; border-radius: 3px; padding: 20px; } .switcher-list-item-container { @@ -541,7 +541,7 @@ StScrollBar { .workspace-switcher-group { padding: 12px; } .workspace-switcher-container { - border-image: url("misc/modal.svg") 10 10 35 14; + border-image: url("misc/bg.svg") 10 10 35 14; border-radius: 3px; padding: 20px; padding-bottom: 24px; } @@ -577,12 +577,16 @@ StScrollBar { #panel { background-color: rgba(37, 39, 45, 0.95); + border-color: rgba(16, 17, 20, 0.95); + border-bottom-width: 1px; font-weight: bold; height: 2.1em; - min-height: 23px; } + min-height: 26px; } #panel.unlock-screen, #panel.login-screen, #panel.lock-screen { background-color: transparent; border-image: none; } + #panel:overview { + background-color: rgba(14, 15, 17, 0.8); } #panel #panelLeft, #panel #panelCenter { spacing: 8px; } #panel .panel-corner { @@ -1078,26 +1082,22 @@ StScrollBar { #dash { font-size: 1em; - color: #5c616c; - background-color: transparent; - padding: 10px 0px 10px 0px; - border: none; - border-radius: 0px 3px 3px 0px; - border-image: url("dash/dash.svg") 6 11 10 10; } + color: #A8ADB5; + background-color: rgba(37, 39, 45, 0.87); + padding: 6px 0px 6px 0px; + border-color: rgba(16, 17, 20, 0.87); + border-radius: 0px 3px 3px 0px; } .right #dash, #dash:rtl { - padding: 10px 0px 10px 0px; - border-radius: 3px 0 0 3px; - border-image: url("dash/dash-right.svg") 11 6 10 10; } + padding: 6px 0px 6px 0px; + border-radius: 3px 0 0 3px; } .bottom #dash { - padding: 0px 10px 0px 10px; - border-radius: 3px 3px 0 0; - border-image: url("dash/dash-bottom.svg") 10 10 11 6; } + padding: 0px 6px 0px 6px; + border-radius: 3px 3px 0 0; } .top #dash { - padding: 0px 10px 0px 10px; - border-radius: 0 0 3px 3px; - border-image: url("dash/dash-top.svg") 10 10 6 11; } + padding: 0px 6px 0px 6px; + border-radius: 0 0 3px 3px; } #dash .placeholder { - background-image: url("dash/dash-placeholder.svg"); + background-image: url("misc/dash-placeholder.svg"); background-size: contain; height: 24px; } #dash .empty-dash-drop-target { @@ -1105,13 +1105,13 @@ StScrollBar { height: 24px; } .dash-item-container > StWidget { - padding: 0px 10px 0px 3px; } + padding: 0px 4px 0px 5px; } .right .dash-item-container > StWidget, .dash-item-container > StWidget:rtl { - padding: 0px 3px 0px 10px; } + padding: 0px 5px 0px 4px; } .bottom .dash-item-container > StWidget { - padding: 10px 0px 3px 0px; } + padding: 4px 0px 5px 0px; } .top .dash-item-container > StWidget { - padding: 3px 0px 10px 0px; } + padding: 5px 0px 4px 0px; } .dash-label { border-radius: 3px; @@ -1124,27 +1124,18 @@ StScrollBar { -y-offset: 3px; -x-offset: 0; } -#dash .app-well-app .overview-icon, .right #dash .app-well-app .overview-icon { - padding: 10px; } -.bottom #dash .app-well-app .overview-icon, .top #dash .app-well-app .overview-icon { +#dash .app-well-app .overview-icon, .right #dash .app-well-app .overview-icon, .bottom #dash .app-well-app .overview-icon, .top #dash .app-well-app .overview-icon { padding: 10px; } -#dash .app-well-app:hover .overview-icon, .right #dash .app-well-app:hover .overview-icon { - background-color: #5294E2; } -.bottom #dash .app-well-app:hover .overview-icon, .top #dash .app-well-app:hover .overview-icon { +#dash .app-well-app:hover .overview-icon, .right #dash .app-well-app:hover .overview-icon, .bottom #dash .app-well-app:hover .overview-icon, .top #dash .app-well-app:hover .overview-icon { background-color: #5294E2; } -#dash .app-well-app:active .overview-icon, .right #dash .app-well-app:active .overview-icon { - box-shadow: none; - background-color: #2679db; } -.bottom #dash .app-well-app:active .overview-icon, .top #dash .app-well-app:active .overview-icon { +#dash .app-well-app:active .overview-icon, .right #dash .app-well-app:active .overview-icon, .bottom #dash .app-well-app:active .overview-icon, .top #dash .app-well-app:active .overview-icon { box-shadow: none; background-color: #2679db; } #dash .app-well-app-running-dot { - width: 20px; + width: 11px; height: 2px; - margin-bottom: 4px; + margin-bottom: 6px; background-color: #5294E2; } - .bottom #dash .app-well-app-running-dot, .top #dash .app-well-app-running-dot { - margin-bottom: 0px; } .show-apps .overview-icon { padding: 11px; @@ -1172,9 +1163,9 @@ StScrollBar { .app-view-control { padding: 4px 32px; - color: rgba(255, 255, 255, 0.6); + color: rgba(255, 255, 255, 0.8); background-color: rgba(14, 15, 17, 0.8); - border-color: rgba(14, 15, 17, 0.8); } + border-color: rgba(168, 173, 181, 0.3); } .app-view-control:hover { color: #ffffff; background-color: rgba(14, 15, 17, 0.8); @@ -1198,7 +1189,7 @@ StScrollBar { .list-search-result:focus, .list-search-result:selected, .list-search-result:hover { - background-color: rgba(168, 173, 181, 0.1); + background-color: rgba(168, 173, 181, 0.4); transition-duration: 200ms; } .app-well-app:active .overview-icon, .app-well-app:checked .overview-icon, @@ -1207,7 +1198,7 @@ StScrollBar { .grid-search-result:active .overview-icon, .grid-search-result:checked .overview-icon { background-color: rgba(37, 39, 45, 0.85); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.7); } + box-shadow: inset 0 0 #5294E2; } .app-well-app:hover .overview-icon, .app-well-app:focus .overview-icon, .app-well-app:selected .overview-icon, .app-well-app.app-folder:hover .overview-icon, .app-well-app.app-folder:focus .overview-icon, @@ -1215,7 +1206,7 @@ StScrollBar { .grid-search-result:hover .overview-icon, .grid-search-result:focus .overview-icon, .grid-search-result:selected .overview-icon { - background-color: rgba(168, 173, 181, 0.1); + background-color: rgba(168, 173, 181, 0.4); transition-duration: 0ms; border-image: none; background-image: none; } @@ -1238,7 +1229,8 @@ StScrollBar { text-align: center; } .app-well-app.app-folder > .overview-icon { - background-color: rgba(37, 39, 45, 0.95); } + background-color: rgba(14, 15, 17, 0.8); + border: 1px solid rgba(168, 173, 181, 0.3); } .app-well-app.app-folder:hover > .overview-icon { background-color: rgba(60, 64, 73, 0.95); } .app-well-app.app-folder:active > .overview-icon, .app-well-app.app-folder:checked > .overview-icon { @@ -1249,12 +1241,11 @@ StScrollBar { .app-folder-popup { -arrow-border-radius: 2px; - -arrow-background-color: transparent; - -arrow-border-color: transparent; - -arrow-border-width: 0px; - -arrow-base: 0px; - -arrow-rise: 0px; - border-image: url("misc/modal.svg") 10 10 35 14; } + -arrow-background-color: rgba(14, 15, 17, 0.8); + -arrow-border-color: rgba(168, 173, 181, 0.3); + -arrow-border-width: 1px; + -arrow-base: 5; + -arrow-rise: 5; } .app-folder-popup-bin { padding: 5px; } @@ -1285,12 +1276,15 @@ StScrollBar { .workspace-thumbnails { visible-width: 40px; spacing: 11px; - padding: 18px 9px 18px 18px; - background-color: transparent; - border-image: url("dash/dash-right.svg") 10 10 10 10; } + padding: 12px; + padding-right: 7px; + border-radius: 3px 0 0 3px; + background-color: rgba(37, 39, 45, 0.87); + border-color: rgba(16, 17, 20, 0.87); } .workspace-thumbnails:rtl { - padding: 18px 18px 18px 9px; - border-image: url("dash/dash.svg") 10 10 10 10; } + padding: 12px; + padding-left: 7px; + border-radius: 0 3px 3px 0; } .workspace-thumbnail-indicator { border: 4px solid rgba(82, 148, 226, 0.8); @@ -1479,7 +1473,7 @@ StScrollBar { .keyboard-key { text-shadow: 0 1px rgba(255, 255, 255, 0); box-shadow: inset 0 0 rgba(255, 255, 255, 0); - color: #A8ADB5; + color: #c4c7cc; outline-color: rgba(168, 173, 181, 0.3); border-color: rgba(168, 173, 181, 0.3); background-color: rgba(48, 52, 59, 0.95); diff --git a/gnome-shell/misc/bg.svg b/gnome-shell/misc/bg.svg new file mode 100644 index 0000000..5e219e0 --- /dev/null +++ b/gnome-shell/misc/bg.svg @@ -0,0 +1,132 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/gnome-shell/misc/dash-placeholder.svg b/gnome-shell/misc/dash-placeholder.svg new file mode 100755 index 0000000..cbae148 --- /dev/null +++ b/gnome-shell/misc/dash-placeholder.svg @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gnome-shell/misc/lg.svg b/gnome-shell/misc/lg.svg deleted file mode 100644 index ccd8974..0000000 --- a/gnome-shell/misc/lg.svg +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - diff --git a/gnome-shell/misc/modal.svg b/gnome-shell/misc/modal.svg index cd2cd7c..5648294 100644 --- a/gnome-shell/misc/modal.svg +++ b/gnome-shell/misc/modal.svg @@ -15,7 +15,7 @@ id="svg5653" version="1.1" inkscape:version="0.91 r13725" - sodipodi:docname="modal.svg"> + sodipodi:docname="modal2.svg"> image/svg+xml - + @@ -71,7 +71,7 @@ transform="translate(-245,-342.3622)"> + diff --git a/gnome-shell/misc/modal2.svg b/gnome-shell/misc/modal2.svg deleted file mode 100644 index 5648294..0000000 --- a/gnome-shell/misc/modal2.svg +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - diff --git a/gnome-shell/misc/summary-counter.svg b/gnome-shell/misc/summary-counter.svg deleted file mode 100644 index 7a102bd..0000000 --- a/gnome-shell/misc/summary-counter.svg +++ /dev/null @@ -1,118 +0,0 @@ - - - -image/svg+xml \ No newline at end of file -- cgit v1.2.3