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