salix/front/core/components/calendar/style.scss

141 lines
2.8 KiB
SCSS
Raw Normal View History

2019-02-06 10:24:29 +00:00
@import "variables";
2018-11-12 10:31:58 +00:00
vn-calendar {
2019-02-01 16:11:14 +00:00
display: block;
2018-11-12 10:31:58 +00:00
.header vn-one {
2019-01-21 10:45:53 +00:00
text-align: center;
padding: 0.2em 0
2018-11-12 10:31:58 +00:00
}
.body {
2019-01-21 10:45:53 +00:00
.days {
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
}
.weekdays {
border-bottom: 1px solid $hover;
border-top: 1px solid $hover;
font-weight: bold
}
2018-11-12 10:31:58 +00:00
2019-01-21 10:45:53 +00:00
.day {
2018-11-12 10:31:58 +00:00
box-sizing: border-box;
padding: 0.1em;
width: 14.2857143%;
line-height: 1.5em;
span {
2019-01-21 10:45:53 +00:00
transition: background-color 0.3s;
2018-11-12 10:31:58 +00:00
text-align: center;
2019-02-01 16:11:14 +00:00
font-size: .8em;
2018-11-12 10:31:58 +00:00
border-radius: 50%;
display: block;
padding: 0.2em;
cursor: pointer
}
}
2019-01-21 10:45:53 +00:00
.day:hover span {
2018-11-12 10:31:58 +00:00
background-color: #DDD
}
2019-01-21 10:45:53 +00:00
.day.gray {
2018-11-12 10:31:58 +00:00
color: $secondary-font-color
}
2019-01-21 10:45:53 +00:00
.day.orange {
font-weight: bold;
color: $main-01;
}
.day.orange-circle {
color: $main-font-color;
& > span {
background-color: $main-01
}
}
.day.orange-circle:hover {
& > span {
background-color: $main-01-05
}
}
.day.light-orange {
color: $main-01-05
}
.day.green {
font-weight: bold;
color: $main-02;
}
.day.green-circle {
color: $main-font-color;
& > span {
background-color: $main-02
}
}
.day.green-circle:hover {
& > span {
background-color: $main-02-05
}
}
.day.light-green {
font-weight: bold;
color: $main-02-05
}
.day.blue {
font-weight: bold;
color: $main-03;
}
.day.blue-circle {
color: $main-font-color;
& > span {
background-color: $main-03
}
}
.day.blue-circle:hover {
& > span {
background-color: $main-03-05
}
}
.day.light-blue {
font-weight: bold;
color: $main-03-05
}
.day.red {
font-weight: bold;
color: $alert-01
}
.day.red-circle {
color: $main-font-color;
& > span {
background-color: $alert-01
}
}
.day.red-circle:hover {
& > span {
background-color: $alert-01-05
}
}
.day.light-red {
font-weight: bold;
color: $alert-01-05;
}
2018-11-12 10:31:58 +00:00
}
}