forms.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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: 36px;
  21. height: 2.4rem;
  22. box-sizing: border-box;
  23. border-color: rgba(136, 143, 153, 1);
  24. border-width: 1px;
  25. font-size: 1.075rem;
  26. }
  27. .bx-form-input-rgb-list{
  28. color:#fff;
  29. }
  30. .bx-form-value .bx-form-input-select_multiple,
  31. .bx-form-value .bx-form-input-radio_set,
  32. .bx-form-value .bx-form-input-checkbox_set {
  33. height:auto;
  34. }
  35. .bx-form-value .bx-form-input-textarea {
  36. height: 15rem;
  37. padding: 0.5rem;
  38. line-height:normal;
  39. }
  40. .bx-form-value .bx-form-input-textarea-small {
  41. height: 4.5rem;
  42. }
  43. .bx-form-value .bx-form-input-wrapper-textarea .CodeMirror {
  44. height: 30rem;
  45. }
  46. .bx-form-value .bx-form-input-slider:focus,
  47. .bx-form-value .bx-form-input-doublerange:focus,
  48. .bx-form-value .bx-form-input-number:focus,
  49. .bx-form-value .bx-form-input-time:focus,
  50. .bx-form-value .bx-form-input-datepicker:focus,
  51. .bx-form-value .bx-form-input-datetime:focus,
  52. .bx-form-value .bx-form-input-textarea:focus,
  53. .bx-form-value .bx-form-input-text:focus,
  54. .bx-form-value .bx-form-input-price:focus,
  55. .bx-form-value .bx-form-input-wrapper-password.bx-form-input-focus {
  56. border-color: rgba(136, 143, 153, 1);
  57. background-color: rgba(255, 255, 255, 1);
  58. }
  59. .bx-form-value .bx-form-input-select_multiple,
  60. .bx-form-value .bx-form-input-radio_set,
  61. .bx-form-value .bx-form-input-checkbox_set {
  62. height:auto;
  63. }
  64. /**
  65. * General
  66. */
  67. select.bx-form-field-type option {
  68. padding-left: 25px;
  69. background-repeat: no-repeat;
  70. background-position: 5px 0px;
  71. }
  72. /**
  73. * Image uploader with with manager
  74. */
  75. div.bx-form-input-preview {}
  76. div.bx-form-input-preview img {
  77. max-width: 768px;
  78. max-height: 256px;
  79. }
  80. div.bx-form-input-preview-empty {}
  81. /**
  82. * Translatable fields.
  83. */
  84. div.bx-form-input-wrapper-textarea {
  85. position: relative;
  86. }
  87. div.bx-form-input-translator {
  88. position: absolute;
  89. top: -22px;
  90. right: 0px;
  91. }
  92. div.bx-form-input-language,
  93. div.bx-form-input-language-current{
  94. position: relative;
  95. height: 17px;
  96. line-height: 17px;
  97. }
  98. div.bx-form-input-language {
  99. white-space: nowrap
  100. }
  101. div.bx-form-input-language-current {
  102. font-weight: bold;
  103. }
  104. /**
  105. * Forms in popup.
  106. */
  107. .bx-popup .bx-form-element .bx-form-input-wrapper-input_set {
  108. margin: 0 -1.5rem;
  109. padding: 1.5rem 1.5rem 0 1.5rem;
  110. border-top: 1px solid rgba(228, 228, 231, 1.0);
  111. }