_login.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. @import "globals";
  2. /* LOGIN FORM */
  3. body.login {
  4. background: $login-background-color;
  5. padding: 100px 30px 30px 30px;
  6. @include for-phone {
  7. padding: 30px 10px 10px 10px;
  8. }
  9. #container {
  10. background: $login-content-background-color;
  11. border-radius: 4px;
  12. min-height: 0;
  13. padding: 0;
  14. margin-left: auto;
  15. margin-right: auto;
  16. width: 400px;
  17. @include for-phone {
  18. width: 100%;
  19. }
  20. }
  21. #header {
  22. background: $login-header-background-color;
  23. color: $login-header-text-color;
  24. text-transform: uppercase;
  25. font-size: 11px;
  26. font-weight: bold;
  27. border-radius: 4px 4px 0 0;
  28. }
  29. #content {
  30. padding: 30px;
  31. }
  32. .sidebar {
  33. display: none;
  34. }
  35. .sidebar-header {
  36. display: none;
  37. }
  38. .breadcrumbs {
  39. display: none;
  40. }
  41. #content-main {
  42. width: 100%;
  43. }
  44. .form-row {
  45. padding: 4px;
  46. float: left;
  47. width: 100%;
  48. box-sizing: border-box;
  49. label {
  50. padding-right: 0.5em;
  51. line-height: 2em;
  52. font-size: 1em;
  53. clear: both;
  54. &.required:after {
  55. content: '';
  56. }
  57. }
  58. #id_username, #id_password {
  59. clear: both;
  60. padding: 6px;
  61. width: 100%;
  62. box-sizing: border-box;
  63. }
  64. }
  65. span.help {
  66. font-size: 10px;
  67. display: block;
  68. }
  69. .submit-row {
  70. clear: both;
  71. padding: 20px 0 0 0;
  72. margin: 0;
  73. text-align: center;
  74. input[type="submit"] {
  75. font-size: 12px;
  76. font-weight: lighter;
  77. background-color: $primary-button-background-color;
  78. color: $primary-button-text-color;
  79. text-transform: uppercase;
  80. &:hover, &:focus {
  81. background-color: $button-hover-background-color;
  82. color: $button-hover-text-color;
  83. }
  84. &:active {
  85. background-color: $button-active-background-color;
  86. color: $button-active-text-color;
  87. }
  88. }
  89. }
  90. .password-reset-link {
  91. text-align: center;
  92. }
  93. #footer {
  94. padding: 0;
  95. }
  96. }