forms.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. @import url(../../../template/css/forms.css);
  2. /**
  3. * Overwrite default styles
  4. */
  5. .bx-form-value .bx-form-input-slider,
  6. .bx-form-value .bx-form-input-doublerange,
  7. .bx-form-value .bx-form-input-select_multiple,
  8. .bx-form-value .bx-form-input-select,
  9. .bx-form-value .bx-form-input-radio_set,
  10. .bx-form-value .bx-form-input-checkbox_set,
  11. .bx-form-value .bx-form-input-number,
  12. .bx-form-value .bx-form-input-time,
  13. .bx-form-value .bx-form-input-datepicker,
  14. .bx-form-value .bx-form-input-datetime,
  15. .bx-form-value .bx-form-input-textarea,
  16. .bx-form-value .bx-form-input-wrapper-password,
  17. .bx-form-value .bx-form-input-text,
  18. .bx-form-value .bx-form-input-price,
  19. .bx-form-value .bx-form-input-wrapper-price span {
  20. height: 2.5rem;
  21. padding: 0 0.75rem;
  22. box-sizing: border-box;
  23. border: 1px solid rgba(107, 114, 128, 0.2);
  24. border-radius: 0.5rem;
  25. line-height: 1.25rem;
  26. font-size: 1.0rem;
  27. }
  28. .bx-form-input-rgb-list{
  29. color:#fff;
  30. }
  31. .bx-form-value .bx-form-input-select_multiple,
  32. .bx-form-value .bx-form-input-radio_set,
  33. .bx-form-value .bx-form-input-checkbox_set {
  34. height:auto;
  35. }
  36. .bx-form-value .bx-form-input-textarea {
  37. height: 15rem;
  38. padding: 0.5rem;
  39. line-height:normal;
  40. }
  41. .bx-form-value .bx-form-input-textarea-small {
  42. height: 4.5rem;
  43. }
  44. .bx-form-value .bx-form-input-wrapper-textarea .CodeMirror {
  45. height: 30rem;
  46. }
  47. .bx-form-value .bx-form-input-slider:focus,
  48. .bx-form-value .bx-form-input-doublerange:focus,
  49. .bx-form-value .bx-form-input-number:focus,
  50. .bx-form-value .bx-form-input-time:focus,
  51. .bx-form-value .bx-form-input-datepicker:focus,
  52. .bx-form-value .bx-form-input-datetime:focus,
  53. .bx-form-value .bx-form-input-textarea:focus,
  54. .bx-form-value .bx-form-input-text:focus,
  55. .bx-form-value .bx-form-input-price:focus,
  56. .bx-form-value .bx-form-input-wrapper-password.bx-form-input-focus {
  57. outline: 2px solid rgba(59,130,246,.5);
  58. outline-offset: 2px;
  59. background-color: rgba(255, 255, 255, 1);
  60. transition-duration: .1s;
  61. }
  62. .bx-form-value .bx-form-input-select_multiple,
  63. .bx-form-value .bx-form-input-radio_set,
  64. .bx-form-value .bx-form-input-checkbox_set {
  65. height:auto;
  66. }
  67. /**
  68. * General
  69. */
  70. select.bx-form-field-type option {
  71. padding-left: 25px;
  72. background-repeat: no-repeat;
  73. background-position: 5px 0px;
  74. }
  75. /**
  76. * Image uploader with with manager
  77. */
  78. div.bx-form-input-preview {}
  79. div.bx-form-input-preview img {
  80. max-width: 768px;
  81. max-height: 256px;
  82. }
  83. div.bx-form-input-preview-empty {}
  84. /**
  85. * Translatable fields.
  86. */
  87. div.bx-form-input-wrapper-textarea {
  88. position: relative;
  89. }
  90. div.bx-form-input-translator {
  91. position: absolute;
  92. top: -22px;
  93. right: 0px;
  94. }
  95. div.bx-form-input-language,
  96. div.bx-form-input-language-current{
  97. position: relative;
  98. height: 17px;
  99. line-height: 17px;
  100. }
  101. div.bx-form-input-language {
  102. white-space: nowrap
  103. }
  104. div.bx-form-input-language-current {
  105. font-weight: bold;
  106. }
  107. /**
  108. * Forms in popup.
  109. */
  110. .bx-popup .bx-form-element .bx-form-input-wrapper-input_set {
  111. margin: 0 -1.5rem;
  112. padding: 1.5rem 1.5rem 0 1.5rem;
  113. border-top: 1px solid rgba(228, 228, 231, 1.0);
  114. }