Proyecto en colaboración con OPASO

login.css 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. /* Authors : Carlos C. Corrada-Bravo
  2. David J. Ortiz-Rivera
  3. Organization : Centro de Desarrollo y Consultoria Computacional
  4. Project : OPASO Material Registry
  5. File : login.css
  6. Description : Styling page for login */
  7. .login{
  8. top: 0;
  9. left: 0;
  10. z-index: 0;
  11. width: 100%;
  12. height: 100%;
  13. text-align: center;
  14. position: relative;
  15. background-color: #fff;
  16. }
  17. .form-wrapper{
  18. top: 50%;
  19. left: 50%;
  20. z-index: 1;
  21. color: #fafafa;
  22. width: 335px;
  23. position: absolute;
  24. display: inline-block;
  25. transform: translate(-50%,-50%);
  26. }
  27. .form{
  28. border-radius: 2.5px;
  29. border: 1px solid rgb(218,220,224);
  30. }
  31. .form-logo{
  32. top: 0;
  33. display: none;
  34. width: 62.5px;
  35. border-radius: 50%;
  36. margin-bottom: 10px;
  37. margin-right: 15px;
  38. position: absolute;
  39. object-fit: scale-down;
  40. display: inline-block;
  41. transform: translateY(-5%);
  42. box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  43. }
  44. .form-header-wrapper{
  45. text-align: left;
  46. padding: 15px 20px 5px;
  47. border-bottom: 1px solid rgb(218,220,224);
  48. }
  49. .form-header{
  50. margin: 0;
  51. color: #202124;
  52. font-size: 16.5px;
  53. }
  54. .form-header-subtitle{
  55. color: darkgray;
  56. }
  57. .form-body-header{
  58. color: #202124;
  59. font-size: 16.5px;
  60. }
  61. .form-body{
  62. padding: 0px;
  63. font-size: 15px;
  64. text-align: left;
  65. border-radius: 2.5px;
  66. margin-bottom: 7.5px;
  67. }
  68. .placeholder{
  69. z-index: 1;
  70. left: 15px;
  71. color: darkgray;
  72. font-size: 11px;
  73. font-weight: bold;
  74. top: 50% !important;
  75. position: absolute;
  76. will-change: transform;
  77. text-transform: uppercase;
  78. transform: translateY(-50%) !important;
  79. }
  80. .login-field{
  81. z-index: 3;
  82. width: 100%;
  83. height: 100%;
  84. border: none;
  85. color: #060606;
  86. position: absolute;
  87. padding: 7.5px 15px;
  88. padding-right: 35px;
  89. will-change: padding-top;
  90. background-color: transparent;
  91. }
  92. .view-password{
  93. z-index: 5;
  94. right: 15px;
  95. color: darkgray;
  96. cursor: pointer;
  97. font-size: 13.75px;
  98. position: absolute;
  99. will-change: color;
  100. transform: translateY(15px);
  101. transition: color 0.5s ease-in-out;
  102. }
  103. .view-password:hover{
  104. color: #060606;
  105. }
  106. .placeholder-icon{
  107. color:#0070E0;
  108. margin-left: 2.5px;
  109. font-size: 4px !important;
  110. transform: translateY(-50%);
  111. }
  112. .submit-login,.submit-login:hover{
  113. color: #fff;
  114. font-size: 15px;
  115. font-weight: 500;
  116. border-radius: 2.5px;
  117. padding: 6.25px 10px;
  118. border: 1px solid #0c6ebe;
  119. transition: all 0.25s ease-in-out;
  120. }
  121. .form-input-wrapper{
  122. padding: 15px 20px;
  123. }
  124. .form-subtitle{
  125. margin: 0px;
  126. text-align: left;
  127. padding: 7.5px 15px;
  128. }
  129. .form-link{
  130. float: left;
  131. font-size: 12.5px;
  132. display: inline-block;
  133. text-decoration: none;
  134. }
  135. .form-link:hover{
  136. text-decoration: none;
  137. }
  138. .link-divider{
  139. float: left;
  140. display: inline-block;
  141. margin-left: 7.5px;
  142. margin-right: 7.5px;
  143. color: rgb(80,136,209);
  144. font-size: 5px !important;
  145. transform: translateY(150%);
  146. }
  147. .shrink{
  148. padding-top: 22.5px !important;
  149. transition: padding-top 0.25s ease-in-out;
  150. }
  151. .slide{
  152. font-size: 10px !important;
  153. transform: translateY(-100%) !important;
  154. transition: all 0.25s ease-in-out;
  155. }
  156. .slide i{
  157. font-size: 9px !important;
  158. }
  159. .google-sign-in-wrapper{
  160. margin-top: 15px;
  161. padding: 0px 25px;
  162. position: relative;
  163. border-top: 1px solid rgb(218,220,224);
  164. }
  165. .google-sign-in-header{
  166. color: #202124;
  167. font-size: 12.5px;
  168. margin-top: 20px;
  169. text-align: center;
  170. margin-bottom: 7.5px;
  171. }
  172. .or{
  173. left: 50%;
  174. padding: 5px 7.5px;
  175. position: absolute;
  176. display: inline-block;
  177. background-color: #fff;
  178. transform: translate(-50%,-55%);
  179. }
  180. .google-sign-in{
  181. height: 40px;
  182. width: 100%;
  183. padding: 0px;
  184. font-size: 15px;
  185. color: #060606;
  186. font-weight: 500;
  187. position: relative;
  188. border-radius: 2.5px;
  189. display: inline-block;
  190. background-color: #fff;
  191. will-change: filter,box-shadow;
  192. transition: all 0.25s ease-in-out;
  193. border: 1px solid rgb(218,220,224);
  194. }
  195. .google-logo{
  196. left: 0;
  197. float: left;
  198. height: 39px;
  199. padding: 10px;
  200. position: absolute;
  201. margin-right: 10px;
  202. display: inline-block;
  203. border-right: 1px solid rgb(218,220,224);
  204. }
  205. .google-sign-in:hover{
  206. color: #282828;
  207. text-decoration: none;
  208. }
  209. .google-sign-in-text{
  210. width: 100%;
  211. float: left;
  212. text-align: center;
  213. display: inline-block;
  214. transform: translateY(30%);
  215. }
  216. input{
  217. filter: none;
  218. }
  219. *::-webkit-input-placeholder,*:-moz-placeholder{
  220. color: #999;
  221. }
  222. *:focus::-webkit-input-placeholder,*:focus:-moz-placeholder{
  223. color: #ccc;
  224. }​
  225. input:-webkit-autofill,
  226. input:-webkit-autofill:hover,
  227. input:-webkit-autofill:focus,
  228. input:-webkit-autofill:active,
  229. input:-internal-autofill-selected{
  230. border-radius: 2.5px;
  231. color: #000 !important;
  232. background-color: transparent !important;
  233. -webkit-text-fill-color: #000 !important;
  234. transition: background-color 0.5s ease-in-out;
  235. }
  236. button:focus,
  237. button:active{
  238. border-radius: 2.5px;
  239. }
  240. @media screen and (max-width: 350px){
  241. .form{
  242. width: 100%;
  243. }
  244. }