mango-ui-v2/styles/index.css

140 lines
3.4 KiB
CSS
Raw Normal View History

2021-04-12 06:32:01 -07:00
@tailwind base;
2021-04-11 14:25:01 -07:00
@tailwind components;
@tailwind utilities;
2021-04-12 06:32:01 -07:00
:root {
--primary: theme('colors.light-theme.orange');
2021-04-16 07:08:33 -07:00
--red: theme('colors.light-theme.red.DEFAULT');
--red-dark: theme('colors.light-theme.red.dark');
--green: theme('colors.light-theme.green.DEFAULT');
--green-dark: theme('colors.light-theme.green.dark');
2021-04-12 06:32:01 -07:00
--bkg-1: theme('colors.light-theme["bkg-1"]');
--bkg-2: theme('colors.light-theme["bkg-2"]');
--bkg-3: theme('colors.light-theme["bkg-3"]');
--fgd-1: theme('colors.light-theme["fgd-1"]');
--fgd-2: theme('colors.light-theme["fgd-2"]');
--fgd-3: theme('colors.light-theme["fgd-3"]');
--fgd-4: theme('colors.light-theme["fgd-4"]');
}
2021-04-13 07:10:57 -07:00
[data-theme='Dark'] {
2021-04-12 06:32:01 -07:00
--primary: theme('colors.dark-theme.orange');
2021-04-16 07:08:33 -07:00
--red: theme('colors.dark-theme.red.DEFAULT');
--red-dark: theme('colors.dark-theme.red.dark');
--green: theme('colors.dark-theme.green.DEFAULT');
--green-dark: theme('colors.dark-theme.green.dark');
2021-04-12 06:32:01 -07:00
--bkg-1: theme('colors.dark-theme["bkg-1"]');
--bkg-2: theme('colors.dark-theme["bkg-2"]');
--bkg-3: theme('colors.dark-theme["bkg-3"]');
--fgd-1: theme('colors.dark-theme["fgd-1"]');
--fgd-2: theme('colors.dark-theme["fgd-2"]');
--fgd-3: theme('colors.dark-theme["fgd-3"]');
--fgd-4: theme('colors.dark-theme["fgd-4"]');
}
2021-04-13 07:10:57 -07:00
[data-theme='Mango'] {
2021-04-12 06:32:01 -07:00
--primary: theme('colors.mango-theme.yellow');
2021-04-16 07:08:33 -07:00
--red: theme('colors.mango-theme.red.DEFAULT');
--red-dark: theme('colors.mango-theme.red.dark');
--green: theme('colors.mango-theme.green.DEFAULT');
--green-dark: theme('colors.mango-theme.green.dark');
2021-04-12 06:32:01 -07:00
--bkg-1: theme('colors.mango-theme["bkg-1"]');
--bkg-2: theme('colors.mango-theme["bkg-2"]');
--bkg-3: theme('colors.mango-theme["bkg-3"]');
--fgd-1: theme('colors.mango-theme["fgd-1"]');
--fgd-2: theme('colors.mango-theme["fgd-2"]');
--fgd-3: theme('colors.mango-theme["fgd-3"]');
--fgd-4: theme('colors.mango-theme["fgd-4"]');
}
2021-04-11 14:25:01 -07:00
2021-04-16 04:50:56 -07:00
body {
@apply text-sm font-body tracking-wide;
}
2021-04-11 14:25:01 -07:00
button {
transition: all 0.25s ease;
2021-04-16 04:50:56 -07:00
@apply font-semibold;
2021-04-11 14:25:01 -07:00
}
2021-04-18 03:34:37 -07:00
.default-transition {
@apply transition-all duration-300;
}
2021-04-02 11:26:21 -07:00
.TVChartContainer {
height: 100%;
width: 100%;
}
.tradingview-chart {
display: contents;
}
.react-grid-item.react-grid-placeholder {
2021-04-15 06:22:39 -07:00
background: var(--bkg-3);
opacity: 90%;
border-radius: 8px;
2021-04-02 11:26:21 -07:00
transition-duration: 100ms;
z-index: 2;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
2021-04-10 09:41:19 -07:00
2021-04-15 06:22:39 -07:00
.react-resizable-handle {
background-image: none;
z-index: 100;
}
.react-grid-item > .react-resizable-handle {
width: 24px;
height: 24px;
}
.react-grid-item > .react-resizable-handle::after {
content: '';
position: absolute;
right: 8px;
bottom: 0;
width: 8px;
height: 8px;
border-right: 3px solid var(--primary);
border-bottom: 3px solid var(--primary);
border-radius: 1px;
}
2021-04-10 14:12:15 -07:00
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
2021-04-14 23:16:36 -07:00
margin: 0;
2021-04-10 14:12:15 -07:00
}
input[type='number'] {
2021-04-14 23:16:36 -07:00
-moz-appearance: textfield;
2021-04-10 14:12:15 -07:00
}
2021-04-14 23:16:36 -07:00
.thin-scroll {
2021-04-16 04:50:56 -07:00
overflow: auto !important;
overflow-x: hidden !important;
2021-04-10 14:12:15 -07:00
}
2021-04-14 23:16:36 -07:00
.thin-scroll::-webkit-scrollbar {
width: 4px;
height: 8px;
background-color: var(--bkg-2);
2021-04-10 14:12:15 -07:00
}
2021-04-14 23:16:36 -07:00
.thin-scroll::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: var(--bkg-3);
2021-04-10 14:12:15 -07:00
}
2021-04-14 23:16:36 -07:00
.thin-scroll::-webkit-scrollbar-track {
background-color: inherit;
2021-04-10 14:12:15 -07:00
}
2021-04-14 23:16:36 -07:00
.thin-scroll::-webkit-scrollbar-corner {
background-color: var(--bkg-3);
2021-04-10 14:12:15 -07:00
}