_forms.scss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. /* Forms */
  2. .title-head {
  3. color: $title-color;
  4. font-size: 30px;
  5. margin-bottom: 30px;
  6. }
  7. .contact-form {
  8. .form-control {
  9. background: transparent;
  10. padding: 15px 25px 15px 50px;
  11. color: $text-color;
  12. }
  13. .form-control:focus {
  14. border-color: $preset;
  15. }
  16. .contact-icon {
  17. left: 34px;
  18. position: absolute;
  19. top: 16px;
  20. color: $text-color;
  21. }
  22. textarea {
  23. height: 180px;
  24. width: 100%;
  25. background: transparent;
  26. border: 1px solid $light-grey;
  27. padding: 18px 18px;
  28. color: $text-color;
  29. margin-bottom: 35px;
  30. resize: vertical;
  31. }
  32. textarea:focus {
  33. border-color: $preset;
  34. }
  35. .form-group {
  36. margin-bottom: 0;
  37. }
  38. }
  39. .contact-info-title {
  40. color: $title-color;
  41. font-size: 24px;
  42. margin-bottom: 25px;
  43. }
  44. .contact-info a {
  45. display: block;
  46. font-size: 14px;
  47. color: $text-color;
  48. margin-bottom: 10px;
  49. position: relative;
  50. font-weight: 400;
  51. i {
  52. margin-right: 10px;
  53. }
  54. }
  55. .contact-info address {
  56. position: relative;
  57. margin-bottom: 15px;
  58. }
  59. address {
  60. font-size: 14px;
  61. color: $text-color;
  62. line-height: 1.8;
  63. i {
  64. margin-right: 10px;
  65. }
  66. }
  67. .tel-info {
  68. margin-bottom: 15px;
  69. }
  70. .social-links {
  71. li {
  72. display: inline-block;
  73. a {
  74. color: $text-color;
  75. font-size: 18px;
  76. padding-left: 0;
  77. margin: 10px 20px 0 0;
  78. }
  79. }
  80. }
  81. .form-control {
  82. color: $text-color;
  83. background: $bg-color;
  84. font-weight: $regular;
  85. letter-spacing: $letter-spacing;
  86. border: 1px solid $light-grey;
  87. border-radius: 0;
  88. margin-bottom: 30px;
  89. padding: 10px 20px;
  90. min-height: 50px;
  91. -webkit-box-shadow: none;
  92. box-shadow: none;
  93. -webkit-appearance: none;
  94. -moz-appearance: none;
  95. appearance: none;
  96. }
  97. .form-control:focus {
  98. border-color: $preset;
  99. outline: none;
  100. box-shadow: none;
  101. }
  102. .form-group input {
  103. font: normal normal normal 14px/1 FontAwesome, $primary-font;
  104. }
  105. .input-group input {
  106. font: normal normal normal 14px/1 FontAwesome, $primary-font;
  107. }
  108. /* Contact Forms */
  109. #contactForm .form-control {
  110. color: $text-color;
  111. background: $bg-color;
  112. font-weight: $regular;
  113. letter-spacing: $letter-spacing;
  114. border: 1px solid $light-grey;
  115. border-radius: 0;
  116. margin-bottom: 30px;
  117. padding: 10px 20px;
  118. min-height: 50px;
  119. -webkit-box-shadow: none;
  120. box-shadow: none;
  121. -webkit-appearance: none;
  122. -moz-appearance: none;
  123. appearance: none;
  124. }
  125. #contactForm .form-control:focus {
  126. border-color: $preset;
  127. }
  128. #contactForm textarea {
  129. max-width: 100%;
  130. min-height: 130px !important;
  131. max-height: 211px;
  132. margin-bottom: 30px;
  133. }
  134. ::-webkit-input-placeholder {
  135. color: $grey !important;
  136. }
  137. :-moz-placeholder {
  138. color: $grey !important;
  139. }
  140. ::-moz-placeholder {
  141. color: $grey !important;
  142. }
  143. :-ms-input-placeholder {
  144. color: $grey !important;
  145. }
  146. .has-error .form-control {
  147. color: $danger !important;
  148. border: 1px solid $danger !important;
  149. }
  150. .help-block.with-errors li {
  151. color: $danger;
  152. font-size: 13px;
  153. margin-top: -30px;
  154. margin-bottom: 0;
  155. }
  156. #msgSubmit.h3 {
  157. font-size: 14px;
  158. margin-top: 5px;
  159. }
  160. /* Contact Form 1 */
  161. #contact-form-1 {
  162. .form-group {
  163. margin-bottom: 0;
  164. }
  165. #contactForm {
  166. width: 100%;
  167. margin-left: auto;
  168. margin-right: auto;
  169. }
  170. .btn-form-submit {
  171. width: 100%;
  172. border-radius: 0;
  173. padding: 14px 24px;
  174. }
  175. }
  176. /* Contact Form 2 */
  177. .contact-form-2 {
  178. margin-bottom: 50px;
  179. }
  180. #contactForm.contact-form-2 .form-control#name {
  181. width: 70%;
  182. }
  183. #contactForm.contact-form-2 .form-control#email {
  184. width: 70%;
  185. }
  186. #contactForm.contact-form-2 .form-control#subject {
  187. width: 70%;
  188. }
  189. #contact-form-2 .form-group {
  190. margin-bottom: 0;
  191. }
  192. #contact-form-2 #contactForm {
  193. width: 100%;
  194. margin-left: auto;
  195. margin-right: auto;
  196. }
  197. #contact-form-2 .btn-form-submit {
  198. width: 30%;
  199. border-radius: 0;
  200. padding: 14px 24px;
  201. }
  202. /* Login / Register Forms */
  203. #login-form {
  204. width: 100%;
  205. background: $white;
  206. border: 1px solid $light-grey;
  207. padding: 35px;
  208. }
  209. #login-form .form-group {
  210. margin-bottom: 0;
  211. }
  212. #login-form .btn-log {
  213. border-radius: 0;
  214. margin-bottom: 30px;
  215. padding-left: 17px;
  216. padding-right: 17px;
  217. }
  218. #register-form {
  219. width: 100%;
  220. background: $white;
  221. border: 1px solid $light-grey;
  222. padding: 35px;
  223. }
  224. #register-form .form-group {
  225. margin-bottom: 0;
  226. }
  227. #register-form .btn-log {
  228. border-radius: 0;
  229. margin-bottom: 30px;
  230. padding-left: 17px;
  231. padding-right: 17px;
  232. }
  233. .log-title {
  234. font-size: 24px;
  235. margin: 0 0 35px 0;
  236. }
  237. .log-line {
  238. padding: 0 0 35px 0;
  239. margin-bottom: 35px;
  240. }
  241. .log-line .checkbox {
  242. margin-left: 3px;
  243. }
  244. .log-line .checkbox-primary label {
  245. color: $preset;
  246. }
  247. .forgot-password {
  248. font-size: 16px;
  249. }
  250. .checkbox .hide {
  251. display: none;
  252. }
  253. .btn-facebook-filled{
  254. height: 60px;
  255. padding: 0 25px;
  256. border: 0;
  257. background-color: #3b5998;
  258. color: #fff;
  259. margin-right: 8px;
  260. & i{
  261. margin-right: 5px;
  262. }
  263. }
  264. .btn-twitter-filled{
  265. height: 60px;
  266. padding: 0 25px;
  267. border: 0;
  268. background-color: #00acee;
  269. color: #fff;
  270. & i{
  271. margin-right: 5px;
  272. }
  273. }
  274. /* / End Login / Register Forms */
  275. #newsletter {
  276. .input-group {
  277. margin-bottom: 20px;
  278. }
  279. }
  280. /* / End Forms */
  281. // Map and get touch
  282. .contact-form-area {
  283. background: #f2f2f2;
  284. padding: 60px 40px;
  285. transform: translateY(-150px);
  286. h2 {
  287. font-size: 18px;
  288. text-transform: uppercase;
  289. }
  290. .box-icon {
  291. color: #444;
  292. text-align: center;
  293. padding: 30px 0;
  294. .icon {
  295. color: #444;
  296. font-size: 30px;
  297. margin-bottom: 30px;
  298. }
  299. p {
  300. font-size: 14px;
  301. color: #444;
  302. }
  303. span {
  304. color: #999;
  305. }
  306. }
  307. }