mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
css updates
This commit is contained in:
@@ -1,39 +1,39 @@
|
||||
App > View {
|
||||
layout: dock;
|
||||
docks: side=left/1 header=top footer=bottom;
|
||||
layers: base panels;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
text: bold #09312e on #3caea3;
|
||||
dock-group: side;
|
||||
dock: side;
|
||||
width: 30;
|
||||
height: 1fr;
|
||||
layer: panels;
|
||||
border-right: outer #09312e;
|
||||
offset-x: -100%;
|
||||
transition: offset 1.2s in_cubic 200ms;
|
||||
transition: offset 400ms in_out_cubic;
|
||||
}
|
||||
|
||||
#sidebar.-active {
|
||||
offset-x: 0;
|
||||
transition: offset 400ms in_out_cubic;
|
||||
text: on red;
|
||||
}
|
||||
|
||||
#header {
|
||||
text: on #173f5f;
|
||||
dock-group: header;
|
||||
dock: header;
|
||||
height: 3;
|
||||
border: hkey white;
|
||||
}
|
||||
|
||||
#footer {
|
||||
dock-group: header;
|
||||
dock: header;
|
||||
height: 3;
|
||||
border-top: hkey #0f2b41;
|
||||
text: #3a3009 on #f6d55c;
|
||||
}
|
||||
|
||||
#content {
|
||||
dock-group: header;
|
||||
text: on #20639b;
|
||||
dock: header;
|
||||
text: bold on #20639b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user