Cmen
3 years ago
5 changed files with 134 additions and 2 deletions
@ -0,0 +1,21 @@
|
||||
|
||||
const Tools = () => { |
||||
return ( |
||||
<> |
||||
<div className="marker-tools"> |
||||
<span className="icon icon-rect"></span> |
||||
<span className="icon icon-circle"></span> |
||||
</div> |
||||
<div className="common-tools"> |
||||
<div className="tools-group"> |
||||
<span className="icon icon-search"></span> |
||||
</div> |
||||
<div className="tools-group"> |
||||
<span className="icon icon-select"></span> |
||||
</div> |
||||
</div> |
||||
</> |
||||
); |
||||
} |
||||
|
||||
export default Tools; |
@ -0,0 +1,78 @@
|
||||
@font-face { |
||||
font-family: 'iconfont'; /* Project id 2872894 */ |
||||
src: url('//at.alicdn.com/t/font_2872894_c6wq9g1vj1v.woff2?t=1642594908994') format('woff2'), |
||||
url('//at.alicdn.com/t/font_2872894_c6wq9g1vj1v.woff?t=1642594908994') format('woff'), |
||||
url('//at.alicdn.com/t/font_2872894_c6wq9g1vj1v.ttf?t=1642594908994') format('truetype'); |
||||
} |
||||
.icon{ |
||||
font-family: 'iconfont'; |
||||
font-size: 14px; |
||||
line-height: 20px; |
||||
cursor: pointer; |
||||
font-weight: bold; |
||||
user-select: none; |
||||
outline: none; |
||||
padding: 3px 6px; |
||||
display: inline-block; |
||||
} |
||||
.icon-boundary:after{ |
||||
content: '\e7a9'; |
||||
} |
||||
.icon-confirm:after{ |
||||
content: '\e618'; |
||||
} |
||||
.icon-export:after{ |
||||
content: '\e791'; |
||||
} |
||||
.icon-polygon:after{ |
||||
content: '\e67b'; |
||||
} |
||||
.icon-ellipse:after{ |
||||
content: '\e610'; |
||||
} |
||||
.icon-polyline:after{ |
||||
content: '\e68f'; |
||||
} |
||||
.icon-edit:after{ |
||||
content: '\e609'; |
||||
} |
||||
.icon-delete:after{ |
||||
content: '\e61c'; |
||||
} |
||||
.icon-search:after{ |
||||
content: '\e600'; |
||||
} |
||||
.icon-select:after{ |
||||
content: '\e607'; |
||||
} |
||||
.icon-help:after{ |
||||
content: '\e752'; |
||||
} |
||||
.icon-import:after{ |
||||
content: '\e792'; |
||||
} |
||||
.icon-open:after{ |
||||
content: '\eddb' |
||||
} |
||||
.icon-save:after{ |
||||
content: '\eddc'; |
||||
} |
||||
.icon-setting:after{ |
||||
content: '\e78e'; |
||||
} |
||||
.icon-location:after{ |
||||
content: '\e793'; |
||||
} |
||||
.icon-rect:after{ |
||||
content: '\e604'; |
||||
} |
||||
.icon-circle:after{ |
||||
content: '\edf8'; |
||||
} |
||||
.icon-selected{ |
||||
color: rgb(31, 107, 206); |
||||
} |
||||
.icon-disable{ |
||||
color: rgb(155, 155, 155); |
||||
cursor: default; |
||||
} |
Loading…
Reference in new issue