mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
30 lines
380 B
CSS
30 lines
380 B
CSS
Screen {
|
|
background: lightcoral;
|
|
}
|
|
|
|
#sidebar {
|
|
color: $text-panel;
|
|
background: $panel;
|
|
dock: left;
|
|
width: 30;
|
|
offset-x: -100%;
|
|
transition: offset 500ms in_out_cubic 2s;
|
|
layer: sidebar;
|
|
}
|
|
|
|
#sidebar.-active {
|
|
offset-x: 0;
|
|
}
|
|
|
|
.box1 {
|
|
background: orangered;
|
|
height: 12;
|
|
width: 30;
|
|
}
|
|
|
|
.box2 {
|
|
background: blueviolet;
|
|
height: 6;
|
|
width: 12;
|
|
}
|