style.tcss 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. Screen { align: center middle; }
  2. #main_container { width: 95%; height: 95%; border: solid green; padding: 1 2; }
  3. /* Top Section: Tabs (Fixed percentage, scrollable) */
  4. TabbedContent {
  5. height: 40%;
  6. margin-bottom: 1;
  7. border: round gray;
  8. }
  9. TabPane {
  10. overflow-y: auto;
  11. padding: 1;
  12. }
  13. .row { height: auto; margin-bottom: 1;}
  14. .input_group { width: 1fr; margin-right: 2; height: auto; }
  15. .input_label { margin-top: 1; }
  16. #load_btn { width: auto; margin-top: 1; }
  17. /* Bottom Section: Columns */
  18. #bottom_area { height: 1fr; margin-top: 1; }
  19. #control_panel { width: 6fr; padding-right: 2; }
  20. #log_panel { width: 5fr; height: 1fr; border: solid white; }
  21. /* Controls, Dropdowns, and Status */
  22. #status_row {
  23. height: 3;
  24. margin-bottom: 1;
  25. }
  26. #scenario_select {
  27. width: 1fr;
  28. margin-right: 1;
  29. }
  30. #pipeline_status_label {
  31. width: 1fr;
  32. height: 100%;
  33. content-align: center middle;
  34. background: $boost;
  35. border: round $primary;
  36. text-style: bold;
  37. }
  38. Button { margin-top: 1; margin-bottom: 1; width: 100%; }
  39. #active_controls { height: auto; }
  40. #active_controls Button { width: 1fr; margin-right: 1; }
  41. RichLog { height: 1fr; }
  42. /* Progress Bars Setup */
  43. #progress_area { height: auto; margin-top: 1; margin-bottom: 1; }
  44. .progress_row {
  45. height: auto;
  46. layout: horizontal;
  47. display: none;
  48. border: round $primary-muted;
  49. background: $surface;
  50. padding: 0 1;
  51. margin-bottom: 0;
  52. }
  53. .progress_title {
  54. width: 25;
  55. height: auto;
  56. content-align: left middle;
  57. padding-right: 1;
  58. margin-right: 1;
  59. text-style: bold;
  60. border-right: solid $primary-muted;
  61. }
  62. .progress_bar { width: 1fr; margin-top: 1; }
  63. ProgressBar ETAStatus { width: 9; }
  64. .progress_stats {
  65. width: 12;
  66. height: auto;
  67. content-align: right middle;
  68. padding-left: 1;
  69. margin-left: 1;
  70. border-left: solid $primary-muted;
  71. }
  72. #progress_bar_1 .bar--complete { background: $secondary; }
  73. #progress_bar_2 .bar--complete { background: $warning; }
  74. #progress_bar_3 .bar--complete { background: $error; }
  75. #progress_bar_4 .bar--complete { background: $accent; }
  76. /* Modal Screen CSS */
  77. OverwriteConfirmScreen { background: $background 80%; }
  78. #warning_label { width: 100%; height: auto; }
  79. #dialog { padding: 1 2; border: thick $error; width: 60; height: auto; background: $surface; }
  80. #dialog_buttons { margin-top: 2; align: right middle; height: auto; }
  81. #dialog_buttons Button { width: auto; margin-left: 2; margin-top: 0; margin-bottom: 0; }