schedule.tcss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. /* Schedule-View Styles */
  2. #schedule-header {
  3. height: 1;
  4. margin: 0 1 1 1;
  5. text-style: bold;
  6. }
  7. #schedule-table {
  8. height: 1fr;
  9. margin: 0 1;
  10. }
  11. #schedule-actions {
  12. height: 3;
  13. align: left middle;
  14. margin: 1 1 0 1;
  15. }
  16. #schedule-actions Button {
  17. margin-right: 1;
  18. min-width: 16;
  19. }
  20. #schedule-status {
  21. height: 1;
  22. margin: 0 1;
  23. color: $text-muted;
  24. }
  25. /* Schedule Detail Views - Allgemein */
  26. .section-box {
  27. margin: 0 1 1 1;
  28. padding: 0 1;
  29. }
  30. .section-header {
  31. height: 1;
  32. margin: 0 0 1 0;
  33. text-style: bold;
  34. }
  35. .field-label {
  36. height: 1;
  37. margin: 0 0 0 0;
  38. color: $text;
  39. }
  40. .field-help {
  41. height: 1;
  42. margin: 0 0 0 0;
  43. color: $text-muted;
  44. }
  45. .field-row {
  46. height: auto;
  47. margin: 0 0 1 0;
  48. }
  49. .field-row Switch {
  50. margin-left: 1;
  51. }
  52. /* Schedule Info View */
  53. #sched-info-name,
  54. #sched-info-desc {
  55. margin: 0 0 1 0;
  56. }
  57. #sched-info-enabled-row {
  58. height: 3;
  59. align: left middle;
  60. }
  61. .sched-config-field {
  62. margin: 0 0 1 0;
  63. }
  64. #sched-save-btn {
  65. margin: 1 1;
  66. min-width: 20;
  67. }
  68. #sched-save-status {
  69. height: 1;
  70. margin: 0 1;
  71. }
  72. /* Schedule Trigger View */
  73. #sched-trigger-type {
  74. margin: 0 0 1 0;
  75. }
  76. #sched-trigger-fields-container {
  77. margin: 0 0 1 0;
  78. }
  79. #sched-trigger-fields-container Input,
  80. #sched-trigger-fields-container TextArea {
  81. margin: 0 0 1 0;
  82. }
  83. /* Schedule Condition/Action Views */
  84. #sched-conditions-table,
  85. #sched-actions-table {
  86. height: auto;
  87. max-height: 12;
  88. margin: 0 1;
  89. }
  90. #sched-conditions-info,
  91. #sched-actions-info {
  92. height: 1;
  93. margin: 0 1;
  94. color: $text-muted;
  95. }
  96. .sched-list-actions,
  97. .button-bar {
  98. height: 3;
  99. align: left middle;
  100. margin: 1 1 0 1;
  101. }
  102. .sched-list-actions Button,
  103. .button-bar Button {
  104. margin-right: 1;
  105. min-width: 14;
  106. }
  107. .sched-edit-section,
  108. #sched-cond-edit-section {
  109. margin: 1 1;
  110. padding: 1;
  111. border: solid $primary;
  112. }
  113. .sched-edit-section Input,
  114. .sched-edit-section TextArea {
  115. margin: 0 0 1 0;
  116. }
  117. #sched-cond-type,
  118. #sched-act-type {
  119. margin: 0 0 1 0;
  120. }
  121. .weekday-row {
  122. height: 3;
  123. align: left middle;
  124. }
  125. .weekday-row Switch {
  126. margin-right: 1;
  127. }
  128. .weekday-label {
  129. height: 1;
  130. width: 4;
  131. content-align: center middle;
  132. }