ghost-dao-interface/src/style.scss
2025-12-15 15:58:37 +03:00

176 lines
3.5 KiB
SCSS

* {
outline: none;
-ms-overflow-style: none !important; /* IE and Edge */
scrollbar-width: none !important; /* Firefox */
&::-webkit-scrollbar {
display: none !important;
}
}
html,
body,
#root {
font-family: "Ubuntu";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
--ghst-gold: #f8cc82;
--ghst-card-border-radius: 10px;
--light-paper-bg: linear-gradient(65.7deg, #f5f5f5 8.35%, #ffffff 100%);
--dark-paper-bg: linear-gradient(237.43deg, #2b313d -12.81%, #171a20 132.72%);
}
body {
margin: 0;
box-sizing: border-box;
}
.app {
height: 100%;
width: 100vw;
display: flex;
flex-flow: column;
flex-direction: column;
z-index: 1;
background-size: cover;
font-family: "Ubuntu";
transition: all ease 0.33ms;
}
.MuiDrawer-paperAnchorDockedLeft {
border-right: 0 !important;
}
.recharts-wrapper {
position: absolute;
}
#choose-bond-view {
.bond-data-card {
.data-row {
display: flex;
justify-content: space-between;
flex-direction: row;
margin: 12px 0px;
}
.data-row-centered {
display: flex;
justify-content: center;
flex-flow: row wrap;
margin: 12px 0px;
.marginedBtn {
margin: 0.3rem;
}
}
}
}
.ghst-card {
max-width: 900px;
.card-header {
width: 100%;
min-height: 33px;
margin-bottom: 10px;
h5 {
font-weight: 600 !important;
}
}
.help-text {
margin: 10px 0px;
}
.data-row {
display: flex;
justify-content: space-between;
flex-direction: row;
margin: 12px 0px;
}
.data-row-centered {
display: flex;
justify-content: center;
flex-flow: row wrap;
margin: 12px 0px;
.marginedBtn {
margin: 0.3rem;
}
}
}
.ghst-pairs {
display: flex;
align-items: center;
}
.ghost-canvas {
position: absolute;
width: 100vw;
height: 100vh;
top: 0;
opacity: 0.1;
z-index: -10;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none !important;
}
input[type="number"] {
-moz-appearance: textfield !important;
}
a:hover svg {
color: inherit;
}
.tooltip {
z-index: 9999999;
}
.custom-scrollbar {
overflow: auto;
max-height: 400px;
/* For Chrome, Safari, Edge */
&::-webkit-scrollbar {
width: 8px;
height: 8px;
}
&::-webkit-scrollbar-track {
background: transparent; /* Hide track */
}
&::-webkit-scrollbar-thumb {
background: #888; /* Only visible part */
border-radius: 4px;
}
&::-webkit-scrollbar-thumb:hover {
background: #fff;
}
/* This definitely hides arrows in Chrome/Safari/Edge */
&::-webkit-scrollbar-button {
display: none; /* ← THIS WORKS */
}
&::-webkit-scrollbar-corner {
background: transparent; /* Hide corner */
}
/* For Firefox */
scrollbar-width: thin; /* auto | thin | none */
scrollbar-color: #fff transparent; /* thumb track */
}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0 1000px transparent inset !important;
box-shadow: 0 0 0 1000px transparent inset !important;
transition: background-color 5000s ease-in-out 0s;
color: #ffffff !important;
-webkit-text-fill-color: #ffffff !important;
}