combined_styles.css 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. @font-face {
  2. font-family: CaviarDreams;
  3. src: local("CaviarDreams"), url("{{ url_for("static", filename=static_prefix+"css/alteram/CaviarDreams.woff") }}") format("woff"), url("{{ url_for("static", filename=static_prefix+"css/alteram/CaviarDreams.ttf") }}") format("truetype");
  4. font-weight: normal
  5. }
  6. @font-face {
  7. font-family: CaviarDreams;
  8. src: local("CaviarDreams"), url("{{ url_for("static", filename=static_prefix+"css/alteram/CaviarDreams_Bold.woff") }}") format("woff"), url("{{ url_for("static", filename=static_prefix+"css/alteram/CaviarDreams_Bold.ttf") }}") format("truetype");
  9. font-weight: bold;
  10. font-style: normal
  11. }
  12. body {
  13. font-family: CaviarDreams, Arial, sans-serif;
  14. background-color: var(--background-color);
  15. color: var(--primary-color);
  16. position: relative
  17. min-height: 100vh;
  18. display: flex;
  19. flex-direction: column
  20. }
  21. h2 {
  22. font-family: CaviarDreams, Arial, sans-serif;
  23. font-size: 14pt;
  24. background-color: white;
  25. color: rgb(39, 37, 92)
  26. }
  27. a {
  28. color: rgb(250, 122, 30)
  29. }
  30. a.visited {
  31. color: rgb(250, 122, 30)
  32. }
  33. #tbl_layout {
  34. border: 0px solid transparent
  35. }
  36. #tbl_layout td {
  37. text-align: left
  38. }
  39. .td_nav {
  40. width: 20%
  41. }
  42. .td_top {
  43. vertical-align: top
  44. }
  45. div {
  46. line-height: 1.2;
  47. margin-bottom: 10px
  48. }
  49. table.multirow {
  50. border: 2px solid DimGray
  51. }
  52. table.multirow tr {
  53. vertical-align: top
  54. }
  55. table.multirow th {
  56. text-align: left;
  57. border: 1px solid DimGray
  58. }
  59. table.multirow td {
  60. text-align: left;
  61. border: 1px solid DimGray
  62. }
  63. :root {
  64. --primary-color: rgb(39, 37, 92);
  65. --accent-color: rgb(250, 122, 30);
  66. --accent-light: rgba(250, 122, 30, 0.8);
  67. --accent-lighter: rgba(250, 122, 30, 0.1);
  68. --background-color: white;
  69. --table-header-bg: rgba(39, 37, 92, 0.9);
  70. --table-row-hover: rgba(250, 122, 30, 0.05);
  71. --table-border: rgba(39, 37, 92, 0.2)
  72. }
  73. * {
  74. margin: 0;
  75. padding: 0;
  76. box-sizing: border-box
  77. }
  78. .background-container {
  79. position: fixed;
  80. top: 0;
  81. left: 0;
  82. width: 120%;
  83. height: 100vh;
  84. background-image: url("{{ url_for("static", filename=static_prefix+"css/alteram/alteram1_1_600x197.png") }}");
  85. background-repeat: no-repeat;
  86. background-position: center;
  87. background-attachment: fixed;
  88. background-size: cover;
  89. z-index: -1;
  90. opacity: 0.15
  91. }
  92. header {
  93. background-color: rgba(255, 255, 255, 0.95);
  94. padding: 1rem 0;
  95. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  96. position: fixed;
  97. width: 100%;
  98. top: 0;
  99. z-index: 100
  100. }
  101. .header-container {
  102. display: flex;
  103. justify-content: space-between;
  104. align-items: center;
  105. padding: 5 2rem;
  106. max-width: 1140px;
  107. margin: 0 auto
  108. }
  109. .logo-area {
  110. width: 180px;
  111. height: 60px;
  112. background-image: url(""{{ url_for("static", filename=static_prefix+"css/alteram/alteram1_1_600x197.png") }}");
  113. background-size: contain;
  114. background-repeat: no-repeat;
  115. background-position: left center;
  116. margin-left: -250px;
  117. margin-right: 40px
  118. }
  119. nav {
  120. display: flex;
  121. align-items: center
  122. }
  123. ul.nav {
  124. width: 100%
  125. display: flex;
  126. list-style: none;
  127. gap: 1rem;
  128. flex-wrap: nowrap;
  129. justify-content: center;
  130. align-items: center;
  131. padding: 0;
  132. margin: 0;
  133. height: 100%
  134. }
  135. ul.nav li {
  136. margin: 0;
  137. height: 40px;
  138. display: inline-block;
  139. align-items: center
  140. }
  141. ul.nav li a {
  142. color: var(--accent-color);
  143. text-decoration: none;
  144. font-weight: 600;
  145. padding: 0.75rem 1.5rem;
  146. border-radius: 4px;
  147. transition: all 0.3s ease;
  148. background-color: transparent;
  149. border: 2px solid var(--accent-color);
  150. white-space: nowrap;
  151. display: flex;
  152. align-items: center;
  153. justify-content: center;
  154. height: 100%;
  155. font-size: 0.95rem;
  156. letter-spacing: 0.02em
  157. }
  158. ul.nav li a:hover, ul.nav li a[aria-current="true"] {
  159. background-color: var(--accent-color);
  160. color: white;
  161. transform: translatey(-2px);
  162. box-shadow: 0 4px 12px rgba(250, 122, 30, 0.2)
  163. }
  164. main {
  165. padding-top: 250px;
  166. min-height: calc(100vh - 100px);
  167. justify-content: center
  168. }
  169. .content-container.content {
  170. width: auto;
  171. max-width: 120%;
  172. height: auto;
  173. max-height: 180%;
  174. margin: 2rem auto;
  175. padding: 0 2rem;
  176. overflow-x: auto;
  177. display: block;
  178. position: relative
  179. }
  180. .data-table {
  181. width: auto;
  182. min-width: 100%;
  183. border-collapse: collapse;
  184. position: relative
  185. background-color: rgba(255, 255, 255, 0.95);
  186. box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  187. border-radius: 8px;
  188. border: 1px solid var(--table-border);
  189. table-layout: auto
  190. }
  191. .changed-element::after {
  192. content: "→";
  193. position: absolute;
  194. right: -20px;
  195. top: 50%;
  196. transform: translatey(-50%);
  197. width: 10px;
  198. height: 10px;
  199. background-color: #4CAF50;
  200. border-radius: 50%;
  201. color: white;
  202. display: flex;
  203. align-items: center;
  204. justify-content: center;
  205. font-size: 12px;
  206. padding: 8px
  207. }
  208. .data-table td {
  209. padding: 8px;
  210. white-space: normal;
  211. word-wrap: break-word;
  212. max-width: 300px;
  213. min-width: 120px
  214. }
  215. .data-table td:nth-child(6) {
  216. min-width: 250px
  217. }
  218. .data-table th {
  219. background-color: var(--table-header-bg);
  220. color: white;
  221. padding: 1rem;
  222. text-align: left;
  223. font-weight: bold
  224. }
  225. .data-table td {
  226. padding: 1rem;
  227. border-bottom: 1px solid var(--table-border)
  228. }
  229. .data-table tbody tr:hover {
  230. background-color: var(--table-row-hover)
  231. }
  232. #div_alert {
  233. position: fixed;
  234. bottom: 20px;
  235. left: 50%;
  236. transform: translatex(-50%);
  237. background-color: var(--accent-color);
  238. color: white;
  239. padding: 1rem 2rem;
  240. border-radius: 4px;
  241. z-index: 1000;
  242. display: none;
  243. max-width: 80%;
  244. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1)
  245. }
  246. #div_alert.warning {
  247. background-color: #e53e3e
  248. }
  249. @media (max-width: 768px) {
  250. .header-container {
  251. flex-direction: column;
  252. gap: 1.5rem;
  253. padding: 1rem
  254. }
  255. ul.nav li {
  256. margin: 0.25rem
  257. }
  258. ul.nav li a {
  259. padding: 0.5rem 1rem;
  260. font-size: 0.9rem
  261. }
  262. }
  263. table.multirow td {
  264. text-align: left;
  265. border: 1px solid DimGray
  266. }
  267. ul.nav li a:hover {
  268. background-color: var(--accent-color);
  269. color: white
  270. }
  271. .content {
  272. flex: 1;
  273. max-width: 500px;
  274. margin: 2rem auto;
  275. padding: 2rem;
  276. background: rgba(255, 255, 255, 0.95);
  277. border-radius: 8px;
  278. box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1)
  279. }
  280. .title h2 {
  281. font-family: CaviarDreams, Arial, sans-serif;
  282. color: var(--primary-color);
  283. font-size: 2rem;
  284. margin-bottom: 2rem;
  285. text-align: center
  286. }
  287. form {
  288. display: flex;
  289. flex-direction: column;
  290. gap: 1.5rem
  291. }
  292. label {
  293. display: block;
  294. margin-bottom: 0.75rem;
  295. font-weight: 700;
  296. font-size: 1.1rem;
  297. color: var(--primary-color);
  298. font-family: "CaviarDreams", sans-serif
  299. }
  300. .input-actions {
  301. display: flex;
  302. gap: 0.5rem;
  303. align-items: center
  304. }
  305. input[type="text"], input[type="password"] {
  306. width: 100%;
  307. padding: 0.75rem;
  308. border: 2px solid rgba(39, 37, 92, 0.2);
  309. border-radius: 4px;
  310. font-family: inherit;
  311. font-size: 1rem;
  312. transition: border-color 0.3s ease
  313. }
  314. input[type="text"]:focus, input[type="password"]:focus {
  315. outline: none;
  316. border-color: var(--accent-color)
  317. }
  318. input[type="submit"] {
  319. background-color: var(--accent-color);
  320. color: white;
  321. border: none;
  322. padding: 1rem;
  323. border-radius: 4px;
  324. font-family: inherit;
  325. font-weight: bold;
  326. font-size: 1rem;
  327. cursor: pointer;
  328. transition: all 0.3s ease
  329. }
  330. input[type="submit"]:hover {
  331. transform: translatey(-2px);
  332. box-shadow: 0 4px 12px rgba(250, 122, 30, 0.2)
  333. }
  334. #div_alert {
  335. position: fixed;
  336. bottom: 20px;
  337. left: 50%;
  338. transform: translatex(-50%);
  339. background-color: var(--accent-color);
  340. color: white;
  341. padding: 1rem 2rem;
  342. border-radius: 4px;
  343. text-align: center;
  344. z-index: 1000;
  345. display: none;
  346. max-width: 80%;
  347. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1)
  348. }
  349. #div_alert.warning {
  350. background-color: #e53e3e
  351. }
  352. @media (max-width: 768px) {
  353. .content {
  354. margin: 1rem;
  355. padding: 1.5rem
  356. }
  357. }
  358. .table-container {
  359. display: flex;
  360. justify-content: center;
  361. /* centers the table */
  362. padding: 2rem
  363. }
  364. /* .data-table th, */
  365. .data-table td {
  366. padding: 1rem;
  367. border: 1px solid rgba(39, 37, 92, 0.2);
  368. text-align: left;
  369. color: var(--primary-color)
  370. }
  371. .data-table th label {
  372. color: white;
  373. font-weight: bold;
  374. display: block;
  375. margin-bottom: 0.5rem
  376. }
  377. div.div_data_filtering {
  378. background: var(--background-color);
  379. border-radius: 8px;
  380. padding: 20px;
  381. margin-bottom: 30px;
  382. }
  383. div.div_data_filtering h3 {
  384. margin-bottom: 20px;
  385. }
  386. div.div_filter_row {
  387. display: flex;
  388. flex-wrap: wrap;
  389. gap: 20px;
  390. }
  391. button img {
  392. vertical-align: middle;
  393. }