form-elements.css 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. input[type="text"],
  2. textarea,
  3. textarea.form-control {
  4. height: 50px;
  5. margin: 0;
  6. padding: 0 20px;
  7. vertical-align: middle;
  8. background: #fff;
  9. border: 3px solid #fff;
  10. font-family: 'Roboto', sans-serif;
  11. font-size: 16px;
  12. font-weight: 300;
  13. line-height: 50px;
  14. color: #888;
  15. -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
  16. -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
  17. -o-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s; transition: all .3s;
  18. }
  19. textarea,
  20. textarea.form-control {
  21. padding-top: 10px;
  22. padding-bottom: 10px;
  23. line-height: 30px;
  24. }
  25. input[type="text"]:focus,
  26. textarea:focus,
  27. textarea.form-control:focus {
  28. outline: 0;
  29. background: #fff;
  30. border: 3px solid #fff;
  31. -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
  32. }
  33. input[type="text"]:-moz-placeholder, textarea:-moz-placeholder, textarea.form-control:-moz-placeholder { color: #888; }
  34. input[type="text"]:-ms-input-placeholder, textarea:-ms-input-placeholder, textarea.form-control:-ms-input-placeholder { color: #888; }
  35. input[type="text"]::-webkit-input-placeholder, textarea::-webkit-input-placeholder, textarea.form-control::-webkit-input-placeholder { color: #888; }
  36. button.btn {
  37. height: 50px;
  38. margin: 0;
  39. padding: 0 20px;
  40. vertical-align: middle;
  41. background: #19b9e7;
  42. border: 0;
  43. font-family: 'Roboto', sans-serif;
  44. font-size: 16px;
  45. font-weight: 300;
  46. line-height: 50px;
  47. color: #fff;
  48. -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
  49. text-shadow: none;
  50. -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
  51. -o-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s; transition: all .3s;
  52. }
  53. button.btn:hover { opacity: 0.6; color: #fff; }
  54. button.btn:active { outline: 0; opacity: 0.6; color: #fff; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
  55. button.btn:focus { outline: 0; opacity: 0.6; background: #19b9e7; color: #fff; }
  56. button.btn:active:focus, button.btn.active:focus { outline: 0; opacity: 0.6; background: #19b9e7; color: #fff; }