index.less 1.97 KB
Newer Older
1
.webConfigContainer {
张烨's avatar
张烨 committed
2 3 4
  position: absolute;
  width: 100%;
  height: 100%;
5
  overflow: hidden;
6 7

  .link {
张烨's avatar
张烨 committed
8
    color: #000;
张烨's avatar
张烨 committed
9
    cursor: pointer;
张烨's avatar
张烨 committed
10
    font-size: 16px;
张烨's avatar
张烨 committed
11
    user-select: none;
张烨's avatar
张烨 committed
12 13 14
    position: relative;
    top: -10px;
    color: #1890ff;
15 16

    .anticon {
张烨's avatar
张烨 committed
17 18 19 20
      top: -3px;
      margin-right: 2px;
      position: relative;
    }
张烨's avatar
张烨 committed
21
  }
22 23

  .ant-tabs-content-holder>.ant-tabs-content.ant-tabs-content-top {
张烨's avatar
张烨 committed
24 25
    position: absolute;
    width: 100%;
26
    // height: calc(100% - 40px);
张烨's avatar
张烨 committed
27
  }
28

29 30
  .ant-tabs-content {
    height: calc(100% - 56px);
31
  }
32 33

  .webConfigTabcontent {
34
    background: #fff;
35
    height: 100%;
36 37 38
    .ant-card-body {
      height: 100%;
    }
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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
}

.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;
}