diff --git a/src/assets/styles/defaults.css b/src/assets/styles/defaults.css index 15834d88..90e478c6 100644 --- a/src/assets/styles/defaults.css +++ b/src/assets/styles/defaults.css @@ -36,20 +36,3 @@ fieldset { dialog { margin: auto; } - -:popover-open { - position: absolute; - inset: unset; - margin: var(--w); - white-space: wrap; - border: 1px solid var(--border-default); - border-radius: var(--radius-sm); - box-shadow: var(--shadow-default); - padding: var(--w); - font-weight: normal; - text-transform: none; -} - -[popovertarget]:focus { - outline: solid 2px; -} diff --git a/src/assets/styles/utilities/placement.css b/src/assets/styles/utilities/placement.css index 23bceedc..003954a0 100644 --- a/src/assets/styles/utilities/placement.css +++ b/src/assets/styles/utilities/placement.css @@ -2,7 +2,3 @@ display: grid; place-items: center; } - -.pc-relative { - position: relative; -} diff --git a/src/assets/styles/utilities/text.css b/src/assets/styles/utilities/text.css index d366e7e7..04bde26b 100644 --- a/src/assets/styles/utilities/text.css +++ b/src/assets/styles/utilities/text.css @@ -5,3 +5,13 @@ .pc-bold { font-weight: bold; } + +.pc-text--default { + font-size: var(--font-size-default); + font-weight: normal; + text-transform: none; +} + +.pc-text--small { + font-size: var(--font-size-sm); +} diff --git a/src/templates/pages/leave_requests/overview/days_remaining_column_header.njk b/src/templates/pages/leave_requests/overview/days_remaining_column_header.njk index 462831e6..c3bc3a32 100644 --- a/src/templates/pages/leave_requests/overview/days_remaining_column_header.njk +++ b/src/templates/pages/leave_requests/overview/days_remaining_column_header.njk @@ -1,16 +1,5 @@ - - {{ 'leaves-overview-daysRemaining'|trans }} - - - - - -
- {{ 'leaves-overview-daysRemaining-explanation'|trans({ daysPerYear: daysPerYear }) }} -
+{{ 'leaves-overview-daysRemaining'|trans }} +
+ + ({{ 'leaves-overview-daysRemaining-explanation'|trans({ daysPerYear: daysPerYear }) }}) diff --git a/src/translations/fr-FR.ftl b/src/translations/fr-FR.ftl index 49294bdd..7c84077f 100644 --- a/src/translations/fr-FR.ftl +++ b/src/translations/fr-FR.ftl @@ -193,11 +193,11 @@ leaves-overview-daysRemaining-value = {$daysRemaining -> [1] 1 jour *[other] {$daysRemaining} jours } -leaves-overview-daysRemaining-explanation = Estimation sur une base de {$daysPerYear -> +leaves-overview-daysRemaining-explanation = {$daysPerYear -> [0] 0 [1] 1 jour *[other] {$daysPerYear} jours -} par an, hors congés exceptionnels +} par an, réinitialisé le 01/06, hors congés exceptionnels payroll-elements-title = Éléments de paie payroll-elements-page-title = Éléments de paie {DATETIME($date, month: "long", year: "numeric")}