0001-scss-add-common-agenda-tables-styles-26003.patch
chrono/manager/static/css/style.scss | ||
---|---|---|
91 | 91 |
min-width: 24ex; |
92 | 92 |
} |
93 | 93 | |
94 |
.dayview table {
|
|
94 |
table.agenda-table {
|
|
95 | 95 |
border-collapse: collapse; |
96 | 96 |
} |
97 | 97 | |
98 |
.dayview thead th {
|
|
98 |
.agenda-table thead th {
|
|
99 | 99 |
width: 14vw; |
100 | 100 |
padding-bottom: 1ex; |
101 | 101 |
} |
102 | 102 | |
103 | 103 |
@for $i from 1 through 7 { |
104 |
.dayview .desks-#{$i} {
|
|
104 |
.agenda-table.desks-#{$i} {
|
|
105 | 105 |
width: 100%; |
106 | 106 |
thead th { width: (100%/$i)-1%; } |
107 | 107 |
} |
108 | 108 |
} |
109 | 109 | |
110 |
.dayview tbody th {
|
|
110 |
.agenda-table tbody th {
|
|
111 | 111 |
box-sizing: border-box; |
112 | 112 |
text-align: left; |
113 | 113 |
padding: 1ex 2ex; |
... | ... | |
115 | 115 |
width: 8ex; |
116 | 116 |
} |
117 | 117 | |
118 |
.dayview tbody tr:nth-child(2n+1) th,
|
|
119 |
.dayview tbody tr:nth-child(2n+1) td {
|
|
118 |
.agenda-table tbody tr:nth-child(2n+1) th,
|
|
119 |
.agenda-table tbody tr:nth-child(2n+1) td {
|
|
120 | 120 |
background: #f0f0f0; |
121 | 121 |
@media print { |
122 | 122 |
border-top: 1px solid #aaa; |
123 | 123 |
} |
124 | 124 |
} |
125 | 125 | |
126 |
.dayview tbody td {
|
|
126 |
.agenda-table tbody td {
|
|
127 | 127 |
padding: 0 1ex; |
128 | 128 |
vertical-align: top; |
129 | 129 |
position: relative; |
... | ... | |
135 | 135 |
} |
136 | 136 |
} |
137 | 137 | |
138 |
.dayview tbody td div {
|
|
138 |
.agenda-table tbody td div {
|
|
139 | 139 |
box-sizing: border-box; |
140 | 140 |
padding: 1ex; |
141 | 141 |
position: absolute; |
142 |
- |