123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- .noteMove {
- position: absolute;
- &::before{
- content: '';
- position: absolute;
- left: -4px;
- right: -4px;
- bottom: -4px;
- top: -4px;
- border-radius: 2px;
- background-color: rgba(0, 0, 0, .3);
- }
- }
- .activeModel{
- &::before{
- background-color: rgba(255,145,0,.3);
- }
- }
- .toolBox {
- position: fixed;
- left: 0;
- top: 30%;
- padding: 8px;
- background: rgba(0, 0, 0, .3);
- border-radius: 4px;
- display: flex;
- flex-direction: column;
- z-index: 9999;
- backdrop-filter: blur(10px);
- &>div,
- &>button {
- margin: 4px 0;
- }
- }
- .moveDisabled{
- .noteMove{
- display: none;
- }
- }
- .hideTool {
- transform: translateX(-120%);
- }
- .rightHideIcon {
- width: 15px;
- height: 30px;
- position: absolute;
- left: 0;
- top: 50%;
- z-index: 10;
- cursor: pointer;
- transition: all 0.5s;
- transform: rotate(180deg);
- }
- .editToolBox {
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- background: rgba(0, 0, 0, 0.5);
- z-index: 999999;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- padding: 14PX 30PX;
- pointer-events: none;
- min-height: 58PX;
- .editItem {
- display: flex;
- align-items: center;
- padding: 5PX 12PX;
- background: rgba(255,255,255,0.2);
- border-radius: 20PX;
- margin-left: 18PX;
- cursor: pointer;
- pointer-events: all;
- &:active {
- opacity: .5;
- }
- img {
- width: 18PX;
- height: 18PX;
- margin-right: 6PX;
- }
- span {
- font-size: 14PX;
- color: #fff;
- }
- }
- .extraItem {
- margin-left: 18PX;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 5PX 12PX;
- background: rgba(255,255,255,0.2);
- border-radius: 20PX;
- position: relative;
- width: 76PX;
- box-sizing: border-box;
- img {
- width: 18PX;
- height: 18PX;
- cursor: pointer;
- &:active {
- opacity: .5;
- }
- }
- &::before {
- content: "";
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%,-50%);
- width: 1PX;
- height: 20PX;
- background: rgba(255,255,255,0.3);
- z-index: 1;
- }
- }
- .disabled {
- opacity: .5;
- pointer-events: none;
- }
- }
- .itemDisabled {
- .editItem {
- opacity: .5;
- pointer-events: none;
- }
- .canEdit {
- opacity: 1;
- pointer-events: visible;
- }
- }
|