skyouc
2024-12-21 c635d78b479510ebe2556a420948effcd30a0731
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
78
79
80
81
82
83
84
85
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
.iconPicSearcher {
  display: inline-block;
  margin: 0 8px;
 
  .icon-pic-btn {
    color: @text-color-secondary;
    cursor: pointer;
    transition: all 0.3s;
 
    &:hover {
      color: @input-icon-hover-color;
    }
  }
}
 
.icon-pic-preview {
  width: 30px;
  height: 30px;
  margin-top: 10px;
  padding: 8px;
  text-align: center;
  border: 1px solid @border-color-base;
  border-radius: 4px;
 
  > img {
    max-width: 50px;
    max-height: 50px;
  }
}
 
.icon-pic-search-result {
  min-height: 50px;
  padding: 0 10px;
 
  > .result-tip {
    padding: 10px 0;
    color: @text-color-secondary;
  }
 
  > table {
    width: 100%;
 
    .col-icon {
      width: 80px;
      padding: 10px 0;
 
      > .anticon {
        font-size: 30px;
 
        :hover {
          color: @link-hover-color;
        }
      }
    }
  }
}
 
ul.anticonsList {
  margin: 2px 0;
  overflow: hidden;
  direction: ltr;
  list-style: none;
 
  li {
    position: relative;
    float: left;
    width: 48px;
    height: 48px;
    margin: 3px 0;
    padding: 2px 0 0;
    overflow: hidden;
    color: #555;
    text-align: center;
    list-style: none;
    background-color: inherit;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
 
    .rtl & {
      margin: 3px 0;
      padding: 2px 0 0;
    }
 
    .anticon {
      margin: 4px 0 2px;
      font-size: 24px;
      transition: transform 0.3s ease-in-out;
      will-change: transform;
    }
 
    .anticonClass {
      display: block;
      font-family: 'Lucida Console', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
      white-space: nowrap;
      text-align: center;
      transform: scale(0.83);
 
      .ant-badge {
        transition: color 0.3s ease-in-out;
      }
    }
 
    &:hover {
      color: #fff;
      background-color: @primary-color;
 
      .anticon {
        transform: scale(1.4);
      }
 
      .ant-badge {
        color: #fff;
      }
    }
 
    &.TwoTone:hover {
      background-color: #8ecafe;
    }
 
    &.copied:hover {
      color: rgba(255, 255, 255, 0.2);
    }
 
    &.copied::after {
      top: -2px;
      opacity: 1;
    }
  }
}
 
.copied-code {
  padding: 2px 4px;
  font-size: 12px;
  background: #f5f5f5;
  border-radius: 2px;
}