ConceptPortal-public/rsconcept/frontend/src/index.css

132 lines
2.9 KiB
CSS
Raw Normal View History

2023-07-15 17:46:19 +03:00
@tailwind base;
@tailwind components;
@tailwind utilities;
.rdt_TableCell{
font-size: 0.875rem;
2023-07-15 17:46:19 +03:00
}
2023-07-20 17:11:03 +03:00
[data-color-scheme="dark"] {
color-scheme: dark;
}
[data-color-scheme="light"] {
color-scheme: light;
}
2023-08-11 10:54:53 +03:00
.react-dropdown-select-item {
@apply bg-gray-100 dark:bg-gray-600 dark:text-zinc-200 hover:bg-gray-50 hover:text-gray-700 dark:hover:text-white dark:hover:bg-gray-500
}
2023-08-11 10:54:53 +03:00
.cm-editor {
2023-08-13 00:57:31 +03:00
@apply border shadow rounded clr-border px-1
2023-08-11 10:54:53 +03:00
}
.cm-editor.cm-focused {
@apply border shadow rounded outline-2 outline
}
2023-07-15 17:46:19 +03:00
@layer components {
2023-08-24 11:10:04 +03:00
:root {
@apply bg-gray-50
}
.dark {
@apply text-zinc-200 bg-gray-800
}
2023-07-30 16:48:25 +03:00
h1 {
@apply text-lg font-bold text-center
}
2023-07-15 17:46:19 +03:00
.border {
@apply clr-border rounded
2023-07-15 17:46:19 +03:00
}
.clr-border {
@apply border-gray-300 dark:border-gray-400
}
2023-08-16 18:56:48 +03:00
.clr-border-nav {
@apply border-gray-400 dark:border-gray-300
}
.clr-app {
@apply bg-gray-50 dark:bg-gray-800
}
.clr-bg-pop {
@apply bg-gray-100 dark:bg-gray-600
}
2023-07-22 12:24:14 +03:00
.clr-modal {
@apply bg-gray-300 dark:bg-gray-800
}
.clr-nav {
2023-08-16 18:56:48 +03:00
@apply border-gray-400 dark:border-gray-300 bg-white dark:bg-gray-900
}
2023-08-08 23:04:21 +03:00
.clr-input {
@apply dark:bg-[#070b12] bg-white disabled:bg-[#f0f2f7] dark:disabled:bg-gray-700
2023-08-08 23:04:21 +03:00
}
.clr-footer {
2023-08-24 11:10:04 +03:00
@apply clr-app text-gray-600 border-gray-400 dark:border-gray-300 dark:text-gray-300
}
2023-07-22 12:24:14 +03:00
.clr-card {
@apply bg-gray-50 dark:bg-gray-600
}
.clr-tab {
2023-07-30 00:47:07 +03:00
@apply clr-border text-gray-600 dark:text-zinc-200 hover:bg-gray-300 dark:hover:bg-gray-400
}
2023-07-21 00:09:05 +03:00
.clr-hover {
2023-08-22 23:45:59 +03:00
@apply hover:bg-gray-200 hover:text-gray-700 dark:hover:text-white dark:hover:bg-gray-500
2023-07-21 00:09:05 +03:00
}
.clr-btn-primary {
2023-08-08 23:04:21 +03:00
@apply text-white bg-blue-400 hover:bg-blue-600 dark:bg-orange-600 dark:hover:bg-orange-400 disabled:bg-gray-400 dark:disabled:bg-gray-600
}
2023-08-16 17:54:59 +03:00
.clr-btn-green {
@apply text-white bg-green-400 hover:bg-green-600 dark:bg-green-600 dark:hover:bg-green-400 dark:text-black disabled:bg-gray-400 dark:disabled:bg-gray-600
}
.clr-btn-blue {
@apply text-white bg-blue-400 hover:bg-blue-600 dark:bg-blue-600 dark:hover:bg-blue-400 dark:text-black disabled:bg-gray-400 dark:disabled:bg-gray-600
}
.clr-btn-default {
2023-08-08 23:04:21 +03:00
@apply text-gray-600 dark:text-zinc-200 dark:disabled:text-zinc-400 disabled:text-gray-400 bg-[#f0f2f7] hover:bg-gray-300 dark:bg-gray-600 dark:hover:bg-gray-400
}
/* Transparent button */
.clr-btn-clear {
2023-08-22 23:45:59 +03:00
@apply dark:disabled:text-zinc-400 disabled:text-gray-400 text-gray-500 dark:text-zinc-200
}
.clr-checkbox {
@apply bg-white dark:bg-gray-900 checked:bg-blue-700 dark:checked:bg-orange-500
}
2023-08-26 17:26:49 +03:00
.clr-input-red {
@apply bg-red-300 dark:bg-red-700
}
2023-08-16 18:56:48 +03:00
.text-url {
@apply hover:text-blue-600 text-blue-400 dark:text-orange-600 dark:hover:text-orange-400
}
2023-07-20 17:11:03 +03:00
.text-red {
2023-07-29 03:31:21 +03:00
@apply text-red-600 dark:text-red-400
2023-07-20 17:11:03 +03:00
}
.text-green {
@apply text-green-400 dark:text-green-500
}
.text-primary {
@apply text-blue-600 dark:text-orange-400
}
2023-07-15 17:46:19 +03:00
}