Refactor CustomFooter styles: enhance alignment and height properties for improved layout consistency across the TUI application.
This commit is contained in:
parent
8d3d1e7c11
commit
e8faa48e22
2 changed files with 20 additions and 0 deletions
|
@ -33,28 +33,36 @@ class CustomFooter(Widget):
|
||||||
CustomFooter > Horizontal {
|
CustomFooter > Horizontal {
|
||||||
height: 1;
|
height: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
align: left middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-left {
|
.footer-left {
|
||||||
width: auto;
|
width: auto;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
text-style: dim;
|
text-style: dim;
|
||||||
|
height: 1;
|
||||||
|
content-align: left middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-spacer {
|
.footer-spacer {
|
||||||
width: 1fr;
|
width: 1fr;
|
||||||
|
height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-right {
|
.footer-right {
|
||||||
width: auto;
|
width: auto;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
text-style: dim;
|
text-style: dim;
|
||||||
|
height: 1;
|
||||||
|
content-align: right middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-separator {
|
.footer-separator {
|
||||||
width: auto;
|
width: auto;
|
||||||
color: $primary;
|
color: $primary;
|
||||||
text-style: dim;
|
text-style: dim;
|
||||||
|
height: 1;
|
||||||
|
content-align: center middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-status {
|
.footer-status {
|
||||||
|
@ -62,6 +70,8 @@ class CustomFooter(Widget):
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: $accent;
|
color: $accent;
|
||||||
text-style: bold;
|
text-style: bold;
|
||||||
|
height: 1;
|
||||||
|
content-align: right middle;
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -180,28 +180,36 @@ CustomFooter {
|
||||||
CustomFooter > Horizontal {
|
CustomFooter > Horizontal {
|
||||||
height: 1;
|
height: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
align: left middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-left {
|
.footer-left {
|
||||||
width: auto;
|
width: auto;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
text-style: dim;
|
text-style: dim;
|
||||||
|
height: 1;
|
||||||
|
content-align: left middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-spacer {
|
.footer-spacer {
|
||||||
width: 1fr;
|
width: 1fr;
|
||||||
|
height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-right {
|
.footer-right {
|
||||||
width: auto;
|
width: auto;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
text-style: dim;
|
text-style: dim;
|
||||||
|
height: 1;
|
||||||
|
content-align: right middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-separator {
|
.footer-separator {
|
||||||
width: auto;
|
width: auto;
|
||||||
color: $primary;
|
color: $primary;
|
||||||
text-style: dim;
|
text-style: dim;
|
||||||
|
height: 1;
|
||||||
|
content-align: center middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-status {
|
.footer-status {
|
||||||
|
@ -209,6 +217,8 @@ CustomFooter > Horizontal {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: $accent;
|
color: $accent;
|
||||||
text-style: bold;
|
text-style: bold;
|
||||||
|
height: 1;
|
||||||
|
content-align: right middle;
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue