login.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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: 30px;
  69. button {
  70. padding: 14px 23px;
  71. font-size: 16px;
  72. font-weight: bold;
  73. min-width: 150px;
  74. display: inline-block;
  75. border: 1px solid lighten(@btnInverseBackground, 10%);
  76. color: @grayLight;
  77. }
  78. }
  79. .login-oauth {
  80. .btn {
  81. margin: 5px;
  82. }
  83. .btn-google {
  84. background: #dd4b39;
  85. color: white;
  86. }
  87. .btn-github {
  88. background: #555;
  89. color: white;
  90. }
  91. }
  92. .password-recovery {
  93. background: @grafanaTargetBackground;
  94. margin-top: 30px;
  95. padding: 10px;
  96. a {
  97. color: @grayLight;
  98. }
  99. }
  100. .login-divider {
  101. float: left;
  102. width: 50%;
  103. margin: 5px 25% 25px 25%;
  104. .login-divider-line {
  105. width: 100%;
  106. height: 10px;
  107. border-bottom: 1px solid @gray;
  108. .login-divider-text {
  109. background-color: @grayDarker;
  110. color: @grayLight;
  111. padding: 0 10px;
  112. }
  113. }
  114. }
  115. .signup-page-background {
  116. position: fixed;
  117. top: 0;
  118. left: 0;
  119. right: 0;
  120. bottom: 0;
  121. height: 100%;
  122. width: 100%;
  123. background-image: url(../img/background_tease.jpg);
  124. opacity: 0.3;
  125. z-index: -1;
  126. }
  127. .invite-box {
  128. text-align: center;
  129. border: 1px solid @grafanaTargetFuncBackground;
  130. background-color: @grafanaPanelBackground;
  131. width: 800px;
  132. margin-left: auto;
  133. margin-right: auto;
  134. .tight-form {
  135. text-align: left;
  136. }
  137. h3 {
  138. margin-top: 30px;
  139. }
  140. .modal-close {
  141. float: right;
  142. font-size: 140%;
  143. padding: 10px;
  144. }
  145. .modal-tagline {
  146. font-size: 16px;
  147. }
  148. }