FullScreenPanel.less 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. @import '~assets/less/variable';
  2. .fullScreen{
  3. position: fixed;
  4. height: 100%;
  5. overflow: auto;
  6. outline: 0;
  7. z-index:1000;
  8. top:0;
  9. left:0;
  10. right:0;
  11. bottom: 0;
  12. background-color: white;
  13. .container{
  14. height:100%;
  15. display: flex;
  16. flex-direction: column;
  17. flex-wrap: nowrap;
  18. .header {
  19. height: 64px;
  20. flex: 0 0 64px;
  21. background-color: @body-background;
  22. box-shadow: @header-box-shadow;
  23. z-index: 3;
  24. display: flex;
  25. flex-direction: row;
  26. justify-content: space-between;
  27. align-items: center;
  28. .logo {
  29. margin-left: 24px;
  30. i{
  31. font-size: 16px;
  32. cursor: pointer;
  33. }
  34. span{
  35. font-size: 24px;
  36. font-weight: 500;
  37. color: rgba(0,0,0,.74);
  38. }
  39. }
  40. .tools {
  41. margin-right: 24px;
  42. display: flex;
  43. flex-direction: row;
  44. li {
  45. padding: 0 10px;
  46. cursor: pointer;
  47. i {
  48. font-size: 14px;
  49. }
  50. span{
  51. margin-left: 12px;
  52. font-size: 14px;
  53. font-weight: 400px;
  54. }
  55. }
  56. }
  57. }
  58. .body{
  59. flex:1;
  60. position: relative;
  61. min-height: 0;
  62. .sideMenu{
  63. .mixinPanel(230px);
  64. position: absolute;
  65. box-shadow: 2px 0 8px rgba(0,0,0,0.15);
  66. ul{
  67. overflow-x: hidden;
  68. margin-top: 20px;
  69. margin-bottom: 20px;
  70. border: none;
  71. li {
  72. &:global(.ant-menu-item) {
  73. font-weight: 500;
  74. }
  75. }
  76. &:global(.ant-menu) {
  77. background: none;
  78. }
  79. }
  80. &:after {
  81. .mixinPanelAfter(230px);
  82. position: absolute;
  83. }
  84. }
  85. .controlPanel {
  86. .mixinPanel(360px);
  87. position: fixed;
  88. box-shadow: -2px 0 8px rgba(0,0,0,0.15);
  89. right: 0;
  90. display: flex;
  91. flex-direction: column;
  92. .controlHeader {
  93. margin-top: 64px;
  94. padding: 16px 24px;
  95. color: rgba(0,0,0, .65);
  96. background: @white;
  97. border-bottom: 1px solid #e8e8e8;
  98. flex-shrink: 0;
  99. .headerTitle {
  100. display:flex;
  101. justify-content: space-around;
  102. margin: 0;
  103. font-weight: 500;
  104. font-size: 16px;
  105. line-height: 22px;
  106. .ctrl {
  107. flex: 1;
  108. text-align: center;
  109. cursor: pointer;
  110. }
  111. }
  112. }
  113. .controlBody {
  114. flex: 1;
  115. overflow-y: auto;
  116. padding: 16px 16px;
  117. &:global(form .ant-select) {
  118. width: 300px !important;
  119. }
  120. }
  121. .controlFooter {
  122. flex-shrink: 0;
  123. width: 100%;
  124. border-top: 1px solid rgb(232, 232, 232);
  125. padding: 10px 16px;
  126. text-align: right;
  127. border-radius: 0px 0px 4px 4px;
  128. .footer {
  129. button {
  130. margin-left: 12px;
  131. }
  132. }
  133. }
  134. &:after {
  135. .mixinPanelAfter(360px);
  136. position: fixed;
  137. right:0;
  138. }
  139. }
  140. .controlShow {
  141. right: 0;
  142. }
  143. .controlHide {
  144. transform: translateX(100%);
  145. box-shadow: none;
  146. }
  147. .chartWrapper{
  148. display: flex;
  149. flex-direction: column;
  150. min-width: 0;
  151. width: 100%;
  152. height: 100%;
  153. padding: 32px 24px 24px 24px;
  154. transition: all .3s;
  155. }
  156. .marginLeftDefault{
  157. padding-left: 0px;
  158. }
  159. .marginLeftMenu{
  160. padding-left: calc(~'240px - 15%');
  161. }
  162. .hide{
  163. left:-230px;
  164. box-shadow: none;
  165. }
  166. .show{
  167. left:0px;
  168. }
  169. }
  170. }
  171. }
  172. .displayNone{
  173. display: none;
  174. }
  175. .displayBlock{
  176. display: block;
  177. }
  178. .showModalPanel{
  179. top:0;
  180. }
  181. .hideModalPanel{
  182. top:-100px;
  183. }
  184. .mixinPanel(@width) {
  185. width: @width;
  186. height: 100%;
  187. max-height:100%;
  188. z-index: 1;
  189. top:0;
  190. overflow-y: auto;
  191. transition: all .3s;
  192. }
  193. .mixinPanelAfter(@width) {
  194. content: '';
  195. width: @width;
  196. height: 100%;
  197. max-height: 100%;
  198. z-index: -1;
  199. top: 0;
  200. background-color: rgba(255, 255, 255, 0.85);
  201. filter: blur(2px)
  202. }
  203. .unSelectControlTitleStyle {
  204. color: rgba(0,0,0,0.25);
  205. }
  206. .selectControlTitleStyle {
  207. color: rgba(0,0,0,.85);
  208. }