form-elements.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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 #19b9e7;
  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. position: relative;
  38. height: 50px;
  39. margin: 0;
  40. padding: 0 20px;
  41. vertical-align: middle;
  42. background: #19b9e7;
  43. border: 0;
  44. font-family: 'Roboto', sans-serif;
  45. font-size: 16px;
  46. font-weight: 300;
  47. line-height: 50px;
  48. color: #fff;
  49. -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;
  50. text-shadow: none;
  51. -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
  52. -o-transition: all .3s; -moz-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s; transition: all .3s;
  53. }
  54. button.btn:hover { opacity: 0.6; color: #fff; }
  55. button.btn:active { outline: 0; opacity: 0.6; color: #fff; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
  56. button.btn:focus { outline: 0; opacity: 0.6; background: #19b9e7; color: #fff; }
  57. button.btn:active:focus, button.btn.active:focus { outline: 0; opacity: 0.6; background: #19b9e7; color: #fff; }
  58. button.btn:before {
  59. content: "";
  60. position: absolute;
  61. top: 50%;
  62. left: 0;
  63. width: 100%;
  64. height: 50%;
  65. background: rgba(0, 0, 0, 0.1);
  66. }