| ... | ... |
@@ -30,7 +30,7 @@ |
| 30 | 30 |
if (element.id == 'daily-zoom-in' && value < 12) |
| 31 | 31 |
{
|
| 32 | 32 |
root.style.setProperty('--slot-height',(value + 1.5) + unit);
|
| 33 |
- } else if (element.id == 'daily-zoom-out' && value >= 4.5) |
|
| 33 |
+ } else if (element.id == 'daily-zoom-out' && value > 4.5) |
|
| 34 | 34 |
{
|
| 35 | 35 |
root.style.setProperty('--slot-height',(value - 1.5) + unit);
|
| 36 | 36 |
} else if (element.id == 'daily-zoom-reset') |
| ... | ... |
@@ -5,6 +5,7 @@ $event-border-color: darken(nth($event-bg-color,1),20%); |
| 5 | 5 |
$event-border-width: 1px; |
| 6 | 6 |
$event-color: #fff; |
| 7 | 7 |
$hour-line-color: #999; |
| 8 |
+$column-line-color: #e9e9e9; |
|
| 8 | 9 |
$time-color: #666; |
| 9 | 10 |
$text-color: #333; |
| 10 | 11 |
$header-bg-color: #f2f2f2; |
| ... | ... |
@@ -100,7 +101,7 @@ $row-amount: 96; |
| 100 | 101 |
|
| 101 | 102 |
.daily-grid-cells-container {
|
| 102 | 103 |
position: relative; |
| 103 |
- padding: 0 12px; |
|
| 104 |
+ //padding: 0 12px; |
|
| 104 | 105 |
box-sizing: border-box; |
| 105 | 106 |
flex: 1 0 auto; |
| 106 | 107 |
width: 129px; |
| ... | ... |
@@ -111,7 +112,6 @@ $row-amount: 96; |
| 111 | 112 |
.daily-grid-columns {
|
| 112 | 113 |
display: flex; |
| 113 | 114 |
align-items: flex-start; |
| 114 |
- grid-column-gap: 10px; |
|
| 115 | 115 |
} |
| 116 | 116 |
|
| 117 | 117 |
.daily-grid-column {
|
| ... | ... |
@@ -119,12 +119,17 @@ $row-amount: 96; |
| 119 | 119 |
grid-column-gap: 3px; |
| 120 | 120 |
z-index: 2; |
| 121 | 121 |
position: relative; |
| 122 |
+ padding: 0 10px; |
|
| 122 | 123 |
height: 100%; |
| 123 | 124 |
width: 100%; |
| 124 | 125 |
display: grid; |
| 125 | 126 |
grid-template-rows: repeat($row-amount, calc(var(--slot-height) / (#{$row-amount} / 24)));
|
| 126 | 127 |
@include animate-zoom; |
| 127 | 128 |
|
| 129 |
+ &:nth-child(even) {
|
|
| 130 |
+ background-color: #f6f6ff; |
|
| 131 |
+ } |
|
| 132 |
+ |
|
| 128 | 133 |
.cell-placeholder {
|
| 129 | 134 |
line-height: calc(var(--slot-height) / 4); |
| 130 | 135 |
@include animate-zoom; |
| ... | ... |
@@ -150,7 +155,7 @@ $row-amount: 96; |
| 150 | 155 |
.event-cell {
|
| 151 | 156 |
line-height: calc(var(--slot-height) / 4); |
| 152 | 157 |
@include animate-zoom; |
| 153 |
- z-index: 2; |
|
| 158 |
+ z-index: 3; |
|
| 154 | 159 |
box-sizing: border-box; |
| 155 | 160 |
border-radius: 5px; |
| 156 | 161 |
background-color: nth($event-bg-color, 1); |