Skip to content

Commit

Permalink
BUGfix: gnome-shell - fix notfication size and logout OSD button solor
Browse files Browse the repository at this point in the history
  • Loading branch information
thekomer committed Oct 24, 2022
1 parent 4aab9ec commit 9bd9864
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 85 deletions.
146 changes: 73 additions & 73 deletions gnome-shell/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,12 @@ StScrollBar {
.end-session-dialog {
spacing: 42px;
border: 1px solid $osd_borders_color;
color: $osd_fg_color;
& .modal-dialog-linked-button:last-child {
@include gradient();
color: #fff;
&:hover, &:focus {
background: darken($error_color, 3%);
color: #fff;
@include gradient();
//background: darken($error_color, 3%);
color: $selected_fg_color;
font-weight: bold;
border: 1px solid $destructive_color;
}
Expand Down Expand Up @@ -904,86 +904,86 @@ StScrollBar {
}
}

// calendar popover
#calendarArea {
padding: 0.75em 1.0em;
}
// calendar popover
#calendarArea {
padding: 0.75em 1.0em;
}

.calendar {
margin-bottom: 1em;
}
.calendar {
margin-bottom: 1em;
}

.calendar, .world-clocks-button, .weather-button, .events-button {
background: transparent;
border: none;
}
.calendar, .world-clocks-button, .weather-button, .events-button {
background: transparent;
border: none;
}

.calendar,
.datemenu-today-button,
.datemenu-displays-box,
.message-list-sections {
margin: 0 1.5em;
}
.calendar,
.datemenu-today-button,
.datemenu-displays-box,
.message-list-sections {
margin: 0 1.5em;
}

.datemenu-calendar-column { spacing: 0.5em; }
.datemenu-displays-section { padding-bottom: 3em; }
.datemenu-displays-box { spacing: 1em; }
.datemenu-calendar-column { spacing: 0.5em; }
.datemenu-displays-section { padding-bottom: 3em; }
.datemenu-displays-box { spacing: 1em; }

.datemenu-calendar-column {
border: 0 solid transparent;
&:ltr { border-left-width: 1px; }
&:rtl { border-right-width: 1px; }
background: darken($bg_color, 0.7%);
//@include gradient();
}
.datemenu-calendar-column {
border: 0 solid transparent;
&:ltr { border-left-width: 1px; }
&:rtl { border-right-width: 1px; }
background: darken($bg_color, 0.7%);
//@include gradient();
}

.datemenu-today-button,
.world-clocks-button,
.weather-button,
.events-section-title,
.message-list-section-title,
.events-button {
border-radius: 4px;
color: $fg_color;
padding: .4em;
}
.datemenu-today-button,
.world-clocks-button,
.weather-button,
.events-section-title,
.message-list-section-title,
.events-button {
border-radius: 4px;
color: $fg_color;
padding: .4em;
}

.message-list-section-list:ltr {
padding-left: .4em;
}
.message-list-section-list:ltr {
padding-left: .4em;
}

.message-list-section-list:rtl {
padding-right: .4em;
}
.message-list-section-list:rtl {
padding-right: .4em;
}

.datemenu-today-button,
.world-clocks-button,
.weather-button,
.events-section-title,
.message-list-section-title,
.events-button {
&:hover,&:focus { background-color: lighten($bg_color,5%); }
&:active {
color: lighten($selected_fg_color,5%);
background-color: $selected_bg_color;
}
}
.datemenu-today-button,
.world-clocks-button,
.weather-button,
.events-section-title,
.message-list-section-title,
.events-button {
&:hover,&:focus { background-color: lighten($bg_color,5%); }
&:active {
color: lighten($selected_fg_color,5%);
background-color: $selected_bg_color;
}
}

.datemenu-today-button .day-label {
}
.datemenu-today-button .day-label {
}

.datemenu-today-button .date-label {
font-size: 1.5em;
}
.datemenu-today-button .date-label {
font-size: 1.5em;
}

.world-clocks-header,
.weather-header,
.events-section-title,
.message-list-section-title,
.events-title {
color: darken($fg_color, 10%);
font-weight: bold;
}
.world-clocks-header,
.weather-header,
.events-section-title,
.message-list-section-title,
.events-title {
color: darken($fg_color, 10%);
font-weight: bold;
}

.events-button .event-time {
color: darken($fg_color, 4%);
Expand Down Expand Up @@ -1727,7 +1727,7 @@ StScrollBar {

// Banners
.notification-banner {
font-size: 120%;
font-size: 100%;
width: 34em;
margin: 5px;
border-radius: 3px;
Expand Down
16 changes: 7 additions & 9 deletions gnome-shell/gnome-shell.css
Original file line number Diff line number Diff line change
Expand Up @@ -268,17 +268,15 @@ StScrollBar {
/* End Session Dialog */
.end-session-dialog {
spacing: 42px;
border: 1px solid rgba(255, 255, 255, 0.1); }
.end-session-dialog .modal-dialog-linked-button:last-child {
border: 1px solid rgba(255, 255, 255, 0.1);
color: #fefefe; }
.end-session-dialog .modal-dialog-linked-button:last-child:hover, .end-session-dialog .modal-dialog-linked-button:last-child:focus {
background-gradient-start: #ff3300 !important;
background-gradient-end: #ffa100 !important;
background-gradient-direction: horizontal;
color: #fff; }
.end-session-dialog .modal-dialog-linked-button:last-child:hover, .end-session-dialog .modal-dialog-linked-button:last-child:focus {
background: #d60000;
color: #fff;
font-weight: bold;
border: 1px solid #9b1b32; }
color: #ffffff;
font-weight: bold;
border: 1px solid #9b1b32; }

.end-session-dialog-list {
padding-top: 20px; }
Expand Down Expand Up @@ -1558,7 +1556,7 @@ StScrollBar {
link-color: #ff8833; }

.notification-banner {
font-size: 120%;
font-size: 100%;
width: 34em;
margin: 5px;
border-radius: 3px;
Expand Down
2 changes: 1 addition & 1 deletion gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -5016,7 +5016,7 @@ treeview.view header button, treeview.view header button:hover, treeview.view he
* Windows *
* * * * * */
window.background {
border-radius: 0 0 10px 10px; }
border-radius: 10px 10px 10px 10px; }

headerbar.titlebar {
border-radius: 12px 12px 0 0;
Expand Down
2 changes: 1 addition & 1 deletion gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -5016,7 +5016,7 @@ treeview.view header button, treeview.view header button:hover, treeview.view he
* Windows *
* * * * * */
window.background {
border-radius: 0 0 10px 10px; }
border-radius: 10px 10px 10px 10px; }

headerbar.titlebar {
border-radius: 12px 12px 0 0;
Expand Down
3 changes: 2 additions & 1 deletion gtk-3.0/widgets/_windows.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
// this is added for rounded borders. I still don't know what I'm doing :P

window.background {
border-radius: 0 0 10px 10px;
//border-radius: 0 0 10px 10px;
border-radius: 10px 10px 10px 10px;
}

headerbar.titlebar {
Expand Down

0 comments on commit 9bd9864

Please sign in to comment.