|
| 1 | +@import "../../node_modules/@kleros/ui-components-library/dist/assets/theme.css"; |
| 2 | +@tailwind utilities; |
| 3 | +@source "../../node_modules/@kleros/ui-components-library"; |
| 4 | +@import "tailwindcss"; |
| 5 | +@custom-variant dark (&:where(.dark, .dark *)); |
| 6 | + |
| 7 | +@theme { |
| 8 | + --color-white: #ffffff; |
| 9 | + --color-white-73: #ffffffba; |
| 10 | + --color-black: #000000; |
| 11 | + --color-light-blue-65: #2a1260a6; |
| 12 | + --color-light-grey: #f0f0f0; |
| 13 | + --color-dark-purple: #220050; |
| 14 | + --color-violet-purple: #6a1dcd; |
| 15 | + --color-lavender-purple: #bb72ff; |
| 16 | + --color-pale-cyan: #acffff; |
| 17 | + --color-lime-green: #f3ffd9; |
| 18 | + --color-white-low-opacity-subtle: #ffffff0d; |
| 19 | + --color-white-low-opacity-strong: #ffffff26; |
| 20 | + --color-black-low-opacity: #00000080; |
| 21 | + --color-primary-text-73: color-mix(in srgb, var(--klerosUIComponentsPrimaryText) 73%, transparent); |
| 22 | + --color-skeleton-bg: #ebebeb; |
| 23 | + --color-skeleton-highlight: #f5f5f5; |
| 24 | + --max-width-landscape: 87.5rem; |
| 25 | + --shadow-custom: 0px 2px 3px rgba(0, 0, 0, 0.06); |
| 26 | + --leading-18px: 18px; |
| 27 | +} |
| 28 | + |
| 29 | +.dark { |
| 30 | + --color-skeleton-bg: #3a2270; |
| 31 | + --color-skeleton-highlight: #3e307c; |
| 32 | +} |
| 33 | + |
| 34 | +:root { |
| 35 | + --toastify-color-info: var(--klerosUIComponentsPrimaryBlue); |
| 36 | + --toastify-color-success: var(--klerosUIComponentsSuccess); |
| 37 | + --toastify-color-warning: var(--klerosUIComponentsWarning); |
| 38 | + --toastify-color-error: var(--klerosUIComponentsError); |
| 39 | +} |
| 40 | + |
| 41 | +.react-loading-skeleton { |
| 42 | + z-index: 0; |
| 43 | + --base-color: var(--color-skeleton-bg); |
| 44 | + --highlight-color: var(--color-skeleton-highlight); |
| 45 | +} |
| 46 | + |
| 47 | +body { |
| 48 | + font-family: "Open Sans", sans-serif; |
| 49 | + margin: 0; |
| 50 | + background-color: var(--klerosUIComponentsLightBlue); |
| 51 | +} |
| 52 | + |
| 53 | +html { |
| 54 | + box-sizing: border-box; |
| 55 | +} |
| 56 | + |
| 57 | +*, |
| 58 | +*:before, |
| 59 | +*:after { |
| 60 | + box-sizing: inherit; |
| 61 | +} |
| 62 | + |
| 63 | +h1 { |
| 64 | + font-weight: 600; |
| 65 | + font-size: 24px; |
| 66 | + line-height: 32px; |
| 67 | + color: var(--klerosUIComponentsPrimaryText); |
| 68 | +} |
| 69 | + |
| 70 | +label { |
| 71 | + font-weight: 400; |
| 72 | + font-size: 14px; |
| 73 | + line-height: 18px; |
| 74 | + color: var(--klerosUIComponentsSecondaryText); |
| 75 | +} |
| 76 | + |
| 77 | +a { |
| 78 | + font-weight: 400; |
| 79 | + font-size: 14px; |
| 80 | + text-decoration: none; |
| 81 | + color: var(--klerosUIComponentsPrimaryBlue); |
| 82 | +} |
| 83 | + |
| 84 | +hr { |
| 85 | + opacity: 1; |
| 86 | + border: 1px solid var(--klerosUIComponentsStroke); |
| 87 | +} |
| 88 | + |
| 89 | +.os-theme-dark { |
| 90 | + --os-handle-bg: var(--color-violet-purple); |
| 91 | + --os-handle-bg-hover: var(--klerosUIComponentsSecondaryPurple); |
| 92 | + --os-handle-bg-active: var(--color-lavender-purple); |
| 93 | +} |
| 94 | + |
| 95 | +.Toastify__toast-container.Toastify__toast-container { |
| 96 | + top: unset; |
| 97 | + padding-top: 20px; |
| 98 | +} |
| 99 | + |
| 100 | +/* @cyntler/react-doc-viewer injects a canvas to load pdf, this is alters the height of body tag, so set to hidden */ |
| 101 | +.hiddenCanvasElement { |
| 102 | + display: none; |
| 103 | +} |
| 104 | + |
| 105 | +/* Custom Scrollbar */ |
| 106 | +.custom-scrollbar::-webkit-scrollbar { |
| 107 | + width: 6px; |
| 108 | + height: 6px; |
| 109 | +} |
| 110 | + |
| 111 | +.custom-scrollbar::-webkit-scrollbar-track { |
| 112 | + background: transparent; |
| 113 | +} |
| 114 | + |
| 115 | +.custom-scrollbar::-webkit-scrollbar-thumb { |
| 116 | + background-color: var(--color-violet-purple); |
| 117 | + border-radius: 10px; |
| 118 | + transition: opacity 0.15s, background-color 0.15s, border-color 0.15s, width 0.15s; |
| 119 | +} |
| 120 | + |
| 121 | +.custom-scrollbar::-webkit-scrollbar-thumb:hover { |
| 122 | + background-color: var(--klerosUIComponentsSecondaryPurple); |
| 123 | +} |
| 124 | + |
| 125 | +.custom-scrollbar::-webkit-scrollbar-thumb:active { |
| 126 | + background-color: var(--color-lavender-purple); |
| 127 | +} |
| 128 | + |
| 129 | +.custom-scrollbar { |
| 130 | + scrollbar-width: thin; |
| 131 | + scrollbar-color: var(--color-violet-purple) transparent; |
| 132 | +} |
0 commit comments