Blame view

src/styles/components/back-top.less 587 Bytes
7fa943eb   梁灏   init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  @backtop-prefix-cls: ~"@{css-prefix}back-top";
  
  .@{backtop-prefix-cls} {
      z-index: @zindex-back-top;
      position: fixed;
      cursor: pointer;
      display: none;
  
      &.@{backtop-prefix-cls}-show {
          display: block;
      }
  
      &-inner {
          background-color: rgba(0,0,0,.6);
          border-radius: 2px;
e2645048   jingsam   :fire: remove tra...
16
17
          box-shadow: 0 1px 3px rgba(0,0,0,.2);
          transition: all @transition-time @ease-in-out;
7fa943eb   梁灏   init
18
19
20
21
22
23
24
25
26
  
          &:hover {
              background-color: rgba(0,0,0,.7);
          }
      }
  
      i{
          color: #fff;
          font-size: 24px;
d85b126a   梁灏   update BackTop style
27
          padding: 8px 12px;
7fa943eb   梁灏   init
28
      }
e2645048   jingsam   :fire: remove tra...
29
  }