App.css•1.42 kB
.app {
height: 100vh;
display: flex;
flex-direction: column;
background-color: #f9fafb;
}
.app-header {
background-color: #2c3e50;
color: white;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.app-header h1 {
margin: 0;
font-size: 1.5rem;
font-weight: 600;
}
.log-toggle {
background-color: #3498db;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 4px;
cursor: pointer;
}
.log-toggle:hover {
background-color: #2980b9;
}
.log-toggle.floating {
position: fixed;
bottom: 100px;
right: 20px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
z-index: 50;
}
.app-content {
display: flex;
flex: 1;
overflow: hidden;
}
.sidebar {
width: 300px;
background-color: white;
border-right: 1px solid #e5e7eb;
overflow-y: auto;
box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
.sidebar {
width: 100%;
}
}
.main-content {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
background-color: white;
margin: 0 16px 16px 16px;
border-radius: 12px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
.main-content {
margin: 0;
border-radius: 0;
}
}
.no-channel-selected {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
color: #7f8c8d;
}