oak-general-business/es/components/articleMenu/detail/web.pc.module.less

71 lines
1.4 KiB
Plaintext

.container {
height: 100%;
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
overflow-x: hidden;
.menu {
// width: calc((100% - 860px) / 2);
width: 240px;
height: 100vh;
overflow-y: auto;
overflow-x: hidden;
position: sticky;
top: 0px;
padding: 20px 0 32px 32px;
display: flex;
flex-direction: column;
gap: 12px;
.menuHeader {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
width: 320px;
padding: 0px 10px;
position: sticky;
z-index: 99;
background: #ffffff;
top: 0;
border-bottom: 1px solid #f0f0f0;
height: 50px;
}
.menuTitle {
font-size: 16px;
font-weight: 600;
padding-bottom: 4px;
}
.article {
cursor: pointer;
&-selected {
color: var(--oak-color-primary)
}
}
}
.menu_hidden {
height: 100%;
overflow-y: auto;
overflow-x: hidden;
.menuHeader {
padding: 8px 10px;
}
}
.docContainer {
flex: 1;
height: 100vh;
overflow-y: auto;
position: sticky;
top: 0px;
}
}