HN.less 7.89 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 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 74 75 76 77
@hn-greenColor: #00b278;
:global {
  .panda-console-base-userWrapper-userInfo-header {
    //右上角弹框
    background-color: @hn-greenColor;
  }
}
.hnlayout {
  :global {
    .panda-console-base-global-page-header-header-logo {
      & > img {
        width: 144px !important;
        height: 36px;
      }
    }
    .panda-console-base-global-page-header {
      background-color: @hn-greenColor;
      & > img {
        display: none;
      }
    }
    .panda-console-base-layout-slider {
      background-color: #fff;
    }
    .panda-console-base-layout-slider-menu-item-active {
      background-color: @hn-greenColor;
      .panda-console-base-layout-slider-menu-item-text {
        color: #fff;
      }
    }
    .panda-console-base-layout-slider-menu-item-text {
      color: #7c7c7a;
    }
    .panda-console-base-divider-horizontal {
      border: none !important;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab:hover svg path,
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab:hover svg rect,
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab:hover svg circle {
      fill: @hn-greenColor !important;
      stroke: @hn-greenColor !important;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab:hover img {
      filter: drop-shadow(10px 0px @hn-greenColor);
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab:hover .menu-item-name {
      color: @hn-greenColor;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab:hover .panda-console-base-tabs-tab-btn {
      color: @hn-greenColor;
    }
    .panda-console-base-menu-item-children
      :global
      .panda-console-base-tabs-tab
      .panda-console-base-tabs-tab-btn
      .panda-console-base-dropdown-trigger
      div
      div {
      width: 100%;
      height: 100%;
    }
    .panda-console-base-menu-item-children .menu-item {
      float: left;
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-tab) {
      display: flex !important;
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-tab-btn) {
      position: relative;
      display: flex;
      align-items: center;
      color: #737983;
      transform: scale(0.92);
    }
    .panda-console-base-menu-item-children
      :global(.panda-console-base-tabs-tab.panda-console-base-tabs-tab-active .panda-console-base-tabs-tab-btn) {
      color: @hn-greenColor !important;
曾婧's avatar
曾婧 committed
78 79 80 81 82 83 84 85
      svg {
        path,
        rect,
        circle,
        .cls-1 {
          fill: hsla(0, 0%, 100%, 0.65) !important;
        }
      }
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-tab-btn > div > div) {
      display: flex;
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-nav::before) {
      border-bottom: none !important;
    }
    .panda-console-base-menu-item-children .menu-item-name {
      margin-left: 8px;
      color: #737983;
      transition: border-color 0.3s, color 0.3s, padding 0.1s cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    .panda-console-base-menu-item-children .menu-item-name:hover {
      color: @hn-greenColor;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-divider-vertical {
      left: 20px;
      margin: 0 1px !important;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-nav-operations .ant-tabs-nav-more {
      margin-right: 0px !important;
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-ink-bar) {
      background: @hn-greenColor !important;
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-tab-active) {
      color: @hn-greenColor !important;
    }
    .panda-console-base-menu-item-children
      :global(.panda-console-base-tabs-tab-active .panda-pro-layouts-basic-layout-menu-item-name) {
      color: @hn-greenColor !important;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab-active svg path,
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab-active svg rect,
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab-active svg circle {
      fill: @hn-greenColor !important;
      stroke: @hn-greenColor !important;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab-active img {
      filter: drop-shadow(10px 0px @hn-greenColor);
    }
    .panda-console-base-panel-min-mainPane-visible {
      background-color: #fff;
    }
    .panda-console-base-panel-min-mainPane-main-left .menu-categories .categorie-name span {
      color: #737983;
    }
    .panda-console-base-panel-min-mainPane-main-left .menu-categories .categorie-name.btn:hover span {
      color: #333;
    }
    .panda-console-base-layout-slider-menu-item:hover span {
      color: #333;
    }
    .panda-console-base-panel-min-mainPane-main-left .menu-categories .categorie-name.active {
      background: none;
      span {
        color: @hn-greenColor;
      }
    }
    .panda-console-base-pro-basicLayout-content {
      margin: 0;
    }
    .panda-console-base-pro-sider-links {
      position: fixed;
      bottom: 0;
      z-index: 999;
      display: none;
      width: 50px;
    }
    .panda-console-base-pro-sider-logo {
      display: none;
    }
    .test-icon {
曾婧's avatar
曾婧 committed
159 160 161 162 163 164 165
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      padding: 0 16px;
      width: 100%;
      margin: 0 auto;
      padding: 0 16px;
166
      .my-svg {
曾婧's avatar
曾婧 committed
167
        display: inline-block;
168 169
        width: 18px;
        height: 18px;
曾婧's avatar
曾婧 committed
170 171 172 173 174 175 176 177 178 179 180 181 182
        color: #7a7a7a;
        svg {
          path,
          rect,
          circle,
          .cls-1 {
            fill: #7a7a7a;
            stroke: hsla(0, 0%, 100%, 0.65);
            stroke-width: 0;
            stroke-linecap: round;
            stroke-miterlimit: 10;
          }
        }
183 184
      }
      .my-img {
曾婧's avatar
曾婧 committed
185
        display: inline-block;
186 187
        width: 18px;
        height: 18px;
曾婧's avatar
曾婧 committed
188 189 190 191 192 193 194
        & > img {
          position: relative;
          top: 3px;
          width: 100%;
          height: 100%;
          vertical-align: baseline;
        }
195
      }
曾婧's avatar
曾婧 committed
196 197 198
      .my-desc {
        margin-left: 4px;
        color: #7c7c7a;
199 200 201 202 203 204 205 206 207 208
      }
    }
    .panda-console-base-pro-menu-item-title {
      display: inline-block;
      overflow: hidden;
      text-align: left;
      text-overflow: ellipsis;
      vertical-align: bottom;
    }

曾婧's avatar
曾婧 committed
209 210 211 212 213 214 215
    .panda-console-base-menu-submenu-title{
      padding-right: 0 !important;
      padding-left: 0 !important;
    }
    .panda-console-base-menu-sub .panda-console-base-menu-item.panda-console-base-menu-item-only-child {
      padding-right: 0 !important;
      padding-left: 0 !important;
216
    }
曾婧's avatar
曾婧 committed
217
    .panda-console-base-pro-sider .panda-console-base-layout-sider-children {
218 219
      margin-top: 44px;
    }
曾婧's avatar
曾婧 committed
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254
    .hight-active {
     
      // color: @hn-greenColor;
      background: @hn-greenColor;
      background: #00b278;
      border-radius: 5px;
      .my-desc {
        color: #fff;
      }
      // svg path,
      //   svg rect,
      //   svg circle {
      //     fill: @hn-greenColor !important;
      //     stroke: @hn-greenColor !important;
      //   }
    }
    .panda-console-base-pro-sider {
      background: #fff;
      // .panda-console-base-menu-submenu-arrow{
      //   color:#7a7a7a;
      // }
      .panda-console-base-menu.panda-console-base-menu-dark
        .panda-console-base-menu-submenu-title
        .panda-console-base-menu-submenu-arrow::before {
        background: #7a7a7a !important;
      }
      .panda-console-base-menu.panda-console-base-menu-dark
        .panda-console-base-menu-submenu-title
        .panda-console-base-menu-submenu-arrow::after {
        background: #7a7a7a !important;
      }
      .panda-console-base-menu-dark .panda-console-base-menu-inline.panda-console-base-menu-sub {
        background: #fff;
      }
    }
255 256
  }
}