login.less 2.2 KB

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