_body.scss 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. $color-active :#2168fe;
  2. .z-body{
  3. position: fixed;
  4. top:60px;
  5. bottom: 0;
  6. left: 200px;
  7. right: 0;
  8. .layui-tab{
  9. margin:0;
  10. .layui-tab-title{
  11. font-weight: 600;
  12. .layui-index{
  13. .layui-tab-close{
  14. display: none;
  15. }
  16. &:after{
  17. left:30%;
  18. }
  19. }
  20. .layui-this{
  21. color:$color-active;
  22. &:after{
  23. width:40%;
  24. left:calc(30% - 10px);
  25. border-bottom:solid 3px $color-active;
  26. }
  27. &.layui-index{
  28. .layui-tab-close{
  29. display: none;
  30. }
  31. &:after{
  32. left:30%;
  33. }
  34. }
  35. }
  36. }
  37. .layui-tab-content{
  38. height: calc(100vh - 105px);
  39. overflow: auto;
  40. padding:0;
  41. .layui-tab-item{
  42. position: relative;
  43. height: 100%;
  44. width: 100%;
  45. .iframe-content{
  46. position: absolute;
  47. top:0;
  48. bottom: 0;
  49. left: 0;
  50. right: 0;
  51. height: 100%;
  52. width: 100%;
  53. }
  54. }
  55. }
  56. }
  57. .tabs-pages-more{
  58. border: 1px solid #e6e6e6;
  59. width: 30px;
  60. height: 40px;
  61. line-height: 40px;
  62. z-index: 10;
  63. text-align: center;
  64. cursor: pointer;
  65. border-bottom: 2px solid #e6e6e6;
  66. }
  67. }