index.less 1.74 KB
Newer Older
邓晓峰's avatar
邓晓峰 committed
1 2
@root-entry-name: 'default';
@import '~antd/es/style/themes/index.less';
3
@panda-gis-tipContent-prefix-cls: ~'@{ant-prefix}-panda-gis-tipContent';
秦文海's avatar
秦文海 committed
4

5 6 7 8 9 10
.@{panda-gis-tipContent-prefix-cls} {
  &-contentAll {
    width: 100%;
    height: 100%;
  }
  &-header {
秦文海's avatar
秦文海 committed
11 12 13 14 15 16 17 18
    display: flex;
    align-items: center;
    width: 100%;
    height: 10%;
    margin-bottom: 5px;
    padding-left: 15px;
    font-size: 16px;
  }
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
  &-contaner::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }
  &-contaner::-webkit-scrollbar-thumb {
    background: #1685ff;
    border-radius: 10px;
  }
  &-contaner::-webkit-scrollbar-track {
    background: #2c4154;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  }
  &-wriper {
    width: 100%;
    height: 100%;
  }
  &-contaner {
秦文海's avatar
秦文海 committed
37
    width: 100%;
秦文海's avatar
秦文海 committed
38
    height: 85%;
秦文海's avatar
秦文海 committed
39
    overflow: auto;
秦文海's avatar
秦文海 committed
40
    overflow-x: hidden;
秦文海's avatar
秦文海 committed
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
    ul {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      margin: 0;
      padding: 0 15px;
      list-style: none;
      li {
        display: flex;
        width: 50%;
        line-height: 30px;
        border-bottom: 1px solid #ccc;
        > span:nth-child(1) {
          flex: 1;
          overflow: hidden;
          white-space: nowrap;
          text-align: center;
          text-overflow: ellipsis;
          background-color: #f2f5fc;
        }
        > span:nth-child(2) {
          flex: 2;
          padding-left: 5px;
        }
        &:nth-child(1) {
          border-top: 1px solid #ccc;
        }
        &:nth-child(2) {
          border-top: 1px solid #ccc;
        }
        &:nth-child(2n) {
          border-right: 1px solid #ccc;
        }
        &:nth-child(2n + 1) {
          border-right: 1px solid #ccc;
          border-left: 1px solid #ccc;
        }
      }
    }
  }
}