Advertisement
Guest User

Poupup login

a guest
Jul 23rd, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.64 KB | None | 0 0
  1. <!-- #region sign_in_popup -->
  2. <div id="document_modal" class="modal" style="display:none; width: 100%; height: 100%; position: fixed; top: 0px; left: 0px; z-index: 10000; opacity: 0.4; background-color: #3E3E3E;"></div>
  3. <div id="sign_in_popup_popup" style="display:none; position: absolute; top: 9%; left: 27%; z-index: 10001" class="popupWrapper">
  4. <div id="sign_in_popup_inner" class="popupInner" style="width: 600px; max-height: 641px;">
  5. <div style="" id="inline_login_form">
  6. <form id="login" method="post" action="/login.forum">
  7. <h3>Entrar</h3>
  8. <!-- BEGIN switch_fb_connect -->
  9. <div class="ipsBox_notice">
  10. <ul class="ipsList_inline">
  11. <li>
  12. <a class="ipsButton_secondary" href="/facebook_connect.forum" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">
  13. <img alt="Facebook" src="http://i69.servimg.com/u/f69/16/62/61/50/facebo10.png"> &nbsp; Use Facebook
  14. </a>
  15. </li>
  16. </ul>
  17. </div>
  18. <!-- END switch_fb_connect -->
  19. <br>
  20. <div class="ipsForm ipsForm_horizontal">
  21. <fieldset>
  22. <ul>
  23. <li class="ipsField">
  24. <div class="ipsField_content">
  25. Precisa de uma conta? <a title="Registre-se agora!" href="/register">Registre-se agora!</a>
  26. </div>
  27. </li>
  28. <li class="ipsField ipsField_primary">
  29. <label class="ipsField_title" for="username">Usuário ou E-mail:</label>
  30. <div class="ipsField_content">
  31. <input type="text" tabindex="0" size="30" name="username" class="input_text" id="ips_username">
  32. </div>
  33. </li>
  34. <li class="ipsField ipsField_primary">
  35. <label class="ipsField_title" for="password">Senha</label>
  36. <div class="ipsField_content">
  37. <input type="password" tabindex="0" size="30" name="password" class="input_text" id="ips_password"><br>
  38. <a title="Retrieve password" href="/profile?mode=sendpassword">Esqueci minha senha</a>
  39. </div>
  40. </li>
  41. <li class="ipsField ipsField_checkbox">
  42. <input type="checkbox" tabindex="0" class="input_check" value="1" name="autologin" checked="checked" id="autologin">
  43. <div class="ipsField_content">
  44. <label for="autologin">
  45. <strong>Lembrar dados</strong><br>
  46. <span class="desc lighter">Não recomendado para computadores públicos</span>
  47. </label>
  48. </div>
  49. </li>
  50. <li class="ipsPad_top ipsForm_center desc ipsType_smaller">
  51. <a href="{FORUMURLINK}" rel="nofollow">Privacy Policy</a>
  52. </li>
  53. </ul>
  54. </fieldset>
  55. <div class="ipsForm_submit ipsForm_center">
  56. <!-- <input type="submit" tabindex="0" value="Entrar" class="ipsButton"> -->
  57. <input type="submit" tabindex="0" class="login-submit ipsButton" name="login" value="Entrar"/>
  58. <input name="redirect" type="hidden" value="" /><br />
  59. </div>
  60. </div>
  61. </form>
  62. </div>
  63. </div>
  64. <div id="sign_in_popup_close" class="popupClose clickable">
  65. <img alt="x" src="http://i.imgur.com/rYltibP.png" onclick="sign_in_popup();">
  66. </div>
  67. </div>
  68. <script type="text/javascript">
  69. //<![CDATA[
  70. $(document).ready(function() {
  71. $('#user_navigation #sign_in').attr('href', '#').attr('onclick', 'sign_in_popup()');
  72. /*
  73. $('#user_navigation #sign_in').click(function() {
  74. sign_in_popup();
  75. });
  76. */
  77. });
  78. function sign_in_popup() {
  79. var x = document.getElementById('sign_in_popup_popup');
  80. if (x.style.display == 'none') {
  81. jQuery(x).add('#document_modal').fadeIn('slow');
  82. var r = x.getElementsByTagName('form')[0].redirect;
  83. r.value = window.location.href;
  84. } else {
  85. jQuery(x).add('#document_modal').fadeOut('slow');
  86. }
  87. }
  88. jQuery(function(){if(document.getElementById('logout')) document.getElementById('sign_in_popup_popup').style.display = 'none'; });
  89. //]]>
  90. </script>
  91. <style type="text/css">
  92. <!--
  93.  
  94. .popupWrapper {
  95. box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  96. }
  97. .popupWrapper {
  98. background: none repeat scroll 0% 0% #FFF;
  99. padding: 2.6em;
  100. border-radius: 2px;
  101. }
  102.  
  103. #sign_in_popup_popup .popupInner {
  104. width: 100% !important;
  105. padding: 3px;
  106. }
  107. .popupInner {
  108. width: 500px;
  109. overflow-y: auto;
  110. overflow-x: hidden;
  111. }
  112.  
  113. .popupInner h3 {
  114. margin-bottom: 10px;
  115. padding-right: 33px;
  116. }
  117. .popupInner h3 {
  118. background-color: transparent;
  119. color: #222;
  120. font-size: 26px;
  121. font-weight: 400;
  122. text-transform: uppercase;
  123. }
  124.  
  125. fieldset, img {
  126. border: 0px none;
  127. }
  128.  
  129. #inline_login_form .ipsForm_center {
  130. text-align: left;
  131. }
  132. .ipsForm_center {
  133. text-align: center;
  134. }
  135. .ipsForm_submit {
  136. padding: 5px 0px;
  137. text-align: right;
  138. margin-top: 25px;
  139. }
  140.  
  141. .popupClose:before {
  142. color: #47586E;
  143. font-family: ikons;
  144. font-size: 32px;
  145. }
  146.  
  147. .popupClose {
  148. padding: 20px;
  149. font-size: 20px;
  150. }
  151. .popupClose {
  152. position: absolute;
  153. right: -2px;
  154. top: -10px;
  155. }
  156. .clickable {
  157. cursor: pointer;
  158. }
  159.  
  160.  
  161.  
  162.  
  163. #inline_login_form .ipsButton {
  164. min-width: 100%;
  165. }
  166.  
  167.  
  168. .ipsButton {
  169. transition: all 0.1s ease-in-out 0s;
  170. background-color: transparent;
  171. border: 2px solid #47586E;
  172. border-radius: 2px;
  173. color: #D6303A;
  174. font-weight: 500;
  175. font-size: 16px;
  176. line-height: 41px;
  177. height: 41px;
  178. padding: 0px 10px;
  179. text-align: center;
  180. min-width: 125px;
  181. display: inline-block;
  182. cursor: pointer;
  183. }
  184.  
  185.  
  186.  
  187. .ipsForm_horizontal .ipsField {
  188. margin-bottom: 15px;
  189. }
  190.  
  191. #inline_login_form .ipsForm_horizontal .ipsField_content {
  192. margin-left: 0px;
  193. }
  194.  
  195. .popupWrapper a {
  196. color: #222;
  197. }
  198.  
  199. #inline_login_form .ipsField_title {
  200. display: none;
  201. }
  202. .ipsForm_horizontal .ipsField_title {
  203. float: left;
  204. width: 185px;
  205. padding-right: 15px;
  206. text-align: right;
  207. line-height: 1.8;
  208. }
  209. .ipsField .ipsField_title {
  210. font-weight: bold;
  211. font-size: 15px;
  212. }
  213.  
  214. .ipsField_primary input {
  215. font-size: 18px;
  216. }
  217.  
  218. #inline_login_form .ipsField_title {
  219. display: none;
  220. }
  221. .ipsForm_horizontal .ipsField_title {
  222. float: left;
  223. width: 185px;
  224. padding-right: 15px;
  225. text-align: right;
  226. line-height: 1.8;
  227. }
  228. .ipsField .ipsField_title {
  229. font-weight: bold;
  230. font-size: 15px;
  231. }
  232.  
  233. #inline_login_form .ipsForm_horizontal .ipsField_checkbox {
  234. margin: 0px 0px 15px;
  235. }
  236.  
  237. .ipsForm .ipsField_checkbox input {
  238. float: left;
  239. margin-top: 3px;
  240. }
  241.  
  242. #inline_login_form .ipsField_content label strong {
  243. padding-left: 8px;
  244. }
  245.  
  246. #inline_login_form .ipsField_content label span {
  247. padding-top: 5px;
  248. display: inline-block;
  249. }
  250. .desc.lighter {
  251. color: #A4A4A4;
  252. }
  253. .desc {
  254. font-size: 12px;
  255. color: #777;
  256. }
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270. -->
  271. </style>
  272. <!-- #endregion sign_in_popup -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement