style.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. .p01-contact * {
  2. box-sizing: border-box;
  3. }
  4. .p01-contact {
  5. margin: 1em auto;
  6. max-width: 26em;
  7. font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  8. }
  9. .p01-contact .field {
  10. margin-top: .5em;
  11. }
  12. .p01-contact .field.inline {
  13. margin-top: 1em;
  14. }
  15. .p01-contact label {
  16. display: block;
  17. font-weight: normal;
  18. }
  19. .p01-contact label .description{
  20. font-size: .875em;
  21. color: #888;
  22. float: right;
  23. }
  24. .p01-contact input:not([type=radio]):not([type=checkbox]),
  25. .p01-contact textarea,
  26. .p01-contact select{
  27. border:1px solid #BEBEBE;
  28. padding: 7px;
  29. margin:0px;
  30. transition: all 0.30s ease-in-out;
  31. outline: none;
  32. width: 100%;
  33. }
  34. .p01-contact input:focus,
  35. .p01-contact textarea:focus,
  36. .p01-contact select:focus{
  37. box-shadow: 0 0 8px #88D5E9;
  38. border: 1px solid #88D5E9;
  39. }
  40. .p01-contact input[type=submit]:not([type=radio]):not([type=checkbox]),
  41. .p01-contact input[type=button]:not([type=radio]):not([type=checkbox]){
  42. background: #4B99AD;
  43. padding: 8px 15px 8px 15px;
  44. margin: 1em 0;
  45. border: none;
  46. color: #fff;
  47. }
  48. .p01-contact input[type=submit]:hover,
  49. .p01-contact input[type=button]:hover{
  50. background: #4691A4;
  51. box-shadow:none;
  52. }
  53. .p01-contact .required label:after {
  54. content: ' *';
  55. color: #4B99AD;
  56. font-weight: bold;
  57. }
  58. .p01-contact input[type=radio],
  59. .p01-contact input[type=checkbox] {
  60. vertical-align: middle;
  61. }
  62. .p01-contact :not(.inline) .options {
  63. display: flex;
  64. border: 1px solid #ddd;
  65. padding: .5em;
  66. }
  67. .p01-contact :not(.inline) .options .option {
  68. margin: 0 1em;
  69. }
  70. .p01-contact .options input {
  71. display: inline-block;
  72. margin-right: .5em;
  73. }
  74. .p01-contact .error-msg {
  75. color: red;
  76. font-size: .85em;
  77. margin-left: .5em;
  78. }
  79. input:invalid,
  80. textarea:invalid {
  81. box-shadow: none;
  82. }
  83. .p01-contact .alert {
  84. padding: 15px;
  85. margin-bottom: 20px;
  86. border: 1px solid transparent;
  87. border-radius: 4px;
  88. }
  89. .p01-contact .alert.success {
  90. color: #3c763d;
  91. background-color: #dff0d8;
  92. border-color: #d6e9c6;
  93. }
  94. .p01-contact .alert.failed {
  95. color: #a94442;
  96. background-color: #f2dede;
  97. border-color: #ebccd1;
  98. }