You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
@import "./mixin.less";
|
|
|
|
|
|
|
|
.memo-editor-container {
|
|
|
|
@apply transition-all relative w-full max-h-full flex flex-col justify-start items-start bg-white p-4 rounded-lg border-2 border-gray-200;
|
|
|
|
|
|
|
|
&.fullscreen {
|
|
|
|
@apply fixed w-full h-full top-0 left-0 z-1000 border-none rounded-none sm:p-8;
|
|
|
|
background-color: #f6f5f4;
|
|
|
|
|
|
|
|
> .memo-editor {
|
|
|
|
@apply p-4 rounded-lg border shadow-lg flex flex-col flex-grow justify-start items-start relative w-full h-full bg-white;
|
|
|
|
|
|
|
|
> .common-editor-inputer {
|
|
|
|
@apply flex-grow w-full !h-full max-h-full;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-action > .tag-list {
|
|
|
|
@apply bottom-7;
|
|
|
|
top: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.edit-ing {
|
|
|
|
border-color: @text-blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .tip-text {
|
|
|
|
@apply text-xs leading-5 text-gray-400;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .memo-editor {
|
|
|
|
@apply flex flex-col justify-start items-start relative w-full h-auto bg-white;
|
|
|
|
|
|
|
|
.tag-action {
|
|
|
|
@apply relative;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
> .tag-list {
|
|
|
|
@apply flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .tag-list {
|
|
|
|
@apply hidden flex-col justify-start items-start absolute top-6 left-0 mt-1 p-1 z-1 rounded w-32 max-h-52 overflow-auto bg-black;
|
|
|
|
|
|
|
|
> span {
|
|
|
|
@apply w-full text-white cursor-pointer rounded text-sm leading-6 px-2 hover:bg-gray-700;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|