16180c6aea9ad90ebf32d7037a3027408104dcaf.svn-base 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. .nav_hover {
  2. &:hover,&.v-link-active {background: #008fbf;}
  3. }
  4. .header {height: 50px;background: #0099cc;color: #fff;line-height: 50px;
  5. a {display: block;}
  6. .head_name {width: 110px;height: 50px;border-right: 1px solid #008fbf;text-align: center;margin-right: 40px;@extend .nav_hover;
  7. }
  8. .head_tool {margin-right: 38px;
  9. a {float: left;@extend .nav_hover;}
  10. i {padding: 0 10px;}
  11. }
  12. }
  13. .logo {width: 50px;height: 50px;background: #0087b4;text-align: center;}
  14. .nav {
  15. ul li {float: left;margin-right: 5px;
  16. a {display: block;@extend .nav_hover;padding: 0 10px;}
  17. i {margin-right: 12px;}
  18. }
  19. }
  20. .sidebar {width: 180px;position: fixed;top: 50px;bottom: 0;left: 0;z-index: 102;overflow-x: hidden;background-color: #293038;transition: width .3s;
  21. &::-webkit-scrollbar{
  22. width:2px;
  23. }
  24. &.sidebar_mini {width: 50px;
  25. .nav_left li a i {width: 50px;padding-left: 0;}
  26. }
  27. .sidebar_tool {height: 30px;background: #394555;color: #aeb9c2;text-align: center;line-height: 30px;cursor: pointer;
  28. &:hover {background: #37424f;}
  29. }
  30. .nav_left {color: #fff;font-size: 12px;padding-top: 20px;
  31. li {
  32. a {height: 40px;line-height: 40px;overflow: hidden;display: block;
  33. &:hover,&.v-link-active {background: #0099cc;}
  34. i {font-size: 18px;display: block;float: left;width: 72px;text-align: center;padding: 11px 0;padding-left: 20px;transition: all .3s;}
  35. span {display: block;float: left;max-width: 120px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
  36. }
  37. }
  38. }
  39. }
  40. .main {width: auto;position: absolute;top: 50px;bottom: 0;left: 180px;right: 0;overflow-y: auto;background: #eaedf1;transition: left .3s;
  41. .notice {height: 30px;background: #fff;line-height: 30px;padding: 0 25px;color: #2d2b2c;}
  42. .main_content {margin: 30px 30px 0;min-height: calc(100% - 60px);background: #fff;padding: 15px 27px;}
  43. }
  44. .title {height: 45px;line-height: 44px;border-bottom: 1px solid #ddd;
  45. span {padding-left: 15px;margin-left: 2px;border-left: 2px solid #88b7e0;color: #2d2b2c;height: 15px;line-height: 15px;display: inline-block;}
  46. }
  47. .list {
  48. &>li {margin-bottom: 20px;}
  49. .align {margin-left: 85px;}
  50. }
  51. .list_align {margin-left: 85px;}
  52. .table {margin: 13px 0;
  53. input.sort {border: 1px solid #fff;width: 50px;text-align: center;line-height: 27px;
  54. &:focus {border-color: #e1e6eb;}
  55. }
  56. }
  57. .index_block {width: calc((100% + 16px)/4 - 16px);height: 100px;border-radius: 5px;background: #000;float: left;margin: 27px 16px 0 0;color: #fff;overflow: hidden;
  58. &:nth-of-type(4n) {margin-right: 0;}
  59. &.index_block_info {background: #03a9f4;}
  60. &.index_block_column {background: #8bc34a;}
  61. &.index_block_admin {background: #e84e40;}
  62. &.index_block_visit {background: #9c27b0;}
  63. .fr {text-align: right;padding-right: 20px;
  64. p {padding-top: 20px;}
  65. strong {padding-top: 15px;display: block;font-size: 22px;}
  66. }
  67. i {font-size: 62px;padding: 19px 30px;float: left;}
  68. }
  69. .index_box {border: 1px solid #ddd;margin-top: 27px;
  70. .index_box_tit {height: 38px;line-height: 37px;border-bottom: 1px solid #ddd;text-indent: 15px;}
  71. .index_box_content {min-height: 260px;}
  72. }
  73. .purple_list {padding: 0 15px;
  74. li {padding: 15px 0 15px;color: #92657b;
  75. span {color: #0099cc;}
  76. }
  77. }
  78. .index_highcharts {width: 100%;height: 300px;padding: 25px 25px 5px;}
  79. .main.main_big {left:50px;}
  80. .sidebar2 { width: 180px; position: fixed; top: 50px; bottom: 0; left: 180px; z-index: 102; background-color: #eaedf1; transition: width .3s,left .3s; font-size: 12px;}
  81. .sidebar2.sidebar2_mini {width: 0;}
  82. .sidebar2.sidebar2_mini2 {left: 50px;}
  83. .sidebar2 .content_nav_tit { height: 70px; line-height: 70px; color: #333; text-indent: 20px; background: #d9dee4; overflow: hidden; }
  84. .sidebar2 .btn_expand { position: absolute; right: 0; top: 50%; margin-top: -25px; transition: transform .2s; transform-origin: right; }
  85. .sidebar2 .btn_expand:hover { transform: scaleX(1.2); }
  86. .sidebar2 .btn_contract { position: absolute; left: 100%; top: 50%; margin-top: -25px; transition: transform .2s; transform-origin: left; }
  87. .sidebar2 .btn_contract:hover { transform: scaleX(1.2); }
  88. .content_box { margin-left: 180px; padding: 25px 17px; min-height: 100%; transition: margin-left .2s; background: #fff; }
  89. .content_box.content_big {margin-left: 0;}
  90. .content_nav_list { overflow-x: auto; }
  91. .content_nav_list li { line-height: 40px; }
  92. .content_nav_list li a { display: block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
  93. .content_nav_list li a:hover, .content_nav_list li a.v-link-active { background: #fff; }
  94. .content_nav_list ul li { text-indent: 40px; }
  95. .content_nav_list i { display: inline-block; width: 30px; text-align: center; color: #333; }
  96. .content_left span {width: 100%;max-width: 100%!important;text-align: center;}
  97. #upload_template {display: none;}
  98. .list_dropzone {margin: 20px 20px 20px 85px;}
  99. .sort-placeholder {border: 1px dashed #ccc;background: #fff;}
  100. .upload_list {width: 100%;background: #eee;border-radius: 10px;overflow: hidden;padding: 15px 0 5px;position: relative;margin-bottom: 10px;
  101. &.sort-placeholder {border-radius: 10px;margin-bottom: 10px;height: 136px;padding: 15px 0 5px;margin-bottom: 10px;}
  102. &>div {
  103. float: left;
  104. padding: 0 15px;
  105. line-height: 24px;
  106. img {max-width: 100px;max-height: 126px;vertical-align: middle;}
  107. &.upload_img {width: 130px;height: 126px;line-height: 126px;text-align: center;}
  108. &.ellipsis {width: 250px;}
  109. .list {
  110. li {margin-bottom: 10px;
  111. label {line-height: 26px;
  112. &>span {width: auto;padding: 0 10px 0 0;}
  113. input {height: 26px;width: 400px;}
  114. textarea {width: 400px;height: 50px;line-height: 1.4;}
  115. }
  116. &:first-child label input {width: 200px;}
  117. }
  118. }
  119. }
  120. .upload_delete {position: absolute;right: 10px;top: 10px;z-index: 999;opacity: 0.8;
  121. &:hover {opacity: 1;}
  122. }
  123. }