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 ré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 ré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 créneaux horaires.</p> |
|
636 |
</td> |
|
637 |
<td><p><var>$button-background</var></p></td> |
|
638 |
</tr> |
|
639 |
<tr> |
|
640 |
<td><p><code>$timetable-cell-selected-color</code></p></td> |
|
641 |
<td><p>Couleur du texte du créneau horaire selectionné.</p> |
|
642 |
</td> |
|
643 |
<td><p><var>$timetable-cell-hover-color</var></p></td> |
|
644 |
</tr> |
|
645 |
<tr> |
|
646 |
<td><p><code>$timetable-cell-selected-background</code></p></td> |
|
647 |
<td><p>Couleur de fond du créneau horaire selectionné.</p> |
|
648 |
</td> |
|
649 |
<td><p><var>$timetable-cell-hover-background</var></p></td> |
|
650 |
</tr> |
|
621 | 651 |
</table> |
622 | 652 |
</section> |
623 | 653 |
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 |
$timetable-cell-selected-color: $timetable-cell-hover-color !default; |
|
20 |
$timetable-cell-selected-background: $timetable-cell-hover-background !default; |
|
21 | ||
15 | 22 |
@if $notification-style == border-bar { |
16 | 23 |
$notification-icon-size: 1.5rem !default; |
17 | 24 |
} @else { |
... | ... | |
723 | 730 |
} |
724 | 731 | |
725 | 732 |
span.timetable-cell.selectable { |
726 |
background: transparentize($button-background, 0.8);
|
|
733 |
background: $timetable-cell-background;
|
|
727 | 734 |
&:hover { |
728 |
background: $button-background;
|
|
729 |
color: $button-color;
|
|
735 |
background: $timetable-cell-hover-background;
|
|
736 |
color: $timetable-cell-hover-color;
|
|
730 | 737 |
box-shadow: 1px 0px 5px $button-background; |
731 | 738 |
} |
732 | 739 |
&.on { |
733 |
background: $button-background;
|
|
734 |
color: $button-color;
|
|
740 |
background: $timetable-cell-selected-background;
|
|
741 |
color: $timetable-cell-selected-color;
|
|
735 | 742 |
} |
736 | 743 |
} |
737 | 744 | |
738 |
- |