mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-04-07 21:20:05 +00:00
101 lines
1.7 KiB
SCSS
101 lines
1.7 KiB
SCSS
@use "common/var" as *;
|
|
|
|
.m-editor-sidebar {
|
|
display: flex;
|
|
height: 100%;
|
|
position: relative;
|
|
|
|
.m-editor-sidebar-header {
|
|
background: $sidebar-heder-background-color;
|
|
height: 100%;
|
|
width: $sidebar-heder-width;
|
|
|
|
.m-editor-sidebar-header-item {
|
|
line-height: 15px;
|
|
height: auto;
|
|
padding: 8px;
|
|
color: rgb(255, 255, 255);
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
|
|
&.is-active {
|
|
background: $sidebar-content-background-color;
|
|
|
|
i {
|
|
color: #353140;
|
|
}
|
|
|
|
.magic-editor-tab-panel-title {
|
|
color: #353140;
|
|
}
|
|
}
|
|
}
|
|
|
|
i {
|
|
font-size: 25px;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
|
|
&:hover {
|
|
color: rgb(255, 255, 255);
|
|
}
|
|
}
|
|
|
|
.magic-editor-tab-panel-title {
|
|
font-size: 12px;
|
|
white-space: normal;
|
|
user-select: none;
|
|
}
|
|
}
|
|
|
|
.m-editor-sidebar-content {
|
|
height: 100%;
|
|
width: calc(100% - 40px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.m-editor-sidebar-tips {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: $sidebar-heder-width;
|
|
width: calc(100% - #{$sidebar-heder-width});
|
|
text-align: center;
|
|
background-color: rgba(252.5, 245.7, 235.5, 0.9);
|
|
color: #e6a23c;
|
|
padding: 5px 0;
|
|
font-size: 12px;
|
|
|
|
.close-icon {
|
|
cursor: pointer;
|
|
position: absolute;
|
|
right: 15px;
|
|
}
|
|
}
|
|
|
|
.fold-icon {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
left: 0px;
|
|
width: 45px;
|
|
padding-left: 8px;
|
|
color: #fff;
|
|
font-size: 32px;
|
|
opacity: 0.8;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
}
|
|
}
|
|
|
|
.m-editor-slide-list-box {
|
|
> div {
|
|
&:first-child {
|
|
min-width: 240px;
|
|
}
|
|
}
|
|
.m-form-box {
|
|
border-left: 1px solid #e0e0e0;
|
|
}
|
|
}
|