style.css 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. @import url('https://fonts.gogleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
  2. :root {
  3. --ancho-menu: 250px;
  4. }
  5. * {
  6. margin: 0;
  7. padding: 0;
  8. box-sizing: border-box;
  9. font-family: 'Poppins', sans-serif;
  10. }
  11. body {
  12. width: 100%;
  13. background: #E5E7EB;
  14. position: relative;
  15. display: flex;
  16. }
  17. #menu {
  18. background: #E3DBFC;
  19. width: var(--ancho-menu); /* si cambia este valor puede afectar a otros calculos más abajo, por ejemplo el ancho de navigation */
  20. height: 100%;
  21. position: fixed;
  22. top: 0;
  23. left: 0;
  24. }
  25. #menu .logo {
  26. display: flex;
  27. align-items: center;
  28. color: #000;
  29. padding: 30px 0 0 30px;
  30. }
  31. #menu .logo img {
  32. width: 40px;
  33. margin-right: 15px;
  34. }
  35. #menu .items {
  36. margin-top: 40px;
  37. }
  38. #menu .items li {
  39. list-style: none;
  40. padding: 15px 0;
  41. transition: 0.3s ease;
  42. }
  43. #menu .items li:hover {
  44. background: #253047;
  45. cursor: pointer;
  46. }
  47. #menu .items li:nth-child(i) {
  48. border-left: 4px solid #fff;
  49. }
  50. #menu .items li i{
  51. color: rgb(134, 141, 151);
  52. width: 30px;
  53. height: 30px;
  54. line-height: 30px;
  55. text-align: center;
  56. font-size: 14px;
  57. margin: 0 5px 0 25px;
  58. }
  59. #menu .items li:hover i,
  60. #menu .items li:hover a {
  61. color: #F3F4F6;
  62. }
  63. #menu .items li a{
  64. text-decoration: none;
  65. color: rgb(134, 141, 151);
  66. font-weight: 300px;
  67. transition: 0.3s ease;
  68. }
  69. #interface {
  70. width: calc(100% - var(--ancho-menu)); /* el 200px es el ancho del menú. Si cambia este hay que cambiarlo aquí */
  71. margin-left: var(--ancho-menu); /* el 200px es el ancho del menú. Si cambia este hay que cambiarlo aquí */
  72. position: relative;
  73. }
  74. #interface .titulo-login {
  75. color: #2b2b2b;
  76. padding: 30px 30px 0 30px;
  77. font-size: 24px;
  78. font-weight: 700;
  79. }
  80. #interface .errornote {
  81. color: #2b2b2b;
  82. padding: 30px 30px 20px 30px;
  83. font-size: 15px;
  84. }
  85. #interface .navigation {
  86. display: flex;
  87. justify-content: space-between;
  88. align-items: center;
  89. background: #fff;
  90. padding: 20px 30px;
  91. border-bottom: 3px solid #E3DBFC;
  92. position: fixed;
  93. width: calc(100% - var(--ancho-menu)); /* el 200px es el ancho del menú. Si cambia este hay que cambiarlo aquí */
  94. }
  95. #interface .navigation .search{
  96. display: flex;
  97. justify-content: flex-start;
  98. align-items: center;
  99. padding: 10px 14px;
  100. border: 1px;
  101. border-radius: 4px;
  102. }
  103. #interface .navigation .search i{
  104. margin-right: 14px;
  105. }
  106. #interface .navigation .search input{
  107. border: 1px solid #E3DBFC;
  108. outline: none;
  109. font-size: 14px;
  110. }
  111. #interface .navigation .profile {
  112. display: flex;
  113. justify-content: flex-start;
  114. align-items: center;
  115. }
  116. #interface .navigation .profile i {
  117. margin-right: 20px;
  118. font-size: 19px;
  119. font-weight: 400;;
  120. }
  121. #interface .navigation .profile img {
  122. width: 30px;
  123. height: 30px;
  124. border-radius: 50%;
  125. border-width: 50%;
  126. }
  127. #login-form {
  128. display: flex;
  129. justify-content: left;
  130. align-items: left;
  131. flex-direction: column;
  132. padding: 30px 30px 0 30px;
  133. }
  134. #login-form .usuario-login {
  135. display: flex;
  136. color: #2b2b2b;
  137. font-size: 20px;
  138. font-weight: 400;
  139. }
  140. #login-form .password-login {
  141. display: flex;
  142. color: #2b2b2b;
  143. font-size: 20px;
  144. font-weight: 400;
  145. }
  146. #login-form .usuario {
  147. display: flex;
  148. justify-content: flex-start;
  149. align-items: center;
  150. padding: 0 0 10px 20px ;
  151. width: 100%;
  152. }
  153. #login-form .input-usuario input {
  154. border: 1px solid #E3DBFC;
  155. outline: none;
  156. font-size: 14px;
  157. padding: 0 0 10px 20px ;
  158. width: 100%;
  159. border-radius: 5px;
  160. }
  161. #login-form .input-password input {
  162. border: 1px solid #E3DBFC;
  163. outline: none;
  164. font-size: 14px;
  165. padding: 0 0 10px 20px ;
  166. width: 100%;
  167. border-radius: 5px;
  168. }
  169. #login-form .password {
  170. display: flex;
  171. justify-content: flex-start;
  172. align-items: center;
  173. padding: 0 0 10px 20px ;
  174. width: 100%;
  175. }
  176. #login-form .input-usuario {
  177. justify-content: flex-start;
  178. align-items: center;
  179. padding: 0 0 0 20px ;
  180. width: 100%;
  181. }
  182. #login-form .input-password {
  183. justify-content: flex-start;
  184. align-items: center;
  185. padding: 0 0 0 20px ;
  186. width: 100%;
  187. }
  188. #login-form .text-center {
  189. display: flex;
  190. color: #2b2b2b;
  191. font-size: 20px;
  192. font-weight: 400;
  193. padding: 0 0 5px 10px;
  194. }
  195. #login-form .boton-primario {
  196. display: flex;
  197. justify-content: center;
  198. align-items: center;
  199. background: #05e781;
  200. color: #fff;
  201. font-size: 20px;
  202. font-weight: 400;
  203. padding: 10px 10px;
  204. border-radius: 10px;
  205. margin-top: 30px;
  206. }
  207. .n1 {
  208. display: flex;
  209. justify-content: flex-start;
  210. align-items: center;
  211. }
  212. #menu-btn {
  213. display: none;
  214. color: #2b2b2b;
  215. font-size: 20px;
  216. cursor: pointer;
  217. margin-right: 20px;
  218. }
  219. .i-name {
  220. color: #444a53;
  221. padding: 30px 30px 0 30px;
  222. font-size: 24px;
  223. font-weight: 700;
  224. margin-top: 70px;
  225. }
  226. .values {
  227. display: flex;
  228. padding: 30px 40px 0 30px;
  229. justify-content: space-between;
  230. align-items: center;
  231. flex-wrap: wrap;
  232. }
  233. .values .val-box {
  234. background: #fff;
  235. width: 235px;
  236. padding: 16px 20px;
  237. border-radius: 5px;
  238. display: flex;
  239. justify-content: flex-start;
  240. align-items: center;
  241. }
  242. .values .val-box i {
  243. font-size: 50px;
  244. width: 60px;
  245. height: 60px;
  246. line-height: 30px;
  247. border-radius: 10%;
  248. text-align: center;
  249. color: #fff;
  250. margin-right: 15px;
  251. }
  252. .values .val-box:nth-child(1) i {
  253. background: #E3DBFC;
  254. }
  255. .values .val-box:nth-child(2) i {
  256. background: #6249ac;
  257. }
  258. .values .val-box:nth-child(3) i {
  259. background: #b4a3e9;
  260. }
  261. .values .val-box:nth-child(4) i{
  262. background: #615780;
  263. }
  264. .values .val-box h3 {
  265. font-size: 18px;
  266. font-weight: 600;
  267. }
  268. .values .val-box span {
  269. font-size: 15px;
  270. color: #828997;
  271. }
  272. .board{
  273. width: 94%;
  274. margin: 30px 0 30px 30px;
  275. overflow: auto;
  276. background: #fff;
  277. border-radius: 8px;
  278. }
  279. .board img {
  280. width: 45px;
  281. height: 45px;
  282. object-fit: cover;
  283. border-radius: 50%;
  284. margin-right: 15px;
  285. }
  286. .board h5 {
  287. font-size: 14px;
  288. font-weight: 600;
  289. }
  290. .board p {
  291. font-weight: 400;
  292. font-size: 13px;
  293. color: #828997;
  294. }
  295. .board .people {
  296. display: flex;
  297. justify-content: flex-start;
  298. align-items: center;
  299. text-align: start;
  300. }
  301. .botones{
  302. width: 94%;
  303. margin: 30px 0px 30px 0px;
  304. overflow: auto;
  305. background: #fff;
  306. border-radius: 8px;
  307. }
  308. table {
  309. border-collapse: collapse;
  310. }
  311. tr {
  312. border-bottom: 1px solid #E3DBFC;
  313. }
  314. thead {
  315. font-size: 14px;
  316. text-transform: uppercase;
  317. font-weight: 400;
  318. background: #dddce2;
  319. text-align: start;
  320. padding: 15px;
  321. }
  322. thead tr {
  323. height: 50px;
  324. }
  325. tbody tr td {
  326. padding: 10px 15px;
  327. }
  328. .active p {
  329. background: #d7fada;
  330. padding: 2px 10px;
  331. display: inline-block;
  332. border-radius: 40px;
  333. color: #2b2b2b;
  334. }
  335. .edit a {
  336. text-decoration: none;
  337. font-size: 14px;
  338. color: #554cd1;
  339. font-weight: 600;
  340. }
  341. @media (max-width: 769px) {
  342. #menu {
  343. width: 170px;
  344. position: fixed;
  345. left: -170px;
  346. transition: 0.3s ease;
  347. }
  348. #menu.active {
  349. left: 0;
  350. }
  351. #menu-btn {
  352. display: initial;
  353. }
  354. #interface {
  355. width: 100%;
  356. margin-left: 0px;
  357. display: inline-block;
  358. transition: 0.3s ease;
  359. }
  360. #menu.active~#interface {
  361. width: calc(100% - 170px);
  362. margin-left: 170px;
  363. transition: 0.3s ease;
  364. }
  365. #interface .navigation {
  366. width: 100%;
  367. }
  368. .values {
  369. padding: 30px 40px 0 30px;
  370. justify-content: flex-start;
  371. }
  372. .values .val-box {
  373. padding: 16px 20px;
  374. margin: 10px 20px 10px 0;
  375. }
  376. .board {
  377. width: 92%;
  378. padding: 0;
  379. overflow-x: auto;
  380. }
  381. table{
  382. width: 100%;
  383. border-collapse: collapse;
  384. }
  385. }
  386. @media (max-width: 477px) {
  387. #interface .navigation {
  388. padding: 15px;
  389. }
  390. /* esto de aquí no se si hace algo */
  391. #interface .navigation .search input {
  392. width: 150px;
  393. }
  394. .i-name {
  395. padding: 30px 15px 0 15px;
  396. }
  397. .values {
  398. padding: 15px 15px 0 15px;
  399. }
  400. .values .val-box {
  401. width: 100%;
  402. margin: 8px
  403. }#menu-toggle {
  404. display: none;
  405. }
  406. }
  407. .dropbtn {
  408. background-color: #fff;
  409. color: white;
  410. padding: 16px;
  411. font-size: 16px;
  412. border: none;
  413. cursor: pointer;
  414. }
  415. .dropdown {
  416. position: relative;
  417. display: inline-block;
  418. }
  419. .dropdown-content {
  420. display: none;
  421. position: absolute;
  422. background-color: #f9f9f9;
  423. min-width: 160px;
  424. box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  425. z-index: 1;
  426. }
  427. .dropdown-content a {
  428. color: black;
  429. padding: 12px 16px;
  430. text-decoration: none;
  431. display: block;
  432. text-align: left;
  433. }
  434. .dropdown-content a:hover {background-color: #f1f1f1;}
  435. .dropdown:hover .dropdown-content {
  436. display: block;
  437. }
  438. .dropdown:hover .dropbtn {
  439. background-color: #fff;
  440. }
  441. .boton-salir {
  442. background: none!important;
  443. border: none;
  444. padding: 0!important;
  445. /*optional*/
  446. font-family: arial, sans-serif;
  447. /*input has OS specific font-family*/
  448. /*color: #069;
  449. text-decoration: underline;*/
  450. cursor: pointer;
  451. font-size: 16px;
  452. }
  453. .div-form {
  454. width: 60%;
  455. padding: 90px 0 0 0;
  456. }