HN.less 17.1 KB
Newer Older
邓晓峰's avatar
邓晓峰 committed
1
@import '~~antd/es/style/variable.less';
2
@hn-greenColor: #00b278;
曾婧's avatar
曾婧 committed
3 4 5 6
:global{
  .@{ant-prefix}-drawer-left.@{ant-prefix}-drawer-open{
    display: none;
  }
曾婧's avatar
曾婧 committed
7
  .ant-drawer-left.ant-drawer-open{
曾婧's avatar
曾婧 committed
8 9 10
    display: none;
  }
}
11 12
.hnlayout {
  :global {
13 14 15
    .@{ant-prefix}-menu-dark.@{ant-prefix}-menu-dark:not(.@{ant-prefix}-menu-horizontal) .@{ant-prefix}-menu-item-selected{
      background: transparent!important;
    }
曾婧's avatar
曾婧 committed
16
    .@{ant-prefix}-global-page-header-header {
17 18
      padding-left: 0;
    }
曾婧's avatar
曾婧 committed
19

曾婧's avatar
曾婧 committed
20
    .@{ant-prefix}-global-page-header-header-logo {
21 22
      width: 140px;
      padding-left: 0;
23
      & > img {
24
        width: auto !important;
25
        height: 36px;
26
        margin: 0 auto;
27 28
      }
    }
曾婧's avatar
曾婧 committed
29
    .@{ant-prefix}-global-page-header {
30 31 32 33 34
      background-color: @hn-greenColor;
      & > img {
        display: none;
      }
    }
曾婧's avatar
曾婧 committed
35
    .@{ant-prefix}-layout-slider {
曾婧's avatar
曾婧 committed
36 37 38 39 40
      flex: 0 0 140px;
      width: 140px;
      min-width: 140px;
      max-width: 140px;
      overflow: hidden;
41 42
      background-color: #fff;
    }
曾婧's avatar
曾婧 committed
43 44 45 46 47 48 49 50
    .ant-layout-slider {
      flex: 0 0 140px;
      width: 140px;
      min-width: 140px;
      max-width: 140px;
      overflow: hidden;
      background-color: #fff;
    }
曾婧's avatar
曾婧 committed
51 52 53
    .@{ant-prefix}-pro-sider .@{ant-prefix}-menu{
      background: transparent!important;
    }
曾婧's avatar
曾婧 committed
54
    .@{ant-prefix}-pro-sider ul.@{ant-prefix}-menu{
曾婧's avatar
曾婧 committed
55
      max-height: calc(100vh - 46px);
曾婧's avatar
曾婧 committed
56 57
      overflow: auto;
    }
曾婧's avatar
曾婧 committed
58 59
    .ant-menu.ant-menu-dark .ant-menu-sub {
      background-color: #fff !important;
60
    }
曾婧's avatar
曾婧 committed
61 62
    .ant-menu.ant-menu-dark {
      background-color: #fff !important;
63
      padding:10px 0!important;
64
    }
曾婧's avatar
曾婧 committed
65 66 67 68 69 70
    .ant-pro-sider-links{
      display: none!important;
    }
    .@{ant-prefix}-pro-sider-links{
      display: none!important;
    }
曾婧's avatar
曾婧 committed
71
    .@{ant-prefix}-menu-inline > .@{ant-prefix}-menu-item{
72 73
      height: 40px;
      line-height: 40px;
曾婧's avatar
曾婧 committed
74
      padding: 0 10px!important;
曾婧's avatar
曾婧 committed
75 76
      margin-top: 0!important;
      margin-bottom: 0!important;
77
    }
曾婧's avatar
曾婧 committed
78 79 80
    .ant-menu-inline > .ant-menu-item{
      height: 40px;
      line-height: 40px;
曾婧's avatar
曾婧 committed
81
      padding: 0 10px!important;
曾婧's avatar
曾婧 committed
82 83
      line-height: 40px;
      text-overflow: ellipsis;
曾婧's avatar
曾婧 committed
84 85
      margin-top: 0!important;
      margin-bottom: 0!important;
曾婧's avatar
曾婧 committed
86
    }
曾婧's avatar
曾婧 committed
87
    .ant-menu-inline .ant-menu-submenu-title{
曾婧's avatar
曾婧 committed
88 89
      height: 40px;
      line-height: 40px;
曾婧's avatar
曾婧 committed
90
    }
曾婧's avatar
曾婧 committed
91
    .ant-pro-sider-logo {
92 93
      display: none;
    }
曾婧's avatar
曾婧 committed
94 95 96 97 98 99 100
    .ant-layout-sider{
      background-color: #fff;
    }
    .ant-layout-slider-pro-sider-links{
      display: none;
    }
    .ant-layout{
101
      min-height:100%!important;
曾婧's avatar
曾婧 committed
102
    }
曾婧's avatar
曾婧 committed
103
    .@{ant-prefix}-layout-slider-menu-item-active {
104
      background-color: @hn-greenColor;
曾婧's avatar
曾婧 committed
105
      .@{ant-prefix}-layout-slider-menu-item-text {
106 107 108
        color: #fff;
      }
    }
曾婧's avatar
曾婧 committed
109 110 111 112 113 114
    .ant-layout-slider-menu-item-active {
      background-color: @hn-greenColor;
      .ant-layout-slider-menu-item-text {
        color: #fff;
      }
    }
曾婧's avatar
曾婧 committed
115
    .@{ant-prefix}-layout-slider-menu-item-text {
116 117
      color: #7c7c7a;
    }
曾婧's avatar
曾婧 committed
118 119 120
    .ant-layout-slider-menu-item-text {
      color: #7c7c7a;
    }
曾婧's avatar
曾婧 committed
121
    .@{ant-prefix}-divider-horizontal {
122 123
      border: none !important;
    }
曾婧's avatar
曾婧 committed
124 125 126
    .ant-divider-horizontal {
      border: none !important;
    }
曾婧's avatar
曾婧 committed
127 128 129
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab:hover svg path,
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab:hover svg rect,
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab:hover svg circle {
130 131 132
      fill: @hn-greenColor !important;
      stroke: @hn-greenColor !important;
    }
曾婧's avatar
曾婧 committed
133
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab:hover img {
134 135
      filter: drop-shadow(10px 0px @hn-greenColor);
    }
曾婧's avatar
曾婧 committed
136
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab:hover .menu-item-name {
137 138
      color: @hn-greenColor;
    }
曾婧's avatar
曾婧 committed
139
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab:hover .@{ant-prefix}-tabs-tab-btn {
140 141
      color: @hn-greenColor;
    }
曾婧's avatar
曾婧 committed
142
    .@{ant-prefix}-menu-item-children
143
      :global
曾婧's avatar
曾婧 committed
144 145 146
      .@{ant-prefix}-tabs-tab
      .@{ant-prefix}-tabs-tab-btn
      .@{ant-prefix}-dropdown-trigger
147 148 149 150 151
      div
      div {
      width: 100%;
      height: 100%;
    }
曾婧's avatar
曾婧 committed
152
    .@{ant-prefix}-menu-item-children .menu-item {
153 154
      float: left;
    }
曾婧's avatar
曾婧 committed
155
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-tab) {
156 157
      display: flex !important;
    }
曾婧's avatar
曾婧 committed
158
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-tab-btn) {
159 160 161 162 163 164
      position: relative;
      display: flex;
      align-items: center;
      color: #737983;
      transform: scale(0.92);
    }
曾婧's avatar
曾婧 committed
165 166
    .@{ant-prefix}-menu-item-children
      :global(.@{ant-prefix}-tabs-tab.@{ant-prefix}-tabs-tab-active .@{ant-prefix}-tabs-tab-btn) {
167
      color: @hn-greenColor !important;
曾婧's avatar
曾婧 committed
168 169 170 171 172
      svg {
        path,
        rect,
        circle,
        .cls-1 {
曾婧's avatar
曾婧 committed
173
          // fill: hsla(0, 0%, 100%, 0.65) !important;
曾婧's avatar
曾婧 committed
174 175
        }
      }
176
    }
曾婧's avatar
曾婧 committed
177
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-tab-btn > div > div) {
178
      display: flex;
曾婧's avatar
曾婧 committed
179 180 181 182 183
      position: absolute;
      width: 26px;
      height: 26px;
      top: -4px;
      left: -3px;
184
    }
曾婧's avatar
曾婧 committed
185
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-nav::before) {
186 187
      border-bottom: none !important;
    }
曾婧's avatar
曾婧 committed
188
    .@{ant-prefix}-menu-item-children .menu-item-name {
189 190 191 192
      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);
    }
曾婧's avatar
曾婧 committed
193 194 195 196 197 198 199 200
    .ant-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);
    }
    .ant-menu-item-children .menu-item-name:hover {
      color: @hn-greenColor;
    }
曾婧's avatar
曾婧 committed
201
    .@{ant-prefix}-menu-item-children .menu-item-name:hover {
202 203
      color: @hn-greenColor;
    }
曾婧's avatar
曾婧 committed
204 205 206 207
    .ant-menu-item-children .menu-item-name:hover {
      color: @hn-greenColor;
    }
    .ant-menu-item-children :global .@{ant-prefix}-divider-vertical {
208 209 210
      left: 20px;
      margin: 0 1px !important;
    }
曾婧's avatar
曾婧 committed
211
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-nav-operations .ant-tabs-nav-more {
212 213
      margin-right: 0px !important;
    }
曾婧's avatar
曾婧 committed
214
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-ink-bar) {
215 216
      background: @hn-greenColor !important;
    }
曾婧's avatar
曾婧 committed
217
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-tab-active) {
218 219
      color: @hn-greenColor !important;
    }
曾婧's avatar
曾婧 committed
220
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-tab-active .menu-item-name) {
221 222
      color: @hn-greenColor !important;
    }
曾婧's avatar
曾婧 committed
223 224 225
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab-active svg path,
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab-active svg rect,
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab-active svg circle {
226 227 228
      fill: @hn-greenColor !important;
      stroke: @hn-greenColor !important;
    }
曾婧's avatar
曾婧 committed
229
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab-active img {
230 231
      filter: drop-shadow(10px 0px @hn-greenColor);
    }
曾婧's avatar
曾婧 committed
232
    .@{ant-prefix}-panel-min-mainPane-visible {
233 234
      background-color: #fff;
    }
曾婧's avatar
曾婧 committed
235
    .@{ant-prefix}-panel-min-mainPane-main-left .menu-categories .categorie-name span {
236 237
      color: #737983;
    }
曾婧's avatar
曾婧 committed
238
    .@{ant-prefix}-panel-min-mainPane-main-left .menu-categories .categorie-name.btn:hover span {
239 240
      color: #333;
    }
曾婧's avatar
曾婧 committed
241
    .@{ant-prefix}-layout-slider-menu-item:hover span {
242 243
      color: #333;
    }
曾婧's avatar
曾婧 committed
244
    .@{ant-prefix}-panel-min-mainPane-main-left .menu-categories .categorie-name.active {
245 246 247 248 249
      background: none;
      span {
        color: @hn-greenColor;
      }
    }
曾婧's avatar
曾婧 committed
250
    .@{ant-prefix}-pro-basicLayout-content {
251 252
      margin: 0;
    }
曾婧's avatar
曾婧 committed
253
    .@{ant-prefix}-pro-sider-links {
曾婧's avatar
曾婧 committed
254
      display: none;
255 256 257 258 259 260
      position: fixed;
      bottom: 0;
      z-index: 999;
      display: none;
      width: 50px;
    }
曾婧's avatar
曾婧 committed
261 262 263
    .@{ant-prefix}-layout-slider-pro-sider-links{
      display: none;
    }
曾婧's avatar
曾婧 committed
264
    .@{ant-prefix}-pro-sider-logo {
265 266
      display: none;
    }
曾婧's avatar
曾婧 committed
267 268 269
    .@{ant-prefix}-layout-sider {
      background: #fff;
    }
曾婧's avatar
曾婧 committed
270
    .@{ant-prefix}-layout-slider-menu-item {
曾婧's avatar
曾婧 committed
271 272
      height: 36px;
    }
曾婧's avatar
曾婧 committed
273
    .@{ant-prefix}-layout-slider-menu-item a {
曾婧's avatar
曾婧 committed
274 275 276 277 278
      flex-direction: row;
      width: 100%;
      margin: 0 auto;
      margin-top: 4px;
      margin-right: 16px;
曾婧's avatar
曾婧 committed
279
      padding-left: 23px;
曾婧's avatar
曾婧 committed
280 281 282
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
曾婧's avatar
曾婧 committed
283 284 285 286 287 288 289 290 291 292
      & > img {
        width: 18px;
        height: 18px;
        margin-top: 4px;
        opacity: 1;
      }
      & > span {
        margin-left: 4px;
      }
    }
曾婧's avatar
曾婧 committed
293
    .@{ant-prefix}-menu {
曾婧's avatar
曾婧 committed
294
      ul {
曾婧's avatar
曾婧 committed
295
        .@{ant-prefix}-menu-item-only-child {
曾婧's avatar
曾婧 committed
296
          padding-left: 12px !important;
曾婧's avatar
曾婧 committed
297 298
          margin-top:0!important;
          margin-bottom: 0!important;
曾婧's avatar
曾婧 committed
299
          .test-icon{
曾婧's avatar
曾婧 committed
300
            padding: 0 10px 0 18px;
曾婧's avatar
曾婧 committed
301
            
曾婧's avatar
曾婧 committed
302 303 304 305
          }
          .@{ant-prefix}-menu-title-content{
            border-radius: 5px;
          }
曾婧's avatar
曾婧 committed
306 307 308
        }
      }
    }
曾婧's avatar
曾婧 committed
309 310 311 312 313 314 315 316 317
    .ant-layout-slider-menu-item {
      height: 36px;
    }
    .ant-layout-slider-menu-item a {
      flex-direction: row;
      width: 100%;
      margin: 0 auto;
      margin-top: 4px;
      margin-right: 16px;
曾婧's avatar
曾婧 committed
318
      padding-left: 23px;
曾婧's avatar
曾婧 committed
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      & > img {
        width: 18px;
        height: 18px;
        margin-top: 4px;
        opacity: 1;
      }
      & > span {
        margin-left: 4px;
      }
    }
    .ant-menu {
      ul {
        .ant-menu-item-only-child {
曾婧's avatar
曾婧 committed
335
          padding-left: 12px !important;
曾婧's avatar
曾婧 committed
336 337
          margin-top:0!important;
          margin-bottom: 0!important;
曾婧's avatar
曾婧 committed
338 339 340 341
          .ant-menu-title-content{
            border-radius: 5px;
          }
          .test-icon{
曾婧's avatar
曾婧 committed
342
            padding: 0 10px 0 18px;
曾婧's avatar
曾婧 committed
343
          }
曾婧's avatar
曾婧 committed
344 345 346
        }
      }
    }
曾婧's avatar
曾婧 committed
347 348 349 350
    .test-icon {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
曾婧's avatar
曾婧 committed
351 352
      padding: 0 10px;
      color:#7a7a7a ;
353
      .my-svg {
曾婧's avatar
曾婧 committed
354
        display: inline-block;
曾婧's avatar
曾婧 committed
355
        width: 26px;
356
        height: 18px;
曾婧's avatar
曾婧 committed
357 358 359 360 361 362 363 364 365 366 367 368 369
        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;
          }
        }
370 371
      }
      .my-img {
曾婧's avatar
曾婧 committed
372
        display: inline-block;
373 374
        width: 18px;
        height: 18px;
曾婧's avatar
曾婧 committed
375 376 377 378 379 380 381
        & > img {
          position: relative;
          top: 3px;
          width: 100%;
          height: 100%;
          vertical-align: baseline;
        }
382
      }
曾婧's avatar
曾婧 committed
383
      .my-desc {
曾婧's avatar
曾婧 committed
384
        margin-left: 2px;
曾婧's avatar
曾婧 committed
385
        color: #7c7c7a;
386 387
      }
    }
曾婧's avatar
曾婧 committed
388
    .test-icon:hover{
曾婧's avatar
曾婧 committed
389
      color: @hn-greenColor;
曾婧's avatar
曾婧 committed
390
      .my-desc {
曾婧's avatar
曾婧 committed
391 392 393 394 395 396 397 398 399 400
        color: @hn-greenColor;
      }
      svg path,
      svg rect,
      svg circle {
        fill: @hn-greenColor !important;
        stroke: @hn-greenColor !important;
      }
    }
    .hight-active:hover{
曾婧's avatar
曾婧 committed
401
      color:#fff ;
曾婧's avatar
曾婧 committed
402 403 404 405 406 407 408 409
      .my-desc {
        color:  #fff;
      }
      svg path,
      svg rect,
      svg circle {
        fill: #fff !important;
        stroke: #fff !important;
曾婧's avatar
曾婧 committed
410 411
      }
    }
曾婧's avatar
曾婧 committed
412

曾婧's avatar
曾婧 committed
413
    .@{ant-prefix}-pro-menu-item-title {
414 415 416 417 418 419
      display: inline-block;
      overflow: hidden;
      text-align: left;
      text-overflow: ellipsis;
      vertical-align: bottom;
    }
曾婧's avatar
曾婧 committed
420 421 422 423 424 425 426
    .ant-pro-menu-item-title {
      display: inline-block;
      overflow: hidden;
      text-align: left;
      text-overflow: ellipsis;
      vertical-align: bottom;
    }
曾婧's avatar
曾婧 committed
427
    .@{ant-prefix}-menu-submenu-title{
曾婧's avatar
曾婧 committed
428 429 430
      padding-left: 10px!important;
      padding-right: 10px!important;

曾婧's avatar
曾婧 committed
431 432
    }
    .ant-menu-submenu-title{
曾婧's avatar
曾婧 committed
433 434
      padding-left: 10px!important;
      padding-right: 10px!important;
曾婧's avatar
曾婧 committed
435
    }
曾婧's avatar
曾婧 committed
436
    .hight-active {
曾婧's avatar
曾婧 committed
437
      background: @hn-greenColor;
曾婧's avatar
曾婧 committed
438
      border-radius: 5px;
曾婧's avatar
曾婧 committed
439 440
      color:#fff ;
      .my-desc{
曾婧's avatar
曾婧 committed
441
        color: #fff;
曾婧's avatar
曾婧 committed
442 443 444 445
      }
      svg path,
      svg rect,
      svg circle {
曾婧's avatar
曾婧 committed
446 447
        fill: #fff !important;
        stroke: #fff !important;
曾婧's avatar
曾婧 committed
448 449
      }
    }
曾婧's avatar
曾婧 committed
450 451 452
    .@{ant-prefix}-menu.@{ant-prefix}-menu-dark
      .@{ant-prefix}-menu-submenu-title
      .@{ant-prefix}-menu-submenu-arrow::before {
453 454
      background: #7a7a7a !important;
    }
曾婧's avatar
曾婧 committed
455 456 457
    .@{ant-prefix}-menu.@{ant-prefix}-menu-dark
      .@{ant-prefix}-menu-submenu-title
      .@{ant-prefix}-menu-submenu-arrow::after {
458 459
      background: #7a7a7a !important;
    }
曾婧's avatar
曾婧 committed
460 461 462
    .ant-menu-submenu-arrow::before,.ant-menu-submenu-arrow::after {
      background: #7a7a7a !important;
    }
曾婧's avatar
曾婧 committed
463
    .@{ant-prefix}-menu-dark .@{ant-prefix}-menu-inline.@{ant-prefix}-menu-sub {
464 465
      background: #fff;
    }
曾婧's avatar
曾婧 committed
466
    .@{ant-prefix}-pro-sider {
曾婧's avatar
曾婧 committed
467 468
      background: #fff;
    }
曾婧's avatar
曾婧 committed
469 470 471 472 473 474 475 476 477 478
    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,
    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow {
      position: absolute;
      top: 50%;
      right: 16px;
      width: 10px;
      transition: transform .3s cubic-bezier(.645, .045, .355, 1)
    }
曾婧's avatar
曾婧 committed
479

曾婧's avatar
曾婧 committed
480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495
    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::after {
      position: absolute;
      width: 6px;
      height: 1.5px;
      background-image: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85));
      border-radius: 2px;
      transition: background .3s cubic-bezier(.645, .045, .355, 1), transform .3s cubic-bezier(.645, .045, .355, 1), top .3s cubic-bezier(.645, .045, .355, 1);
      content: ""
    }
曾婧's avatar
曾婧 committed
496

曾婧's avatar
曾婧 committed
497 498 499 500 501 502
    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::before {
      transform: rotate(45deg) translateY(-2px)
    }
曾婧's avatar
曾婧 committed
503

曾婧's avatar
曾婧 committed
504 505 506 507 508 509
    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::after {
      transform: rotate(-45deg) translateY(2px)
    }
曾婧's avatar
曾婧 committed
510

曾婧's avatar
曾婧 committed
511 512 513 514 515 516 517 518 519 520
    .ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before {
      background: linear-gradient(to right, #13c2c2, #13c2c2)
    }
曾婧's avatar
曾婧 committed
521

曾婧's avatar
曾婧 committed
522 523 524 525 526
    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow::before {
      transform: rotate(45deg) translateY(-2px)
    }
曾婧's avatar
曾婧 committed
527

曾婧's avatar
曾婧 committed
528 529 530 531 532
    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow::after {
      transform: rotate(-45deg) translateY(2px)
    }
曾婧's avatar
曾婧 committed
533

曾婧's avatar
曾婧 committed
534 535 536
    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::before {
      transform: rotate(-45deg) translateX(2px)
    }
曾婧's avatar
曾婧 committed
537

曾婧's avatar
曾婧 committed
538 539 540
    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::after {
      transform: rotate(45deg) translateX(-2px)
    }
曾婧's avatar
曾婧 committed
541

曾婧's avatar
曾婧 committed
542 543 544
    .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow {
      transform: translateY(-2px)
    }
曾婧's avatar
曾婧 committed
545

曾婧's avatar
曾婧 committed
546 547 548
    .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::after {
      transform: rotate(-45deg) translateX(-2px)
    }
曾婧's avatar
曾婧 committed
549

曾婧's avatar
曾婧 committed
550 551 552
    .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::before {
      transform: rotate(45deg) translateX(2px)
    }
曾婧's avatar
曾婧 committed
553
    .ant-menu-submenu-inline>.ant-menu-submenu-title{
曾婧's avatar
曾婧 committed
554 555
      position: relative;
    }
曾婧's avatar
曾婧 committed
556 557 558 559 560 561
    .anticon-menu-fold{
      display: none;
    }
    .ant-menu-hidden {
      display: none
    }
曾婧's avatar
曾婧 committed
562

563 564
  }
}