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