2021-07-07 02:14:37 +03:00
|
|
|
|
|
|
|
#tools-menu {
|
|
|
|
left: 0;
|
2021-12-27 21:11:59 +03:00
|
|
|
width: 48px;
|
2021-07-07 02:14:37 +03:00
|
|
|
list-style-type: none;
|
|
|
|
top: 48px;
|
|
|
|
bottom: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
background-color: $basecolor;
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: fixed;
|
2022-01-26 01:47:01 +03:00
|
|
|
z-index: 1108;
|
2021-07-07 02:14:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#tools-menu li {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tools-menu li button:first-child {
|
|
|
|
text-align: center;
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
cursor: pointer;
|
2021-12-27 21:11:59 +03:00
|
|
|
height: 48px;
|
|
|
|
z-index:0;
|
2021-07-07 02:14:37 +03:00
|
|
|
}
|
|
|
|
|
2022-01-22 18:02:10 +03:00
|
|
|
#tools-menu li button path, #tools-menu li button ellipse {
|
2021-07-07 02:14:37 +03:00
|
|
|
fill: $baseicon;
|
2022-01-22 18:02:10 +03:00
|
|
|
stroke: $baseicon;
|
2021-07-07 02:14:37 +03:00
|
|
|
}
|
|
|
|
|
2022-01-22 18:02:10 +03:00
|
|
|
#tools-menu li:hover button:first-child path, #tools-menu li:hover button:first-child ellipse {
|
2021-07-07 02:14:37 +03:00
|
|
|
fill: $basehovericon;
|
2022-01-22 18:02:10 +03:00
|
|
|
stroke: $basehovericon;
|
2021-07-07 02:14:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#tools-menu li.selected {
|
|
|
|
background: $baseselected !important;
|
|
|
|
}
|
|
|
|
|
2022-01-22 18:02:10 +03:00
|
|
|
#tools-menu li.selected button:first-child path, #tools-menu li.selected button:first-child ellipse {
|
2021-07-07 02:14:37 +03:00
|
|
|
fill: $baseselectedicon;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tools-menu-sub-button {
|
|
|
|
text-align: center;
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
cursor: pointer;
|
2021-12-27 21:11:59 +03:00
|
|
|
width: 22px !important;
|
|
|
|
height:24px !important;
|
|
|
|
display: inline-block;
|
2021-07-07 02:14:37 +03:00
|
|
|
line-height: 0;
|
|
|
|
overflow: hidden;
|
2021-12-27 21:11:59 +03:00
|
|
|
position: relative;
|
2021-07-07 02:14:37 +03:00
|
|
|
|
|
|
|
path {
|
|
|
|
fill: $baseselectedicon !important;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background: $baseselectedhover !important;
|
|
|
|
path {
|
|
|
|
fill: $baseselectediconhover !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-27 21:11:59 +03:00
|
|
|
#tools-menu .size-buttons {
|
|
|
|
position:absolute;
|
|
|
|
display: none;
|
|
|
|
height:48px;
|
|
|
|
left:8px;
|
|
|
|
z-index:-1;
|
|
|
|
background-color: $basecolor !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tools-menu .size-buttons button {
|
|
|
|
text-align: center;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
height:24px;
|
|
|
|
background-color: $baseselected !important;
|
|
|
|
cursor: pointer;
|
|
|
|
display:inline-block;
|
|
|
|
line-height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
width:22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tools-menu .size-buttons button:hover {
|
|
|
|
background:$baseselected !important;
|
2021-07-07 02:14:37 +03:00
|
|
|
}
|
|
|
|
|
2021-12-27 21:11:59 +03:00
|
|
|
#tools-menu .size-buttons button:active {
|
|
|
|
background:$basehovericon !important;
|
2021-07-07 02:14:37 +03:00
|
|
|
}
|
|
|
|
|
2021-12-27 21:11:59 +03:00
|
|
|
#tools-menu li.selected .size-buttons {
|
|
|
|
display:inline-block;
|
2021-07-07 02:14:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#tools-menu li:hover {
|
|
|
|
background: $basehover;
|
2022-01-25 02:33:23 +03:00
|
|
|
}
|
|
|
|
|
2022-01-26 01:47:01 +03:00
|
|
|
@keyframes fadeIn {
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes fadeOut {
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fade-in {
|
|
|
|
opacity: 0;
|
|
|
|
animation: fadeIn .1s forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fade-out {
|
|
|
|
animation: fadeOut .1s forwards;
|
2022-02-25 22:51:01 +03:00
|
|
|
display: none !important;
|
|
|
|
/* TODO: Search Google for: "How to fade out and then set display none" */
|
2022-01-26 01:47:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.is-paused {
|
|
|
|
animation-play-state: paused;
|
|
|
|
}
|
|
|
|
|
2022-01-25 02:33:23 +03:00
|
|
|
/* Tool tutorial */
|
|
|
|
#tool-tutorial {
|
|
|
|
display:inline-block;
|
|
|
|
position:absolute;
|
|
|
|
margin-left:48px;
|
|
|
|
margin-top:48px;
|
|
|
|
background-color: $basehover;
|
|
|
|
color:$basetext;
|
|
|
|
font-size:14px;
|
2022-01-30 02:09:43 +03:00
|
|
|
width:22%;
|
2022-01-25 02:33:23 +03:00
|
|
|
border-radius:0 5px 5px 5px;
|
2022-01-31 00:53:59 +03:00
|
|
|
z-index:1000;
|
2022-01-25 02:33:23 +03:00
|
|
|
|
|
|
|
img {
|
|
|
|
width:100%;
|
|
|
|
}
|
2022-01-26 01:47:01 +03:00
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-left:20px;
|
|
|
|
margin-bottom:-5px;
|
|
|
|
}
|
2022-01-25 02:33:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#tool-tutorial:after {
|
|
|
|
border-left: 11px solid #222;
|
|
|
|
border-top: 8px solid transparent;
|
|
|
|
border-bottom: 8px solid transparent;
|
|
|
|
position: relative;
|
2021-07-07 02:14:37 +03:00
|
|
|
}
|