index.less 1.97 KB
Newer Older
1
.webConfigContainer{
张烨's avatar
张烨 committed
2 3 4
  position: absolute;
  width: 100%;
  height: 100%;
张烨's avatar
张烨 committed
5
  .link{
张烨's avatar
张烨 committed
6
    color: #000;
张烨's avatar
张烨 committed
7
    cursor: pointer;
张烨's avatar
张烨 committed
8
    font-size: 16px;
张烨's avatar
张烨 committed
9
    user-select: none;
张烨's avatar
张烨 committed
10 11 12
    position: relative;
    top: -10px;
    color: #1890ff;
张烨's avatar
张烨 committed
13 14 15 16 17
    .anticon{
      top: -3px;
      margin-right: 2px;
      position: relative;
    }
张烨's avatar
张烨 committed
18
  }
张烨's avatar
张烨 committed
19 20 21 22 23
  .ant-tabs-content-holder>.ant-tabs-content.ant-tabs-content-top{
    position: absolute;
    width: 100%;
    height: calc(100% - 40px);
  }
张烨's avatar
张烨 committed
24 25
  .webConfigTabcontent{
    background: #fff;
26
    // height: calc(100vh - 128px) !important;
张烨's avatar
张烨 committed
27
  }
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
}

.webConfigContainer > .ant-tabs-card .ant-tabs-content {
    height: 100%;
    margin-top: -16px;
  }
  .webConfigContainer > .ant-tabs-card .ant-tabs-content > .ant-tabs-tabpane {
    background: #fff;
    padding: 16px;
  }
  .webConfigContainer > .ant-tabs-card > .ant-tabs-nav::before {
    display: none;
  }
  .webConfigContainer > .ant-tabs-card .ant-tabs-tab,
  [data-theme='compact'] .webConfigContainer > .ant-tabs-card .ant-tabs-tab {
    border-color: transparent;
    background: transparent;
  }
  .webConfigContainer > .ant-tabs-card .ant-tabs-tab-active,
  [data-theme='compact'] .webConfigContainer > .ant-tabs-card .ant-tabs-tab-active {
    border-color: #fff;
    background: #fff;
  }
  #components-tabs-demo-card-top .code-box-demo {
    background: #f5f5f5;
    overflow: hidden;
    padding: 24px;
  }
  [data-theme='compact'] .webConfigContainer > .ant-tabs-card .ant-tabs-content {
    height: 120px;
    margin-top: -8px;
  }
  [data-theme='dark'] .webConfigContainer > .ant-tabs-card .ant-tabs-tab {
    border-color: transparent;
    background: transparent;
  }
  [data-theme='dark'] #components-tabs-demo-card-top .code-box-demo {
    background: #000;
  }
  [data-theme='dark'] .webConfigContainer > .ant-tabs-card .ant-tabs-content > .ant-tabs-tabpane {
    background: #141414;
  }
  [data-theme='dark'] .webConfigContainer > .ant-tabs-card .ant-tabs-tab-active {
    border-color: #141414;
    background: #141414;
  }