feat:add style namespace
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.block-item {
|
||||
.ce-block-item {
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -0,0 +1,132 @@
|
||||
.ce-contextmenu-container {
|
||||
z-index: 9;
|
||||
position: fixed;
|
||||
display: none;
|
||||
padding: 4px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 12px 0 rgb(56 56 56 / 20%);
|
||||
border: 1px solid #e2e6ed;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.ce-contextmenu-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.ce-contextmenu-content .ce-contextmenu-sub-item::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
right: 12px;
|
||||
background: url(../../images/submenu-dropdown.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-content .ce-contextmenu-item {
|
||||
min-width: 140px;
|
||||
padding: 0 32px 0 16px;
|
||||
height: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ce-contextmenu-content .ce-contextmenu-item.hover {
|
||||
background: rgba(25, 55, 88, .04);
|
||||
}
|
||||
|
||||
.ce-contextmenu-content .ce-contextmenu-item span {
|
||||
max-width: 300px;
|
||||
font-size: 12px;
|
||||
color: #3d4757;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.ce-contextmenu-content .ce-contextmenu-item span.ce-shortcut {
|
||||
color: #767c85;
|
||||
height: 30px;
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
line-height: 30px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.ce-contextmenu-content .ce-contextmenu-item i {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
flex-shrink: 0;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.ce-contextmenu-divider {
|
||||
background-color: #e2e6ed;
|
||||
margin: 4px 16px;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
.ce-contextmenu-print {
|
||||
background-image: url(../../../assets/images/print.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-image {
|
||||
background-image: url(../../../assets/images/image.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-image-change {
|
||||
background-image: url(../../../assets/images/image-change.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-insert-row-col {
|
||||
background-image: url(../../../assets/images/insert-row-col.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-insert-top-row {
|
||||
background-image: url(../../../assets/images/insert-top-row.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-insert-bottom-row {
|
||||
background-image: url(../../../assets/images/insert-bottom-row.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-insert-left-col {
|
||||
background-image: url(../../../assets/images/insert-left-col.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-insert-right-col {
|
||||
background-image: url(../../../assets/images/insert-right-col.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-delete-row-col {
|
||||
background-image: url(../../../assets/images/delete-row-col.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-delete-row {
|
||||
background-image: url(../../../assets/images/delete-row.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-delete-col {
|
||||
background-image: url(../../../assets/images/delete-col.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-delete-table {
|
||||
background-image: url(../../../assets/images/delete-table.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-merge-cell {
|
||||
background-image: url(../../../assets/images/merge-cell.svg);
|
||||
}
|
||||
|
||||
.ce-contextmenu-merge-cancel-cell {
|
||||
background-image: url(../../../assets/images/merge-cancel-cell.svg);
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
.select-control-popup {
|
||||
.ce-select-control-popup {
|
||||
max-width: 160px;
|
||||
min-width: 69px;
|
||||
max-height: 225px;
|
||||
@@ -13,14 +13,14 @@
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.select-control-popup ul {
|
||||
.ce-select-control-popup ul {
|
||||
list-style: none;
|
||||
padding: 3px 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.select-control-popup ul li {
|
||||
.ce-select-control-popup ul li {
|
||||
font-size: 13px;
|
||||
padding: 0 20px;
|
||||
position: relative;
|
||||
@@ -34,11 +34,11 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.select-control-popup ul li:hover {
|
||||
.ce-select-control-popup ul li:hover {
|
||||
background-color: #EEF2FD;
|
||||
}
|
||||
|
||||
.select-control-popup ul li.active {
|
||||
.ce-select-control-popup ul li.active {
|
||||
color: var(--COLOR-HOVER, #5175f4);
|
||||
font-weight: 700;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
.date-container {
|
||||
.ce-date-container {
|
||||
display: none;
|
||||
width: 300px;
|
||||
overflow: hidden;
|
||||
@@ -15,19 +15,19 @@
|
||||
box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
|
||||
}
|
||||
|
||||
.date-container.active {
|
||||
.ce-date-container.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.date-wrap {
|
||||
.ce-date-wrap {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.date-wrap.active {
|
||||
.ce-date-wrap.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.date-title {
|
||||
.ce-date-title {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@@ -36,40 +36,40 @@
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.date-title>span {
|
||||
.ce-date-title>span {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.date-title>span:not(.date-title__now) {
|
||||
.ce-date-title>span:not(.ce-date-title__now) {
|
||||
font-family: cursive;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.date-title>span:not(.date-title__now):hover {
|
||||
.ce-date-title>span:not(.ce-date-title__now):hover {
|
||||
color: #5175F4;
|
||||
}
|
||||
|
||||
.date-title .date-title__pre-year {
|
||||
.ce-date-title .ce-date-title__pre-year {
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.date-title .date-title__pre-month {
|
||||
.ce-date-title .ce-date-title__pre-month {
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.date-title .date-title__now {
|
||||
.ce-date-title .ce-date-title__now {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.date-title .date-title__next-year {
|
||||
.ce-date-title .ce-date-title__next-year {
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.date-title .date-title__next-month {
|
||||
.ce-date-title .ce-date-title__next-month {
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.date-week {
|
||||
.ce-date-week {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -78,7 +78,7 @@
|
||||
border-bottom: 1px solid #e4e7ed;
|
||||
}
|
||||
|
||||
.date-week>span {
|
||||
.ce-date-week>span {
|
||||
list-style: none;
|
||||
width: calc(100%/7);
|
||||
text-align: center;
|
||||
@@ -86,7 +86,7 @@
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.date-day {
|
||||
.ce-date-day {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -94,7 +94,7 @@
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.date-day>div {
|
||||
.ce-date-day>div {
|
||||
width: calc(100%/7);
|
||||
height: 40px;
|
||||
text-align: center;
|
||||
@@ -105,85 +105,85 @@
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.date-day>div:hover {
|
||||
.ce-date-day>div:hover {
|
||||
color: #5175F4;
|
||||
opacity: .8;
|
||||
}
|
||||
|
||||
.date-day>div.active {
|
||||
.ce-date-day>div.active {
|
||||
color: #5175F4;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.date-day>div.disable {
|
||||
.ce-date-day>div.disable {
|
||||
color: #c0c4cc;
|
||||
}
|
||||
|
||||
.date-day>div.select {
|
||||
.ce-date-day>div.select {
|
||||
color: #fff;
|
||||
background-color: #5175F4;
|
||||
}
|
||||
|
||||
.time-wrap {
|
||||
.ce-time-wrap {
|
||||
display: none;
|
||||
padding: 10px;
|
||||
height: 286px;
|
||||
}
|
||||
|
||||
.time-wrap ::-webkit-scrollbar {
|
||||
.ce-time-wrap ::-webkit-scrollbar {
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.time-wrap.active {
|
||||
.ce-time-wrap.active {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.time-wrap li {
|
||||
.ce-time-wrap li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.time-wrap>li {
|
||||
.ce-time-wrap>li {
|
||||
width: 33.3%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.time-wrap>li>span {
|
||||
.ce-time-wrap>li>span {
|
||||
transform: translateY(-5px);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.time-wrap>li>ol {
|
||||
.ce-time-wrap>li>ol {
|
||||
height: calc(100% - 20px);
|
||||
overflow-y: auto;
|
||||
border: 1px solid #e2e2e2;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.time-wrap>li:first-child>ol {
|
||||
.ce-time-wrap>li:first-child>ol {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.time-wrap>li:last-child>ol {
|
||||
.ce-time-wrap>li:last-child>ol {
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.time-wrap>li>ol>li {
|
||||
.ce-time-wrap>li>ol>li {
|
||||
line-height: 30px;
|
||||
cursor: pointer;
|
||||
transition: all .3s;
|
||||
}
|
||||
|
||||
.time-wrap>li>ol>li:hover {
|
||||
.ce-time-wrap>li>ol>li:hover {
|
||||
background-color: #eaeaea;
|
||||
}
|
||||
|
||||
.time-wrap>li>ol>li.active {
|
||||
.ce-time-wrap>li>ol>li.active {
|
||||
color: #ffffff;
|
||||
background: #5175F4;
|
||||
}
|
||||
|
||||
.date-menu {
|
||||
.ce-date-menu {
|
||||
width: 100%;
|
||||
height: 28px;
|
||||
display: flex;
|
||||
@@ -194,7 +194,7 @@
|
||||
border-top: 1px solid #e4e7ed;
|
||||
}
|
||||
|
||||
.date-menu button {
|
||||
.ce-date-menu button {
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
@@ -216,18 +216,18 @@
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.date-menu button:hover {
|
||||
.ce-date-menu button:hover {
|
||||
color: #5175F4;
|
||||
border-color: #5175F4;
|
||||
}
|
||||
|
||||
.date-menu button.date-menu__time {
|
||||
.ce-date-menu button.ce-date-menu__time {
|
||||
border: 1px solid transparent;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.date-menu button.date-menu__time:hover {
|
||||
.ce-date-menu button.ce-date-menu__time:hover {
|
||||
color: #5175F4;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
.ce-hyperlink-popup {
|
||||
min-width: 100px;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 12px 0 rgb(98 107 132 / 20%);
|
||||
border-radius: 2px;
|
||||
color: #3d4757;
|
||||
padding: 16px;
|
||||
white-space: nowrap;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
text-align: center;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ce-hyperlink-popup a {
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
padding-bottom: 2px;
|
||||
color: #0000ff;
|
||||
}
|
||||
@@ -1,8 +1,13 @@
|
||||
@import './control/select.css';
|
||||
@import './date/datePicker.css';
|
||||
@import './block/block.css';
|
||||
@import './table/table.css';
|
||||
@import './resizer/resizer.css';
|
||||
@import './previewer/previewer.css';
|
||||
@import './contextmenu/contextmenu.css';
|
||||
@import './hyperlink/hyperlink.css';
|
||||
|
||||
.inputarea {
|
||||
.ce-inputarea {
|
||||
width: 0;
|
||||
height: 12px;
|
||||
min-width: 0;
|
||||
@@ -23,7 +28,7 @@
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.cursor {
|
||||
.ce-cursor {
|
||||
width: 1px;
|
||||
height: 20px;
|
||||
left: 0;
|
||||
@@ -34,7 +39,7 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.cursor--animation {
|
||||
.ce-cursor.ce-cursor--animation {
|
||||
animation-duration: 1s;
|
||||
animation-iteration-count: infinite;
|
||||
animation-name: cursorAnimation;
|
||||
@@ -60,399 +65,4 @@
|
||||
to {
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
|
||||
.resizer-selection {
|
||||
position: absolute;
|
||||
border: 1px solid;
|
||||
}
|
||||
|
||||
.resizer-selection>div {
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
box-shadow: 0 1px 4px 0 rgb(0 0 0 / 30%);
|
||||
border-radius: 5px;
|
||||
border: 2px solid #ffffff;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.resizer-selection .handle-0 {
|
||||
cursor: nw-resize;
|
||||
}
|
||||
|
||||
.resizer-selection .handle-1 {
|
||||
cursor: n-resize;
|
||||
}
|
||||
|
||||
.resizer-selection .handle-2 {
|
||||
cursor: ne-resize;
|
||||
}
|
||||
|
||||
.resizer-selection .handle-3 {
|
||||
cursor: e-resize;
|
||||
}
|
||||
|
||||
.resizer-selection .handle-4 {
|
||||
cursor: se-resize;
|
||||
}
|
||||
|
||||
.resizer-selection .handle-5 {
|
||||
cursor: s-resize;
|
||||
}
|
||||
|
||||
.resizer-selection .handle-6 {
|
||||
cursor: sw-resize;
|
||||
}
|
||||
|
||||
.resizer-selection .handle-7 {
|
||||
cursor: w-resize;
|
||||
}
|
||||
|
||||
.resizer-image {
|
||||
position: absolute;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.image-previewer {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
background: #f2f4f7;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
animation: previewerAnimation .3s;
|
||||
}
|
||||
|
||||
@keyframes previewerAnimation {
|
||||
0% {
|
||||
opacity: 0.1;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.image-previewer .image-close {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 50px;
|
||||
top: 30px;
|
||||
z-index: 99;
|
||||
cursor: pointer;
|
||||
background: url(../images/close.svg) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
transition: all .3s;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.image-previewer .image-close:hover {
|
||||
background-color: #e2e6ed;
|
||||
}
|
||||
|
||||
.image-previewer .image-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.image-previewer .image-container img {
|
||||
cursor: move;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.image-previewer .image-menu {
|
||||
height: 50px;
|
||||
position: absolute;
|
||||
bottom: 50px;
|
||||
z-index: 99;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.image-previewer .image-menu i {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin: 0 8px;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
transition: all .3s;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.image-previewer .image-menu i:hover {
|
||||
background-color: #e2e6ed;
|
||||
}
|
||||
|
||||
.image-previewer .image-menu i.zoom-in {
|
||||
background-image: url(../images/zoom-in.svg);
|
||||
}
|
||||
|
||||
.image-previewer .image-menu i.zoom-out {
|
||||
background-image: url(../images/zoom-out.svg);
|
||||
}
|
||||
|
||||
.image-previewer .image-menu i.rotate {
|
||||
background-image: url(../images/rotate.svg);
|
||||
}
|
||||
|
||||
.image-previewer .image-menu i.original-size {
|
||||
background-image: url(../images/original-size.svg);
|
||||
}
|
||||
|
||||
.image-previewer .image-menu i.image-download {
|
||||
background-image: url(../images/image-download.svg);
|
||||
}
|
||||
|
||||
.table-tool__row {
|
||||
position: absolute;
|
||||
width: 12px;
|
||||
border-radius: 6.5px;
|
||||
overflow: hidden;
|
||||
background-color: #E2E6ED;
|
||||
}
|
||||
|
||||
.table-tool__row .table-tool__row__item {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.table-tool__row .table-tool__row__item::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 2px;
|
||||
width: 8px;
|
||||
height: 1px;
|
||||
background-color: #C0C6CF;
|
||||
}
|
||||
|
||||
.table-tool__row .table-tool__row__item:last-child:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.table-tool__col {
|
||||
position: absolute;
|
||||
height: 12px;
|
||||
border-radius: 6.5px;
|
||||
overflow: hidden;
|
||||
background-color: #E2E6ED;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.table-tool__col .table-tool__col__item {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.table-tool__col .table-tool__col__item::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: -1px;
|
||||
width: 1px;
|
||||
height: 8px;
|
||||
z-index: 1;
|
||||
background-color: #C0C6CF;
|
||||
}
|
||||
|
||||
.table-tool__col .table-tool__col__item:first-child:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.table-tool__row .table-tool__row__item.active,
|
||||
.table-tool__col .table-tool__col__item.active {
|
||||
background-color: #C4D7FA;
|
||||
}
|
||||
|
||||
.table-tool__col .table-tool__anchor {
|
||||
right: -5px;
|
||||
width: 10px;
|
||||
height: 12px;
|
||||
z-index: 9;
|
||||
position: absolute;
|
||||
cursor: col-resize;
|
||||
}
|
||||
|
||||
.table-tool__row .table-tool__anchor {
|
||||
bottom: -5px;
|
||||
left: 0;
|
||||
width: 12px;
|
||||
height: 10px;
|
||||
z-index: 9;
|
||||
position: absolute;
|
||||
cursor: row-resize;
|
||||
}
|
||||
|
||||
.table-anchor__line {
|
||||
z-index: 9;
|
||||
position: absolute;
|
||||
border: 1px dotted #000000;
|
||||
}
|
||||
|
||||
.contextmenu-container {
|
||||
z-index: 9;
|
||||
position: fixed;
|
||||
display: none;
|
||||
padding: 4px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 12px 0 rgb(56 56 56 / 20%);
|
||||
border: 1px solid #e2e6ed;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.contextmenu-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.contextmenu-content .contextmenu-sub-item::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
right: 12px;
|
||||
background: url(../images/submenu-dropdown.svg);
|
||||
}
|
||||
|
||||
.contextmenu-content .contextmenu-item {
|
||||
min-width: 140px;
|
||||
padding: 0 32px 0 16px;
|
||||
height: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.contextmenu-content .contextmenu-item.hover {
|
||||
background: rgba(25, 55, 88, .04);
|
||||
}
|
||||
|
||||
.contextmenu-content .contextmenu-item span {
|
||||
max-width: 300px;
|
||||
font-size: 12px;
|
||||
color: #3d4757;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.contextmenu-content .contextmenu-item span.shortcut {
|
||||
color: #767c85;
|
||||
height: 30px;
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
line-height: 30px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.contextmenu-content .contextmenu-item i {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
flex-shrink: 0;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.contextmenu-divider {
|
||||
background-color: #e2e6ed;
|
||||
margin: 4px 16px;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
.contextmenu-print {
|
||||
background-image: url(../../assets/images/print.svg);
|
||||
}
|
||||
|
||||
.contextmenu-image {
|
||||
background-image: url(../../assets/images/image.svg);
|
||||
}
|
||||
|
||||
.contextmenu-image-change {
|
||||
background-image: url(../../assets/images/image-change.svg);
|
||||
}
|
||||
|
||||
.contextmenu-insert-row-col {
|
||||
background-image: url(../../assets/images/insert-row-col.svg);
|
||||
}
|
||||
|
||||
.contextmenu-insert-top-row {
|
||||
background-image: url(../../assets/images/insert-top-row.svg);
|
||||
}
|
||||
|
||||
.contextmenu-insert-bottom-row {
|
||||
background-image: url(../../assets/images/insert-bottom-row.svg);
|
||||
}
|
||||
|
||||
.contextmenu-insert-left-col {
|
||||
background-image: url(../../assets/images/insert-left-col.svg);
|
||||
}
|
||||
|
||||
.contextmenu-insert-right-col {
|
||||
background-image: url(../../assets/images/insert-right-col.svg);
|
||||
}
|
||||
|
||||
.contextmenu-delete-row-col {
|
||||
background-image: url(../../assets/images/delete-row-col.svg);
|
||||
}
|
||||
|
||||
.contextmenu-delete-row {
|
||||
background-image: url(../../assets/images/delete-row.svg);
|
||||
}
|
||||
|
||||
.contextmenu-delete-col {
|
||||
background-image: url(../../assets/images/delete-col.svg);
|
||||
}
|
||||
|
||||
.contextmenu-delete-table {
|
||||
background-image: url(../../assets/images/delete-table.svg);
|
||||
}
|
||||
|
||||
.contextmenu-merge-cell {
|
||||
background-image: url(../../assets/images/merge-cell.svg);
|
||||
}
|
||||
|
||||
.contextmenu-merge-cancel-cell {
|
||||
background-image: url(../../assets/images/merge-cancel-cell.svg);
|
||||
}
|
||||
|
||||
.hyperlink-popup {
|
||||
min-width: 100px;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 12px 0 rgb(98 107 132 / 20%);
|
||||
border-radius: 2px;
|
||||
color: #3d4757;
|
||||
padding: 16px;
|
||||
white-space: nowrap;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
text-align: center;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hyperlink-popup a {
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
padding-bottom: 2px;
|
||||
color: #0000ff;
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
.ce-image-previewer {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
background: #f2f4f7;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
animation: previewerAnimation .3s;
|
||||
}
|
||||
|
||||
@keyframes previewerAnimation {
|
||||
0% {
|
||||
opacity: 0.1;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.ce-image-previewer .image-close {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 50px;
|
||||
top: 30px;
|
||||
z-index: 99;
|
||||
cursor: pointer;
|
||||
background: url(../../images/close.svg) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
transition: all .3s;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.ce-image-previewer .image-close:hover {
|
||||
background-color: #e2e6ed;
|
||||
}
|
||||
|
||||
.ce-image-previewer .ce-image-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ce-image-previewer .ce-image-container img {
|
||||
cursor: move;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ce-image-previewer .ce-image-menu {
|
||||
height: 50px;
|
||||
position: absolute;
|
||||
bottom: 50px;
|
||||
z-index: 99;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.ce-image-previewer .ce-image-menu i {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin: 0 8px;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
transition: all .3s;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.ce-image-previewer .ce-image-menu i:hover {
|
||||
background-color: #e2e6ed;
|
||||
}
|
||||
|
||||
.ce-image-previewer .ce-image-menu i.zoom-in {
|
||||
background-image: url(../../images/zoom-in.svg);
|
||||
}
|
||||
|
||||
.ce-image-previewer .ce-image-menu i.zoom-out {
|
||||
background-image: url(../../images/zoom-out.svg);
|
||||
}
|
||||
|
||||
.ce-image-previewer .ce-image-menu i.rotate {
|
||||
background-image: url(../../images/rotate.svg);
|
||||
}
|
||||
|
||||
.ce-image-previewer .ce-image-menu i.original-size {
|
||||
background-image: url(../../images/original-size.svg);
|
||||
}
|
||||
|
||||
.ce-image-previewer .ce-image-menu i.image-download {
|
||||
background-image: url(../../images/image-download.svg);
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
.ce-resizer-selection {
|
||||
position: absolute;
|
||||
border: 1px solid;
|
||||
}
|
||||
|
||||
.ce-resizer-selection>div {
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
box-shadow: 0 1px 4px 0 rgb(0 0 0 / 30%);
|
||||
border-radius: 5px;
|
||||
border: 2px solid #ffffff;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.ce-resizer-selection .handle-0 {
|
||||
cursor: nw-resize;
|
||||
}
|
||||
|
||||
.ce-resizer-selection .handle-1 {
|
||||
cursor: n-resize;
|
||||
}
|
||||
|
||||
.ce-resizer-selection .handle-2 {
|
||||
cursor: ne-resize;
|
||||
}
|
||||
|
||||
.ce-resizer-selection .handle-3 {
|
||||
cursor: e-resize;
|
||||
}
|
||||
|
||||
.ce-resizer-selection .handle-4 {
|
||||
cursor: se-resize;
|
||||
}
|
||||
|
||||
.ce-resizer-selection .handle-5 {
|
||||
cursor: s-resize;
|
||||
}
|
||||
|
||||
.ce-resizer-selection .handle-6 {
|
||||
cursor: sw-resize;
|
||||
}
|
||||
|
||||
.ce-resizer-selection .handle-7 {
|
||||
cursor: w-resize;
|
||||
}
|
||||
|
||||
.ce-resizer-image {
|
||||
position: absolute;
|
||||
opacity: 0.5;
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
.ce-table-tool__row {
|
||||
position: absolute;
|
||||
width: 12px;
|
||||
border-radius: 6.5px;
|
||||
overflow: hidden;
|
||||
background-color: #E2E6ED;
|
||||
}
|
||||
|
||||
.ce-table-tool__row .ce-table-tool__row__item {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ce-table-tool__row .ce-table-tool__row__item::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 2px;
|
||||
width: 8px;
|
||||
height: 1px;
|
||||
background-color: #C0C6CF;
|
||||
}
|
||||
|
||||
.ce-table-tool__row .ce-table-tool__row__item:last-child:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ce-table-tool__col {
|
||||
position: absolute;
|
||||
height: 12px;
|
||||
border-radius: 6.5px;
|
||||
overflow: hidden;
|
||||
background-color: #E2E6ED;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.ce-table-tool__col .ce-table-tool__col__item {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ce-table-tool__col .ce-table-tool__col__item::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: -1px;
|
||||
width: 1px;
|
||||
height: 8px;
|
||||
z-index: 1;
|
||||
background-color: #C0C6CF;
|
||||
}
|
||||
|
||||
.ce-table-tool__col .ce-table-tool__col__item:first-child:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ce-table-tool__row .ce-table-tool__row__item.active,
|
||||
.ce-table-tool__col .ce-table-tool__col__item.active {
|
||||
background-color: #C4D7FA;
|
||||
}
|
||||
|
||||
.ce-table-tool__col .ce-table-tool__anchor {
|
||||
right: -5px;
|
||||
width: 10px;
|
||||
height: 12px;
|
||||
z-index: 9;
|
||||
position: absolute;
|
||||
cursor: col-resize;
|
||||
}
|
||||
|
||||
.ce-table-tool__row .ce-table-tool__anchor {
|
||||
bottom: -5px;
|
||||
left: 0;
|
||||
width: 12px;
|
||||
height: 10px;
|
||||
z-index: 9;
|
||||
position: absolute;
|
||||
cursor: row-resize;
|
||||
}
|
||||
|
||||
.ce-table-anchor__line {
|
||||
z-index: 9;
|
||||
position: absolute;
|
||||
border: 1px dotted #000000;
|
||||
}
|
||||
Reference in New Issue
Block a user