Projet

Général

Profil

0001-manager-add-white-space-between-day-columns-26130.patch

Frédéric Péters, 06 septembre 2018 08:52

Télécharger (2,27 ko)

Voir les différences:

Subject: [PATCH] manager: add white space between day columns (#26130)

 chrono/manager/static/css/style.scss                   | 10 ++++++----
 .../templates/chrono/manager_agenda_day_view.html      |  2 +-
 .../templates/chrono/manager_agenda_month_view.html    |  2 +-
 3 files changed, 8 insertions(+), 6 deletions(-)
chrono/manager/static/css/style.scss
91 91
	min-width: 24ex;
92 92
}
93 93

  
94
table.agenda-table {
95
	border-collapse: collapse;
96
}
97

  
98 94
.agenda-table thead th {
99 95
	width: 14vw;
100 96
	padding-bottom: 1ex;
......
139 135
	padding: 0 1ex;
140 136
	vertical-align: top;
141 137
	position: relative;
138
	border: 0;
139
}
140

  
141
.agenda-table.month-view tbody td {
142
	border: 5px solid white;
143
	border-width: 0 5px;
142 144
}
143 145

  
144 146
.agenda-table tbody tr td.other-month {
chrono/manager/templates/chrono/manager_agenda_day_view.html
36 36
{% for period, desk_infos in view.get_timetable_infos %}
37 37

  
38 38
{% if forloop.first %}
39
<table class="agenda-table hourspan-{{ hour_span }} desks-{{ desk_infos|length }} ">
39
<table class="agenda-table day-view hourspan-{{ hour_span }} desks-{{ desk_infos|length }} ">
40 40
  <thead>
41 41
    <tr>
42 42
      <td></td>
chrono/manager/templates/chrono/manager_agenda_month_view.html
33 33
{% block content %}
34 34
{% for week_days in view.get_timetable_infos %}
35 35
{% if forloop.first %}
36
<table class="agenda-table">
36
<table class="agenda-table month-view">
37 37
  <tbody>
38 38
{% endif %}
39 39
  <tr>
40
-