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

140 lines
3.2 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 {
2023-09-02 11:21:14 +03:00
@apply bg-gray-50;
2023-08-24 11:10:04 +03:00
}
.dark {
2023-09-02 11:21:14 +03:00
@apply text-zinc-200 bg-[#181818]
2023-08-24 11:10:04 +03:00
}
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
}
2023-08-27 15:39:49 +03:00
.text-btn {
@apply text-gray-600 dark:text-zinc-200 dark:disabled:text-zinc-400 disabled:text-gray-400
}
.clr-border {
2023-08-27 19:47:11 +03:00
@apply border-gray-300 dark:border-[#434343]
}
2023-08-16 18:56:48 +03:00
.clr-border-nav {
2023-08-27 19:47:11 +03:00
@apply border-gray-400 dark:border-[#434343]
2023-08-16 18:56:48 +03:00
}
.clr-app {
2023-08-27 19:47:11 +03:00
@apply bg-gray-50 dark:bg-[#181818]
}
.clr-bg-pop {
2023-08-27 19:47:11 +03:00
@apply bg-gray-100 dark:bg-[#272727] dark:border-[#434343]
}
2023-07-22 12:24:14 +03:00
.clr-modal {
2023-09-02 11:21:14 +03:00
@apply bg-gray-300 dark:bg-[#272727]
2023-07-22 12:24:14 +03:00
}
.clr-nav {
2023-08-27 19:47:11 +03:00
@apply border-gray-400 dark:border-[#434343] bg-white dark:bg-[#181818]
}
2023-08-08 23:04:21 +03:00
.clr-input {
2023-09-02 11:21:14 +03:00
@apply dark:bg-[#181818] bg-white disabled:bg-[#c6c6c6] dark:disabled:bg-[#181818]
2023-08-08 23:04:21 +03:00
}
.clr-footer {
2023-08-28 21:58:39 +03:00
@apply clr-app text-gray-600 border-gray-400 dark:border-[#434343] dark:text-[#aaaaaa]
}
2023-07-22 12:24:14 +03:00
.clr-card {
2023-09-02 11:21:14 +03:00
@apply bg-gray-50 dark:bg-[#272727]
2023-07-22 12:24:14 +03:00
}
.clr-tab {
2023-09-02 11:21:14 +03:00
@apply clr-border text-gray-700 dark:text-zinc-200 hover:bg-blue-200 dark:hover:bg-[#EA580C]
}
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
}
2023-08-26 19:39:49 +03:00
.clr-btn-nav {
@apply text-gray-500 hover:text-gray-900 dark:text-gray-200 dark:hover:text-white focus:ring-gray-300 dark:focus:ring-gray-400 hover:bg-gray-100 dark:hover:bg-gray-600
}
.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-09-02 11:21:14 +03:00
@apply bg-[#f0f2f7] hover:bg-gray-300 dark:bg-[#434343] dark:hover:bg-[#606060] text-btn
}
/* 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 {
2023-09-02 11:21:14 +03:00
@apply bg-white dark:bg-[#181818] 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 {
2023-08-26 19:39:49 +03:00
@apply hover:text-blue-600 text-blue-400 dark:text-orange-500 dark:hover:text-orange-300
}
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
}