DanelCodes

05 | Tutorial: Conexión pt2.

Aug 18th, 2021
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1.  
  2. /*CSS EDITADO 2*/
  3. .titulo-login {
  4. text-transform: uppercase;
  5. font-size: 9px;
  6. font-weight: 600;
  7. outline: 1px solid #e1c556;
  8. background: #ecdb97;
  9. color: #ffffff;
  10. padding: 4px;
  11. text-shadow: 1px 1px 0 #e1c556, -1px 1px 0 #e1c556, 1px -1px 0 #e1c556, -1px -1px 0 #e1c556;
  12. }
  13. .etiquetas label {
  14. cursor: pointer;
  15. }
  16. .etiquetas input {
  17. display: none;
  18. }
  19. .titulo-foro {
  20. background: #f0f0f0;
  21. border: 1px solid #eaeaea;
  22. text-transform: lowercase;
  23. font-family: 'Montserrat', sans-serif;
  24. text-align: center;
  25. padding: 20px;
  26. margin: -1px;
  27. margin-top: 1px;
  28. font-size: 19px;
  29. color: #e1c556;
  30. text-shadow: 1px 1px 0 #ffffff, -1px 1px 0 #ffffff, 1px -1px 0 #ffffff, -1px -1px 0 #ffffff;
  31. }
  32. .imagen-login {
  33. height: 150px;
  34. background: url(https://via.placeholder.com/307x150);
  35. border: 10px solid #f9f9f9;
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. }
  40. .frase-capciosa {
  41. text-transform: uppercase;
  42. font-size: 9px;
  43. font-weight: 600;
  44. outline: 1px solid #e1c556;
  45. background: #ecdb97;
  46. color: #ffffff;
  47. padding: 4px;
  48. text-shadow: 1px 1px 0 #e1c556, -1px 1px 0 #e1c556, 1px -1px 0 #e1c556, -1px -1px 0 #e1c556;
  49. }
  50.  
  51. .conexion form {
  52. background: #e9e9e999;
  53. border-top: 1px solid #eaeaea;
  54. height: 146px;
  55. position: relative;
  56. }
  57. .formulario {
  58. position: absolute;
  59. top: 20px;
  60. left: 10px;
  61. right: 10px;
  62. display: flex;
  63. flex-direction: column;
  64. align-items: center;
  65. justify-content: space-between;
  66. height: 60px;
  67. }
  68. .formulario input {
  69. background: #fefefe;
  70. border: 1px solid #eaeaea;
  71. width: 270px!important;
  72. font-size: 12px;
  73. color: #676767;
  74. }
  75. .formulario .nombreusuario, .formulario .clave {
  76. display: flex;
  77. flex-direction: column;
  78. }
  79. .formulario label {
  80. text-transform: uppercase;
  81. font-size: 9px;
  82. font-weight: 600;
  83. border: 1px solid #e1c556;
  84. background: #ecdb97;
  85. color: #ffffff;
  86. padding: 4px;
  87. text-shadow: 1px 1px 0 #e1c556, -1px 1px 0 #e1c556, 1px -1px 0 #e1c556, -1px -1px 0 #e1c556;
  88. }
  89. .formulario {
  90. position: absolute;
  91. top: 20px;
  92. left: 10px;
  93. right: 10px;
  94. display: flex;
  95. flex-direction: column;
  96. align-items: center;
  97. justify-content: space-between;
  98. height: 85px;
  99. }
  100. .etiquetas a, .etiquetas label {
  101. background: #ecdb97;
  102. outline: 1px solid #e1c556;
  103. color: #fff;
  104. font-size: 9px;
  105. width: 10px;
  106. padding: 5px;
  107. display: flex;
  108. align-items: center;
  109. justify-content: center;
  110. text-shadow: 1px 1px 0 #e1c556, -1px 1px 0 #e1c556, 1px -1px 0 #e1c556, -1px -1px 0 #e1c556;
  111. margin: 5px;
  112. }
  113. .etiquetas {
  114. position: absolute;
  115. bottom: 6px;
  116. left: 20px;
  117. right: 20px;
  118. display: flex;
  119. align-items: center;
  120. justify-content: center;
  121. }
  122.  
  123.  
  124. /**HTML**/
  125.  
  126. <!-- BEGIN switch_login_small -->
  127.  
  128. <div class="contenedor-login">
  129. <div class="titulo-login"> Te damos la bienvenida a </div>
  130. <div class="titulo-foro">Nombre Chulito de Foro</div>
  131. <div class="imagen-login"> <div class="frase-capciosa">¿Quieres entrar?</div> </div>
  132.  
  133. <form action="{S_LOGIN_ACTION}" method="post">
  134.  
  135. <div class="formulario">
  136. <div class="nombreusuario"><label for="username">Nombre de Usuario</label>
  137. <input type="text" name="username" id="username" size="15" maxlength="40" value="{USERNAME}" class="inputbox autowidth" />
  138. </div>
  139.  
  140. <div class="clave"><label for="password">Contraseña</label>
  141. <input type="password" id="password" name="password" size="15" maxlength="25" class="inputbox autowidth" />
  142. </div>
  143. </div>
  144.  
  145. <div class="etiquetas"><input type="checkbox" name="autologin" id="autologin" tabindex="4" class="checkbox" {AUTOLOGIN_CHECKED} />
  146. <label for="autologin" title="recordar ingresar"><i class="fas fa-key"></i></label>
  147. <a href="{U_SEND_PASSWORD}" rel="nofollow" title="recuperar contraseña"><i class="fas fa-question"></i></a>
  148. <input type="submit" name="login" tabindex="6" id="login"/>
  149. <label for="login" title="Ingresar"><i class="fas fa-sign-in-alt"></i></label>
  150. </div>
  151. </form>
  152. </div>
  153. <!-- END switch_login_small -->
  154.  
  155.  
  156.  
Advertisement
Add Comment
Please, Sign In to add comment