Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 KB | None | 0 0
  1. <!--[if lte IE 8]>
  2. <script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
  3. <![endif]-->
  4. <script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
  5. <script>
  6. hbspt.forms.create({
  7. portalId: "4518656",
  8. formId: "0022373b-0680-4647-a549-3dcbe772e71d",
  9. css: '',
  10. cssClass: 'tl-form'
  11. });
  12. </script>
  13.  
  14. <style>
  15. /* This may not be needed if texted added inside hubspot */
  16. .tl-form h2 {
  17. position: relative;
  18. margin-top: -15px;
  19. }
  20. .tl-form h2::before {
  21. position: absolute;
  22. content: "Download Our Media Kit and Rates";
  23. text-indent: 200%;
  24. white-space: nowrap;
  25. overflow: hidden;
  26. position: absolute;
  27. left: 0;
  28. background: url('img/header-download-rate-card.png') no-repeat 0 0;
  29. width: 303px;
  30. height: 27px;
  31. z-index: 1000;
  32. }
  33.  
  34. .tl-form {
  35. max-width: 364px;
  36. font-family: Verdana, sans-serif;
  37. font-size: 12px;
  38. -webkit-box-sizing: border-box;
  39. box-sizing: border-box;
  40. margin: 20px 0 30px 0;
  41. position: relative;
  42. background: #fff;
  43. background: #e6f3ff;
  44. border: 1px solid #ccc;
  45. padding: 0 24px 0 24px;
  46. border-radius: 10px;
  47. float: left;
  48. }
  49.  
  50. .hs-form-required {
  51. display: none;
  52. }
  53.  
  54. .tl-form .hs-richtext {
  55. font-size: 13px;
  56. font-weight: 300;
  57. margin-bottom: 20px;
  58. }
  59.  
  60. .hs-fieldtype-intl-phone.hs-input select {
  61. margin-right: 5px;
  62. padding: 6px;
  63. height: 27px;
  64. background: #fff;
  65. }
  66.  
  67. .hs-fieldtype-intl-phone.hs-input input {
  68. width: 67% !important;
  69. }
  70.  
  71. /* Form Field (selector for form field wrapper) */
  72. .hs-form .hs-form-field {
  73. display: block;
  74. overflow: hidden;
  75. margin-bottom: 8px;
  76. }
  77.  
  78.  
  79.  
  80. .hs-form .hs-form-field>label {
  81. text-align: right;
  82. font-size: 11px;
  83. font-weight: 700;
  84. text-align: right;
  85. padding-right: 12px;
  86. line-height: 18px;
  87. -webkit-box-sizing: border-box;
  88. box-sizing: border-box;
  89. }
  90.  
  91. .hs-form .input {
  92. overflow: hidden;
  93. }
  94.  
  95. /* Inputs (selectors for all inputs) */
  96. .hs-form input[type="text"],
  97. .hs-form input[type="password"],
  98. .hs-form input[type="datetime"],
  99. .hs-form input[type="datetime-local"],
  100. .hs-form input[type="date"],
  101. .hs-form input[type="month"],
  102. .hs-form input[type="time"],
  103. .hs-form input[type="week"],
  104. .hs-form input[type="number"],
  105. .hs-form input[type="email"],
  106. .hs-form input[type="url"],
  107. .hs-form input[type="search"],
  108. .hs-form input[type="tel"],
  109. .hs-form input[type="color"],
  110. .hs-form input[type="file"],
  111. .hs-form textarea,
  112. .hs-form select {
  113. display: block;
  114. font-size: 11px;
  115. border: 1px solid #707070;
  116. padding: 2px;
  117. width: 100%;
  118. float: left;
  119. -webkit-box-sizing: border-box;
  120. box-sizing: border-box;
  121. border-radius: 0;
  122. padding: 6px;
  123. }
  124.  
  125. .hs-form select {
  126. font-size: 11px;
  127. }
  128.  
  129. /* Error message (selector for validation messages) */
  130. .hs-form .hs-error-msgs {
  131. padding: 0;
  132. margin: 5px 0 0 0;
  133. }
  134.  
  135. .hs-form .hs-error-msgs li {
  136. list-style-type: none;
  137. color: red;
  138. width: 100%;
  139. }
  140.  
  141. /* Submit buttons (selectors for all non-CTA buttons)
  142. ========================================================================== */
  143. .hs-submit {
  144. text-align: right;
  145. }
  146.  
  147. .hs-submit .hs-button {
  148. background: url("img/bt_download.gif") no-repeat center center;
  149. width: 136px;
  150. height: 23px;
  151. margin: 5px 0 20px 0;
  152. padding: 0;
  153. border: 0;
  154. display: inline-block;
  155. font-size: 0px;
  156. cursor: pointer;
  157. }
  158.  
  159.  
  160. /* desktop and up */
  161. @media (min-width: 746px) {
  162.  
  163. .tl-form {
  164. max-width: 364px;
  165. }
  166.  
  167. /* Form Field (selector for form field wrapper) */
  168. .hs-form .hs-form-field {
  169. display: -webkit-box;
  170. display: -ms-flexbox;
  171. display: flex;
  172. -ms-flex-wrap: wrap;
  173. flex-wrap: wrap;
  174. }
  175.  
  176. .hs-form .hs-form-field>label {
  177. width: 40%;
  178. }
  179.  
  180. .hs-form .input {
  181. display: block;
  182. width: 60%;
  183. }
  184.  
  185. .hs-form .hs-error-msgs {
  186. width: 100%;
  187. }
  188.  
  189. .hs-form .hs-error-msgs li {
  190. text-align: center;
  191. }
  192.  
  193. /* end desktop up */
  194. }
  195.  
  196. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement