Projet

Général

Profil

Development #41162

avoir des modes/raccourcis tout fait pour le rendu des étapes

Ajouté par Frédéric Péters il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Nouveau
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
30 mars 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

Je me suis dit que j'allais mettre $wcs-step-marker-type: disc tied; et que ce serait bien et ce n'était pas bien (cf capture). Pour avoir un rendu correct j'ai du regarder une autre intégration et copier/coller/adapter toute une série de paramètres, pour arriver à :

$wcs-steps-spacing: 0.7rem;
$wcs-step-border-bottom: none;
$wcs-step-marker-type: disc tied;
$wcs-step-marker-tie-width: 3px;
$wcs-step-marker-tie-color: $primary-color;
$wcs-step-marker-background: #eee;
$wcs-step-current-marker-color: black;
$wcs-step-current-marker-background: $primary-color;

Je me disais du coup qu'il y aurait bénéfice à avoir une variable plus générale, genre $wcs-step-mode: discs; qui pose un paramétrage adéquat, libre après à ajuster dans _vars.scss des bouts qui déplairaient.


Fichiers

steps.png (2,65 ko) steps.png Frédéric Péters, 30 mars 2020 12:09

Historique

#1

Mis à jour par Thomas Jund (congés, retour le 29/04) il y a environ 4 ans

Bonne idée.
cela éviterait de devoir systématiquement paramétrer certaines variables.

Formats disponibles : Atom PDF