0001-misc-make-timetable-cells-colors-customizable-63622.patch
help/fr/misc-scss.page | ||
---|---|---|
618 | 618 |
</td> |
619 | 619 |
<td><p><var>null</var></p></td> |
620 | 620 |
</tr> |
621 |
<tr> |
|
622 |
<td><p><code>$timetable-cell-background</code></p></td> |
|
623 |
<td><p>Couleur de fond des cellules afficheant les créneaux horaires.</p> |
|
624 |
</td> |
|
625 |
<td><p><var>transparentize($button-background, 0.8)</var></p></td> |
|
626 |
</tr> |
|
627 |
<tr> |
|
628 |
<td><p><code>$timetable-cell-hover-color</code></p></td> |
|
629 |
<td><p>Couleur du texte au survol des cellules afficheant les créneaux horaires.</p> |
|
630 |
</td> |
|
631 |
<td><p><var>$button-color</var></p></td> |
|
632 |
</tr> |
|
633 |
<tr> |
|
634 |
<td><p><code>$timetable-cell-hover-background</code></p></td> |
|
635 |
<td><p>Couleur de fond au survol des cellules afficheant les créneaux horaires.</p> |
|
636 |
</td> |
|
637 |
<td><p><var>$button-background</var></p></td> |
|
638 |
</tr> |
|
621 | 639 |
</table> |
622 | 640 |
</section> |
623 | 641 |
static/includes/_misc.scss | ||
---|---|---|
12 | 12 |
$notification-style: classic !default; |
13 | 13 | |
14 | 14 |
$notification-icon-size: null !default; |
15 | ||
16 |
$timetable-cell-background: transparentize($button-background, 0.8) !default; |
|
17 |
$timetable-cell-hover-color: $button-color !default; |
|
18 |
$timetable-cell-hover-background: $button-background !default; |
|
19 | ||
15 | 20 |
@if $notification-style == border-bar { |
16 | 21 |
$notification-icon-size: 1.5rem !default; |
17 | 22 |
} @else { |
... | ... | |
723 | 728 |
} |
724 | 729 | |
725 | 730 |
span.timetable-cell.selectable { |
726 |
background: transparentize($button-background, 0.8);
|
|
731 |
background: $timetable-cell-background;
|
|
727 | 732 |
&:hover { |
728 |
background: $button-background;
|
|
729 |
color: $button-color;
|
|
733 |
background: $timetable-cell-hover-background;
|
|
734 |
color: $timetable-cell-hover-color;
|
|
730 | 735 |
box-shadow: 1px 0px 5px $button-background; |
731 | 736 |
} |
732 | 737 |
&.on { |
733 |
background: $button-background;
|
|
734 |
color: $button-color;
|
|
738 |
background: $timetable-cell-hover-background;
|
|
739 |
color: $timetable-cell-hover-color;
|
|
735 | 740 |
} |
736 | 741 |
} |
737 | 742 | |
738 |
- |