Files
myep-team/assets/styles/_components.css
T

44 lines
1.4 KiB
CSS

@import "./components/badge.css";
@import "./components/autocomplete.css";
@import "./components/button.css";
@import "./components/datatable.css";
@import "./components/datepicker.css";
@import "./components/toast.css";
@import "./components/tooltip.css";
@import "./components/timeline.css";
@import "./components/mail-body.css";
@import "./components/questionnaire.css";
/* the entries of the header's account menu (_partials/_user_menu.html.twig) */
.user-menu-item {
@apply flex items-center gap-x-3 px-4 py-2 text-ink no-underline hover:bg-page hover:text-brand;
}
/* white box on the light blue page, as the card of the apps portal (EP/apps frontend/components/ui.ts) */
.card {
@apply border border-line bg-white;
}
/* heading of a section or card */
.section-title {
@apply text-base font-semibold uppercase tracking-wide text-brand;
}
/*
* A row of tabs (_partials/_tabs.html.twig, the questionnaire list). The row scrolls sideways on
* narrow screens, which makes it a vertical scroll container too, so nothing may stick out below
* it: the base line is an inset shadow the tabs' underline paints over, not a border they would
* have to overlap with a negative margin.
*/
.tabs {
@apply flex overflow-x-auto shadow-[inset_0_-1px_0_var(--color-line)];
}
.tab {
@apply shrink-0 whitespace-nowrap border-b-4 border-transparent px-3 py-2 text-sm text-ink hover:text-brand;
}
.tab--current {
@apply border-brand-bright font-bold text-brand;
}