Files
Nexus.Reader/src/NexusReader.UI.Shared/Layout/MainLayout.razor.css
T

123 lines
2.3 KiB
CSS

.app-container {
display: grid;
grid-template-columns: 1fr 450px;
width: 100vw;
height: 100vh;
overflow: hidden;
background: #121212;
transition: grid-template-columns 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.reader-pane {
background: #F9F9F9;
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
z-index: 5;
height: 100vh;
}
main {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
position: relative;
}
.intelligence-sidebar {
display: grid;
grid-template-columns: 50px 1fr;
width: 450px;
height: 100%;
background: #0d0d0d;
box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
border-left: 1px solid rgba(255, 255, 255, 0.05);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
overflow: hidden;
z-index: 10;
}
.app-container.focus-mode-active {
grid-template-columns: 1fr 50px;
}
.app-container.focus-mode-active .intelligence-sidebar {
width: 50px;
grid-template-columns: 50px 0px;
}
.app-container.focus-mode-active .intelligence-content {
opacity: 0;
pointer-events: none;
}
.intelligence-content {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.intelligence-header {
height: 50px;
display: flex;
align-items: center;
padding: 0 1.5rem;
gap: 0.8rem;
background: rgba(255, 255, 255, 0.02);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
font-family: var(--nexus-font-sans);
font-size: 0.9rem;
color: #fff;
flex-shrink: 0;
}
.intelligence-header .close-btn {
margin-left: auto;
background: none;
border: none;
color: #666;
font-size: 1.5rem;
cursor: pointer;
}
.intelligence-scroll-area {
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
}
/* Platform Specifics */
.platform-mobile .intelligence-sidebar {
position: fixed;
right: 0;
top: 0;
bottom: 0;
width: 80%;
z-index: 100;
}
#blazor-error-ui {
background: lightyellow;
bottom: 0;
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
display: none;
left: 0;
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
position: fixed;
width: 100%;
z-index: 1000;
}
#blazor-error-ui .dismiss {
cursor: pointer;
position: absolute;
right: 0.75rem;
top: 0.5rem;
}