You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
203 lines
4.7 KiB
203 lines
4.7 KiB
@import './styles/base.css'; |
|
@import './styles/publications.css'; |
|
@import './styles/visualize.css'; |
|
|
|
@layer components { |
|
/* General */ |
|
.leather { |
|
@apply bg-primary-0 dark:bg-primary-1000 text-gray-800 dark:text-gray-300; |
|
} |
|
|
|
.btn-leather.text-xs { |
|
@apply w-7 h-7; |
|
} |
|
|
|
.btn-leather.text-xs svg { |
|
@apply w-3 h-3; |
|
} |
|
|
|
.btn-leather.text-sm { |
|
@apply w-8 h-8; |
|
} |
|
|
|
.btn-leather.text-sm svg { |
|
@apply w-4 h-4; |
|
} |
|
|
|
div[role='tooltip'] button.btn-leather { |
|
@apply hover:text-primary-400 dark:hover:text-primary-500 hover:border-primary-400 dark:hover:border-primary-500 hover:bg-gray-200 dark:hover:bg-gray-700; |
|
} |
|
|
|
/* Card */ |
|
div.card-leather { |
|
@apply shadow-none text-primary-1000 border-s-4 bg-highlight border-primary-200 has-[:hover]:border-primary-700; |
|
@apply dark:bg-primary-1000 dark:border-primary-800 dark:has-[:hover]:border-primary-500; |
|
} |
|
|
|
div.card-leather h1, |
|
div.card-leather h2, |
|
div.card-leather h3, |
|
div.card-leather h4, |
|
div.card-leather h5, |
|
div.card-leather h6 { |
|
@apply text-gray-800 hover:text-primary-400 dark:text-gray-300 dark:hover:text-primary-500; |
|
} |
|
|
|
/* Content */ |
|
main { |
|
@apply max-w-full; |
|
} |
|
|
|
main.main-leather, |
|
article.article-leather { |
|
@apply bg-primary-0 dark:bg-primary-1000 text-gray-800 dark:text-gray-300; |
|
} |
|
|
|
div.note-leather, |
|
p.note-leather, |
|
section.note-leather { |
|
@apply bg-primary-0 dark:bg-primary-1000 text-gray-800 dark:text-gray-300 p-2 rounded; |
|
} |
|
|
|
div.note-leather:hover:not(:has(.note-leather:hover)), |
|
p.note-leather:hover:not(:has(.note-leather:hover)), |
|
section.note-leather:hover:not(:has(.note-leather:hover)) { |
|
@apply hover:bg-primary-100 dark:hover:bg-primary-800; |
|
} |
|
|
|
/* Heading */ |
|
h1.h-leather, |
|
h2.h-leather, |
|
h3.h-leather, |
|
h4.h-leather, |
|
h5.h-leather, |
|
h6.h-leather { |
|
@apply text-gray-800 dark:text-gray-300; |
|
} |
|
|
|
h1.h-leather { |
|
@apply text-4xl font-bold; |
|
} |
|
|
|
h2.h-leather { |
|
@apply text-3xl font-bold; |
|
} |
|
|
|
h3.h-leather { |
|
@apply text-2xl font-bold; |
|
} |
|
|
|
h4.h-leather { |
|
@apply text-xl font-bold; |
|
} |
|
|
|
h5.h-leather { |
|
@apply text-lg font-semibold; |
|
} |
|
|
|
h6.h-leather { |
|
@apply text-base font-semibold; |
|
} |
|
|
|
/* Modal */ |
|
div.modal-leather > div { |
|
@apply bg-primary-0 dark:bg-primary-1000 border-b-[1px] border-gray-800 dark:border-gray-500; |
|
} |
|
|
|
div.modal-leather > div > h1, |
|
div.modal-leather > div > h2, |
|
div.modal-leather > div > h3, |
|
div.modal-leather > div > h4, |
|
div.modal-leather > div > h5, |
|
div.modal-leather > div > h6 { |
|
@apply text-gray-800 hover:text-gray-800 dark:text-gray-300 dark:hover:text-gray-300; |
|
} |
|
|
|
div.modal-leather button { |
|
@apply bg-primary-0 hover:bg-primary-0 dark:bg-primary-1000 dark:hover:bg-primary-1000 text-gray-800 hover:text-primary-400 dark:text-gray-300 dark:hover:text-primary-500; |
|
} |
|
|
|
/* Navbar */ |
|
nav.navbar-leather { |
|
@apply bg-primary-0 dark:bg-primary-1000 z-10; |
|
} |
|
|
|
nav.navbar-leather svg { |
|
@apply fill-gray-800 hover:fill-primary-400 dark:fill-gray-300 dark:hover:fill-primary-500; |
|
} |
|
|
|
nav.navbar-leather h1, |
|
nav.navbar-leather h2, |
|
nav.navbar-leather h3, |
|
nav.navbar-leather h4, |
|
nav.navbar-leather h5, |
|
nav.navbar-leather h6 { |
|
@apply text-gray-800 hover:text-primary-400 dark:text-gray-300 dark:hover:text-primary-500; |
|
} |
|
|
|
/* Sidebar */ |
|
aside.sidebar-leather > div { |
|
@apply bg-gray-100 dark:bg-gray-900; |
|
} |
|
|
|
a.sidebar-item-leather { |
|
@apply hover:bg-primary-100 dark:hover:bg-primary-800; |
|
} |
|
|
|
/* Skeleton */ |
|
div.skeleton-leather div { |
|
@apply bg-gray-400 dark:bg-gray-600; |
|
} |
|
|
|
/* Textarea */ |
|
div.textarea-leather { |
|
@apply bg-gray-200 dark:bg-gray-800 border-gray-400 dark:border-gray-600; |
|
} |
|
|
|
div.textarea-leather > div:nth-child(1), |
|
div.toolbar-leather { |
|
@apply border-none; |
|
} |
|
|
|
div.textarea-leather > div:nth-child(2) { |
|
@apply bg-gray-100 dark:bg-gray-900; |
|
} |
|
|
|
div.textarea-leather, |
|
div.textarea-leather textarea { |
|
@apply text-gray-800 dark:text-gray-300; |
|
} |
|
|
|
/* Tooltip */ |
|
div.tooltip-leather { |
|
@apply text-gray-800 dark:text-gray-300; |
|
} |
|
|
|
div[role='tooltip'] button.btn-leather .tooltip-leather { |
|
@apply bg-gray-200 dark:bg-gray-700; |
|
} |
|
|
|
/* Unordered list */ |
|
.ul-leather li a { |
|
@apply text-gray-800 hover:text-primary-400 dark:text-gray-300 dark:hover:text-primary-500; |
|
} |
|
.network-link-leather { |
|
@apply stroke-gray-400 fill-gray-400; |
|
} |
|
.network-node-leather { |
|
@apply stroke-gray-800; |
|
} |
|
.network-node-content { |
|
@apply fill-[#d6c1a8]; |
|
} |
|
} |
|
|
|
@layer components { |
|
.leather-legend { |
|
@apply flex-shrink-0 p-4 bg-primary-0 dark:bg-primary-1000 rounded-lg shadow |
|
border border-gray-200 dark:border-gray-800; |
|
} |
|
.tooltip-leather { |
|
@apply bg-primary-0 dark:bg-primary-1000 text-gray-800 dark:text-gray-300; |
|
} |
|
}
|
|
|