You are here

super-login.css in Super Login 8

Same filename and directory in other branches
  1. 7 css/super-login.css
#capslockdiv {
  height: 1em;
}

#capslockdiv p {
  display: none;
  color: #c61414;
  margin: 0;
  background: url("images/warning.svg") left center no-repeat;
  background-size: 1.5em 1.5em;
  text-indent: 2em;
  font-size: 1em;
  margin-left: .5em;
  line-height: 2em;
  position: relative;
  top: -15px;
}

/* Try to hide Page Titles on login pages */
#page-title,
h1#page-title,
h1.page-title,
h1.page-header {
  display: none;
}

p.login-title {
  line-height: 40px;
  font-size: 15px;
  font-weight: bold;
  color: #555;
  text-align: center;
  text-shadow: 0 1px white;
  background: #f3f3f3;
  border-bottom: 1px solid #cfcfcf;
  border-radius: 3px 3px 0 0;
  background-image: -webkit-linear-gradient(top, whiteffd, #eef2f5);
  background-image: -moz-linear-gradient(top, whiteffd, #eef2f5);
  background-image: -o-linear-gradient(top, whiteffd, #eef2f5);
  background-image: linear-gradient(to bottom, whiteffd, #eef2f5);
  -webkit-box-shadow: 0 1px whitesmoke;
  box-shadow: 0 1px whitesmoke;
}

#user-login-form {
  margin-bottom: 2em;
}
#user-login-form .description {
  font-size: 11px;
  color: #777;
  padding-left: 10px;
}

/* Field Icons */
#edit-name {
  background: #fff url("images/login-icon.svg") no-repeat 5px center;
  background-size: 1em 1em;
  text-indent: 2em;
  border: 1px solid #aaa;
}

#edit-pass {
  background: #fff url("images/password-icon.svg") no-repeat 5px center;
  background-size: 1em 1em;
  text-indent: 2em;
  border: 1px solid #aaa;
}

/* Forms */
#user-login-form,
#user-pass {
  max-width: 600px;
  background-color: #fff;
  border: 4px solid rgba(0, 0, 0, 0.08);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  /* IE10+ */
  background-image: -ms-linear-gradient(top, #ffffff 0%, #f9faf8 100%);
  /* Mozilla Firefox */
  background-image: -moz-linear-gradient(top, #ffffff 0%, #f9faf8 100%);
  /* Opera */
  background-image: -o-linear-gradient(top, #ffffff 0%, #f9faf8 100%);
  /* Webkit (Safari/Chrome 10) */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(100, #f9faf8));
  /* Webkit (Chrome 11+) */
  background-image: -webkit-linear-gradient(top, #ffffff 0%, #f9faf8 100%);
  /* W3C Markup */
  background-image: linear-gradient(to bottom, #ffffff 0%, #f9faf8 100%);
}

#user-login-form .form-item,
#user-pass .form-item {
  padding-left: 1em;
}

#user-pass .form-actions,
#user-login-form .form-actions {
  margin: 0 0 1em 1em;
  padding: 0;
}

form.user-pass p:nth-child(3) {
  text-align: center;
}

#user-login-form .actions-suffix {
  float: right;
  position: relative;
  bottom: 30px;
  right: 10px;
}

#edit-actions {
  margin-top: 1em;
}

#user-pass label,
#user-login-form label {
  display: block;
  font-weight: normal;
  font-size: .8em;
}
.form-item {
  max-width: 100%;
  overflow: hidden;
}
.form-item-pass,
p.forgot-password {
  display: inline-block;
}
p.super-login-password {
  font-size: .9em;
  margin: 0 0 0 1em;
}
p.forgot-password {
  margin-left: 1em;
  position: relative;
  top: -5px;
}
a.super-login-register,
p.forgot-password a {
  border: none;
}

#user-pass .form-item.form-item-name,
#user-login-form .form-item.form-item-name {
  margin: 1em 0;
}
#user-login-form .form-item.form-item-pass {
  margin: 0;
}

#user-login-form .messages,
#user-pass .messages {
  margin: 0 0 .1em .75em;
}

.back-to-login {
  font-size: .9em;
  float: right;
  margin: 0 1em .125em 0;
}

input.form-text {
  border: 2px solid #dadada;
  max-width: 375px;
  overflow: hidden;
}

input.form-text:focus {
  outline: none;
  border-color: #0088cc;
  box-shadow: 0 0 8px #9ecaed;
}

input.form-control {
  display: inline;
  width: auto;
}


/* Remove Chrome's autofill yellow */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
}

File

css/super-login.css
View source
  1. #capslockdiv {
  2. height: 1em;
  3. }
  4. #capslockdiv p {
  5. display: none;
  6. color: #c61414;
  7. margin: 0;
  8. background: url("images/warning.svg") left center no-repeat;
  9. background-size: 1.5em 1.5em;
  10. text-indent: 2em;
  11. font-size: 1em;
  12. margin-left: .5em;
  13. line-height: 2em;
  14. position: relative;
  15. top: -15px;
  16. }
  17. /* Try to hide Page Titles on login pages */
  18. #page-title,
  19. h1#page-title,
  20. h1.page-title,
  21. h1.page-header {
  22. display: none;
  23. }
  24. p.login-title {
  25. line-height: 40px;
  26. font-size: 15px;
  27. font-weight: bold;
  28. color: #555;
  29. text-align: center;
  30. text-shadow: 0 1px white;
  31. background: #f3f3f3;
  32. border-bottom: 1px solid #cfcfcf;
  33. border-radius: 3px 3px 0 0;
  34. background-image: -webkit-linear-gradient(top, whiteffd, #eef2f5);
  35. background-image: -moz-linear-gradient(top, whiteffd, #eef2f5);
  36. background-image: -o-linear-gradient(top, whiteffd, #eef2f5);
  37. background-image: linear-gradient(to bottom, whiteffd, #eef2f5);
  38. -webkit-box-shadow: 0 1px whitesmoke;
  39. box-shadow: 0 1px whitesmoke;
  40. }
  41. #user-login-form {
  42. margin-bottom: 2em;
  43. }
  44. #user-login-form .description {
  45. font-size: 11px;
  46. color: #777;
  47. padding-left: 10px;
  48. }
  49. /* Field Icons */
  50. #edit-name {
  51. background: #fff url("images/login-icon.svg") no-repeat 5px center;
  52. background-size: 1em 1em;
  53. text-indent: 2em;
  54. border: 1px solid #aaa;
  55. }
  56. #edit-pass {
  57. background: #fff url("images/password-icon.svg") no-repeat 5px center;
  58. background-size: 1em 1em;
  59. text-indent: 2em;
  60. border: 1px solid #aaa;
  61. }
  62. /* Forms */
  63. #user-login-form,
  64. #user-pass {
  65. max-width: 600px;
  66. background-color: #fff;
  67. border: 4px solid rgba(0, 0, 0, 0.08);
  68. -webkit-border-radius: 4px;
  69. -moz-border-radius: 4px;
  70. border-radius: 4px;
  71. /* IE10+ */
  72. background-image: -ms-linear-gradient(top, #ffffff 0%, #f9faf8 100%);
  73. /* Mozilla Firefox */
  74. background-image: -moz-linear-gradient(top, #ffffff 0%, #f9faf8 100%);
  75. /* Opera */
  76. background-image: -o-linear-gradient(top, #ffffff 0%, #f9faf8 100%);
  77. /* Webkit (Safari/Chrome 10) */
  78. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(100, #f9faf8));
  79. /* Webkit (Chrome 11+) */
  80. background-image: -webkit-linear-gradient(top, #ffffff 0%, #f9faf8 100%);
  81. /* W3C Markup */
  82. background-image: linear-gradient(to bottom, #ffffff 0%, #f9faf8 100%);
  83. }
  84. #user-login-form .form-item,
  85. #user-pass .form-item {
  86. padding-left: 1em;
  87. }
  88. #user-pass .form-actions,
  89. #user-login-form .form-actions {
  90. margin: 0 0 1em 1em;
  91. padding: 0;
  92. }
  93. form.user-pass p:nth-child(3) {
  94. text-align: center;
  95. }
  96. #user-login-form .actions-suffix {
  97. float: right;
  98. position: relative;
  99. bottom: 30px;
  100. right: 10px;
  101. }
  102. #edit-actions {
  103. margin-top: 1em;
  104. }
  105. #user-pass label,
  106. #user-login-form label {
  107. display: block;
  108. font-weight: normal;
  109. font-size: .8em;
  110. }
  111. .form-item {
  112. max-width: 100%;
  113. overflow: hidden;
  114. }
  115. .form-item-pass,
  116. p.forgot-password {
  117. display: inline-block;
  118. }
  119. p.super-login-password {
  120. font-size: .9em;
  121. margin: 0 0 0 1em;
  122. }
  123. p.forgot-password {
  124. margin-left: 1em;
  125. position: relative;
  126. top: -5px;
  127. }
  128. a.super-login-register,
  129. p.forgot-password a {
  130. border: none;
  131. }
  132. #user-pass .form-item.form-item-name,
  133. #user-login-form .form-item.form-item-name {
  134. margin: 1em 0;
  135. }
  136. #user-login-form .form-item.form-item-pass {
  137. margin: 0;
  138. }
  139. #user-login-form .messages,
  140. #user-pass .messages {
  141. margin: 0 0 .1em .75em;
  142. }
  143. .back-to-login {
  144. font-size: .9em;
  145. float: right;
  146. margin: 0 1em .125em 0;
  147. }
  148. input.form-text {
  149. border: 2px solid #dadada;
  150. max-width: 375px;
  151. overflow: hidden;
  152. }
  153. input.form-text:focus {
  154. outline: none;
  155. border-color: #0088cc;
  156. box-shadow: 0 0 8px #9ecaed;
  157. }
  158. input.form-control {
  159. display: inline;
  160. width: auto;
  161. }
  162. /* Remove Chrome's autofill yellow */
  163. input:-webkit-autofill {
  164. -webkit-box-shadow: 0 0 0px 1000px white inset;
  165. }