form-styles.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. .form-group.has-errors {
  2. background: rgba(255,0,0,0.05);
  3. border: 1px solid rgba(255,0,0,0.2);
  4. border-radius: 3px;
  5. margin: 0 -5px;
  6. padding: 0 5px;
  7. }
  8. .form-errors {
  9. color: #b52b27;
  10. }
  11. .form-honeybear {
  12. visibility: hidden;
  13. position: absolute !important;
  14. height: 1px;
  15. width: 1px;
  16. overflow: hidden;
  17. clip: rect(1px, 1px, 1px, 1px);
  18. }
  19. .form-errors p {
  20. margin: 0;
  21. }
  22. .form-input-file input {
  23. display: none;
  24. }
  25. .form-input-file .dz-default.dz-message {
  26. position: absolute;
  27. text-align: center;
  28. left: 0;
  29. right: 0;
  30. top: 50%;
  31. transform: translateY(-50%);
  32. margin: 0;
  33. }
  34. .form-input-file.dropzone {
  35. position: relative;
  36. min-height: 70px;
  37. border-radius: 3px;
  38. margin-bottom: .85rem;
  39. border: 2px dashed #ccc;
  40. color: #aaa;
  41. padding: 0.5rem;
  42. }
  43. .form-input-file.dropzone .dz-preview {
  44. margin: 0.5rem;
  45. }
  46. .form-input-file.dropzone .dz-preview:hover {
  47. z-index: 2;
  48. }
  49. .form-input-file.dropzone .dz-preview .dz-error-message {
  50. min-width: 140px;
  51. width: auto;
  52. }
  53. .form-input-file.dropzone .dz-preview .dz-image,
  54. .form-input-file.dropzone .dz-preview.dz-file-preview .dz-image {
  55. border-radius: 3px;
  56. z-index: 1;
  57. }
  58. /* Signature Pad */
  59. .signature-pad {
  60. position: relative;
  61. display: -webkit-box;
  62. display: -ms-flexbox;
  63. display: flex;
  64. -webkit-box-orient: vertical;
  65. -webkit-box-direction: normal;
  66. -ms-flex-direction: column;
  67. flex-direction: column;
  68. font-size: 10px;
  69. width: 100%;
  70. height: 100%;
  71. max-width: 700px;
  72. max-height: 460px;
  73. border: 1px solid #f0f0f0;
  74. background-color: #fff;
  75. padding: 16px;
  76. }
  77. .signature-pad--body {
  78. position: relative;
  79. -webkit-box-flex: 1;
  80. -ms-flex: 1;
  81. flex: 1;
  82. border: 1px solid #f6f6f6;
  83. height: 100px;
  84. }
  85. .signature-pad--body canvas {
  86. position: absolute;
  87. left: 0;
  88. top: 0;
  89. width: 100%;
  90. height: 100%;
  91. border-radius: 4px;
  92. box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
  93. }
  94. .signature-pad--footer {
  95. color: #C3C3C3;
  96. text-align: center;
  97. font-size: 1.2em;
  98. }
  99. .signature-pad--actions {
  100. display: -webkit-box;
  101. display: -ms-flexbox;
  102. display: flex;
  103. -webkit-box-pack: justify;
  104. -ms-flex-pack: justify;
  105. justify-content: space-between;
  106. margin-top: 8px;
  107. }