login.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. .login-form {
  2. width: 50%;
  3. float: left;
  4. margin-left: 25%;
  5. margin-right: 25%;
  6. padding-top: 25px;
  7. }
  8. .login-box {
  9. width: 700px;
  10. margin: 70px auto 0 auto;
  11. }
  12. .login-box-logo {
  13. text-align: center;
  14. img {
  15. width: 125px;
  16. }
  17. .icon-gf-grafana_wordmark {
  18. color: @linkColor;
  19. position: relative;
  20. top: -90px;
  21. font-size: 3rem;
  22. text-shadow: 3px 3px 5px black;
  23. }
  24. }
  25. .login-inner-box {
  26. background: @grafanaPanelBackground;
  27. }
  28. .login-tab-header {
  29. background: @grafanaTargetBackground;
  30. text-align: center;
  31. }
  32. .btn-login-tab {
  33. background: transparent;
  34. border: none;
  35. font-size: 15px;
  36. padding: 10px 10px;
  37. &.active {
  38. background: darken(@grafanaTargetBackground, 5%);
  39. color: @white;
  40. }
  41. &:focus {
  42. outline: none;
  43. }
  44. font-weight: bold;
  45. display: inline-block;
  46. width: 170px;
  47. color: @textColor;
  48. }
  49. .password-strength {
  50. display: block;
  51. width: 15%;
  52. overflow: visible;
  53. white-space: nowrap;
  54. padding-top: 3px;
  55. color: darken(@textColor, 20%);
  56. border-top: 3px solid @red;
  57. &.password-strength-ok {
  58. width: 40%;
  59. border-top: 3px solid lighten(@yellow, 10%);
  60. }
  61. &.password-strength-good {
  62. width: 100%;
  63. border-top: 3px solid lighten(@green, 10%);
  64. }
  65. }
  66. .login-submit-button-row {
  67. text-align: center;
  68. margin-top: 40px;
  69. button {
  70. padding: 9px 7px;
  71. font-size: 14px;
  72. font-weight: bold;
  73. min-width: 150px;
  74. display: inline-block;
  75. border: 1px solid lighten(@btnInverseBackground, 10%);
  76. }
  77. }
  78. .login-oauth {
  79. margin-top: 30px;
  80. padding: 10px;
  81. background: @grafanaTargetBackground;
  82. .btn-google {
  83. background: #dd4b39;
  84. color: white;
  85. }
  86. .btn-github {
  87. background: #555;
  88. color: white;
  89. }
  90. }
  91. .signup-page-background {
  92. position: fixed;
  93. top: 0;
  94. left: 0;
  95. right: 0;
  96. bottom: 0;
  97. height: 100%;
  98. width: 100%;
  99. background-image: url(../img/background_tease.jpg);
  100. opacity: 0.3;
  101. z-index: -1;
  102. }
  103. .invite-box {
  104. text-align: center;
  105. border: 1px solid @grafanaTargetFuncBackground;
  106. background-color: @grafanaPanelBackground;
  107. width: 800px;
  108. margin-left: auto;
  109. margin-right: auto;
  110. .tight-form {
  111. text-align: left;
  112. }
  113. h3 {
  114. margin-top: 30px;
  115. }
  116. .modal-close {
  117. float: right;
  118. font-size: 140%;
  119. padding: 10px;
  120. }
  121. .modal-tagline {
  122. font-size: 16px;
  123. }
  124. }