login.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. /*
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. */
  15. #content #login
  16. {
  17. background-position: 0 50%;
  18. padding-left: 21px;
  19. vertical-align: center;
  20. horiz-align: center;
  21. }
  22. #content #login h1,
  23. #content #login .h1 {
  24. font-size: 2.5rem;
  25. }
  26. #content #login h2,
  27. #content #login .h2 {
  28. font-size: 2rem;
  29. }
  30. #content #login p
  31. {
  32. margin-top: 0;
  33. margin-bottom: 1rem;
  34. }
  35. #content #login a
  36. {
  37. color: #0000bf;
  38. cursor: pointer;
  39. }
  40. #content #login .login-error
  41. {
  42. font-size: 1rem;
  43. color: red;
  44. margin-top: 10px;
  45. margin-bottom: 10px;
  46. }
  47. #content #login button {
  48. border-radius: 0;
  49. }
  50. #content #login button:focus {
  51. outline: 1px dotted;
  52. outline: 5px auto -webkit-focus-ring-color;
  53. }
  54. #content #login .btn {
  55. display: inline-block;
  56. font-weight: 400;
  57. text-align: center;
  58. white-space: nowrap;
  59. vertical-align: middle;
  60. -webkit-user-select: none;
  61. -moz-user-select: none;
  62. -ms-user-select: none;
  63. user-select: none;
  64. border: 1px solid transparent;
  65. padding: 0.375rem 0.75rem;
  66. font-size: 1rem;
  67. line-height: 1.5;
  68. border-radius: 0.25rem;
  69. transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  70. }
  71. #content #login .form-inline .form-group {
  72. display: -ms-flexbox;
  73. display: flex;
  74. -ms-flex: 0 0 auto;
  75. flex: 0 0 auto;
  76. -ms-flex-flow: row wrap;
  77. flex-flow: row wrap;
  78. -ms-flex-align: center;
  79. align-items: center;
  80. margin-bottom: 0;
  81. }
  82. #content #login .form-control {
  83. display: block;
  84. width: 80%;
  85. padding: 0.375rem 0.75rem;
  86. font-size: 1rem;
  87. line-height: 1.5;
  88. color: #495057;
  89. background-color: #fff;
  90. background-clip: padding-box;
  91. border: 1px solid #ced4da;
  92. border-radius: 0.25rem;
  93. transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  94. }