2015-04-10 18:32:51 +02:00
|
|
|
$hours_margin: 50px;
|
|
|
|
|
|
|
|
.dayLabels {
|
|
|
|
color: sg-color($sogoBlue, 700);
|
|
|
|
height: 35px;
|
|
|
|
left: 0;
|
|
|
|
overflow: hidden;
|
2015-03-30 21:11:20 +02:00
|
|
|
position: relative;
|
2015-04-10 18:32:51 +02:00
|
|
|
.day {
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.days {
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2015-03-30 21:11:20 +02:00
|
|
|
top: 0;
|
2015-04-10 18:32:51 +02:00
|
|
|
margin-left: $hours_margin;
|
|
|
|
position: relative;
|
|
|
|
.day {
|
|
|
|
border-left: 1px solid sg-color($sogoPaper, 300);
|
|
|
|
position: absolute;
|
|
|
|
.clickableHourCell {
|
|
|
|
height: 40px;
|
|
|
|
border-bottom: 1px solid sg-color($sogoPaper, 300);
|
2015-03-30 21:11:20 +02:00
|
|
|
}
|
|
|
|
}
|
2015-04-10 22:22:50 +02:00
|
|
|
}
|
2015-03-30 21:11:20 +02:00
|
|
|
|
2015-04-10 18:32:51 +02:00
|
|
|
.daysViewFor1Days {
|
|
|
|
.day {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.days {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.daysViewFor7Days {
|
2015-03-30 21:11:20 +02:00
|
|
|
.day {
|
2015-04-10 18:32:51 +02:00
|
|
|
width: (100% / 7);
|
2015-03-30 21:11:20 +02:00
|
|
|
}
|
2015-04-10 22:22:50 +02:00
|
|
|
$i: 0;
|
|
|
|
@while $i < 7 {
|
|
|
|
.day#{$i} { left: 1% * 100 / 7 * $i; }
|
|
|
|
$i: $i + 1;
|
2015-03-30 21:11:20 +02:00
|
|
|
}
|
2015-04-10 22:22:50 +02:00
|
|
|
}
|
2015-03-30 21:11:20 +02:00
|
|
|
|
2015-04-10 18:32:51 +02:00
|
|
|
.sg-calendar-tile-header {
|
|
|
|
color: sg-color($sogoPaper, 800);
|
|
|
|
font-size: $sg-font-size-2;
|
|
|
|
font-weight: $sg-font-light;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 2px;
|
2015-04-01 17:18:19 +02:00
|
|
|
}
|
|
|
|
|
2015-04-10 18:32:51 +02:00
|
|
|
.daysView {
|
2015-03-30 21:11:20 +02:00
|
|
|
bottom: 0;
|
|
|
|
overflow-x: hidden;
|
2015-04-10 18:32:51 +02:00
|
|
|
overflow: auto;
|
|
|
|
position: relative;
|
|
|
|
top: 0;
|
2015-03-30 21:11:20 +02:00
|
|
|
.hours {
|
2015-04-10 18:32:51 +02:00
|
|
|
color: sg-color($sogoBlue, 700);
|
2015-03-30 21:11:20 +02:00
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
2015-04-10 18:32:51 +02:00
|
|
|
font-weight: $sg-font-light;
|
|
|
|
height: auto;
|
2015-03-30 21:11:20 +02:00
|
|
|
left: 0;
|
2015-04-10 18:32:51 +02:00
|
|
|
position: relative;
|
|
|
|
top: 0;
|
|
|
|
width: $hours_margin;
|
2015-03-30 21:11:20 +02:00
|
|
|
.hour {
|
2015-04-10 18:32:51 +02:00
|
|
|
border-bottom: 1px solid sg-color($sogoPaper, 300);
|
2015-03-30 21:11:20 +02:00
|
|
|
height: 40px;
|
|
|
|
left: 0;
|
2015-04-10 18:32:51 +02:00
|
|
|
padding: 2px;
|
2015-03-30 21:11:20 +02:00
|
|
|
position: relative;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.event {
|
|
|
|
cursor: default;
|
|
|
|
margin-right: 1px;
|
|
|
|
position: absolute;
|
|
|
|
left: 0%;
|
|
|
|
right: 0%;
|
|
|
|
$i: 0;
|
2015-04-10 18:32:51 +02:00
|
|
|
@while $i < 96 { // number of 15-minutes blocks in a day
|
2015-03-30 21:11:20 +02:00
|
|
|
&.starts#{$i} { top: 10px * $i; }
|
|
|
|
&.lasts#{$i} { height: 10px * $i; }
|
|
|
|
$i: $i + 1;
|
|
|
|
}
|
2015-04-10 22:22:50 +02:00
|
|
|
.eventInside {
|
|
|
|
position: absolute;
|
|
|
|
overflow: hidden;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
-webkit-border-radius: 2px;
|
|
|
|
border-radius: 2px;
|
|
|
|
cursor:move;
|
2015-03-30 21:11:20 +02:00
|
|
|
}
|
|
|
|
}
|
2015-04-10 22:22:50 +02:00
|
|
|
}
|
2015-03-30 21:11:20 +02:00
|
|
|
|
2015-04-10 18:32:51 +02:00
|
|
|
.monthView {
|
|
|
|
md-grid-tile {
|
|
|
|
border: 1px solid sg-color($sogoPaper, 300);
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
.sg-event {
|
|
|
|
border-radius: 1px;
|
|
|
|
font-size: $sg-font-size-2;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 2px;
|
|
|
|
margin-bottom: 1px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
span {
|
|
|
|
font-weight: $sg-font-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-03-30 21:11:20 +02:00
|
|
|
.minutes15, .minutes30, .minutes45 {
|
2015-04-10 22:22:50 +02:00
|
|
|
display: block;
|
|
|
|
height: 25%;
|
|
|
|
}
|
2015-03-30 21:11:20 +02:00
|
|
|
|
|
|
|
.minutes30 {
|
2015-04-10 18:32:51 +02:00
|
|
|
border-bottom: 1px dotted sg-color($sogoPaper, 300);
|
2015-03-30 21:11:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.gradient, .text {
|
2015-04-10 22:22:50 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 1px;
|
|
|
|
left: 1px;
|
|
|
|
right: 1px;
|
|
|
|
bottom: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2015-03-30 21:11:20 +02:00
|
|
|
|
|
|
|
.gradient > IMG {
|
2015-04-10 22:22:50 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 15px; /* for 15-minute events */
|
|
|
|
width: 100%;
|
|
|
|
}
|