wms-layout.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. /*
  2. * 描 述:lrLayout 页面布局样式(目前支持左右布局)
  3. */
  4. .lr-layout {
  5. position: relative;
  6. height: 100%;
  7. width: 100%;
  8. padding: 5px;
  9. }
  10. .lr-layout.lr-layout-left-center {
  11. padding-left: 203px;
  12. }
  13. .lr-layout-left {
  14. position: absolute;
  15. top: 0;
  16. left: 0;
  17. width: 203px;
  18. height: 100%;
  19. padding: 10px 0px 10px 10px;
  20. }
  21. .lr-layout-center {
  22. position: relative;
  23. width: 100%;
  24. height: 100%;
  25. padding: 5px;
  26. }
  27. .lr-layout-wrap {
  28. position: relative;
  29. width: 100%;
  30. height: 100%;
  31. background-color: #fff;
  32. border: 1px solid #ccc;
  33. padding-top: 32px;
  34. border-radius: 3px;
  35. -webkit-transition: opacity 0.25s ease-out;
  36. -moz-transition: opacity 0.25s ease-out;
  37. transition: opacity 0.25s ease-out;
  38. -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
  39. box-shadow: 0 1px 1px rgba(0,0,0,.05);
  40. }
  41. .lr-layout-center .lr-layout-wrap {
  42. padding-top: 87px;
  43. }
  44. .lr-layout-center .lr-layout-wrap.lr-layout-wrap-notitle {
  45. padding-top: 55px;
  46. }
  47. .lr-layout-left .lr-layout-wrap.lr-layout-wrap-notitle {
  48. padding-top: 0px;
  49. }
  50. .lr-uitheme-accordion .lr-layout-wrap {
  51. border-radius: 0px;
  52. }
  53. .lr-layout-title {
  54. position: absolute;
  55. top: 0;
  56. left: 0;
  57. height: 32px;
  58. line-height: 32px;
  59. width: 100%;
  60. border-bottom: 1px solid #ccc;
  61. color: #666;
  62. text-overflow: ellipsis;
  63. white-space: nowrap;
  64. font-weight: bold;
  65. padding-left: 9px;
  66. font-size: 12px;
  67. -moz-user-select: text;
  68. -webkit-user-select: text;
  69. -ms-user-select: text;
  70. -khtml-user-select: text;
  71. user-select: text;
  72. }
  73. .lr-layout-tool {
  74. position: absolute;
  75. top: 32px;
  76. left: 0;
  77. width: 100%;
  78. height: 55px;
  79. border-bottom: 1px solid #ccc;
  80. z-index: 3;
  81. display: flex;
  82. align-items: center;
  83. padding:0px 5px;
  84. box-sizing:border-box;
  85. }
  86. .lr-layout-center .lr-layout-wrap.lr-layout-wrap-notitle .lr-layout-tool {
  87. top: 0px;
  88. }
  89. .lr-layout-tool-left {
  90. /* position: absolute;
  91. left: 10px;
  92. top: 0;
  93. height: 100%;*/
  94. flex: 1;
  95. justify-self: end;
  96. display: flex;
  97. justify-content: flex-end;
  98. padding-top: 2px;
  99. }
  100. .lr-layout-tool-left .lr-layout-tool-item {
  101. /* position: relative;
  102. float: left;
  103. padding-top: 13px;
  104. padding-left: 5px;*/
  105. margin: 0 2px;
  106. }
  107. .lr-layout-tool-right {
  108. /* position: absolute;
  109. right: 15px;
  110. top: 0;
  111. height: 100%;
  112. padding-top: 12px;*/
  113. /* display: flex;
  114. justify-content: center;
  115. align-items: center;
  116. margin: 0 6px;*/
  117. }
  118. .lr-layout-body {
  119. position: relative;
  120. width: 100%;
  121. height: 100%;
  122. }
  123. .lr-layout-move {
  124. position: absolute;
  125. top: 0;
  126. z-index: 1;
  127. }
  128. .lr-layout-move-right {
  129. right: -8px;
  130. width: 8px;
  131. height: 100%;
  132. cursor: col-resize;
  133. }