form.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. .sync-wizard .form-input-wrapper {
  2. position: relative;
  3. }
  4. .sync-wizard .form-input-error .form-input {
  5. border-color: #ed5555;
  6. }
  7. .sync-wizard .form-input-errmsg {
  8. position: absolute;
  9. top: -14px;
  10. left: 0;
  11. font-size: 12px;
  12. line-height: 12px;
  13. color: #ed5555;
  14. }
  15. .sync-wizard .form-input {
  16. font-size: 12px;
  17. border-radius: 2px;
  18. border: 1px solid #c8d3e9;
  19. color: #4a4a4a;
  20. outline: 1px solid transparent;
  21. transition: all 0.2s ease;
  22. }
  23. .sync-wizard .form-input::placeholder {
  24. color: #bbbbbb;
  25. }
  26. .sync-wizard .form-input:focus {
  27. border-color: #4883fb;
  28. outline: 1px solid #4883fb;
  29. }
  30. .sync-wizard select.form-input {
  31. width: 200px;
  32. height: 32px;
  33. padding: 0 30px 0 10px;
  34. -moz-appearance: none;
  35. -webkit-appearance: none;
  36. appearance: none;
  37. background-image: url('../img/caret.png');
  38. background-repeat: no-repeat;
  39. background-position: right 0.7em top 50%;
  40. background-size: 15px auto;
  41. }
  42. .sync-wizard input.form-input {
  43. width: 200px;
  44. height: 32px;
  45. padding: 0 10px;
  46. }
  47. .sync-wizard textarea.form-input {
  48. width: 410px;
  49. height: 100px;
  50. resize: none;
  51. padding: 10px;
  52. }
  53. .sync-wizard .form-input-number {
  54. position: relative;
  55. }
  56. .sync-wizard .form-input-number button {
  57. position: absolute;
  58. top: 1px;
  59. width: 32px;
  60. height: 30px;
  61. border: none;
  62. border-radius: 0;
  63. background-color: #efeff1;
  64. padding: 0;
  65. margin: 0;
  66. cursor: pointer;
  67. }
  68. .sync-wizard .form-input-number button:first-child {
  69. left: 1px;
  70. border-right: 1px solid #c8d3e9;
  71. border-top-left-radius: 2px;
  72. border-bottom-left-radius: 2px;
  73. background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iIzdmN2M3ZiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNNCA4YS41LjUgMCAwIDEgLjUtLjVoN2EuNS41IDAgMCAxIDAgMWgtN0EuNS41IDAgMCAxIDQgOHoiLz48L3N2Zz4');
  74. background-repeat: no-repeat;
  75. background-position: left 50% top 50%;
  76. background-size: 20px auto;
  77. }
  78. .sync-wizard .form-input-number button:last-child {
  79. right: 1px;
  80. border-left: 1px solid #c8d3e9;
  81. border-top-right-radius: 2px;
  82. border-bottom-right-radius: 2px;
  83. background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iIzdmN2M3ZiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOCA0YS41LjUgMCAwIDEgLjUuNXYzaDNhLjUuNSAwIDAgMSAwIDFoLTN2M2EuNS41IDAgMCAxLTEgMHYtM2gtM2EuNS41IDAgMCAxIDAtMWgzdi0zQS41LjUgMCAwIDEgOCA0eiIvPjwvc3ZnPg==');
  84. background-repeat: no-repeat;
  85. background-position: left 50% top 50%;
  86. background-size: 20px auto;
  87. }
  88. .sync-wizard .form-input-number .form-input {
  89. text-align: center;
  90. }
  91. .sync-wizard .form-label {
  92. color: #4a4a4a;
  93. height: 32px;
  94. width: 104px;
  95. padding-left: 12px;
  96. position: relative;
  97. display: flex;
  98. align-items: center;
  99. margin-right: 15px;
  100. }
  101. .sync-wizard .form-label.field-required::before {
  102. content: '*';
  103. color: #ed5555;
  104. position: absolute;
  105. left: 0;
  106. top: 0;
  107. line-height: 32px;
  108. }
  109. .sync-wizard .form-group {
  110. display: flex;
  111. margin-bottom: 25px;
  112. }
  113. .sync-wizard .form-group:last-child {
  114. margin-bottom: 0;
  115. }
  116. .sync-wizard p.form-hint {
  117. color: #bbbbbb;
  118. margin: 0;
  119. font-size: 12px;
  120. }