Blame view

src/styles/common/iconfont/_ionicons-font.less 1.2 KB
7fa943eb   梁灏   init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  // Ionicons Font Path
  // --------------------------
  
  @font-face {
   font-family: @ionicons-font-family;
   src:url("@{ionicons-font-path}/ionicons.eot?v=@{ionicons-version}");
   src:url("@{ionicons-font-path}/ionicons.eot?v=@{ionicons-version}#iefix") format("embedded-opentype"),
    url("@{ionicons-font-path}/ionicons.ttf?v=@{ionicons-version}") format("truetype"),
    url("@{ionicons-font-path}/ionicons.woff?v=@{ionicons-version}") format("woff"),
    url("@{ionicons-font-path}/ionicons.svg?v=@{ionicons-version}#Ionicons") format("svg");
   font-weight: normal;
   font-style: normal;
  }
  
e355dd49   梁灏   add Select Component
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  .ivu-icon() {
      display: inline-block;
      font-family: @ionicons-font-family;
      speak: none;
      font-style: normal;
      font-weight: normal;
      font-variant: normal;
      text-transform: none;
      text-rendering: auto;
      line-height: 1;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
  }
  
7fa943eb   梁灏   init
29
  .ivu-icon {
e355dd49   梁灏   add Select Component
30
      .ivu-icon();
9f45c24f   梁灏   change sync to lo...
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
  }
  
  .ivu-icon-loading{
      position: relative;
      &::before{
          content: "\F1F6";
      }
      &::after{
          content: "";
          display: block;
          width: 50%;
          height: 50%;
          background: #fff;
          position: absolute;
          top: 1px;
          left: 50%;
      }
  
7fa943eb   梁灏   init
49
  }