Darker border for calendar

This commit is contained in:
Mark McDowall 2019-07-04 19:59:11 -07:00 committed by Qstick
parent 6a68e5ca92
commit 7189719e6f
4 changed files with 33 additions and 8 deletions

View File

@ -2,8 +2,8 @@
flex: 1 0 14.28%;
overflow: hidden;
min-height: 70px;
border-bottom: 1px solid $borderColor;
border-left: 1px solid $borderColor;
border-bottom: 1px solid $calendarBorderColor;
border-left: 1px solid $calendarBorderColor;
}
.isSingleDay {
@ -12,7 +12,7 @@
.dayOfMonth {
padding-right: 5px;
border-bottom: 1px solid $borderColor;
border-bottom: 1px solid $calendarBorderColor;
text-align: right;
}

View File

@ -1,6 +1,6 @@
.days {
display: flex;
border-right: 1px solid $borderColor;
border-right: 1px solid $calendarBorderColor;
}
.day,

View File

@ -57,7 +57,13 @@
border-left-color: $gray !important;
&:global(.colorImpaired) {
background: repeating-linear-gradient(45deg, $colorImpairedGradientDark, $colorImpairedGradientDark 5px, $colorImpairedGradient 5px, $colorImpairedGradient 10px);
background: repeating-linear-gradient(
45deg,
$colorImpairedGradientDark,
$colorImpairedGradientDark 5px,
$colorImpairedGradient 5px,
$colorImpairedGradient 10px
);
}
}
@ -65,7 +71,13 @@
border-left-color: $warningColor !important;
&:global(.colorImpaired) {
background: repeating-linear-gradient(90deg, $colorImpairedGradientDark, $colorImpairedGradientDark 5px, $colorImpairedGradient 5px, $colorImpairedGradient 10px);
background: repeating-linear-gradient(
90deg,
$colorImpairedGradientDark,
$colorImpairedGradientDark 5px,
$colorImpairedGradient 5px,
$colorImpairedGradient 10px
);
}
}
@ -74,7 +86,13 @@
&:global(.colorImpaired) {
border-left-color: color($dangerColor saturation(+15%)) !important;
background: repeating-linear-gradient(90deg, $colorImpairedGradientDark, $colorImpairedGradientDark 5px, $colorImpairedGradient 5px, $colorImpairedGradient 10px);
background: repeating-linear-gradient(
90deg,
$colorImpairedGradientDark,
$colorImpairedGradientDark 5px,
$colorImpairedGradient 5px,
$colorImpairedGradient 10px
);
}
}
@ -82,6 +100,12 @@
border-left-color: $primaryColor !important;
&:global(.colorImpaired) {
background: repeating-linear-gradient(90deg, $colorImpairedGradientDark, $colorImpairedGradientDark 5px, $colorImpairedGradient 5px, $colorImpairedGradient 10px);
background: repeating-linear-gradient(
90deg,
$colorImpairedGradientDark,
$colorImpairedGradientDark 5px,
$colorImpairedGradient 5px,
$colorImpairedGradient 10px
);
}
}

View File

@ -173,6 +173,7 @@ module.exports = {
// Calendar
calendarTodayBackgroundColor: '#ddd',
calendarBorderColor: '#cecece',
//
// Table