mod-portal-v2/public/css/main.css
2026-07-27 10:34:50 +02:00

320 lines
No EOL
5.3 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');
.archivo-black {
font-family: "Archivo Black", sans-serif;
font-weight: 400;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
width: 100vw;
background-color: #1d1e1f;
color: #c9d1d9;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
.app-viewport {
padding: 2rem 1rem;
}
.spinner {
border: 3px solid rgba(255, 255, 255, 0.15);
border-top-color: #00aeef;
border-radius: 50%;
animation: spin 0.8s linear infinite;
display: inline-block;
}
.spinner.lg {
width: 42px;
height: 42px;
border-width: 4px;
}
.spinner.sm {
width: 14px;
height: 14px;
border-width: 2px;
}
.btn-spinner {
margin-right: 8px;
vertical-align: middle;
border-top-color: #ffffff;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.global-loader-wrapper {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 50vh;
}
button, .btn-login-action {
padding: 0.6rem 1.2rem;
background: #00aeef;
color: #ffffff;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: 600;
font-size: 0.9rem;
transition: opacity 0.2s;
display: inline-flex;
align-items: center;
justify-content: center;
}
button:hover, .btn-login-action:hover {
opacity: 0.9;
}
button:disabled, .btn-login-action:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.btn-login-action {
width: 100%;
}
.login-wrapper {
max-width: 420px;
margin: 4rem auto;
width: 100%;
}
.settings-container {
display: flex;
flex-direction: column;
gap: 1.5rem;
max-width: 1280px;
margin: 0 auto;
width: 100%;
}
.settings-sidebar {
background-color: #1a1a1f;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 6px;
overflow: hidden;
height: max-content;
}
.sidebar-header {
padding: 0.85rem 1rem;
font-size: 1.1rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
background-color: rgba(0, 0, 0, 0.15);
color: #ffffff;
}
.user-badge {
padding: 0.75rem 1rem;
background: rgba(0, 0, 0, 0.2);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
display: flex;
flex-direction: column;
}
.user-name {
color: #ffffff;
font-weight: 600;
font-size: 0.9rem;
}
.user-email {
color: #8b949e;
font-size: 0.8rem;
}
.sidebar-menu {
display: flex;
flex-direction: column;
}
.nav-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 1rem;
background: transparent;
border: none;
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
color: #8b949e;
text-align: left;
font-size: 0.95rem;
width: 100%;
cursor: pointer;
}
.logout-btn {
color: #f85149;
}
.logout-btn:hover {
background: rgba(248, 81, 73, 0.1);
}
.active-nav {
background: rgba(0, 174, 239, 0.1);
border-left: 3px solid #00aeef;
color: #00aeef;
font-weight: 600;
padding-left: calc(1rem - 3px);
}
.settings-main-content {
flex: 1;
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.settings-panel {
background-color: #1a1a1f;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 6px;
overflow: hidden;
}
.panel-header {
padding: 0.85rem 1.25rem;
font-size: 1.1rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
background-color: rgba(0, 0, 0, 0.15);
color: #ffffff;
}
.panel-body {
padding: 1.5rem;
}
.grid-layout {
display: flex;
flex-direction: column;
gap: 1.5rem;
align-items: stretch;
}
.welcome-left-col {
display: flex;
flex-direction: column;
align-items: center;
}
.image-wrapper {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
margin-bottom: 1.25rem;
}
.welcome-image {
max-width: 100%;
max-height: 680px;
object-fit: contain;
border-radius: 8px;
box-shadow: none;
}
.welcome-text {
font-size: 1.5rem;
color: #ffffff;
font-weight: 400;
text-align: center;
width: 100%;
}
.welcome-text em {
color: #00aeef;
font-style: italic;
}
.logins-right-col {
display: flex;
flex-direction: column;
height: 100%;
}
.logins-card {
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 6px;
display: flex;
flex-direction: column;
max-height: 100%;
overflow: hidden;
}
.logins-header {
padding: 0.75rem 1rem;
font-size: 0.9rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
background-color: rgba(0, 0, 0, 0.2);
color: #8b949e;
}
.logins-list {
list-style: none;
overflow-y: auto;
margin: 0;
padding: 0;
}
.login-item {
padding: 0.75rem 1rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
font-size: 0.85rem;
}
.login-item:last-child {
border-bottom: none;
}
.login-user {
color: #ffffff;
font-weight: 600;
}
.login-details {
color: #8b949e;
font-size: 0.78rem;
margin-top: 2px;
}
.login-time {
color: #00aeef;
}
@media (min-width: 768px) {
.settings-container {
flex-direction: row;
align-items: flex-start;
}
.settings-sidebar {
width: 280px;
flex-shrink: 0;
}
}
@media (min-width: 900px) {
.grid-layout {
display: grid;
grid-template-columns: 1fr 300px;
align-items: stretch;
}
}