manager: use full page width for agenda view (#21286)
This commit is contained in:
parent
42231c7af9
commit
2153bab43d
|
@ -87,18 +87,24 @@ a.timeperiod-exception-all {
|
|||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
$dayview-column-width: 14vw;
|
||||
|
||||
.dayview thead th {
|
||||
width: $dayview-column-width;
|
||||
width: 14vw;
|
||||
padding-bottom: 1ex;
|
||||
}
|
||||
|
||||
@for $i from 1 through 7 {
|
||||
.dayview .desks-#{$i} {
|
||||
width: 100%;
|
||||
thead th { width: (100%/$i)-1%; }
|
||||
}
|
||||
}
|
||||
|
||||
.dayview tbody th {
|
||||
box-sizing: border-box;
|
||||
text-align: left;
|
||||
padding: 1ex 2ex;
|
||||
vertical-align: top;
|
||||
width: 8ex;
|
||||
}
|
||||
|
||||
.dayview tbody tr:nth-child(2n+1) th,
|
||||
|
@ -131,12 +137,12 @@ $dayview-column-width: 14vw;
|
|||
background: #b1ea4d linear-gradient(135deg, #b1ea4d 0%, #459522 100%);
|
||||
opacity: 0.3;
|
||||
left: 0.5ex;
|
||||
width: calc(#{$dayview-column-width} - 1ex);
|
||||
width: calc(100% - 1ex);
|
||||
}
|
||||
&.booking {
|
||||
background: #eef linear-gradient(135deg, #eef 0%, #ddf 100%);
|
||||
box-shadow: 0 0 1px 0 #2d2dad;
|
||||
width: calc(#{$dayview-column-width} - 2ex);
|
||||
width: calc(100% - 2ex);
|
||||
border: 1px solid #aaa;
|
||||
z-index: 2;
|
||||
&:hover {
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
{% for period, desk_infos in view.get_timetable_infos %}
|
||||
|
||||
{% if forloop.first %}
|
||||
<table class="hourspan-{{ hour_span }}">
|
||||
<table class="hourspan-{{ hour_span }} desks-{{ desk_infos|length }} ">
|
||||
<thead>
|
||||
<tr>
|
||||
<td></td>
|
||||
|
|
Loading…
Reference in New Issue