theme: notification bubbles on screen shield

This commit is contained in:
Jakub Steiner 2015-02-09 13:43:03 +01:00 committed by Florian Müllner
parent a2a7ca6882
commit 3e40168e54
3 changed files with 35 additions and 65 deletions

View File

@ -31,7 +31,7 @@ $font-size: 11;
$font-family: Cantarell, Sans-Serif; $font-family: Cantarell, Sans-Serif;
$_bubble_bg_color: transparentize($osd_borders_color,.2); $_bubble_bg_color: transparentize($osd_borders_color,.2);
$_bubble_fg_color: $osd_fg_color; $_bubble_fg_color: $osd_fg_color;
$_bubble_border_color: $osd_outer_borders_color; $_bubble_border_color: opacify($osd_outer_borders_color, 0.1);
stage { stage {
font-family: $font-family; font-family: $font-family;
@ -1670,7 +1670,7 @@ StScrollBar {
.screen-shield-clock-date { font-size: 28pt; } .screen-shield-clock-date { font-size: 28pt; }
.screen-shield-notifications-container { .screen-shield-notifications-container {
spacing: 20px; spacing: 6px;
width: 30em; width: 30em;
background-color: transparent; background-color: transparent;
max-height: 500px; max-height: 500px;
@ -1678,25 +1678,17 @@ StScrollBar {
padding-top: 0; padding-top: 0;
padding-bottom: 0; padding-bottom: 0;
} }
.notification-button, .notification-icon-button { border: 1px solid transparentize($fg_color,0.5); }
.notification, .screen-shield-notifications-box { .screen-shield-notification-source {
background-color: transparentize($_bubble_bg_color,0.5); padding: 12px 6px;
color: $fg_color;
border: 1px solid $_bubble_border_color; border: 1px solid $_bubble_border_color;
margin: 6px 0; background-color: $_bubble_bg_color;
padding: 12px; color: $_bubble_fg_color;
spacing: 24px; //FIXME I need a proper margin so the items are spaced with transparency border-radius: 4px;
} }
} }
.screen-shield-notification-source {
padding: 12px 6px;
border-width: 2px;
border-radius: 5px;
border-color: white;
background-color: transparentize($bg_color,0.7);
spacing: 5px;
}
.screen-shield-notification-label { .screen-shield-notification-label {
font-weight: bold; font-weight: bold;

View File

@ -185,7 +185,7 @@ StScrollBar {
/* End Session Dialog */ /* End Session Dialog */
.end-session-dialog { .end-session-dialog {
spacing: 42px; spacing: 42px;
border: 3px solid rgba(255, 255, 255, 0.1); } border: 3px solid rgba(255, 255, 255, 0.2); }
.end-session-dialog-list { .end-session-dialog-list {
padding-top: 20px; } padding-top: 20px; }
@ -307,7 +307,7 @@ StScrollBar {
/* Password or Authentication Dialog */ /* Password or Authentication Dialog */
.prompt-dialog { .prompt-dialog {
width: 500px; width: 500px;
border: 3px solid rgba(255, 255, 255, 0.1); } border: 3px solid rgba(255, 255, 255, 0.2); }
.prompt-dialog-main-layout { .prompt-dialog-main-layout {
spacing: 24px; spacing: 24px;
@ -515,7 +515,7 @@ StScrollBar {
.switcher-list, .workspace-switcher-container { .switcher-list, .workspace-switcher-container {
color: #eeeeec; color: #eeeeec;
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 12px; border-radius: 12px;
padding: 12px; } padding: 12px; }
@ -601,7 +601,7 @@ StScrollBar {
.calendar-vertical-separator { .calendar-vertical-separator {
width: .3em; width: .3em;
-stipple-width: 1px; -stipple-width: 1px;
-stipple-color: rgba(255, 255, 255, 0.1); } -stipple-color: rgba(255, 255, 255, 0.2); }
.calendar-month-label { .calendar-month-label {
color: #f2f2f2; color: #f2f2f2;
@ -1090,7 +1090,7 @@ StScrollBar {
#dash, .workspace-thumbnails { #dash, .workspace-thumbnails {
color: #eeeeec; color: #eeeeec;
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1); } border: 1px solid rgba(255, 255, 255, 0.2); }
.search-statustext, .no-frequent-applications-label { .search-statustext, .no-frequent-applications-label {
font-size: 2em; font-size: 2em;
@ -1356,7 +1356,7 @@ StScrollBar {
-arrow-border-radius: 10px; -arrow-border-radius: 10px;
-arrow-background-color: rgba(46, 52, 54, 0.7); -arrow-background-color: rgba(46, 52, 54, 0.7);
-arrow-border-width: 2px; -arrow-border-width: 2px;
-arrow-border-color: rgba(255, 255, 255, 0.1); -arrow-border-color: rgba(255, 255, 255, 0.2);
-arrow-base: 20px; -arrow-base: 20px;
-arrow-rise: 10px; -arrow-rise: 10px;
-boxpointer-gap: 5px; } -boxpointer-gap: 5px; }
@ -1558,30 +1558,19 @@ StScrollBar {
font-size: 28pt; } font-size: 28pt; }
.screen-shield-notifications-container { .screen-shield-notifications-container {
spacing: 20px; spacing: 6px;
width: 30em; width: 30em;
background-color: transparent; background-color: transparent;
max-height: 500px; } max-height: 500px; }
.screen-shield-notifications-container .summary-notification-stack-scrollview { .screen-shield-notifications-container .summary-notification-stack-scrollview {
padding-top: 0; padding-top: 0;
padding-bottom: 0; } padding-bottom: 0; }
.screen-shield-notifications-container .notification-button, .screen-shield-notifications-container .notification-icon-button { .screen-shield-notifications-container .screen-shield-notification-source {
border: 1px solid rgba(255, 255, 255, 0.5); }
.screen-shield-notifications-container .notification, .screen-shield-notifications-container .screen-shield-notifications-box {
background-color: transparent;
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.1);
margin: 6px 0;
padding: 12px;
spacing: 24px; }
.screen-shield-notification-source {
padding: 12px 6px; padding: 12px 6px;
border-width: 2px; border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 5px; background-color: rgba(0, 0, 0, 0.5);
border-color: white; color: #eeeeec;
background-color: rgba(0, 0, 0, 0.3); border-radius: 4px; }
spacing: 5px; }
.screen-shield-notification-label { .screen-shield-notification-label {
font-weight: bold; font-weight: bold;

View File

@ -185,7 +185,7 @@ StScrollBar {
/* End Session Dialog */ /* End Session Dialog */
.end-session-dialog { .end-session-dialog {
spacing: 42px; spacing: 42px;
border: 3px solid rgba(255, 255, 255, 0.1); } border: 3px solid rgba(255, 255, 255, 0.2); }
.end-session-dialog-list { .end-session-dialog-list {
padding-top: 20px; } padding-top: 20px; }
@ -307,7 +307,7 @@ StScrollBar {
/* Password or Authentication Dialog */ /* Password or Authentication Dialog */
.prompt-dialog { .prompt-dialog {
width: 500px; width: 500px;
border: 3px solid rgba(255, 255, 255, 0.1); } border: 3px solid rgba(255, 255, 255, 0.2); }
.prompt-dialog-main-layout { .prompt-dialog-main-layout {
spacing: 24px; spacing: 24px;
@ -515,7 +515,7 @@ StScrollBar {
.switcher-list, .workspace-switcher-container { .switcher-list, .workspace-switcher-container {
color: #eeeeec; color: #eeeeec;
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 12px; border-radius: 12px;
padding: 12px; } padding: 12px; }
@ -601,7 +601,7 @@ StScrollBar {
.calendar-vertical-separator { .calendar-vertical-separator {
width: .3em; width: .3em;
-stipple-width: 1px; -stipple-width: 1px;
-stipple-color: rgba(255, 255, 255, 0.1); } -stipple-color: rgba(255, 255, 255, 0.2); }
.calendar-month-label { .calendar-month-label {
color: #e2e2df; color: #e2e2df;
@ -1082,7 +1082,7 @@ StScrollBar {
#dash, .workspace-thumbnails { #dash, .workspace-thumbnails {
color: #eeeeec; color: #eeeeec;
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1); } border: 1px solid rgba(255, 255, 255, 0.2); }
.search-statustext, .no-frequent-applications-label { .search-statustext, .no-frequent-applications-label {
font-size: 2em; font-size: 2em;
@ -1348,7 +1348,7 @@ StScrollBar {
-arrow-border-radius: 10px; -arrow-border-radius: 10px;
-arrow-background-color: rgba(46, 52, 54, 0.7); -arrow-background-color: rgba(46, 52, 54, 0.7);
-arrow-border-width: 2px; -arrow-border-width: 2px;
-arrow-border-color: rgba(255, 255, 255, 0.1); -arrow-border-color: rgba(255, 255, 255, 0.2);
-arrow-base: 20px; -arrow-base: 20px;
-arrow-rise: 10px; -arrow-rise: 10px;
-boxpointer-gap: 5px; } -boxpointer-gap: 5px; }
@ -1550,30 +1550,19 @@ StScrollBar {
font-size: 28pt; } font-size: 28pt; }
.screen-shield-notifications-container { .screen-shield-notifications-container {
spacing: 20px; spacing: 6px;
width: 30em; width: 30em;
background-color: transparent; background-color: transparent;
max-height: 500px; } max-height: 500px; }
.screen-shield-notifications-container .summary-notification-stack-scrollview { .screen-shield-notifications-container .summary-notification-stack-scrollview {
padding-top: 0; padding-top: 0;
padding-bottom: 0; } padding-bottom: 0; }
.screen-shield-notifications-container .notification-button, .screen-shield-notifications-container .notification-icon-button { .screen-shield-notifications-container .screen-shield-notification-source {
border: 1px solid rgba(238, 238, 236, 0.5); }
.screen-shield-notifications-container .notification, .screen-shield-notifications-container .screen-shield-notifications-box {
background-color: transparent;
color: #eeeeec;
border: 1px solid rgba(255, 255, 255, 0.1);
margin: 6px 0;
padding: 12px;
spacing: 24px; }
.screen-shield-notification-source {
padding: 12px 6px; padding: 12px 6px;
border-width: 2px; border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 5px; background-color: rgba(0, 0, 0, 0.5);
border-color: white; color: #eeeeec;
background-color: rgba(57, 63, 63, 0.3); border-radius: 4px; }
spacing: 5px; }
.screen-shield-notification-label { .screen-shield-notification-label {
font-weight: bold; font-weight: bold;