calendar: Only show section title for other days

The section titles usually don't provide a lot of value - messages
themselves are usually pretty unambiguous about their type, and
having a hidden shortcut to some settings panel or application isn't
essential either - except when showing the selected date when browsing
other days, as it adds context to the listed events. Based on that,
remove the section title as a general MessageListSection feature and
move it into the EventsSection, where we only show it when it is useful.

https://bugzilla.gnome.org/show_bug.cgi?id=775763
This commit is contained in:
Florian Müllner
2017-02-26 04:35:43 +01:00
parent 8a6157c7c1
commit fec511c786
6 changed files with 29 additions and 51 deletions

View File

@@ -737,7 +737,7 @@ StScrollBar {
.datemenu-today-button,
.world-clocks-button,
.weather-button,
.message-list-section-title {
.events-section-title {
border-radius: 4px;
padding: .4em; }
@@ -752,13 +752,13 @@ StScrollBar {
.world-clocks-button:focus,
.weather-button:hover,
.weather-button:focus,
.message-list-section-title:hover,
.message-list-section-title:focus {
.events-section-title:hover,
.events-section-title:focus {
background-color: #0d0d0d; }
.datemenu-today-button:active,
.world-clocks-button:active,
.weather-button:active,
.message-list-section-title:active {
.events-section-title:active {
color: white;
background-color: #215d9c; }
@@ -767,7 +767,7 @@ StScrollBar {
.world-clocks-header,
.weather-header,
.message-list-section-title {
.events-section-title {
color: #999999;
font-weight: bold; }

View File

@@ -737,7 +737,7 @@ StScrollBar {
.datemenu-today-button,
.world-clocks-button,
.weather-button,
.message-list-section-title {
.events-section-title {
border-radius: 4px;
padding: .4em; }
@@ -752,13 +752,13 @@ StScrollBar {
.world-clocks-button:focus,
.weather-button:hover,
.weather-button:focus,
.message-list-section-title:hover,
.message-list-section-title:focus {
.events-section-title:hover,
.events-section-title:focus {
background-color: #454c4c; }
.datemenu-today-button:active,
.world-clocks-button:active,
.weather-button:active,
.message-list-section-title:active {
.events-section-title:active {
color: white;
background-color: #215d9c; }
@@ -767,7 +767,7 @@ StScrollBar {
.world-clocks-header,
.weather-header,
.message-list-section-title {
.events-section-title {
color: #8e8e80;
font-weight: bold; }