Files
drawNET/static/css/modules/header.css
T

140 lines
2.3 KiB
CSS

.header {
position: absolute;
top: 24px;
right: 24px;
height: 80px;
z-index: 90;
padding: 0 30px;
display: flex;
align-items: center;
justify-content: space-between;
transition: all 0.3s ease;
}
.header-compact {
height: 50px;
padding: 0 20px;
top: 15px;
right: 24px;
}
.header-compact h2 {
font-size: 13px !important;
}
.header-compact p {
font-size: 9px !important;
}
.header-info {
display: flex;
flex-direction: column;
}
.header-status {
display: flex;
align-items: center;
gap: 12px;
background: rgba(16, 185, 129, 0.1);
padding: 4px 12px;
border-radius: 20px;
border: 1px solid rgba(16, 185, 129, 0.2);
}
.help-circle-btn {
background: transparent;
border: none;
color: #047857;
font-size: 16px;
cursor: pointer;
transition: all 0.2s ease;
padding: 2px;
display: flex;
align-items: center;
justify-content: center;
}
.help-circle-btn:hover {
color: #10b981;
transform: scale(1.1);
}
.status-dot {
width: 6px;
height: 6px;
border-radius: 50%;
}
.status-dot.online {
background: #10b981;
box-shadow: 0 0 8px #10b981;
}
.header h2 {
font-size: 14px;
font-weight: 800;
}
.header-btns {
display: flex;
gap: 15px;
}
.btn {
padding: 12px 24px;
border-radius: 16px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
border: none;
transition: all 0.2s;
}
.btn-secondary {
background: var(--item-bg);
color: var(--sub-text);
}
.btn-primary {
background: var(--accent-color);
color: white;
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.header-search {
flex: 1;
max-width: 400px;
margin: 0 40px;
background: rgba(255, 255, 255, 0.2);
border: 1px solid var(--panel-border);
border-radius: 20px;
padding: 6px 15px;
display: flex;
align-items: center;
gap: 10px;
transition: all 0.2s;
}
.header-search:focus-within {
background: rgba(255, 255, 255, 0.4);
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.header-search i {
color: var(--sub-text);
font-size: 13px;
}
.header-search input {
background: transparent;
border: none;
outline: none;
color: var(--text-color);
font-size: 12px;
width: 100%;
}
.btn:active {
transform: scale(0.95);
}