1
0

default.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. @import (reference) '../../../../../../../template/css/_mixins.less';
  2. /**
  3. * Is used for inputs and buttons. They should have the same value
  4. * because Input and Button can be positioned in one line.
  5. */
  6. @base-input-box-sizing: border-box;
  7. .bx-def-page-width {
  8. max-width: @bx-page-width;
  9. width: 100%;
  10. }
  11. /*--- Fonts ---*/
  12. .bx-def-vanilla-html {
  13. margin-left: auto;
  14. margin-right: auto;
  15. }
  16. .bx-layout-column-thin .bx-def-vanilla-html,
  17. .bx-layout-column-half .bx-def-vanilla-html,
  18. .bx-layout-column-wide .bx-def-vanilla-html {
  19. max-width: none;
  20. }
  21. .bx-layout-column-fullwidth .bx-base-text-entity-content.bx-def-vanilla-html {
  22. margin-top: 1.5rem;
  23. margin-bottom: 1.5rem;
  24. }
  25. .bx-def-vanilla-html.bx-def-constraint-pre pre {
  26. max-width: none;
  27. overflow: auto;
  28. }
  29. /*--- Unit ---*/
  30. .bx-def-unit .bx-def-unit-line .bx-def-ui-div:first-child {
  31. display: none;
  32. }
  33. /*--- Alerts ---*/
  34. .bx-def-unit-alert,
  35. .bx-def-unit-alert-small,
  36. .bx-def-unit-alert-middle {
  37. font-size: @bx-font-size-small - 2;
  38. }
  39. /*--- Image/thumbnail/gallery ---*/
  40. .bx-def-unit .bx-def-unit-info,
  41. .bx-def-unit .bx-def-unit-img,
  42. .bx-def-unit img {
  43. display: inherit;
  44. }
  45. /*--- Live Search ---*/
  46. .bx-def-unit-live-search .bx-def-unit-img:not(.empty) {
  47. background-size:cover;
  48. background-repeat:no-repeat;
  49. background-position:center center;
  50. }
  51. .bx-def-unit-live-search .bx-def-unit-img-empty {
  52. position: relative;
  53. display: flex;
  54. align-items: center;
  55. justify-content: center;
  56. }
  57. .bx-def-unit-live-search .bx-def-unit-img-empty i {
  58. font-size: 1.2rem;
  59. }
  60. /*--- unit sizes ---*/
  61. .bx-def-gal-img-size {
  62. .width(@bx-size-gallery-img-width);
  63. .height(@bx-size-gallery-img-height);
  64. }
  65. .bx-def-gal-div-size {
  66. width: 100%;
  67. height: 12.5rem;
  68. }
  69. /*--- z-index ---*/
  70. .bx-def-z-index-front {
  71. z-index:100;
  72. }
  73. .bx-def-z-index-nav {
  74. z-index:5000;
  75. }
  76. .bx-def-z-index-overlay {
  77. z-index:9700;
  78. }
  79. .bx-def-z-index-modal {
  80. z-index:10000;
  81. }