mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-03 18:24:12 +02:00
54 lines
743 B
CSS
54 lines
743 B
CSS
.pan-zoom-element {
|
|
border: 1px solid #ccc;
|
|
position: relative;
|
|
overflow: hidden;
|
|
cursor: default;
|
|
|
|
& .content-container {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
& .noselect {
|
|
user-select: none;
|
|
}
|
|
}
|
|
|
|
.zoommenu {
|
|
position: fixed;
|
|
color: #888;
|
|
|
|
bottom: 100px;
|
|
right: 0;
|
|
margin: 10px;
|
|
font-size: 200%;
|
|
|
|
opacity: 0.5;
|
|
transition: all 0.5s;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
background-color: #f8f8f8;
|
|
border-radius: 5px;
|
|
|
|
& div {
|
|
transition: all 0.5s;
|
|
width: 32px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
|
|
&:hover {
|
|
color: #000;
|
|
}
|
|
}
|
|
|
|
& div:first-child {
|
|
border-bottom: 1px solid #ddd;
|
|
margin: 0;
|
|
}
|
|
}
|