chill_hugoplate/assets/scss/module-overrides.scss

87 lines
1.9 KiB
SCSS
Raw Normal View History

2023-05-25 10:41:54 +00:00
// table of contents
.table-of-content {
@apply overflow-hidden rounded;
}
2023-05-29 10:04:51 +00:00
// share icons
.share-icons {
.share-link {
@apply h-9 w-9 rounded leading-9;
@apply bg-primary hover:bg-primary dark:bg-darkmode-primary dark:hover:bg-darkmode-primary;
}
.share-icon svg {
@apply dark:fill-dark;
}
}
2023-05-25 10:41:54 +00:00
// tab
.tab {
@apply border-border dark:border-darkmode-border overflow-hidden rounded-lg border;
&-nav {
@apply border-border bg-theme-light dark:border-darkmode-border dark:bg-darkmode-theme-light pl-4;
&-item {
@apply text-dark dark:text-darkmode-dark px-8 text-lg #{!important};
&.active {
@apply border-dark dark:border-darkmode-primary;
}
}
}
&-content {
&-panel {
@apply px-4 pt-0 #{!important};
}
}
}
// accordion
.accordion {
@apply border-border bg-theme-light dark:border-darkmode-border dark:bg-darkmode-theme-light mb-6 overflow-hidden rounded-lg border;
&-header {
@apply text-dark dark:text-darkmode-dark;
}
}
// cookie consent
.cookie-box {
@apply rounded-lg #{!important};
}
// search
.search-wrapper {
.search-wrapper-content {
@apply dark:bg-darkmode-body;
}
input {
@apply dark:bg-darkmode-theme-light dark:text-darkmode-text dark:border-darkmode-border dark:focus:border-darkmode-primary focus:ring-0;
}
kbd {
@apply dark:bg-darkmode-theme-light;
}
.search-wrapper-body {
@apply dark:bg-darkmode-theme-light dark:shadow-none;
}
2023-05-29 10:18:54 +00:00
&.search-page {
.search-wrapper-body {
@apply dark:bg-transparent;
}
}
.search-result-info em {
@apply dark:text-white;
}
2023-05-25 10:41:54 +00:00
.search-result-item {
2023-05-28 02:45:19 +00:00
@apply dark:bg-darkmode-body dark:border-darkmode-border p-4;
2023-05-25 10:41:54 +00:00
.search-title {
@apply dark:text-darkmode-dark;
}
u {
@apply dark:text-darkmode-primary;
}
2023-05-29 10:18:54 +00:00
&:focus,
&[aria-selected="true"],
&:hover {
@apply dark:bg-darkmode-primary/10;
}
2023-05-25 10:41:54 +00:00
}
}