Style improvements for the year on the notifications page

This commit is contained in:
Steffen van Bergerem 2015-02-16 21:45:39 +01:00
parent 278ca84ec2
commit d1dfd7c1cd
2 changed files with 10 additions and 8 deletions

View file

@ -15,26 +15,28 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
.year_container { margin-top: 75px; } .year_container { margin-top: 40px; }
.header + .year_container { margin-top: 50px; }
.year { .year {
background-color: $white; background-color: $white;
color: $light-grey; color: $light-grey;
font-size: 20px; font-size: 40px;
line-height: 20px; line-height: 40px;
margin-bottom: -20px; margin-bottom: -20px;
text-align: center; text-align: center;
} }
.year_container + .day_group { .year_container + .day_group {
border-top: 1px solid $border-grey; border-top: 1px solid $border-grey;
padding-top: 60px;
}
.day_group + .day_group {
border-top: 1px dashed $border-grey;
margin-top: 10px;
padding-top: 10px; padding-top: 10px;
} }
.day_group { .day_group {
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px dashed $border-grey;
.date { .date {
text-align: center; text-align: center;
color: $light-grey; color: $light-grey;

View file

@ -48,7 +48,7 @@
- if display_year?(year, date) - if display_year?(year, date)
- year = the_year(date) - year = the_year(date)
.row-fluid.year_container .row-fluid.year_container
.span2.offset5.year= year .span4.offset4.year= year
.day_group.row-fluid .day_group.row-fluid
.date.span2 .date.span2