File size: 7,832 Bytes
351f851 ebbfe55 351f851 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 |
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Fira Code', monospace;
background-color: #20232A;
color: #ABB2BF;
}
.doge-bg {
background: #20232A;
}
.doge-text {
color: #61AFEF;
}
.terminal-bg {
background-color: #282C34;
border: 1px solid #3E4451;
}
.chart-container {
background-color: #282C34;
border-radius: 0.5rem;
border: 1px solid #3E4451;
}
.tab-active {
border-bottom: 2px solid #e45392;
color: #ff1f6d;
}
.orderbook-bid {
/* background: linear-gradient(90deg, rgba(152, 195, 121, 0.1) 0%, transparent 100%); */
border-bottom: 1px solid #3E4451; /* Add subtle border */
}
.orderbook-ask {
/* background: linear-gradient(90deg, rgba(224, 108, 117, 0.1) 0%, transparent 100%); */
border-bottom: 1px solid #3E4451; /* Add subtle border */
}
.message-self {
background-color: #3E4451;
border-radius: 1rem 1rem 0 1rem;
}
.message-other {
background-color: #282C34;
border-radius: 1rem 1rem 1rem 0;
border: 1px solid #3E4451;
}
.indicator-active {
color: #834bcc !important;
border-bottom: none;
}
.video-chat {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
height: 150px; /* Reduced height */
}
.video-box {
background-color: #282C34;
border-radius: 8px;
overflow: hidden;
position: relative;
border: 1px solid #3E4451;
}
.video-box::before {
content: "";
display: block;
padding-top: 100%;
}
.video-content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: #ABB2BF;
}
.video-user {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: rgba(0,0,0,0.6);
padding: 4px;
font-size: 10px;
text-align: center;
}
.video-active {
border: 2px solid #61AFEF;
}
.feed-switch {
display: flex;
border-radius: 0.5rem;
overflow: hidden;
background-color: #282C34;
margin-bottom: 1rem;
border: 1px solid #3E4451;
}
.feed-switch-btn {
flex: 1;
padding: 0.5rem;
text-align: center;
cursor: pointer;
font-size: 0.875rem;
}
.feed-switch-btn.active {
background-color: #a97ae7;
color: #ffffff;
}
.hidden-feed {
display: none;
}
.order-form {
background-color: #282C34;
border-radius: 0.5rem;
padding: 1rem;
margin-bottom: 1rem;
border: 1px solid #3E4451;
}
/* Large chart container */
.main-chart-container {
height: 600px;
width: 100%;
margin-bottom: 20px; /* Remove bottom margin to avoid extra space */
position: relative; /* Enable proper positioning context */
}
/* Ensure the chart canvas fills its container properly */
#candleChart {
width: 100% !important;
height: 100% !important;
}
/* Control z-index for chart and overlays */
canvas {
z-index: 1;
}
/* Ensure main terminal area maintains proper dimensions */
#main-terminal {
display: flex;
flex-direction: column;
}
#chart-area {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
padding-bottom: 0; /* Remove bottom padding to avoid extra space */
}
/* Set the exact height for the bottom panel to match image */
.bottom-panel-container {
height: 34px;
min-height: 34px;
max-height: 34px;
overflow: hidden;
flex-shrink: 0; /* Prevent flexbox from resizing this element */
background-color: #20232A; /* Slightly darker background to match screenshot */
}
/* Style the bottom panel tabs to match the benchmark */
#bottom-panel-tabs {
height: 100%;
display: flex;
}
/* Make bottom panel draggable */
#bottom-panel {
cursor: row-resize;
user-select: none; /* Prevent text selection during drag */
}
#bottom-panel-tabs button {
height: 100%;
padding: 0 16px;
font-size: 0.75rem; /* Slightly smaller font */
border-right: 1px solid #3E4451;
border-bottom: none;
background-color: transparent;
}
#bottom-panel-tabs button.tab-active {
border-bottom: 2px solid #4999df95;
color: #ffffff;
border-radius: 0;
}
/* Ensure the trade history list has proper dimensions */
#trade-history-list {
height: 70px; /* Hide the list content initially */
overflow-y: scroll;
flex-shrink: 0; /* Prevent flexbox from resizing this element */
}
/* Ensure feed containers don't affect layout */
#posts-feed, #chat-feed, #video-feed {
height: 100%;
overflow-y: auto;
position: absolute; /* Remove from normal flow to prevent layout shifts */
top: 0;
left: 0;
right: 0;
bottom: 0;
}
/* Right sidebar container needs position relative for absolute positioning of feeds */
#right-sidebar > div {
position: relative;
height: 100%;
display: flex;
flex-direction: column;
}
/* Ensure the feed switch stays at the top */
.feed-switch {
position: relative;
z-index: 2;
}
/* Ensure all feed content areas have consistent sizing */
#posts-feed > div, #chat-feed > div, #video-feed > div {
padding-top: 0.5rem;
}
/* New Solana-inspired button style */
.btn-solana {
background-color: #0fe0c7; /* Teal/Cyan */
color: #1a202c; /* Dark text for contrast */
padding: 0.5rem 0.75rem; /* Adjust padding as needed */
border-radius: 0.375rem; /* Tailwind default rounded-md */
border: 1px solid transparent;
font-weight: 500;
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
cursor: pointer;
}
.btn-solana:hover {
background-color: #58817c96; /* Lighter Teal/Cyan for hover */
}
/* Style for secondary/icon buttons using the theme */
.btn-solana-secondary {
background-color: #282C34;
color: #ABB2BF;
padding: 0.5rem;
border-radius: 0.375rem;
border: 1px solid #3E4451;
transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
cursor: pointer;
}
.btn-solana-secondary:hover {
background-color: #3E4451;
color: #51D0BF; /* Teal text on hover */
}
/* Custom class for flex container with space between items */
.flex-space-between {
@apply flex justify-between items-center;
}
/* Custom class for rounded image with border */
.rounded-image {
@apply w-10 h-10 rounded-full border-2 border-yellow-500;
}
/* Hover effect for the logo */
.logo-hover-effect {
transition: transform 0.3s ease-in-out;
}
.logo-hover-effect:hover {
transform: scale(1.5); /* Make image 50% larger on hover */
}
/* Custom class for text with specific color and font */
.text-green-mono {
color: #98C379;
font-family: 'Fira Code', monospace;
}
/* Custom class for grid layout in orderbook */
.orderbook-grid {
@apply grid grid-cols-3 text-xs p-1;
}
/* Add style for red text */
.text-red-mono {
color: #E06C75;
font-family: 'Fira Code', monospace;
}
/* Adjust gray text color */
.text-muted {
color: #5C6370; /* Darker gray for less important text */
}
/* Style for the orderbook header row */
.orderbook-header {
color: #5C6370; /* Muted text color */
border-bottom: 1px solid #3E4451; /* Add border */
background-color: #282C34; /* Match container bg */
position: sticky;
top: 0;
z-index: 1; /* Ensure header stays above scrolling content */
}
/* Style for the market price row */
.orderbook-market-price {
position: sticky;
top: 1.75rem; /* Approximate height of the header row */
z-index: 1;
background-color: #282C34;
border-top: 1px solid #3E4451;
border-bottom: 1px solid #3E4451;
}
/* Add border-bottom to trade history rows */
.trade-history-row {
border-bottom: 1px solid #3E4451; /* Match other borders */
}
|