360 lines
7.1 KiB
CSS
360 lines
7.1 KiB
CSS
.account-page {
|
|
padding: 2rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
color: #fff;
|
|
min-height: calc(100vh - 80px);
|
|
/* Account for header */
|
|
}
|
|
|
|
/* Ensure the main container inherits the global border radius/clip-path correctly without duplicating it */
|
|
.account-container {
|
|
max-width: 1000px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.account-panel-override {
|
|
border-radius: 0;
|
|
/* Let the game-panel class handle the shape */
|
|
}
|
|
|
|
/* Clip paths for inner containers */
|
|
.game-panel.inner {
|
|
border-radius: 0;
|
|
clip-path: var(--game-clip-path);
|
|
background: rgba(0, 0, 0, 0.4) !important;
|
|
}
|
|
|
|
.account-header-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1.5rem 2rem;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
border-bottom: 1px solid var(--game-border-color);
|
|
}
|
|
|
|
.account-top-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.account-title {
|
|
font-size: 2rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
margin: 0;
|
|
color: var(--game-color-primary);
|
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.account-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.account-layout {
|
|
flex-direction: row;
|
|
min-height: 550px;
|
|
/* Force minimum height to prevent jumping */
|
|
}
|
|
}
|
|
|
|
/* Tabs Navigation */
|
|
.account-tabs {
|
|
display: flex;
|
|
flex-direction: row;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-bottom: 1px solid var(--game-border-color);
|
|
overflow-x: auto;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.account-tabs {
|
|
flex-direction: column;
|
|
width: 250px;
|
|
min-width: 250px;
|
|
border-bottom: none;
|
|
border-right: 1px solid var(--game-border-color);
|
|
}
|
|
}
|
|
|
|
.account-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.8rem;
|
|
padding: 1.2rem 1.5rem;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--game-text-secondary);
|
|
font-size: 1.1rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
text-align: left;
|
|
border-bottom: 2px solid transparent;
|
|
/* default for mobile */
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.account-tab {
|
|
border-bottom: none;
|
|
border-left: 3px solid transparent;
|
|
}
|
|
}
|
|
|
|
.account-tab:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: #fff;
|
|
}
|
|
|
|
.account-tab.active {
|
|
color: var(--game-color-primary);
|
|
background: rgba(var(--game-color-primary-rgb), 0.1);
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.account-tab.active {
|
|
border-bottom: 2px solid var(--game-color-primary);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.account-tab.active {
|
|
border-left: 3px solid var(--game-color-primary);
|
|
}
|
|
}
|
|
|
|
.tab-icon {
|
|
font-size: 1.2rem;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.account-tab.active .tab-icon {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Content Area */
|
|
.account-content {
|
|
flex: 1;
|
|
padding: 2rem;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.account-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
/* Make sure container heights don't jump on tab swaps */
|
|
.fixed-height-section {
|
|
min-height: 400px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 1.5rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
color: #fff;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
padding-bottom: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.subsection-title {
|
|
font-size: 1.2rem;
|
|
color: var(--game-text-secondary);
|
|
margin: 1.5rem 0 1rem;
|
|
}
|
|
|
|
/* General Tab Adjustments */
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 1.5rem;
|
|
border: 1px solid var(--game-border-color);
|
|
/* Kept borders around clipping */
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.info-label {
|
|
font-size: 0.85rem;
|
|
text-transform: uppercase;
|
|
color: var(--game-text-secondary);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.info-value {
|
|
font-size: 1.1rem;
|
|
font-weight: 500;
|
|
color: #fff;
|
|
}
|
|
|
|
.info-value.premium {
|
|
color: var(--game-color-success);
|
|
font-weight: 700;
|
|
text-shadow: 0 0 8px rgba(var(--game-color-success-rgb), 0.4);
|
|
}
|
|
|
|
.character-actions-area {
|
|
margin-top: 2rem;
|
|
padding-top: 1.5rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* Shared Settings Components */
|
|
.setting-item-ui {
|
|
border: 1px solid var(--game-border-color);
|
|
padding: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.setting-item-ui:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.setting-header-ui {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.setting-header-ui h3 {
|
|
margin: 0;
|
|
font-size: 1.2rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.setting-form-ui {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.2rem;
|
|
max-width: 400px;
|
|
margin-top: 1rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.form-group-ui {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.form-group-ui label {
|
|
font-size: 0.9rem;
|
|
color: var(--game-text-secondary);
|
|
}
|
|
|
|
/* Remove border-radius rounded corners on inputs explicitly */
|
|
.squared-input {
|
|
border-radius: 0 !important;
|
|
background: rgba(0, 0, 0, 0.6) !important;
|
|
}
|
|
|
|
.audio-settings {
|
|
border: 1px solid var(--game-border-color);
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.volume-sliders-ui {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
margin-top: 1.5rem;
|
|
/* Limit max width specifically to avoid slider overflow on desktop */
|
|
max-width: 90%;
|
|
}
|
|
|
|
.slider-group-ui {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
width: 100%;
|
|
/* Ensure group spans correctly */
|
|
}
|
|
|
|
/* The wrapper contains the slider input to avoid bleeding over its container */
|
|
.slider-wrapper {
|
|
width: 100%;
|
|
padding: 0 10px;
|
|
/* Prevent thumb from bleeding outside at 100% width edge */
|
|
}
|
|
|
|
.slider-group-ui label {
|
|
font-size: 0.95rem;
|
|
color: #fff;
|
|
font-family: var(--game-font-primary);
|
|
}
|
|
|
|
.game-slider {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
/* Prevent the thumb width from pushing it out */
|
|
margin: 0;
|
|
}
|
|
|
|
.mute-toggle-ui {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
color: var(--game-text-secondary);
|
|
}
|
|
|
|
.mute-toggle-ui input {
|
|
cursor: pointer;
|
|
width: 1.2rem;
|
|
height: 1.2rem;
|
|
}
|
|
|
|
/* Notifications */
|
|
.error-message-ui {
|
|
background: rgba(var(--game-color-danger-rgb), 0.1);
|
|
color: var(--game-color-danger);
|
|
padding: 0.8rem;
|
|
border-left: 3px solid var(--game-color-danger);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.message-success-ui {
|
|
background: rgba(var(--game-color-success-rgb), 0.1);
|
|
color: var(--game-color-success);
|
|
padding: 0.8rem;
|
|
border-left: 3px solid var(--game-color-success);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.animate-fade-in {
|
|
animation: fadeIn 0.3s ease-out forwards;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(5px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
} |