-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#326 - Abonnement au calendrier Robert2 depuis application de calendr…
…ier externe (#330) * Sécurise la route d'update des settings * Ajoute les nouvelles clés de configuration liées au calendrier public * Corrige l'URL de création d'un utilisateur par les admins * Refactoring * Supprime le support de PHP < 7.4 (#327) * Ajout de l'action de controller liée au calendrier public * Début de l'ajout de la section "Abonnement externe au calendrier" dans les paramètres du calendrier * Ajoute le formatage des données du calendrier public * Ajoute la possibilité de reset une des configurations de l'application * Améliore le style de la page des paramètres * Affiche l'URL du calendrier public si les données sont persistées côté serveur * Remplace les modules lodash par lodash lui-même (les modules sont obsolètes) * Améliore le component `<Button>` * Ajoute la possibilité de regénerer l'URL du calendrier public en cas de fuite * Ajoute un `input[type=copy]` permettant de facilement copier l'URL du calendrier public * Met à jour le CHANGELOG * Corrections suite au CI * Corrige certaines typos / formulations * Supprime les codes retour explicites dans le `SettingController` * Corrige un test unitaire
- Loading branch information
Showing
57 changed files
with
1,580 additions
and
623 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,58 @@ | ||
@use '~@/style/globals'; | ||
@use 'sass:color'; | ||
|
||
/// Marge entre l'icône et le texte des boutons (quand il y en a une, d'icône) | ||
/// @type Number | ||
$icon-margin: 0.3571rem !default; | ||
|
||
// | ||
// - Default variant | ||
// | ||
|
||
$default-color: globals.$color-base-button !default; | ||
$default-background: globals.$bg-color-button-default !default; | ||
|
||
$default-focused-color: color.adjust(globals.$bg-color-button-default, $lightness: 8%) !default; | ||
$default-focused-background: globals.$color-hover-button !default; | ||
|
||
$default-active-color: color.adjust(globals.$bg-color-button-default, $lightness: -8%) !default; | ||
$default-active-background: globals.$color-active-button !default; | ||
|
||
// | ||
// - Success variant | ||
// | ||
|
||
$success-variant-color: #fff !default; | ||
$success-variant-background: globals.$bg-color-button-success !default; | ||
|
||
$success-variant-focused-color: $success-variant-color !default; | ||
$success-variant-focused-background: color.adjust(globals.$bg-color-button-success, $lightness: 5%) !default; | ||
|
||
$success-variant-active-color: globals.$color-active-button !default; | ||
$success-variant-active-background: color.adjust(globals.$bg-color-button-success, $lightness: -5%) !default; | ||
|
||
// | ||
// - Warning variant | ||
// | ||
|
||
$warning-variant-color: #fff !default; | ||
$warning-variant-background: #be692d !default; | ||
|
||
$warning-variant-focused-color: $warning-variant-color !default; | ||
$warning-variant-focused-background: color.adjust(#be692d, $lightness: 8%) !default; | ||
|
||
$warning-variant-active-color: globals.$color-active-button !default; | ||
$warning-variant-active-background: color.adjust(#be692d, $lightness: 8%) !default; | ||
|
||
// | ||
// - Danger variant | ||
// | ||
|
||
$danger-variant-color: #fff !default; | ||
$danger-variant-background: globals.$bg-color-button-danger !default; | ||
|
||
$danger-variant-focused-color: $danger-variant-color !default; | ||
$danger-variant-focused-background: color.adjust(globals.$bg-color-button-danger, $lightness: 8%) !default; | ||
|
||
$danger-variant-active-color: globals.$color-active-button !default; | ||
$danger-variant-active-background: color.adjust(globals.$bg-color-button-danger, $lightness: -8%) !default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.