base.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. body.cp {
  2. color: #1e375a;
  3. height: 100%;
  4. overflow: hidden;
  5. position: relative;
  6. width: 100%;
  7. }
  8. body.cp header {
  9. background-color: #205081;
  10. color: #fff;
  11. height: 56px;
  12. left: 0;
  13. position: fixed;
  14. right: 0;
  15. top: 0;
  16. z-index: 3;
  17. }
  18. @keyframes loading-movement{
  19. 0% {
  20. background-position: 0 0;
  21. }
  22. to {
  23. background-position: 50px 0px;
  24. }
  25. }
  26. body.cp header:before {
  27. background-image: linear-gradient(45deg, #28598a 25%, transparent 0, transparent 50%, #28598a 0, #28598a 75%, transparent 0, transparent);
  28. background-size: 50px 50px;
  29. bottom: 0;
  30. content: "";
  31. left: 0;
  32. position: absolute;
  33. right: 0;
  34. top: 0;
  35. z-index: 1;
  36. }
  37. body.cp.loading header:before {
  38. animation: loading-movement 2s linear infinite;
  39. }
  40. body.cp header .wrap {
  41. align-items: stretch;
  42. display: block;
  43. height: 100%;
  44. width: 100%;
  45. }
  46. body.cp header .wrap .sidebar,
  47. body.cp header .wrap .content {
  48. height: 100%;
  49. position: relative;
  50. vertical-align: top;
  51. }
  52. body.cp header .wrap .sidebar {
  53. float: left;
  54. width: 250px;
  55. }
  56. body.cp header .wrap .sidebar.right {
  57. float: right;
  58. }
  59. body.cp .body,
  60. body.cp .body .wrap {
  61. align-items: stretch;
  62. display: block;
  63. height: 100%;
  64. width: 100%;
  65. }
  66. body.cp .body .wrap .sidebar,
  67. body.cp .body .wrap .content {
  68. height: 100%;
  69. padding-top: 56px;
  70. position: relative;
  71. vertical-align: top;
  72. z-index: 2;
  73. }
  74. body.cp .body .wrap .content {
  75. z-index: 1;
  76. }
  77. body.cp .body .wrap .sidebar {
  78. background: #eee;
  79. float: left;
  80. width: 250px;
  81. }
  82. body.cp .body .wrap .sidebar.right {
  83. float: right;
  84. }
  85. body.cp .body .wrap .sidebar .scroll,
  86. body.cp .body .wrap .content .scroll {
  87. height: 100%;
  88. overflow: hidden;
  89. overflow-y: auto;
  90. }
  91. body.cp .body .wrap .sidebar .scroll .padding,
  92. body.cp .body .wrap .content .scroll .padding {
  93. padding: 16px;
  94. }
  95. .divider {
  96. border-top: 1px solid #d6d6d6;
  97. height: 0;
  98. overflow: hidden;
  99. }