You are here

simplelogin.css in SimpleLogin 7

Same filename and directory in other branches
  1. 8.6 css/simplelogin.css

The Login screens, which controls the customized background image.

File

css/simplelogin.css
View source
  1. /**
  2. * @file
  3. * The Login screens, which controls the customized background image.
  4. */
  5. .simplelogin {
  6. background-repeat: no-repeat;
  7. background-size: cover;
  8. background-attachment: fixed;
  9. background-color: #606060;
  10. }
  11. .simplelogin .signup {
  12. position: absolute;
  13. text-transform: uppercase;
  14. z-index: 9;
  15. color: #fff;
  16. border: 1px solid rgba(255,255,255,0.5);
  17. top: 40px;
  18. right: 40px;
  19. padding: 13px 40px;
  20. }
  21. #user-login,
  22. .loginregis {
  23. max-width: 450px;
  24. margin: 0 auto;
  25. width: 100%;
  26. }
  27. .loginregis input[type="text"],
  28. .loginregis input[type="password"] {
  29. background-color: rgba(255,255,255,0.1);
  30. color: #fff;
  31. border: 1px solid rgba(255,255,255,0.3);
  32. margin-bottom: 10px;
  33. height: 60px;
  34. font-size: 20px;
  35. font-weight: 300;
  36. background-repeat: no-repeat;
  37. background-position: 20px center;
  38. width: 96%;
  39. text-indent: 80px;
  40. text-align: left;
  41. font-weight: lighter;
  42. }
  43. .loginregis .form-item-name input {
  44. background-image: url(../images/login-name.png);
  45. }
  46. .loginregis .form-item-pass input,
  47. .loginregis .form-item-captcha-response input {
  48. background-image: url(../images/login-pass.png);
  49. }
  50. .loginregis input[type="submit"],
  51. .loginregis input[type="submit"] {
  52. margin: 15px 0;
  53. width: 96%;
  54. background-color: rgba(0,0,0,0.20);
  55. color: #fff;
  56. text-align: center;
  57. height: 60px;
  58. border: 1px solid rgba(255,255,255,0.3);
  59. font-weight: 400;
  60. text-transform: uppercase;
  61. font-size: 18px;
  62. background-image: none;
  63. border-radius: 0;
  64. outline: none;
  65. font-weight: lighter;
  66. }
  67. .login-logo {
  68. text-decoration: none;
  69. }
  70. .ex-center-position h3 {
  71. color: #fff;
  72. text-transform: uppercase;
  73. }
  74. .ex-center-position {
  75. position: absolute;
  76. top: 50%;
  77. left: 50%;
  78. -o-transform: translate(-50%,-50%);
  79. -ms-transform: translate(-50%,-50%);
  80. -moz-transform: translate(-50%,-50%);
  81. -webkit-transform: translate(-50%,-50%);
  82. transform: translate(-50%,-50%);
  83. text-align: center;
  84. padding: 0 20px;
  85. }
  86. .login-logo {
  87. display: inline-block;
  88. margin-bottom: 35px;
  89. }
  90. .loginregis p,
  91. .simplelogin p,
  92. .loginregis p a,
  93. .simplelogin p a {
  94. color: #fff;
  95. text-transform: uppercase;
  96. padding-top: 10px;
  97. }
  98. .simplelogin p a,
  99. .loginregis p a {
  100. text-decoration: underline;
  101. }
  102. .loginregis .password {
  103. text-align: right;
  104. }
  105. .loginregis .password label,
  106. .loginregis .password label {
  107. color: #fff;
  108. text-transform: uppercase;
  109. }
  110. .loginregis .login-organisation {
  111. background-image: url(../images/organization.png) !important;
  112. }
  113. .loginregis .login-purpose {
  114. background-image: url(../images/purpose.png) !important;
  115. }
  116. .loginregis .form-item-mail input {
  117. background-image: url(../images/email.png) !important;
  118. }
  119. .ex-center-position {
  120. position: absolute;
  121. top: 50%;
  122. left: 50%;
  123. -o-transform: translate(-50%,-50%);
  124. -ms-transform: translate(-50%,-50%);
  125. -moz-transform: translate(-50%,-50%);
  126. -webkit-transform: translate(-50%,-50%);
  127. transform: translate(-50%,-50%);
  128. text-align: center;
  129. }
  130. .login-logo {
  131. display: inline-block;
  132. margin-bottom: 35px;
  133. }
  134. .loginregis input::-webkit-input-placeholder {
  135. color: #fff !important;
  136. }
  137. .loginregis input:-moz-placeholder {
  138. color: #fff !important;
  139. }
  140. .loginregis input::-moz-placeholder {
  141. color: #fff !important;
  142. }
  143. .loginregis input:-ms-input-placeholder {
  144. color: #fff !important;
  145. }
  146. /* placeholder */
  147. .simplelogin ::-webkit-input-placeholder {
  148. color: #fff;
  149. }
  150. /* Firefox 18- */
  151. .simplelogin :-moz-placeholder {
  152. color: #fff;
  153. }
  154. /* Firefox 19+ */
  155. .simplelogin ::-moz-placeholder {
  156. color: #fff;
  157. }
  158. .simplelogin :-ms-input-placeholder {
  159. color: #fff;
  160. }
  161. .simplelogin .captcha {
  162. width: 100%;
  163. }
  164. .simplelogin .captcha .form-item-captcha-response {
  165. width: 65%;
  166. position: relative;
  167. float: left;
  168. margin-left: 5px;
  169. }
  170. .simplelogin .captcha img {
  171. width: 30%;
  172. }
  173. .simplelogin label.password-toggle {
  174. float: right;
  175. margin-right: 10px;
  176. color: #fff;
  177. text-transform: uppercase;
  178. }
  179. .simplelogin input:-webkit-autofill {
  180. -webkit-box-shadow: 0 0 0px 1000px #846e8a inset;
  181. -webkit-text-fill-color: #fff;
  182. opacity: .3;
  183. background-image: url(../images/login-name.png);
  184. }
  185. .simplelogin input:-webkit-autofill:focus {
  186. -webkit-box-shadow: 0 0 0px 1000px #846e8a inset;
  187. -webkit-text-fill-color: #fff;
  188. }
  189. .simplelogin label.password-toggle input {
  190. background-image: none !important;
  191. }
  192. .simplelogin .messages.error {
  193. text-align: left;
  194. }
  195. /* Iphone and Smartphone */
  196. @media only screen and (max-width: 991px) {
  197. .simplelogin input[type="text"],
  198. .simplelogin input[type="password"] {
  199. background-position: 10px center;
  200. padding: 10px 10px 10px 50px;
  201. }
  202. }
  203. /* Between Smart phones and Tablet Screen Sizes*/
  204. @media only screen and (max-width: 767px) {
  205. .simplelogin .ex-center-position {
  206. position: static;
  207. display: block;
  208. transform: none;
  209. -o-transform: none;
  210. -ms-transform: none;
  211. -moz-transform: none;
  212. -webkit-transform: none;
  213. }
  214. .simplelogin p,
  215. .simplelogin p a,
  216. .simplelogin p,
  217. .simplelogin p a {
  218. font-size: 14px;
  219. }
  220. .simplelogin {
  221. padding-bottom: 100px;
  222. }
  223. .simplelogin .sign-up {
  224. margin: 30px;
  225. position: static;
  226. text-align: right;
  227. }
  228. .simplelogin .sign-up p {
  229. padding: 10px 25px;
  230. }
  231. .simplelogin .sign-up p a {
  232. padding: 10px 25px;
  233. }
  234. .simplelogin input[type="text"],
  235. .simplelogin input[type="password"],
  236. .simplelogin input[type="submit"],
  237. .simplelogin input[type="email"] {
  238. height: 60px;
  239. font-size: 14px;
  240. margin-bottom: 15px;
  241. }
  242. .simplelogin .login-logo {
  243. width: 50%;
  244. float: left;
  245. }
  246. .simplelogin .login-logo img {
  247. width: 100%;
  248. }
  249. .simplelogin .signup {
  250. top: 10px;
  251. right: 25px;
  252. padding: 10px 20px;
  253. }
  254. }
  255. @media only screen and (max-width:480px) {
  256. .ex-center-position {
  257. left: 0%;
  258. }
  259. }