2021-07-19 21:06:07 +09:00
|
|
|
.arrow {
|
|
|
|
border: solid var(--fg);
|
|
|
|
border-width: 0 3px 3px 0;
|
|
|
|
display: none;
|
|
|
|
padding: 0.3em;
|
2021-07-23 21:04:04 +09:00
|
|
|
}
|
2021-07-19 21:06:07 +09:00
|
|
|
.right {
|
|
|
|
transform: rotate(135deg);
|
|
|
|
-webkit-transform: rotate(135deg);
|
2021-07-24 03:28:11 +09:00
|
|
|
}
|
|
|
|
|
2021-07-19 21:06:07 +09:00
|
|
|
#right-panel {
|
2021-07-27 02:11:14 +09:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-07-19 21:06:07 +09:00
|
|
|
position: fixed;
|
2021-07-27 02:11:14 +09:00
|
|
|
|
2021-07-19 21:06:07 +09:00
|
|
|
right: 0;
|
|
|
|
top: var(--unit-size);
|
|
|
|
margin: 0;
|
2021-07-27 02:11:14 +09:00
|
|
|
}
|
|
|
|
|
2021-07-19 21:06:07 +09:00
|
|
|
/* UNTOGGLED */
|
|
|
|
#right-container {
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
transition: 0.3s ease;
|
2021-07-27 02:11:14 +09:00
|
|
|
}
|
2021-07-19 21:06:07 +09:00
|
|
|
.arrow label {
|
|
|
|
display: block;
|
2021-07-23 21:04:04 +09:00
|
|
|
cursor: pointer;
|
2021-07-27 02:11:14 +09:00
|
|
|
}
|
2021-07-19 21:06:07 +09:00
|
|
|
#toggle-right {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0;
|
2021-07-27 03:08:25 +09:00
|
|
|
}
|
2021-07-19 21:06:07 +09:00
|
|
|
#toggle-right:not(:checked)+.arrow {
|
|
|
|
transform: rotate(135deg);
|
|
|
|
transition: 0.3s ease;
|
2021-07-27 03:08:25 +09:00
|
|
|
}
|
|
|
|
|
2021-07-19 21:06:07 +09:00
|
|
|
/* TOGGLED */
|
|
|
|
#toggle-right:checked~#right-container {
|
|
|
|
display: flex;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
transition: 0.3s ease;
|
2021-07-27 03:08:25 +09:00
|
|
|
}
|
2021-07-19 21:06:07 +09:00
|
|
|
#toggle-right:checked+.arrow {
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
transition: 0.3s ease;
|
2021-07-27 03:08:25 +09:00
|
|
|
}
|