hamster-tools/hamstertools/app.tcss

87 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-10-27 15:29:12 +00:00
DataTable {
2023-10-31 23:55:19 +00:00
height: 90%;
2023-10-27 15:29:12 +00:00
}
DataTable .datatable--cursor {
2023-10-31 23:55:19 +00:00
background: grey;
2023-10-27 15:29:12 +00:00
}
DataTable:focus .datatable--cursor {
2023-10-31 23:55:19 +00:00
background: orange;
2023-10-27 15:29:12 +00:00
}
#filter {
2023-10-31 23:55:19 +00:00
display: none;
2023-10-27 15:29:12 +00:00
}
2023-10-29 21:49:26 +00:00
2023-10-29 23:12:39 +00:00
#filter Input {
2023-10-31 23:55:19 +00:00
width: 50%;
2023-10-29 23:12:39 +00:00
}
ActivityEditScreen, ActivityMappingScreen, ActivityDeleteConfirmScreen {
2023-10-29 21:49:26 +00:00
align: center middle;
}
2023-10-31 23:55:19 +00:00
ActivityEditScreen > Vertical,
2023-10-29 21:49:26 +00:00
ActivityMappingScreen > Vertical {
padding: 0 1;
2023-10-31 23:55:19 +00:00
width: 80;
2023-10-29 21:49:26 +00:00
height: 30;
border: thick $background 80%;
background: $surface;
}
2023-10-31 23:55:19 +00:00
ActivityEditScreen > Vertical {
height: 10;
}
2023-10-29 21:49:26 +00:00
ActivityMappingScreen Horizontal {
2023-10-31 23:55:19 +00:00
align: left middle;
width: auto;
}
ActivityEditScreen Horizontal {
width: 80;
2023-10-29 21:49:26 +00:00
}
2023-10-31 23:55:19 +00:00
ActivityEditScreen Label,
2023-10-29 21:49:26 +00:00
ActivityMappingScreen Label {
2023-10-31 23:55:19 +00:00
padding: 0 1;
width: auto;
border: blank;
2023-10-29 21:49:26 +00:00
}
ActivityMappingScreen AutoComplete {
2023-10-31 23:55:19 +00:00
width: 80;
2023-10-29 21:49:26 +00:00
}
#description, #tags {
2023-10-31 23:55:19 +00:00
width: 30;
}
ActivityEditScreen Input {
width: 60;
2023-10-29 21:49:26 +00:00
}
#dialog {
grid-size: 2;
grid-gutter: 1 2;
grid-rows: 1fr 3;
padding: 0 1;
width: 60;
height: 11;
border: thick $background 80%;
background: $surface;
}
#question {
column-span: 2;
height: 1fr;
width: 1fr;
content-align: center middle;
}
Button {
width: 100%;
}