Files
dooring/packages/dooringx-lib/src/index.less

220 lines
2.8 KiB
Plaintext
Raw Normal View History

2021-07-09 01:41:03 +08:00
.yhLeftrender {
2021-08-19 16:53:57 +08:00
overflow: auto;
.leftco {
padding: 10px;
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
.coitem {
margin: 5px;
.redbox {
height: 68px;
width: 68px;
// background: var(--redbox-color);
background-color: #f7f8fa;
// line-height: 20px;
display: flex;
align-items: center;
justify-content: center;
#icon-checkbox,
#icon-tabs,
#icon-jiantou path {
fill: currentColor;
}
&:hover {
cursor: pointer;
}
}
}
}
2021-07-09 01:41:03 +08:00
}
.yh_container {
2021-08-19 16:53:57 +08:00
// ::selection {
// color: inherit;
// background-color: inherit;
// }
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
:global(.am-list-item) {
background-color: rgba(255, 255, 255, 0);
}
:global(.am-list-body) {
background-color: rgba(255, 255, 255, 0);
}
:global(.ant-input) {
background-color: rgba(255, 255, 255, 0);
}
2021-07-09 01:41:03 +08:00
}
.yh_container_preview {
2021-08-19 16:53:57 +08:00
:global(.am-list-item) {
background-color: rgba(255, 255, 255, 0);
}
2021-07-09 01:41:03 +08:00
2021-08-19 16:53:57 +08:00
:global(.am-list-body) {
background-color: rgba(255, 255, 255, 0);
}
2021-07-09 01:41:03 +08:00
2021-08-19 16:53:57 +08:00
:global(.ant-input) {
background-color: rgba(255, 255, 255, 0);
}
2021-07-09 01:41:03 +08:00
}
.yh_block_focus {
2022-01-04 12:15:09 +08:00
cursor: move;
2021-08-19 16:53:57 +08:00
&::before {
position: absolute;
top: -3px;
left: -3px;
right: -3px;
bottom: -3px;
content: '';
border: 2px dashed #2196f3;
}
2021-07-09 01:41:03 +08:00
}
.yhTempDiv {
2021-08-19 16:53:57 +08:00
background-color: #7165fa2b;
2021-07-09 01:41:03 +08:00
}
.resizepoint {
2021-08-19 16:53:57 +08:00
position: absolute;
height: 6px;
width: 6px;
background-color: #2196f3;
cursor: pointer;
border-radius: 50%;
&.l {
left: -6px;
top: calc(50% - 3px);
&:hover {
cursor: e-resize;
}
}
&.r {
right: -6px;
top: calc(50% - 3px);
&:hover {
cursor: e-resize;
}
}
&.t {
top: -6px;
left: calc(50% - 3px);
&:hover {
cursor: s-resize;
}
}
&.b {
bottom: -6px;
left: calc(50% - 3px);
&:hover {
cursor: s-resize;
}
}
&.lt {
top: -6px;
left: -6px;
&:hover {
cursor: nw-resize;
}
}
&.lb {
bottom: -6px;
left: -6px;
&:hover {
cursor: ne-resize;
}
}
&.rb {
bottom: -6px;
right: -6px;
&:hover {
cursor: nw-resize;
}
}
&.rt {
top: -6px;
right: -6px;
&:hover {
cursor: ne-resize;
}
}
2021-07-09 01:41:03 +08:00
}
2021-08-18 20:10:27 +08:00
2021-08-12 15:59:03 +08:00
.menuWidth.menus {
2021-08-19 16:53:57 +08:00
width: initial;
2021-08-12 15:59:03 +08:00
}
2021-07-09 01:41:03 +08:00
2021-08-12 15:59:03 +08:00
.menuStyle.menus {
2021-08-19 16:53:57 +08:00
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
height: auto;
span:nth-child(1) {
margin-top: 10px;
}
span:nth-child(2) {
margin-left: 0;
}
2021-08-11 19:52:28 +08:00
}
2021-08-18 20:10:27 +08:00
2021-07-09 01:41:03 +08:00
.menu_footer {
2021-08-19 16:53:57 +08:00
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
bottom: 0;
2021-07-09 01:41:03 +08:00
}
2021-07-22 22:08:18 +08:00
.rotate {
2021-08-19 16:53:57 +08:00
position: absolute;
top: -35px;
left: calc(50% - 10px);
cursor: grab;
font-size: 20px;
}
2022-01-04 12:15:09 +08:00
.rotatereset {
position: absolute;
top: -35px;
left: calc(100% - 15px);
cursor: pointer;
font-size: 20px;
color: gray;
}
.yh_container_wrapper {
&:hover {
cursor: grab;
}
}