validate.css 623 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. form p {
  2. margin: 0;
  3. padding: 0.4em 0 0 7em;
  4. }
  5. form p input {
  6. background: #666;
  7. color: #fff;
  8. font-weight: bold;
  9. }
  10. div.error {
  11. clear: left;
  12. margin-left: 5.3em;
  13. color: red;
  14. padding-right: 1.3em;
  15. height: 100%;
  16. padding-bottom: 0.3em;
  17. line-height: 1.3;
  18. }
  19. .input-error {
  20. background: #ff9;
  21. border: 1px solid red;
  22. }
  23. .success_msg {
  24. width: 350px;
  25. line-height: 40px;
  26. border: 1px solid green;
  27. border-radius: 5px;
  28. background-color: rgba(213, 255, 187, 0.7);
  29. display: none;
  30. position: absolute;
  31. bottom: 5px;
  32. left: 50%;
  33. transform: translateX(-50%);
  34. z-index: 999;
  35. text-align: center;
  36. }