tareas-hijos.component.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. .centrar {
  2. margin-top: 4%;
  3. line-height: auto;
  4. text-align: center;
  5. }
  6. .cerrar-b {
  7. background-color: #fff;
  8. border: none;
  9. }
  10. .fondo {
  11. border-radius: 10px;
  12. line-height: 1;
  13. display: inline-block;
  14. vertical-align: middle;
  15. }
  16. .content {
  17. margin-bottom: 0;
  18. margin-top: 0;
  19. padding-top: 10px;
  20. padding-bottom: 10px;
  21. padding-left: 70px;
  22. padding-right: 70px;
  23. font-weight: 500;
  24. font-size: 32px;
  25. color: white;
  26. font-family: "Serenity Medium";
  27. }
  28. .form-container {
  29. display: grid;
  30. grid-template-columns: repeat(3, 1fr); /* 4 columnas iguales */
  31. gap: 10px; /* espacio entre columnas y filas */
  32. }
  33. .item {
  34. box-sizing: border-box;
  35. padding: 10px;
  36. }
  37. .item.two-columns {
  38. grid-column: span 2;
  39. }
  40. .w-responsive {
  41. width: 160px;
  42. }
  43. .input {
  44. width: 500px;
  45. color: rgb(0, 140, 255);
  46. }
  47. .file-input {
  48. display: none;
  49. }
  50. .btnDelete {
  51. display: flex;
  52. align-items: center;
  53. justify-content: center;
  54. cursor: pointer;
  55. border: none;
  56. background-color: transparent;
  57. height: 30px;
  58. width: 30px;
  59. color: #ccc;
  60. border-radius: 5px;
  61. padding: 0;
  62. }
  63. .btnDelete:hover {
  64. color: #dd131a;
  65. background-color: #f7e3e4;
  66. }
  67. .container-col {
  68. display: flex;
  69. flex-direction: column;
  70. padding-top: 100px;
  71. padding-left: 30px;
  72. padding-right: 65px;
  73. width: 100%;
  74. box-sizing: border-box;
  75. }
  76. .yellow {
  77. border: none;
  78. border-radius: 5px;
  79. padding: 5px 15px;
  80. font-size: 1rem;
  81. color: white;
  82. margin-left: 10px;
  83. background-color: #ebac3f;
  84. }
  85. .yellow:hover {
  86. background-color: #be8b32;
  87. }
  88. .orange {
  89. border: none;
  90. border-radius: 5px;
  91. padding: 5px 15px;
  92. font-size: 1rem;
  93. color: white;
  94. margin-left: 10px;
  95. background-color: #f56227;
  96. }
  97. .orange:hover {
  98. background-color: #d15321;
  99. }
  100. .red {
  101. border: none;
  102. border-radius: 5px;
  103. padding: 5px 15px;
  104. font-size: 1rem;
  105. color: white;
  106. margin-left: 10px;
  107. background-color: red;
  108. }
  109. .red:hover {
  110. background-color: rgb(177, 0, 0);
  111. }
  112. .action-edit {
  113. margin-left: 5px;
  114. background-color: #1d156e;
  115. color: white;
  116. height: 30px;
  117. width: 30px;
  118. }
  119. .action-delete {
  120. margin-left: 5px;
  121. background-color: #e43b3d;
  122. color: white;
  123. height: 30px;
  124. width: 30px;
  125. }
  126. .inline {
  127. display: flex;
  128. align-items: center;
  129. color: red;
  130. cursor: pointer;
  131. }
  132. .icon {
  133. transform: scale(0.8);
  134. vertical-align: middle;
  135. }
  136. .green {
  137. background-color: #2a6c42;
  138. border: none;
  139. color: white !important;
  140. cursor: pointer;
  141. border-radius: 6px;
  142. height: 35px;
  143. }
  144. .green:hover {
  145. background-color: #205232;
  146. }
  147. .buttons {
  148. display: flex;
  149. justify-content: space-between;
  150. align-items: center;
  151. width: 100%;
  152. margin-bottom: 15px;
  153. padding-left: 20px;
  154. }
  155. .badge-active {
  156. color: #026AA2;
  157. font-weight: 500;
  158. padding: 3px 7px;
  159. background-color: #E0F2FE;
  160. border-radius: 15px;
  161. }
  162. .badge-inactive {
  163. color: #AC2722;
  164. font-weight: 500;
  165. padding: 3px 7px;
  166. background-color: #FEE4E2;
  167. border-radius: 15px;
  168. }
  169. /* --------------- Table and responsive styles ---------------- */
  170. .table-container {
  171. width: 100%;
  172. overflow: auto;
  173. }
  174. .table-responsive {
  175. overflow: auto;
  176. }
  177. /* --------------- Special button styles for Circulares ---------------- */
  178. .btn-grande {
  179. display: inline-flex;
  180. align-items: center;
  181. background-color: rgb(184, 221, 247);
  182. border-radius: 4px;
  183. padding: 0 12px;
  184. height: 36px;
  185. }
  186. .btn-movil {
  187. display: none;
  188. background: none;
  189. border: none;
  190. padding: 0;
  191. margin: 0;
  192. }
  193. /* --------------- Modal and form styles ---------------- */
  194. .close {
  195. padding-top: 20px;
  196. padding-right: 20px;
  197. display: flex;
  198. justify-content: end;
  199. }
  200. .center {
  201. text-align: center;
  202. font-size: 32px;
  203. font-weight: 600;
  204. }
  205. .responsive {
  206. display: flex;
  207. flex-direction: row;
  208. }
  209. .align {
  210. margin-top: 30px;
  211. display: flex;
  212. justify-content: center;
  213. }
  214. /* --------------- Media Queries ---------------- */
  215. @media only screen and (max-width: 600px) {
  216. .centrar {
  217. margin-top: 8%;
  218. }
  219. .fondo {
  220. width: 90%;
  221. }
  222. .content {
  223. font-size: 24px;
  224. padding: 10px 20px;
  225. }
  226. .container-col {
  227. padding-top: 50px;
  228. padding-left: 15px;
  229. padding-right: 15px;
  230. }
  231. .input {
  232. width: 100%;
  233. }
  234. .container-search {
  235. flex-direction: column;
  236. }
  237. .buttons {
  238. flex-direction: column;
  239. align-items: stretch;
  240. gap: 10px;
  241. padding-left: 0;
  242. }
  243. .table-container {
  244. width: 100%;
  245. }
  246. /* Special mobile styles for Circulares buttons */
  247. .btn-grande {
  248. display: none;
  249. }
  250. .btn-movil {
  251. display: inline-flex;
  252. }
  253. .btn-movil img {
  254. width: 24px;
  255. height: 24px;
  256. }
  257. /* Adjust action buttons container */
  258. .flex-row.items-center {
  259. justify-content: center;
  260. }
  261. }
  262. @media (max-width: 768px) {
  263. .w-responsive {
  264. width: 100%;
  265. }
  266. .content {
  267. font-size: 22px;
  268. padding: 10px 15px;
  269. }
  270. .item {
  271. flex: 1 0 100%;
  272. }
  273. .table-responsive {
  274. overflow-x: auto;
  275. }
  276. /* Ensure table cells have proper spacing */
  277. .mat-cell,
  278. .mat-header-cell {
  279. padding: 4px 8px;
  280. }
  281. /* Adjust column widths for mobile */
  282. .mat-column-acciones {
  283. min-width: 80px;
  284. }
  285. .mat-column-adjuntos {
  286. min-width: 100px;
  287. }
  288. }