[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/css/ -> login.css (source)

   1  html,
   2  body {
   3      height: 100%;
   4      margin: 0;
   5      padding: 0;
   6  }
   7  
   8  body {
   9      background: #f0f0f1;
  10      min-width: 0;
  11      color: #3c434a;
  12      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  13      font-size: 13px;
  14      line-height: 1.4;
  15  }
  16  
  17  a {
  18      color: #2271b1;
  19      transition-property: border, background, color;
  20      transition-duration: .05s;
  21      transition-timing-function: ease-in-out;
  22  }
  23  
  24  a {
  25      outline: 0;
  26  }
  27  
  28  a:hover,
  29  a:active {
  30      color: #135e96;
  31  }
  32  
  33  a:focus {
  34      color: #043959;
  35      box-shadow: 0 0 0 2px #2271b1;
  36      /* Only visible in Windows High Contrast mode */
  37      outline: 2px solid transparent;
  38  }
  39  
  40  p {
  41      line-height: 1.5;
  42  }
  43  
  44  .login .message,
  45  .login .notice,
  46  .login .success {
  47      border-left: 4px solid #72aee6;
  48      padding: 12px;
  49      margin-left: 0;
  50      margin-bottom: 20px;
  51      background-color: #fff;
  52      box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  53      word-wrap: break-word;
  54  }
  55  
  56  .login .success {
  57      border-left-color: #00a32a;
  58  }
  59  
  60  /* Match border color from common.css */
  61  .login .notice-error {
  62      border-left-color: #d63638;
  63  }
  64  
  65  .login .login-error-list {
  66      list-style: none;
  67  }
  68  
  69  .login .login-error-list li + li {
  70      margin-top: 4px;
  71  }
  72  
  73  #loginform p.submit,
  74  .login-action-lostpassword p.submit {
  75      border: none;
  76      margin: -10px 0 20px; /* May want to revisit this */
  77  }
  78  
  79  .login * {
  80      margin: 0;
  81      padding: 0;
  82  }
  83  
  84  .login .input::-ms-clear {
  85      display: none;
  86  }
  87  
  88  .login .pw-weak {
  89      margin-bottom: 15px;
  90  }
  91  
  92  .login .button.wp-hide-pw {
  93      background: transparent;
  94      border: 1px solid transparent;
  95      box-shadow: none;
  96      font-size: 14px;
  97      line-height: 2;
  98      width: 2.5rem;
  99      height: 2.5rem;
 100      min-width: 40px;
 101      min-height: 40px;
 102      margin: 0;
 103      padding: 5px 9px;
 104      position: absolute;
 105      right: 0;
 106      top: 0;
 107  }
 108  
 109  .login .button.wp-hide-pw:hover {
 110      background: transparent;
 111  }
 112  
 113  .login .button.wp-hide-pw:focus {
 114      background: transparent;
 115      border-color: #3582c4;
 116      box-shadow: 0 0 0 1px #3582c4;
 117      /* Only visible in Windows High Contrast mode */
 118      outline: 2px solid transparent;
 119  }
 120  
 121  .login .button.wp-hide-pw:active {
 122      background: transparent;
 123      box-shadow: none;
 124      transform: none;
 125  }
 126  
 127  .login .button.wp-hide-pw .dashicons {
 128      width: 1.25rem;
 129      height: 1.25rem;
 130      top: 0.25rem;
 131  }
 132  
 133  .login .wp-pwd {
 134      position: relative;
 135  }
 136  
 137  .no-js .hide-if-no-js {
 138      display: none;
 139  }
 140  
 141  .login form {
 142      margin-top: 20px;
 143      margin-left: 0;
 144      padding: 26px 24px 34px;
 145      font-weight: 400;
 146      overflow: hidden;
 147      background: #fff;
 148      border: 1px solid #c3c4c7;
 149      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
 150  }
 151  
 152  .login form.shake {
 153      animation: shake 0.2s cubic-bezier(.19,.49,.38,.79) both;
 154      animation-iteration-count: 3;
 155      transform: translateX(0);
 156  }
 157  
 158  @keyframes shake {
 159      25% {
 160          transform: translateX(-20px);
 161      }
 162      75% {
 163          transform: translateX(20px);
 164      }
 165      100% {
 166          transform: translateX(0);
 167      }
 168  }
 169  
 170  @media (prefers-reduced-motion: reduce) {
 171      .login form.shake {
 172          animation: none;
 173          transform: none;
 174      }
 175  }
 176  
 177  .login-action-confirm_admin_email #login {
 178      width: 60vw;
 179      max-width: 650px;
 180      margin-top: -2vh;
 181  }
 182  
 183  @media screen and (max-width: 782px) {
 184      .login-action-confirm_admin_email #login {
 185          box-sizing: border-box;
 186          margin-top: 0;
 187          padding-left: 4vw;
 188          padding-right: 4vw;
 189          width: 100vw;
 190      }
 191  }
 192  
 193  .login form .forgetmenot {
 194      font-weight: 400;
 195      float: left;
 196      margin-bottom: 0;
 197  }
 198  
 199  .login .button-primary {
 200      float: right;
 201  }
 202  
 203  .login .reset-pass-submit {
 204      display: flex;
 205      flex-flow: row wrap;
 206      justify-content: space-between;
 207  }
 208  
 209  .login .reset-pass-submit .button {
 210      display: inline-block;
 211      float: none;
 212      margin-bottom: 6px;
 213  }
 214  
 215  .login .admin-email-confirm-form .submit {
 216      text-align: center;
 217  }
 218  
 219  .admin-email__later {
 220      text-align: left;
 221  }
 222  
 223  .login form p.admin-email__details {
 224      margin: 1.1em 0;
 225  }
 226  
 227  .login h1.admin-email__heading {
 228      border-bottom: 1px #f0f0f1 solid;
 229      color: #50575e;
 230      font-weight: normal;
 231      padding-bottom: 0.5em;
 232      text-align: left;
 233  }
 234  
 235  .admin-email__actions div {
 236      padding-top: 1.5em;
 237  }
 238  
 239  .login .admin-email__actions .button-primary {
 240      float: none;
 241      margin-left: 0.25em;
 242      margin-right: 0.25em;
 243  }
 244  
 245  #login form p {
 246      margin-bottom: 0;
 247  }
 248  
 249  #login form .indicator-hint,
 250  #login #reg_passmail {
 251      margin-bottom: 16px;
 252  }
 253  
 254  #login form p.submit {
 255      margin: 0;
 256      padding: 0;
 257  }
 258  
 259  .login label {
 260      font-size: 14px;
 261      line-height: 1.5;
 262      display: inline-block;
 263      margin-bottom: 3px;
 264  }
 265  
 266  .login .forgetmenot label,
 267  .login .pw-weak label {
 268      line-height: 1.5;
 269      vertical-align: baseline;
 270  }
 271  
 272  .login h1 {
 273      text-align: center;
 274  }
 275  
 276  .login h1 a {
 277      background-image: url(../images/w-logo-blue.png?ver=20131202);
 278      background-image: none, url(../images/wordpress-logo.svg?ver=20131107);
 279      background-size: 84px;
 280      background-position: center top;
 281      background-repeat: no-repeat;
 282      color: #3c434a;
 283      height: 84px;
 284      font-size: 20px;
 285      font-weight: 400;
 286      line-height: 1.3;
 287      margin: 0 auto 25px;
 288      padding: 0;
 289      text-decoration: none;
 290      width: 84px;
 291      text-indent: -9999px;
 292      outline: none;
 293      overflow: hidden;
 294      display: block;
 295  }
 296  
 297  #login {
 298      width: 320px;
 299      padding: 5% 0 0;
 300      margin: auto;
 301  }
 302  
 303  .login #nav,
 304  .login #backtoblog {
 305      font-size: 13px;
 306      padding: 0 24px;
 307  }
 308  
 309  .login #nav {
 310      margin: 24px 0 0;
 311  }
 312  
 313  #backtoblog {
 314      margin: 16px 0;
 315      word-wrap: break-word;
 316  }
 317  
 318  .login #nav a,
 319  .login #backtoblog a {
 320      text-decoration: none;
 321      color: #50575e;
 322  }
 323  
 324  .login #nav a:hover,
 325  .login #backtoblog a:hover,
 326  .login h1 a:hover {
 327      color: #135e96;
 328  }
 329  
 330  .login #nav a:focus,
 331  .login #backtoblog a:focus,
 332  .login h1 a:focus {
 333      color: #043959;
 334  }
 335  
 336  .login .privacy-policy-page-link {
 337      text-align: center;
 338      width: 100%;
 339      margin: 3em 0 2em;
 340  }
 341  
 342  .login form .input,
 343  .login input[type="text"],
 344  .login input[type="password"] {
 345      font-size: 24px;
 346      line-height: 1.33333333; /* 32px */
 347      width: 100%;
 348      border-width: 0.0625rem;
 349      padding: 0.1875rem 0.3125rem; /* 3px 5px */
 350      margin: 0 6px 16px 0;
 351      min-height: 40px;
 352      max-height: none;
 353  }
 354  
 355  .login input.password-input {
 356      font-family: Consolas, Monaco, monospace;
 357  }
 358  
 359  .js.login input.password-input {
 360      padding-right: 2.5rem;
 361  }
 362  
 363  .login form .input,
 364  .login input[type="text"],
 365  .login form input[type="checkbox"] {
 366      background: #fff;
 367  }
 368  
 369  .js.login-action-resetpass input[type="text"],
 370  .js.login-action-resetpass input[type="password"],
 371  .js.login-action-rp input[type="text"],
 372  .js.login-action-rp input[type="password"] {
 373      margin-bottom: 0;
 374  }
 375  
 376  .login #pass-strength-result {
 377      font-weight: 600;
 378      margin: -1px 5px 16px 0;
 379      padding: 6px 5px;
 380      text-align: center;
 381      width: 100%;
 382  }
 383  
 384  body.interim-login {
 385      height: auto;
 386  }
 387  
 388  .interim-login #login {
 389      padding: 0;
 390      margin: 5px auto 20px;
 391  }
 392  
 393  .interim-login.login h1 a {
 394      width: auto;
 395  }
 396  
 397  .interim-login #login_error,
 398  .interim-login.login .message {
 399      margin: 0 0 16px;
 400  }
 401  
 402  .interim-login.login form {
 403      margin: 0;
 404  }
 405  
 406  /* Hide visually but not from screen readers */
 407  .screen-reader-text,
 408  .screen-reader-text span {
 409      border: 0;
 410      clip: rect(1px, 1px, 1px, 1px);
 411      -webkit-clip-path: inset(50%);
 412      clip-path: inset(50%);
 413      height: 1px;
 414      margin: -1px;
 415      overflow: hidden;
 416      padding: 0;
 417      position: absolute;
 418      width: 1px;
 419      word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */
 420  }
 421  
 422  /* Hide the Edge "reveal password" native button */
 423  input::-ms-reveal {
 424      display: none;
 425  }
 426  
 427  #language-switcher {
 428      padding: 0;
 429      overflow: visible;
 430      background: none;
 431      border: none;
 432      box-shadow: none;
 433  }
 434  
 435  #language-switcher select {
 436      margin-right: 0.25em;
 437  }
 438  
 439  .language-switcher {
 440      margin: 0 auto;
 441      padding: 0 0 24px;
 442      text-align: center;
 443  }
 444  
 445  .language-switcher label {
 446      margin-right: 0.25em;
 447  }
 448  
 449  .language-switcher label .dashicons {
 450      width: auto;
 451      height: auto;
 452  }
 453  
 454  .login .language-switcher .button {
 455      margin-bottom: 0;
 456  }
 457  
 458  @media screen and (max-height: 550px) {
 459      #login {
 460          padding: 20px 0;
 461      }
 462  
 463      #language-switcher {
 464          margin-top: 0;
 465      }
 466  }
 467  
 468  
 469  @media screen and (max-width: 782px) {
 470      .interim-login input[type=checkbox] {
 471          width: 1rem;
 472          height: 1rem;
 473      }
 474  
 475      .interim-login input[type=checkbox]:checked:before {
 476          width: 1.3125rem;
 477          height: 1.3125rem;
 478          margin: -0.1875rem 0 0 -0.25rem;
 479      }
 480  
 481      #language-switcher label,
 482      #language-switcher select {
 483          margin-right: 0;
 484      }
 485  }
 486  
 487  @media screen and (max-width: 400px) {
 488      .login .language-switcher .button {
 489          display: block;
 490          margin: 5px auto 0;
 491      }
 492  }


Generated : Sat Apr 20 08:20:01 2024 Cross-referenced by PHPXref