forms.css 2.9 KB

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