layout.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. .layout {
  2. position: relative;
  3. overflow: hidden;
  4. margin: 0;
  5. padding: 0;
  6. z-index: 0;
  7. }
  8. .layout-panel {
  9. position: absolute;
  10. overflow: hidden;
  11. }
  12. .layout-body {
  13. min-width: 1px;
  14. min-height: 1px;
  15. }
  16. .layout-panel-east,
  17. .layout-panel-west {
  18. z-index: 2;
  19. }
  20. .layout-panel-north,
  21. .layout-panel-south {
  22. z-index: 3;
  23. }
  24. .layout-expand {
  25. position: absolute;
  26. padding: 0px;
  27. font-size: 1px;
  28. cursor: pointer;
  29. z-index: 1;
  30. }
  31. .layout-expand .panel-header,
  32. .layout-expand .panel-body {
  33. background: transparent;
  34. filter: none;
  35. overflow: hidden;
  36. }
  37. .layout-expand .panel-header {
  38. border-bottom-width: 0px;
  39. }
  40. .layout-expand .panel-body {
  41. position: relative;
  42. }
  43. .layout-expand .panel-body .panel-icon {
  44. margin-top: 0;
  45. top: 0;
  46. left: 50%;
  47. margin-left: -8px;
  48. }
  49. .layout-expand-west .panel-header .panel-icon,
  50. .layout-expand-east .panel-header .panel-icon {
  51. display: none;
  52. }
  53. .layout-expand-title {
  54. position: absolute;
  55. top: 0;
  56. left: 21px;
  57. white-space: nowrap;
  58. word-wrap: normal;
  59. -webkit-transform: rotate(90deg);
  60. -webkit-transform-origin: 0 0;
  61. -moz-transform: rotate(90deg);
  62. -moz-transform-origin: 0 0;
  63. -o-transform: rotate(90deg);
  64. -o-transform-origin: 0 0;
  65. transform: rotate(90deg);
  66. transform-origin: 0 0;
  67. }
  68. .layout-expand-title-up {
  69. position: absolute;
  70. top: 0;
  71. left: 0;
  72. text-align: right;
  73. padding-left: 5px;
  74. white-space: nowrap;
  75. word-wrap: normal;
  76. -webkit-transform: rotate(-90deg);
  77. -webkit-transform-origin: 0 0;
  78. -moz-transform: rotate(-90deg);
  79. -moz-transform-origin: 0 0;
  80. -o-transform: rotate(-90deg);
  81. -o-transform-origin: 0 0;
  82. transform: rotate(-90deg);
  83. transform-origin: 0 0;
  84. }
  85. .layout-expand-with-icon {
  86. top: 18px;
  87. }
  88. .layout-expand .panel-body-noheader .layout-expand-title,
  89. .layout-expand .panel-body-noheader .panel-icon {
  90. top: 5px;
  91. }
  92. .layout-expand .panel-body-noheader .layout-expand-with-icon {
  93. top: 23px;
  94. }
  95. .layout-split-proxy-h,
  96. .layout-split-proxy-v {
  97. position: absolute;
  98. font-size: 1px;
  99. display: none;
  100. z-index: 5;
  101. }
  102. .layout-split-proxy-h {
  103. width: 5px;
  104. cursor: e-resize;
  105. }
  106. .layout-split-proxy-v {
  107. height: 5px;
  108. cursor: n-resize;
  109. }
  110. .layout-mask {
  111. position: absolute;
  112. background: #fafafa;
  113. filter: alpha(opacity=10);
  114. opacity: 0.10;
  115. z-index: 4;
  116. }
  117. .layout-button-up {
  118. background: url('images/layout_arrows.png') no-repeat -16px -16px;
  119. }
  120. .layout-button-down {
  121. background: url('images/layout_arrows.png') no-repeat -16px 0;
  122. }
  123. .layout-button-left {
  124. background: url('images/layout_arrows.png') no-repeat 0 0;
  125. }
  126. .layout-button-right {
  127. background: url('images/layout_arrows.png') no-repeat 0 -16px;
  128. }
  129. .layout-split-proxy-h,
  130. .layout-split-proxy-v {
  131. background-color: #bbb;
  132. }
  133. .layout-split-north {
  134. border-bottom: 5px solid #eee;
  135. }
  136. .layout-split-south {
  137. border-top: 5px solid #eee;
  138. }
  139. .layout-split-east {
  140. border-left: 5px solid #eee;
  141. }
  142. .layout-split-west {
  143. border-right: 5px solid #eee;
  144. }
  145. .layout-expand {
  146. background-color: #F2F2F2;
  147. }
  148. .layout-expand-over {
  149. background-color: #F2F2F2;
  150. }