Files
textual/docs/examples/guide/layout/combining_layouts.tcss
Rodrigo Girão Serrão 5ee0ebfef4 Rename CSS files to TCSS.
Related issue: #3137.
2023-08-22 13:21:17 +01:00

55 lines
824 B
Plaintext

#app-grid {
layout: grid;
grid-size: 2; /* two columns */
grid-columns: 1fr;
grid-rows: 1fr;
}
#left-pane > Static {
background: $boost;
color: auto;
margin-bottom: 1;
padding: 1;
}
#left-pane {
width: 100%;
height: 100%;
row-span: 2;
background: $panel;
border: dodgerblue;
}
#top-right {
height: 100%;
background: $panel;
border: mediumvioletred;
}
#top-right > Static {
width: auto;
height: 100%;
margin-right: 1;
background: $boost;
}
#bottom-right {
height: 100%;
layout: grid;
grid-size: 3;
grid-columns: 1fr;
grid-rows: 1fr;
grid-gutter: 1;
background: $panel;
border: greenyellow;
}
#bottom-right-final {
column-span: 2;
}
#bottom-right > Static {
height: 100%;
background: $boost;
}