diff --git a/resources/css/pages/single-questions-(taxonomy-term).css b/resources/css/pages/single-questions-(taxonomy-term).css deleted file mode 100644 index e088516..0000000 --- a/resources/css/pages/single-questions-(taxonomy-term).css +++ /dev/null @@ -1,87 +0,0 @@ -.post-question-page-container { - @apply px-8; - - .section_titling { - &__title { - @apply text-secondary; - } - } - .publications-grid__title { - @apply text-left text-neutral-900; - } -} -.question-context { - @apply pt-12 pb-4; - &__title { - @apply text-xs font-semibold uppercase tracking-wide !my-0 text-neutral-600; - } - &__conseil-name { - @apply font-bold; - } -} - -.post-question-page { - .thematiques-subtaxonomy-links { - @apply pb-12; - ul { - @apply flex flex-wrap gap-2; - - .cta--button { - @apply px-4 py-2; - } - .cta--button:not([aria-current='location']) { - /* filter: grayscale(1) opacity(0.8); */ - @apply text-gray-dark border-gray-dark; - } - } - } - - ul.checkboxes { - list-style: none; - margin: 0; - padding: 0; - padding-left: 1em; - } - - ul.checkboxes li { - list-style: none; - margin: 1px; - padding: 0; - } - - /* - [role='checkbox'] { - display: inline-block; - padding: 4px 8px; - cursor: pointer; - } - - [role='checkbox']::before { - position: relative; - top: 1px; - left: -4px; - content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='16' width='16' style='forced-color-adjust: auto;'%3E%3Crect x='2' y='2' height='13' width='13' rx='2' stroke='currentcolor' stroke-width='1' fill-opacity='0' /%3E%3C/svg%3E"); - } - - [role='checkbox'][aria-checked='true']::before { - position: relative; - top: 1px; - content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='16' width='16' style='forced-color-adjust: auto;'%3E%3Crect x='2' y='2' height='13' width='13' rx='2' stroke='currentcolor' stroke-width='1' fill-opacity='0' /%3E%3Cpolyline points='4,8 7,12 12,5' fill='none' stroke='currentcolor' stroke-width='2' /%3E%3C/svg%3E"); - } - - [role='checkbox']:focus, - [role='checkbox']:hover { - padding: 2px 6px; - border: 2px solid #005a9c; - border-radius: 5px; - background-color: #def; - } - - [role='checkbox']:hover { - cursor: pointer; - } */ - - &__accordeons-container { - @apply max-w-screen-lg mx-auto px-4 py-12; - } -} diff --git a/resources/css/pages/taxonomy-questions-(faq-per-taxonomy-term).css b/resources/css/pages/taxonomy-questions-(faq-per-taxonomy-term).css new file mode 100644 index 0000000..0bddb78 --- /dev/null +++ b/resources/css/pages/taxonomy-questions-(faq-per-taxonomy-term).css @@ -0,0 +1,61 @@ +.post-question-page-container { + @apply px-8; + @apply container mx-auto; + + .section_titling { + &__title { + @apply text-secondary; + } + } + .publications-grid__title { + @apply text-left text-neutral-900; + } +} +.question-context { + @apply pt-12 pb-4; + &__title { + @apply text-xs font-semibold uppercase tracking-wide !my-0 text-neutral-600; + } + &__conseil-name { + @apply font-bold; + } +} + +.post-question-page { + .thematiques-subtaxonomy-links { + @apply pb-12; + ul { + @apply flex flex-wrap gap-2; + + .cta--button { + @apply px-4 py-2; + } + .cta--button:not([aria-current='location']) { + /* filter: grayscale(1) opacity(0.8); */ + @apply text-gray-dark border-gray-dark; + } + } + } + + ul.checkboxes { + list-style: none; + margin: 0; + padding: 0; + padding-left: 1em; + } + + ul.checkboxes li { + list-style: none; + margin: 1px; + padding: 0; + } + + &__accordeons-container { + @apply max-w-screen-lg mx-auto px-4 pt-4 pb-12; + } +} + +.filters-no-results { + @apply bg-secondary-light text-secondary text-center p-6 rounded-lg mb-16 font-semibold; + background: rgba(255, 243, 242, 0.5); +}