1
0

style.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. /* General Styling */
  2. body {
  3. font-family: 'Roboto', sans-serif;
  4. margin: 0;
  5. padding: 0;
  6. background-color: #f4f4f9;
  7. color: #333;
  8. }
  9. h1 {
  10. text-align: center;
  11. color: #4A90E2;
  12. margin: 20px 0;
  13. }
  14. h2 {
  15. color: #4A90E2;
  16. margin: 10px 0;
  17. }
  18. /* Container Layout */
  19. .container {
  20. display: flex;
  21. flex-wrap: wrap;
  22. justify-content: space-between;
  23. gap: 20px;
  24. width: 90%;
  25. max-width: 1200px;
  26. margin: 0 auto;
  27. }
  28. /* Columns */
  29. .left-column {
  30. flex: 1;
  31. min-width: 300px;
  32. }
  33. .right-column {
  34. flex: 1;
  35. min-width: 300px;
  36. }
  37. /* Sections */
  38. .section {
  39. background: #fff;
  40. border: 1px solid #ddd;
  41. border-radius: 8px;
  42. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  43. padding: 20px;
  44. margin-bottom: 20px;
  45. }
  46. /* Buttons Inline */
  47. .button-group {
  48. display: flex;
  49. flex-wrap: wrap;
  50. gap: 10px;
  51. padding: 10px 15px;
  52. }
  53. button {
  54. background: #4A90E2;
  55. color: #fff;
  56. cursor: pointer;
  57. padding: 10px 15px;
  58. font-size: 1em;
  59. border: 1px solid #ddd;
  60. border-radius: 5px;
  61. outline: none;
  62. transition: all 0.3s ease;
  63. }
  64. button:hover {
  65. background: #357ABD;
  66. }
  67. /* Delete Button */
  68. .delete-button {
  69. background: #e74c3c; /* Red color */
  70. color: #fff;
  71. cursor: pointer;
  72. border: none;
  73. padding: 10px 15px;
  74. border-radius: 5px;
  75. font-size: 1em;
  76. transition: all 0.3s ease;
  77. }
  78. .delete-button:hover {
  79. background: #c0392b; /* Darker red on hover */
  80. }
  81. select, input[type="file"] {
  82. display: block;
  83. width: 100%;
  84. max-width: 300px;
  85. padding: 10px;
  86. margin: 10px 0;
  87. font-size: 1em;
  88. border: 1px solid #ddd;
  89. border-radius: 5px;
  90. outline: none;
  91. }
  92. /* File List */
  93. ul {
  94. list-style: none;
  95. padding: 0;
  96. margin: 0;
  97. }
  98. li {
  99. padding: 10px;
  100. border-bottom: 1px solid #ddd;
  101. cursor: pointer;
  102. transition: all 0.3s ease;
  103. }
  104. li:hover {
  105. background: #f1f1f1;
  106. }
  107. li.selected {
  108. background: #4A90E2;
  109. color: white;
  110. font-weight: bold;
  111. padding: 5px;
  112. border-radius: 5px;
  113. }
  114. /* Status Log */
  115. #status_log {
  116. display: none;
  117. position: fixed;
  118. bottom: 0;
  119. left: 0;
  120. right: 0;
  121. background: #fff;
  122. border-top: 1px solid #ddd;
  123. padding: 10px;
  124. max-height: 150px;
  125. overflow-y: scroll; /* Use scroll explicitly */
  126. box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  127. -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on mobile */
  128. touch-action: auto; /* Ensures touch gestures are handled properly */
  129. }
  130. #status_log p {
  131. margin: 0.5em 0;
  132. font-size: 0.9em;
  133. color: #444;
  134. }
  135. #theta_rho_files {
  136. max-height: 507px;
  137. overflow-y: auto;
  138. border: 1px solid #ddd;
  139. border-radius: 5px;
  140. background-color: #fff;
  141. padding: 10px;
  142. }
  143. /* Search Bar */
  144. #search_pattern {
  145. display: block;
  146. width: 100%;
  147. max-width: 300px;
  148. padding: 10px;
  149. margin: 10px 0;
  150. font-size: 1em;
  151. border: 1px solid #ddd;
  152. border-radius: 5px;
  153. outline: none;
  154. transition: all 0.3s ease;
  155. }
  156. #search_pattern:focus {
  157. border-color: #4A90E2;
  158. box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
  159. }
  160. /* Radio Buttons and Labels */
  161. .pre-execution-toggles {
  162. margin: 10px 0;
  163. padding: 10px;
  164. background: #fff;
  165. border: 1px solid #ddd;
  166. border-radius: 8px;
  167. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  168. }
  169. .pre-execution-toggles h3 {
  170. margin: 0 0 10px 0;
  171. color: #4A90E2;
  172. font-size: 1.1em;
  173. }
  174. .pre-execution-toggles label {
  175. display: flex;
  176. align-items: center;
  177. gap: 10px;
  178. margin: 5px 0;
  179. font-size: 1em;
  180. color: #333;
  181. cursor: pointer;
  182. transition: all 0.3s ease;
  183. }
  184. .pre-execution-toggles label:hover {
  185. color: #4A90E2;
  186. }
  187. input[type="radio"] {
  188. appearance: none;
  189. width: 16px;
  190. height: 16px;
  191. border: 2px solid #4A90E2;
  192. border-radius: 50%;
  193. outline: none;
  194. cursor: pointer;
  195. transition: all 0.3s ease;
  196. }
  197. input[type="radio"]:checked {
  198. background-color: #4A90E2;
  199. border-color: #4A90E2;
  200. box-shadow: 0 0 3px rgba(74, 144, 226, 0.5);
  201. }
  202. .coordinate-input {
  203. display: flex;
  204. align-items: center;
  205. gap: 10px;
  206. margin-top: 10px;
  207. }
  208. .coordinate-input label,
  209. .coordinate-input input,
  210. .coordinate-input button {
  211. font-size: 1rem;
  212. padding: 5px;
  213. }
  214. .coordinate-input input {
  215. width: 80px;
  216. }
  217. /* Responsive Layout for Small Screens */
  218. @media (max-width: 768px) {
  219. .container {
  220. flex-direction: column; /* Stack columns vertically */
  221. }
  222. .left-column, .right-column {
  223. width: 100%;
  224. }
  225. #status_log {
  226. display: none; /* Completely hides the status log on small screens */
  227. }
  228. }