forms.css 2.8 KB

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