Fix CSS comments & extra commas

This commit is contained in:
nathangray 2016-09-07 10:05:51 -06:00
parent 93c76dd878
commit 675731d74e

View File

@ -341,7 +341,7 @@ Hide subsequent headers in week view with non-consolidated owners
width: ~"calc(100% - 58px)";
margin-left: 58px;
color: white;
background-color: #0C5DA5;
background-color: #2D6393;
text-align: center;
line-height: 1.5em;
font-size: 14px;
@ -1421,7 +1421,7 @@ input#calendar-edit_location {padding-left: 0;}
to see if it still fits.
*/
@media all and (max-width: 1000px) and (min-width: 481px) {
// styles assigned when width is smaller than 1000px
/* styles assigned when width is smaller than 1000px */
.calendar_calDayColHeader > div[data-date] .long_date
{
display: inline;
@ -1430,38 +1430,38 @@ input#calendar-edit_location {padding-left: 0;}
{
display: none;
}
// 7 day needs short day labels
/* 7 day needs short day labels */
.calendar_calDayColHeader:first-child:nth-last-child(7) > div[data-date] .short_date,
.calendar_calDayColHeader:first-child:nth-last-child(7) ~ .calendar_calDayColHeader > div[data-date] .short_date,
.calendar_calDayColHeader:first-child:nth-last-child(7) ~ .calendar_calDayColHeader > div[data-date] .short_date
{
display: inline;
}
.calendar_calDayColHeader:first-child:nth-last-child(7) > div[data-date] .long_date,
.calendar_calDayColHeader:first-child:nth-last-child(7) ~ .calendar_calDayColHeader > div[data-date] .long_date,
.calendar_calDayColHeader:first-child:nth-last-child(7) ~ .calendar_calDayColHeader > div[data-date] .long_date
{
display: none;
}
}
@media all and (max-width: 580px) {
.calendar_calDayColHeader:first-child:nth-last-child(5) > div[data-date] .long_date,
.calendar_calDayColHeader:first-child:nth-last-child(5) ~ .calendar_calDayColHeader > div[data-date] .long_date,
.calendar_calDayColHeader:first-child:nth-last-child(5) ~ .calendar_calDayColHeader > div[data-date] .long_date
{
display:none;
}
.calendar_calDayColHeader:first-child:nth-last-child(5) > div[data-date] .short_date,
.calendar_calDayColHeader:first-child:nth-last-child(5) ~ .calendar_calDayColHeader > div[data-date] .short_date,
.calendar_calDayColHeader:first-child:nth-last-child(5) ~ .calendar_calDayColHeader > div[data-date] .short_date
{
display: inline;
}
}
@media all and (max-width: 480px) {
// styles assigned when width is smaller than 480px;
/* styles assigned when width is smaller than 480px; */
.calendar_calDayColHeader > div[data-date] .long_date,
.calendar_calDayColHeader > div[data-date] .short_date
{
display: none;
}
// 5 day and less fits short day labels
/* 5 day and less fits short day labels */
.calendar_calDayColHeader:first-child:nth-last-child(3) > div[data-date] .short_date,
.calendar_calDayColHeader:first-child:nth-last-child(3) ~ .calendar_calDayColHeader > div[data-date] .short_date,
.calendar_calDayColHeader:first-child:nth-last-child(4) > div[data-date] .short_date,
@ -1471,7 +1471,7 @@ input#calendar-edit_location {padding-left: 0;}
{
display: inline;
}
// 2 day view and less has enough room for full label
/* 2 day view and less has enough room for full label */
.calendar_calDayColHeader:first-child:nth-last-child(1) > div[data-date] .long_date,
.calendar_calDayColHeader:first-child:nth-last-child(1) ~ .calendar_calDayColHeader > div[data-date] .long_date,
.calendar_calDayColHeader:first-child:nth-last-child(2) > div[data-date] .long_date,