2016-06-19 15:53:21 +02:00
|
|
|
.occupation-bar {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
height: 3px;
|
2016-06-19 23:34:06 +02:00
|
|
|
background: #88e;
|
2016-06-19 15:53:21 +02:00
|
|
|
transition: max-width 300ms ease-in;
|
|
|
|
max-width: 0%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-07-07 16:46:05 +02:00
|
|
|
|
|
|
|
.overbooking .occupation-bar {
|
|
|
|
background: #e33;
|
|
|
|
}
|
|
|
|
|
2016-10-03 14:24:47 +02:00
|
|
|
li.not-bookable {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2016-07-07 16:46:05 +02:00
|
|
|
li.full {
|
|
|
|
background: #f8f8fe;
|
|
|
|
}
|
2016-09-11 11:55:55 +02:00
|
|
|
|
2018-04-14 09:41:39 +02:00
|
|
|
li span.duration {
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
|
|
|
|
2016-09-11 11:55:55 +02:00
|
|
|
li span.identifier {
|
|
|
|
font-size: 80%;
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 span.identifier {
|
|
|
|
font-size: 1rem;
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
2017-04-11 10:16:32 +02:00
|
|
|
|
|
|
|
.time-only-picker thead {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.time-only-picker tbody td {
|
|
|
|
width: 200px;
|
|
|
|
}
|
2017-09-01 15:01:07 +02:00
|
|
|
|
|
|
|
.timeperiods {
|
2017-09-03 14:29:41 +02:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-right: -10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeperiods .timeperiod {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
width: 18%;
|
|
|
|
margin-right: 10px;
|
2017-09-01 15:01:07 +02:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2017-09-03 14:29:41 +02:00
|
|
|
.timeperiods .timeperiod h4 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeperiods .timeperiod ul.objects-list {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2018-02-14 09:41:35 +01:00
|
|
|
.timeperiods .timeperiod:first-child:last-child ul.objects-list {
|
2018-12-18 07:57:09 +01:00
|
|
|
margin: -1rem;
|
2018-02-14 09:41:35 +01:00
|
|
|
}
|
|
|
|
|
2017-09-03 14:29:41 +02:00
|
|
|
.timeperiods .timeperiod a.add::before {
|
|
|
|
content: "\f055"; /* plus-circle */
|
|
|
|
font-family: FontAwesome;
|
|
|
|
padding-right: 1ex;
|
2017-09-01 15:01:07 +02:00
|
|
|
}
|
2017-08-24 14:15:18 +02:00
|
|
|
|
|
|
|
a.timeperiod-exception-all {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2017-09-03 13:28:50 +02:00
|
|
|
|
|
|
|
.link-action-icon.upload::before {
|
|
|
|
content: "\f093"; /* upload-sign */
|
|
|
|
}
|
2017-11-26 14:27:09 +01:00
|
|
|
|
2019-01-04 12:10:32 +01:00
|
|
|
.dayview h2 a,
|
|
|
|
.monthview h2 a {
|
2017-11-26 14:27:09 +01:00
|
|
|
padding: 0 1ex;
|
|
|
|
}
|
|
|
|
|
2018-02-04 20:55:14 +01:00
|
|
|
.dayview h2 > span {
|
2017-11-26 14:27:09 +01:00
|
|
|
display: inline-block;
|
2018-02-04 20:55:14 +01:00
|
|
|
min-width: 24ex;
|
2017-11-26 14:27:09 +01:00
|
|
|
}
|
|
|
|
|
2019-01-04 12:10:32 +01:00
|
|
|
.monthview h2 > span {
|
|
|
|
display: inline-block;
|
|
|
|
min-width: 16ex;
|
|
|
|
}
|
|
|
|
|
2018-08-31 18:21:22 +02:00
|
|
|
.agenda-table thead th {
|
2018-01-20 19:38:46 +01:00
|
|
|
width: 14vw;
|
2017-11-26 14:27:09 +01:00
|
|
|
padding-bottom: 1ex;
|
2019-01-03 16:55:46 +01:00
|
|
|
font-weight: normal;
|
2017-11-26 14:27:09 +01:00
|
|
|
}
|
|
|
|
|
2018-01-20 19:38:46 +01:00
|
|
|
@for $i from 1 through 7 {
|
2018-06-20 22:16:14 +02:00
|
|
|
.agenda-table {
|
2018-01-20 19:38:46 +01:00
|
|
|
width: 100%;
|
2018-06-20 22:16:14 +02:00
|
|
|
.desks-#{$i} {
|
|
|
|
thead th { width: (100%/$i)-1%; }
|
|
|
|
}
|
2018-01-20 19:38:46 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-20 22:16:14 +02:00
|
|
|
.agenda-table tbody tr th {
|
2017-11-26 14:27:09 +01:00
|
|
|
box-sizing: border-box;
|
2018-01-17 11:16:47 +01:00
|
|
|
padding: 1ex 2ex;
|
|
|
|
vertical-align: top;
|
2018-01-20 19:38:46 +01:00
|
|
|
width: 8ex;
|
2019-01-03 16:55:46 +01:00
|
|
|
font-weight: normal;
|
2018-06-20 22:16:14 +02:00
|
|
|
&.hour {
|
|
|
|
width: 5%;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: #000;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
&.weekday {
|
|
|
|
width: 12.5%;
|
2018-09-22 15:39:38 +02:00
|
|
|
padding-top: 3rem;
|
2019-01-03 16:55:46 +01:00
|
|
|
&.today {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-06-20 22:16:14 +02:00
|
|
|
}
|
2017-11-26 14:27:09 +01:00
|
|
|
}
|
|
|
|
|
2018-09-22 15:39:38 +02:00
|
|
|
.agenda-table tbody tr:first-child th.weekday {
|
|
|
|
// don't add extra padding on top row
|
2019-01-03 16:55:46 +01:00
|
|
|
padding-top: 1ex;
|
2018-09-22 15:39:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.agenda-table tbody tr.odd th.hour,
|
|
|
|
.agenda-table tbody tr.odd td {
|
2017-11-26 14:27:09 +01:00
|
|
|
background: #f0f0f0;
|
|
|
|
@media print {
|
|
|
|
border-top: 1px solid #aaa;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-22 15:39:38 +02:00
|
|
|
.agenda-table tbody tr.odd td.other-month {
|
|
|
|
background: #f8f8f8;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-08-31 18:21:22 +02:00
|
|
|
.agenda-table tbody td {
|
2018-01-17 11:16:47 +01:00
|
|
|
padding: 0 1ex;
|
|
|
|
vertical-align: top;
|
|
|
|
position: relative;
|
2018-09-06 08:51:37 +02:00
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.agenda-table.month-view tbody td {
|
|
|
|
border: 5px solid white;
|
|
|
|
border-width: 0 5px;
|
2017-11-26 14:27:09 +01:00
|
|
|
}
|
|
|
|
|
2018-01-17 11:16:47 +01:00
|
|
|
@for $i from 1 through 60 {
|
|
|
|
table.hourspan-#{$i} tbody td {
|
|
|
|
height: calc(#{$i} * 2.5em);
|
|
|
|
}
|
2017-11-26 14:27:09 +01:00
|
|
|
}
|
|
|
|
|
2018-08-31 18:21:22 +02:00
|
|
|
.agenda-table tbody td div {
|
2017-11-26 14:27:09 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 1ex;
|
|
|
|
position: absolute;
|
|
|
|
overflow: hidden;
|
2018-01-18 17:37:43 +01:00
|
|
|
&.opening-hours {
|
|
|
|
z-index: 1;
|
2018-01-19 15:37:50 +01:00
|
|
|
background: #b1ea4d linear-gradient(135deg, #b1ea4d 0%, #459522 100%);
|
2019-03-06 10:12:08 +01:00
|
|
|
opacity: 0.6;
|
2018-01-18 17:37:43 +01:00
|
|
|
left: 0.5ex;
|
2018-01-20 19:38:46 +01:00
|
|
|
width: calc(100% - 1ex);
|
2018-01-18 17:37:43 +01:00
|
|
|
}
|
|
|
|
&.booking {
|
2018-01-19 15:37:50 +01:00
|
|
|
background: #eef linear-gradient(135deg, #eef 0%, #ddf 100%);
|
|
|
|
box-shadow: 0 0 1px 0 #2d2dad;
|
2018-01-20 19:38:46 +01:00
|
|
|
width: calc(100% - 2ex);
|
2018-01-18 17:37:43 +01:00
|
|
|
border: 1px solid #aaa;
|
2018-01-18 14:06:47 +01:00
|
|
|
z-index: 2;
|
2018-01-18 17:37:43 +01:00
|
|
|
&:hover {
|
|
|
|
z-index: 3;
|
|
|
|
height: auto !important;
|
|
|
|
}
|
2017-11-26 14:27:09 +01:00
|
|
|
}
|
|
|
|
}
|
2018-01-17 11:16:47 +01:00
|
|
|
|
2018-06-20 22:16:14 +02:00
|
|
|
.monthview tbody td div.booking {
|
|
|
|
padding: 0;
|
|
|
|
transition: width 100ms ease-in, left 100ms ease-in, color 200ms ease-in;
|
|
|
|
text-indent: -9999px;
|
|
|
|
&:hover {
|
|
|
|
text-indent: 0;
|
|
|
|
color: inherit;
|
|
|
|
left: 0% !important;
|
|
|
|
width: 100% !important
|
|
|
|
}
|
|
|
|
span.desk {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-17 11:16:47 +01:00
|
|
|
span.start-time {
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
2018-02-04 20:55:14 +01:00
|
|
|
|
2018-06-20 23:14:07 +02:00
|
|
|
.date-title {
|
2018-02-04 20:55:14 +01:00
|
|
|
cursor: pointer;
|
|
|
|
&::after {
|
|
|
|
content: "\f073"; /* calendar */
|
|
|
|
font-family: FontAwesome;
|
|
|
|
padding-left: 1ex;
|
|
|
|
padding-right: 0ex;
|
|
|
|
opacity: 0.3;
|
|
|
|
font-size: 80%;
|
|
|
|
transition: opacity 200ms linear;
|
|
|
|
}
|
|
|
|
&:hover::after {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-20 23:14:07 +02:00
|
|
|
.date-picker {
|
2018-02-04 20:55:14 +01:00
|
|
|
button, select {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
width: 1ex;
|
|
|
|
height: 1ex;
|
|
|
|
border: 1px solid #d0d0d0;
|
|
|
|
border-width: 1px 0 0 1px;
|
|
|
|
top: -0.6ex;
|
|
|
|
left: 5rem;
|
|
|
|
background: #FAFAFA;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
position: absolute;
|
|
|
|
background: #FAFAFA;
|
|
|
|
border: 1px solid #d0d0d0;
|
|
|
|
box-shadow: 0px 1px 1px 2px rgba(0, 0, 0, 0.04);
|
|
|
|
padding: 1ex 4ex;
|
|
|
|
left: 0;
|
|
|
|
top: 3ex;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
2018-09-22 18:12:22 +02:00
|
|
|
|
|
|
|
ul#id_weekdays {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
max-width: 42em;
|
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: inline-block;
|
|
|
|
width: 10em;
|
|
|
|
}
|
|
|
|
}
|