117 lines
2.1 KiB
SCSS
117 lines
2.1 KiB
SCSS
.wrap-side-operation {
|
|
position: fixed;
|
|
right: 40px;
|
|
bottom: 50px;
|
|
z-index: 999;
|
|
font-size: 14px;
|
|
.icon-chevron-up {
|
|
color: $colorF;
|
|
text-shadow: 1px 1px 1px #509eb7;
|
|
opacity: 0.7;
|
|
font-size: 52px;
|
|
line-height: 40px;
|
|
width: 40px;
|
|
text-align: center;
|
|
display: block;
|
|
}
|
|
}
|
|
.mod-side-operation {
|
|
width: 40px;
|
|
text-align: center;
|
|
}
|
|
.jump-container:hover .icon-chevron-up {
|
|
background: rgba(36, 193, 246, 0.9);
|
|
}
|
|
|
|
.jump-container, .toc-container {
|
|
position: relative;
|
|
cursor: pointer;
|
|
width: 40px;
|
|
height: 40px;
|
|
opacity: .8;
|
|
}
|
|
.jump-plan-container {
|
|
position: absolute;
|
|
top: -11px;
|
|
left: -4px;
|
|
width: 50px;
|
|
height: 61px;
|
|
overflow: hidden;
|
|
.jump-plane {
|
|
display: block;
|
|
position: absolute;
|
|
width: 42px;
|
|
height: 66px;
|
|
transform: translateY(68px);
|
|
left: -2px;
|
|
}
|
|
}
|
|
.mod-side-operation__jump-to-top .icon-chevron-up {
|
|
transition: 0.3s;
|
|
color: $colorF;
|
|
background: #ccc;
|
|
font-size: 32px;
|
|
line-height: 40px;
|
|
width: 40px;
|
|
text-align: center;
|
|
display: block;
|
|
&:hover {
|
|
background: #24c1f6;
|
|
color: #24c1f6;
|
|
}
|
|
}
|
|
|
|
.toc-container.tooltip-left{
|
|
background: $colorC;
|
|
margin-top: 10px;
|
|
transition: 0.3s;
|
|
&:hover {
|
|
background: rgba(36, 193, 246, 0.9);
|
|
}
|
|
.icon {
|
|
font-size: 22px;
|
|
line-height: 45px;
|
|
color: $colorF;
|
|
}
|
|
.tooltip {
|
|
width: 40px;
|
|
height: 40px;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
.tooltip-east .tooltip-content {
|
|
min-height: 100px;
|
|
text-align: left;
|
|
padding: 5px 0 5px 20px;
|
|
right: 4.7em;
|
|
min-width: 200px;
|
|
width: initial;
|
|
font-size: 14px;
|
|
text-shadow: 1px 1px 1px #398199;
|
|
bottom: -10px;
|
|
transform-origin: 100% 100%;
|
|
transform: translate3d(0, -10px, 0) rotate3d(1, 1, 1, -30deg);
|
|
a {
|
|
color: $colorF;
|
|
}
|
|
&::after {
|
|
top: initial;
|
|
bottom: 23px;
|
|
}
|
|
.toc-article {
|
|
max-height: 500px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
.toc-article li ol, .toc-article li ul {
|
|
margin-left: 30px;
|
|
}
|
|
.toc-article li {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
.tooltip:hover .tooltip-content {
|
|
bottom: -10px;
|
|
transform: translate(0);
|
|
}
|
|
} |