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

189 lines
2.5 KiB
Plaintext
Raw Normal View History

2021-07-09 01:41:03 +08:00
.yhLeftrender {
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);
// line-height: 20px;
display: flex;
align-items: center;
justify-content: center;
#icon-checkbox,
#icon-tabs,
#icon-jiantou path {
fill: currentColor;
}
}
}
}
}
.yh_container {
// ::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);
}
}
.yh_container_preview {
: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);
}
}
.yh_block_focus {
&::before {
position: absolute;
top: -3px;
left: -3px;
right: -3px;
bottom: -3px;
content: '';
border: 2px dashed #2196f3;
}
}
.yhTempDiv {
background-color: #7165fa2b;
}
.resizepoint {
position: absolute;
height: 6px;
width: 6px;
background-color: #2196f3;
cursor: pointer;
border-radius: 50%;
2021-07-26 11:27:55 +08:00
&.l {
2021-07-09 01:41:03 +08:00
left: -6px;
top: calc(50% - 3px);
&:hover {
cursor: e-resize;
}
}
2021-07-26 11:27:55 +08:00
&.r {
2021-07-09 01:41:03 +08:00
right: -6px;
top: calc(50% - 3px);
&:hover {
cursor: e-resize;
}
}
2021-07-26 11:27:55 +08:00
&.t {
2021-07-09 01:41:03 +08:00
top: -6px;
left: calc(50% - 3px);
&:hover {
cursor: s-resize;
}
}
2021-07-26 11:27:55 +08:00
&.b {
2021-07-09 01:41:03 +08:00
bottom: -6px;
left: calc(50% - 3px);
&:hover {
cursor: s-resize;
}
}
2021-07-26 11:27:55 +08:00
&.lt {
2021-07-09 01:41:03 +08:00
top: -6px;
left: -6px;
&:hover {
cursor: nw-resize;
}
}
2021-07-26 11:27:55 +08:00
&.lb {
2021-07-09 01:41:03 +08:00
bottom: -6px;
left: -6px;
&:hover {
cursor: ne-resize;
}
}
2021-07-26 11:27:55 +08:00
&.rb {
2021-07-09 01:41:03 +08:00
bottom: -6px;
right: -6px;
&:hover {
cursor: nw-resize;
}
}
2021-07-26 11:27:55 +08:00
&.rt {
2021-07-09 01:41:03 +08:00
top: -6px;
right: -6px;
&:hover {
cursor: ne-resize;
}
}
}
2021-08-11 19:52:28 +08:00
.menuStyle {
2021-08-12 13:45:48 +08:00
display: flex;
flex-direction: column;
justify-content: center;
height: auto !important ;
padding-top: 8px !important ;
2021-08-11 19:52:28 +08:00
}
2021-07-09 01:41:03 +08:00
.menu_footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
bottom: 0;
}
2021-07-22 22:08:18 +08:00
.rotate {
position: absolute;
2021-07-27 15:38:29 +08:00
top: -35px;
left: calc(50% - 10px);
2021-07-22 22:08:18 +08:00
cursor: grab;
2021-07-27 15:38:29 +08:00
font-size: 20px;
2021-07-22 22:08:18 +08:00
}