Advertisement
NecromancerCoding

Foro en construcción (HTML/mod_login)

Jul 7th, 2021
1,892
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.61 KB | None | 0 0
  1. <!-- BEGIN switch_login_small -->
  2. <div class="formlogin" style="display:none;">
  3. <form action="{S_LOGIN_ACTION}" method="post">
  4.   <label for="username">{L_USERNAME}:</label>
  5.   <input type="text" name="username" id="username" size="15" maxlength="40" value="{USERNAME}" class="inputbox autowidth" />
  6.   <label for="password">{L_PASSWORD}:</label>
  7.   <input type="password" id="password" name="password" size="15" maxlength="25" class="inputbox autowidth" />
  8.   <div class="formbotones">
  9.   <input type="checkbox" name="autologin" id="autologin" tabindex="4" class="checkbox" {AUTOLOGIN_CHECKED} /><label for="autologin">ENTRAR AUTOMÁTICAMENTE</label>
  10.   <a href="{U_SEND_PASSWORD}" rel="nofollow" class="formsendpass">RECUPERAR CONTRASEÑA</a>
  11.   </div>
  12.   <input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" />
  13. </form>
  14. <style>body#phpbb.invibody {--bckg0: #00049a;--bckg1: #fafafa;--bckg2: #fff;--bradius: 20px;--title: #00049a;--text: #777;}
  15.  
  16. body#phpbb.invibody {
  17.     background: var(--bckg0);
  18.     display: flex;
  19.     justify-content: center;
  20.     align-items: center;
  21.     overflow: hidden;
  22. }
  23.  
  24. .construcción {
  25.     border-radius: var(--bradius);
  26.     background: var(--dbckg1);
  27.     padding: 20px;
  28.     width: 300px;
  29. }
  30.  
  31. .cnheader {
  32.     color: var(--title);
  33.     font: 14px 'Poppins';
  34.     text-transform: uppercase;
  35.     font-weight: 700;
  36.     text-align: justify;
  37.     text-align-last: center;
  38. }
  39.  
  40. .cntexto {
  41.     width: 100%;
  42.     max-height: 200px;
  43.     overflow: auto;
  44.     font-size: 12px;
  45.     margin-top: 5px;
  46.     margin-bottom: 20px;
  47.     color: var(--text);
  48.     text-align: justify;
  49. }
  50.  
  51. .cnform {
  52.     background: var(--bckg2);
  53.     border-radius: var(--bradius);
  54.     padding: 20px;
  55. }
  56.  
  57. .cnheader2 {
  58.     background: var(--bckg0);
  59.     color: #fff;
  60.     margin: -20px -20px 20px;
  61.     border-radius: var(--bradius) var(--bradius) 0 0;
  62.     padding: 10px 10px 10px 20px;
  63.     font: 12px 'Poppins';
  64. }
  65.  
  66. form label {
  67.     font: 10px 'Poppins';
  68.     text-transform: uppercase;
  69.     font-weight: 700;
  70.     color: var(--bckg0);
  71.     display: block;
  72. }
  73.  
  74. input#username.inputbox, input#password.inputbox {
  75.     margin-bottom: 10px;
  76.     width: 100%!important;
  77.     border: 0;
  78.     border-radius: var(--bradius);
  79.     font-size: 12px;
  80.     color: var(--text);
  81.     background: rgba(0,0,0,0.07);
  82. }
  83.  
  84. .formbotones {
  85.     display: flex;
  86.     justify-content: center;
  87.     align-items: center;
  88.     margin-bottom: 10px;
  89. }
  90.  
  91. input#autologin {
  92.     display: none;
  93. }
  94.  
  95. .formbotones label, .formbotones a {
  96.     text-align: center;
  97.     font: 10px 'Poppins';
  98.     text-transform: uppercase;
  99.     font-weight: 700;
  100.     color: var(--bckg0);
  101.     display: flex;
  102.     width: 100%;
  103.     background: rgba(0,0,0,0.07);
  104.     align-self: stretch;
  105.     padding: 5px;
  106.     justify-content: center;
  107.     align-items: center;
  108.     border-radius: var(--bradius);
  109. }
  110.  
  111. .formbotones label {
  112.     margin-right: 5px;
  113.   cursor:pointer;
  114. }
  115.  
  116. input.checkbox:checked + label[for="autologin"] { font-style:italic; }
  117.  
  118. .construcción input.button1 {
  119.     text-align: center;
  120.     font: 10px 'Poppins';
  121.     text-transform: uppercase;
  122.     font-weight: 700;
  123.     background: var(--bckg0);
  124.     display: block;
  125.     width: 100%!important;
  126.     color: #fff;
  127.     align-self: stretch;
  128.     padding: 5px;
  129.     border-radius: var(--bradius);
  130.     border: 0;
  131.     text-shadow: 0 0 transparent;
  132. }
  133. .construcción input.button1:hover {
  134.     color: white;
  135.     font-style: italic;
  136.     border: 0;
  137. }</style>
  138. <link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,700;1,700&display=swap" rel="stylesheet"/>
  139. </div>
  140. <!-- END switch_login_small -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement