38676-vm/assets/css/custom.css
2026-03-22 16:09:15 +00:00

492 lines
10 KiB
CSS

/* Global Custom Styles */
/* Blinking effect for status badges */
.blink-effect {
animation: blink 1s infinite;
}
@keyframes blink {
0% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
}
/* Modal Public Profile - Nexus Design */
.modal-nexus {
background: radial-gradient(circle at top, #141e33 0%, #080c14 100%) !important;
border: 1px solid rgba(136, 192, 208, 0.2) !important;
border-radius: 8px !important;
color: #fff !important;
box-shadow: 0 0 40px rgba(0,0,0,0.8), inset 0 0 20px rgba(136, 192, 208, 0.05) !important;
max-height: none !important;
overflow: visible !important;
height: auto !important;
}
.modal-nexus .modal-header {
background: rgba(15, 23, 42, 0.8) !important;
border-bottom: 1px solid rgba(136, 192, 208, 0.15) !important;
padding: 12px 20px !important;
}
.modal-nexus .modal-header h2 {
font-size: 14px !important;
text-transform: uppercase !important;
letter-spacing: 2px !important;
color: #88c0d0 !important;
margin: 0 !important;
}
.modal-nexus .modal-body {
padding: 0 !important;
overflow: visible !important;
}
/* Nexus internal override to prevent global 25px padding from applying to Nexus content */
.modal-container.modal-nexus .modal-header,
.modal-container.modal-nexus .modal-body {
padding: initial !important;
}
.profile-top-section {
padding: 25px 20px;
text-align: center;
background: url('https://www.transparenttextures.com/patterns/stardust.png');
border-bottom: 1px solid rgba(136, 192, 208, 0.15);
}
.profile-grade-img {
width: 45px;
height: 45px;
object-fit: contain;
vertical-align: middle;
margin-right: 15px;
filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}
.profile-username {
font-size: 22px;
font-weight: bold;
color: #fff;
vertical-align: middle;
}
.profile-title-text {
font-size: 10px;
color: #ebcb8b;
text-transform: uppercase;
letter-spacing: 3px;
margin-top: 12px;
display: block;
}
.profile-level-text {
font-size: 12px;
color: #88c0d0;
opacity: 0.8;
margin-top: 8px;
display: block;
}
.profile-section-header {
font-size: 10px;
color: #ebcb8b;
text-transform: uppercase;
letter-spacing: 2px;
padding: 15px 20px 8px 20px;
display: flex;
align-items: center;
gap: 10px;
}
.profile-section-header::before {
content: '';
display: inline-block;
width: 10px;
height: 3px;
background: #ebcb8b;
}
.guild-info-box {
padding: 10px 20px 15px 20px;
border-bottom: 1px solid rgba(136, 192, 208, 0.15);
}
.guild-display {
display: flex;
align-items: center;
gap: 12px;
background: rgba(30, 41, 59, 0.4);
padding: 10px 15px;
border-radius: 4px;
border: 1px solid rgba(136, 192, 208, 0.1);
}
.guild-icon-placeholder {
width: 24px;
height: 24px;
background: #1e293b;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
color: #88c0d0;
font-size: 12px;
}
.guild-tag-display {
color: #ebcb8b;
font-weight: bold;
font-size: 14px;
}
.guild-name-display {
color: #fff;
font-size: 14px;
}
.profile-bottom-grid {
display: flex;
min-height: 150px;
}
.profile-left-col {
flex: 1;
border-right: 1px solid rgba(136, 192, 208, 0.15);
padding: 20px;
background: rgba(0,0,0,0.1);
}
.profile-right-col {
width: 200px;
padding: 0;
}
.badge-info-section {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: calc(100% - 40px);
padding-bottom: 20px;
}
.badge-img-display {
width: 70px;
height: 70px;
object-fit: contain;
filter: drop-shadow(0 0 15px rgba(136, 192, 208, 0.3));
margin-bottom: 12px;
}
.badge-name-display {
font-size: 11px;
color: #fff;
text-align: center;
padding: 0 10px;
}
/* --- NEW UNIFIED HEADER STYLES --- */
#top-bar {
background: #0f172a;
border-bottom: 1px solid #1e293b;
padding: 0 40px;
display: grid;
grid-template-columns: 1fr auto 1fr; /* Exact centering of resources */
align-items: center;
min-height: 100px;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}
.header-section {
display: flex;
align-items: center;
height: 100%;
}
/* LEFT SECTION: LOGO + NAV */
.left-section {
justify-content: flex-start;
gap: 50px;
}
.logo-wrapper img {
max-height: 55px;
max-width: 130px;
object-fit: contain;
filter: drop-shadow(0 0 12px rgba(136, 192, 208, 0.4));
transition: all 0.3s ease;
}
.logo-wrapper img:hover {
transform: scale(1.08);
}
.nav-wrapper {
display: flex;
gap: 15px;
}
.nav-btn {
background: rgba(136, 192, 208, 0.08);
border: 1px solid rgba(136, 192, 208, 0.15);
color: #88c0d0;
padding: 10px 22px;
border-radius: 8px;
font-size: 12px;
font-weight: 800;
letter-spacing: 1.5px;
cursor: pointer;
text-decoration: none;
display: flex;
align-items: center;
gap: 10px;
white-space: nowrap;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-btn:hover {
background: rgba(136, 192, 208, 0.2);
color: #fff;
border-color: #88c0d0;
box-shadow: 0 0 20px rgba(136, 192, 208, 0.25);
transform: translateY(-2px);
}
.nav-btn i {
font-size: 14px;
}
/* CENTER SECTION: RESOURCES */
.center-section {
justify-content: center;
}
.resource-scroll {
display: flex;
gap: 12px;
padding: 8px 15px;
background: rgba(15, 23, 42, 0.5);
border-radius: 12px;
border: 1px solid rgba(136, 192, 208, 0.1);
box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}
.res-item {
background: rgba(30, 41, 59, 0.4);
border: 1px solid rgba(136, 192, 208, 0.05);
padding: 10px 18px;
border-radius: 10px;
display: flex;
align-items: center;
gap: 15px;
min-width: 110px;
transition: all 0.2s;
}
.res-item:hover {
background: rgba(30, 41, 59, 0.7);
border-color: rgba(136, 192, 208, 0.2);
transform: scale(1.02);
}
.res-icon {
width: 26px;
height: 26px;
display: flex;
align-items: center;
justify-content: center;
}
.res-icon i {
font-size: 18px;
color: #88c0d0;
filter: drop-shadow(0 0 5px rgba(136, 192, 208, 0.3));
}
.res-icon img {
width: 100%;
height: 100%;
object-fit: contain;
}
.res-details {
display: flex;
flex-direction: column;
}
.res-name-mini {
font-size: 9px;
text-transform: uppercase;
color: #64748b;
font-weight: 700;
letter-spacing: 1px;
margin-bottom: 2px;
}
.res-val {
font-size: 16px;
font-weight: 900;
color: #f8fafc;
text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
/* RIGHT SECTION: AUTH */
.right-section {
justify-content: flex-end;
}
.auth-wrapper {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 8px;
}
.welcome-text {
font-size: 14px;
color: #94a3b8;
background: rgba(136, 192, 208, 0.05);
padding: 4px 12px;
border-radius: 20px;
border: 1px solid rgba(136, 192, 208, 0.1);
}
.welcome-text .username {
color: #ebcb8b;
font-weight: 800;
}
.auth-links {
display: flex;
gap: 25px;
padding-right: 5px;
}
.auth-links a {
color: #88c0d0;
text-decoration: none;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
display: flex;
align-items: center;
gap: 8px;
transition: all 0.2s;
}
.auth-links a:hover {
color: #fff;
text-shadow: 0 0 8px rgba(136, 192, 208, 0.5);
}
.logout-link {
color: #bf616a !important;
}
.logout-link:hover {
color: #d08770 !important;
}
/* Unified Modal Styles - Centered Horizontal & Vertical */
.modal-overlay {
display: none !important;
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
background: rgba(0, 0, 0, 0.85) !important;
backdrop-filter: blur(5px) !important;
z-index: 2000 !important;
align-items: center !important; /* Vertical Center */
justify-content: center !important; /* Horizontal Center */
overflow-y: auto !important;
padding: 20px !important;
}
.modal-overlay[style*="display: flex"],
.modal-overlay.active {
display: flex !important;
}
.modal-container {
background: #0f172a;
border: 1px solid #1e293b;
border-radius: 12px;
width: 100%;
max-width: 600px;
max-height: 90vh;
overflow-y: auto;
position: relative;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
margin: auto !important; /* Ensures centering in some flex scenarios */
}
/* Base Modal internal layout */
.modal-header {
padding: 20px 25px;
border-bottom: 1px solid rgba(136, 192, 208, 0.15);
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-header h2 {
margin: 0;
font-size: 18px;
color: #88c0d0;
}
.modal-body {
padding: 25px;
}
.modal-close {
background: none;
border: none;
color: #88c0d0;
font-size: 28px;
cursor: pointer;
line-height: 1;
padding: 0;
transition: color 0.2s;
}
.modal-close:hover {
color: #fff;
}
/* Member link specific styling in guilde.php */
.member-table a {
color: #ffffff !important;
text-decoration: underline !important;
text-underline-offset: 4px;
transition: color 0.2s;
}
.member-table a:hover {
color: #88c0d0 !important;
}
/* Admin Footer Styles */
.admin-footer {
z-index: 9999;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: rgba(0,0,0,0.85);
padding: 8px 25px;
display: flex;
justify-content: flex-end;
gap: 15px;
border-top: 1px solid #2d3545;
box-sizing: border-box;
backdrop-filter: blur(5px);
}
.admin-footer a {
color: #fff !important;
text-decoration: none !important;
font-size: 11px;
font-weight: 800;
padding: 6px 15px;
border-radius: 4px;
display: flex;
align-items: center;
gap: 8px;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.2s;
}
.admin-footer a:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.btn-mj { background: #ebcb8b; color: #000 !important; }
.btn-mj:hover { background: #f2d5a0; }
.btn-adm { background: #bf616a; color: #fff !important; }
.btn-adm:hover { background: #d08770; }