react-img-editor-en
Version:
Image Annotation Tool for React
201 lines (200 loc) • 7.11 kB
CSS
@font-face {
font-family: "iconfont";
src: url('//at.alicdn.com/t/font_1621501_k00ymzzhtbl.eot?t=1580659190858');
/* IE9 */
src: url('//at.alicdn.com/t/font_1621501_k00ymzzhtbl.eot?t=1580659190858#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAbkAAsAAAAADjgAAAaWAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEXgqNGIo6ATYCJAM8CyAABCAFhG0HgSAb8gujomZQTn5kf5XAgyH6RxkqmlbjaloCn5XEPXm2WNvJKz8ljA9LvOvwCR8Bb/DP/2Xe9/tM32qpBdfTQEIhWpFQjnfBWMTDU1ZsLpdtqd0zGX/l/+UrWlPV55O9mssem/3mqE6jDAgJwmH5eTztRUPwM7WDMoIdDnJz524nFIf0ACk8/+/tvu2fCcx4xFEQJZxQjJManXPM3ZP7G3Mj200Y9Ces7WwhvwaqAYT7X2v1vF9oAtO2XS/79/Qb7KDm0Zs3HiGJeDMJjQqhECm9YyCe9ZLNj0q8HAK5fZGZdXZzD8sclgk1zjLXsGyJ5ALsksKCx6GFHiipvZovAN6Un9cHvSyD4TvslZ6PUwsHm92ttc+TqKE/I2YXDzyOAgtuAQ56PRN/EFrhrTn5z9+TtoC5bXPMZoedw49RPY4ZW8apu7WTjNM2riN2vMw54/4/8ADD8oIoyeQKpUrNETQAL6n1t6jGwAoKDIadiIX4AQUeo1pBwDgGiRDjgCSI8UAyiAlAcoiJQAqISUBKCA2QCqIFSA0xFQocdmt9U4g30iH7gGOgH8DcwMqtsrYjYhmRI16OSagzxzy8Xk5LXcwookhjjZ6qq/TLyN5E9ZxpAWgEtfiDXuCi4g55ZEv6ySC95azGctWjCs2rRgAED/yRDR0nn2vesjxnDAABNuLe92L8XrOmZdcPKbqGkh8Gfcfxf8wPuIhM0tN+L+qGo8Dc8XohN05Xt33T9W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OTU6Ky34BU2ECR3kLtxfnRhgc1RZcC1Dwak9QlG7Q+s1rfRWX/AW/uDoM0c5F6yd8rCecrVY0YtaNVgqkpDPuNjZFWteYv50Gk2+xXHI3Ioc1Q36dhLztEjZ7FHGOU9kUxlTI06Y66GzpFqmSo0khQibT9NM687JIYaWPWEIU0gSxmYSu4lg3jZ5GLV8f23UG7I0Tigwx/3R4gF5cqVrkQngvGc+0gdVqV+MJLrERKfUUJzRhrKGYlHjiskSuu9UQUZIlEkyG/1pWSgLCpPipfNeJ8F5Nh7bGJk5eQVFJWUKVehUpVqNWrNXegXTIGmlvIdBVzsExWn42VLY+9I28WGgi7NmiXBqjZ2pcfF8DTULFc0JRuHC/bz9+YFJ7KgmWk8Z4ayyNiidgAA') format('woff2'), url('//at.alicdn.com/t/font_1621501_k00ymzzhtbl.woff?t=1580659190858') format('woff'), url('//at.alicdn.com/t/font_1621501_k00ymzzhtbl.ttf?t=1580659190858') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ url('//at.alicdn.com/t/font_1621501_k00ymzzhtbl.svg?t=1580659190858#iconfont') format('svg');
/* iOS 4.1- */
}
.iconfont {
font-family: "iconfont" ;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-pen:before {
content: "\e8ac";
}
.icon-check:before {
content: "\e60c";
}
.icon-close:before {
content: "\e6b8";
}
.icon-eraser:before {
content: "\e78e";
}
.icon-download:before {
content: "\e6f7";
}
.icon-mosaic:before {
content: "\e77f";
}
.icon-dotted-line:before {
content: "\e782";
}
.icon-square:before {
content: "\e784";
}
.icon-circle:before {
content: "\e785";
}
.icon-line2:before {
content: "\e786";
}
.icon-text:before {
content: "\e787";
}
.icon-arrow:before {
content: "\e788";
}
.icon-cut:before {
content: "\e789";
}
.icon-repeal:before {
content: "\e78a";
}
.icon-zoomIn:before {
content: "+";
}
.icon-zoomOut:before {
content: "-";
}
.react-img-editor-en *:focus {
outline: none;
}
.react-img-editor-en-palette {
position: relative;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");
display: flex;
align-items: center;
justify-content: center;
}
.react-img-editor-en-container {
position: relative;
}
.react-img-editor-en-toolbar {
display: flex;
align-items: center;
justify-content: center;
height: 42px;
}
.react-img-editor-en-toolbar-separator {
display: inline-block;
height: 16px;
width: 1px;
margin: 0 6px;
background-color: #D4D4D9;
}
.react-img-editor-en-toolbar-icon {
padding: 5px;
}
.react-img-editor-en-toolbar-icon i {
font-size: 16px;
cursor: pointer;
color: #A9A9AC;
padding: 3px;
}
.react-img-editor-en-toolbar-icon.activated i {
color: #7DB5FD;
}
.react-img-editor-en-toolbar-icon:hover i {
background-color: #F6F6F9;
}
.react-img-editor-en-toolbar-icon.disabled i {
color: #D4D4D9;
background-color: inherit;
}
.react-img-editor-en-tooltip {
opacity: 1;
padding: 0;
}
.react-img-editor-en-tooltip .rc-tooltip-arrow {
border-bottom-color: rgba(0, 0, 0, 0.1);
}
.react-img-editor-en-tooltip .rc-tooltip-inner {
display: flex;
align-items: center;
box-sizing: border-box;
height: 40px;
background-color: #FFF;
border-radius: 2px;
color: #A9A9AC;
padding-top: 0;
padding-bottom: 0;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.react-img-editor-en-param-setting {
display: flex;
align-items: center;
}
.react-img-editor-en-color-square {
display: inline-block;
width: 20px;
height: 20px;
border-radius: 2px;
margin: 0 2px;
box-sizing: border-box;
cursor: pointer;
border: 1px solid #EFEFF4;
}
.react-img-editor-en-color-square-activated {
border: 1px solid #007CFF;
}
.react-img-editor-en-line-type {
width: 20px;
height: 20px;
color: #BDBDC2;
margin: 0 8px;
cursor: pointer;
font-weight: 900;
line-height: 20px;
}
.react-img-editor-en-line-type-activated {
color: #007AFF;
}
.react-img-editor-en-stroke-circle {
display: inline-block;
border-radius: 50%;
background: #BDBDC2;
margin: 0 8px;
cursor: pointer;
}
.react-img-editor-en-stroke-circle-activated {
background: #007AFF;
}
.react-img-editor-en-stroke-circle-small {
width: 4px;
height: 4px;
}
.react-img-editor-en-stroke-circle-medium {
width: 10px;
height: 10px;
}
.react-img-editor-en-stroke-circle-large {
width: 18px;
height: 18px;
}
.react-img-editor-en-font-size {
display: inline-block;
line-height: 18px;
margin-left: -1px;
outline: none;
border: 1px solid #D7D6DB;
font-size: 12px;
color: #97979B;
cursor: pointer;
}
.react-img-editor-en-font-size:first-child:not(:last-child) {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.react-img-editor-en-font-size:last-child:not(:first-child) {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.react-img-editor-en-font-size-activated {
background-color: #007AFF;
color: #fff;
border: 1px solid #007AFF;
}