style.css 4.6 KB

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