2021-12-08 18:43:52 +03:00
|
|
|
@import "./mixin.less";
|
|
|
|
|
2022-09-10 16:22:26 +03:00
|
|
|
.memo-content-wrapper {
|
|
|
|
@apply w-full flex flex-col justify-start items-start;
|
2021-12-08 18:43:52 +03:00
|
|
|
|
2022-09-10 16:22:26 +03:00
|
|
|
> .memo-content-text {
|
2022-10-02 17:49:30 +03:00
|
|
|
@apply w-full break-words text-base leading-7;
|
2021-12-08 18:43:52 +03:00
|
|
|
|
2022-09-10 16:22:26 +03:00
|
|
|
&.expanded {
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 8;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2022-07-29 15:11:14 +03:00
|
|
|
|
2022-09-10 16:22:26 +03:00
|
|
|
> p {
|
2022-10-02 17:49:30 +03:00
|
|
|
@apply w-full h-auto mb-1 last:mb-0 text-base leading-6 whitespace-pre-wrap break-words;
|
|
|
|
min-height: 24px;
|
2022-09-10 16:22:26 +03:00
|
|
|
}
|
2021-12-08 18:43:52 +03:00
|
|
|
|
2022-09-10 16:22:26 +03:00
|
|
|
.img {
|
2022-10-14 17:29:28 +03:00
|
|
|
@apply float-left max-w-full rounded cursor-pointer hover:shadow;
|
2022-09-10 16:22:26 +03:00
|
|
|
}
|
2021-12-08 18:43:52 +03:00
|
|
|
|
2022-09-10 16:22:26 +03:00
|
|
|
.tag-span {
|
2022-09-19 18:01:14 +03:00
|
|
|
@apply inline-block w-auto font-mono text-blue-600 cursor-pointer;
|
2022-09-10 16:22:26 +03:00
|
|
|
}
|
2022-05-08 18:17:11 +03:00
|
|
|
|
2022-09-10 16:22:26 +03:00
|
|
|
.memo-link-text {
|
|
|
|
@apply inline-block text-blue-600 cursor-pointer font-bold border-none no-underline hover:opacity-80;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link {
|
2022-10-02 17:49:30 +03:00
|
|
|
@apply text-blue-600 cursor-pointer underline break-all hover:opacity-80;
|
2022-09-10 16:22:26 +03:00
|
|
|
}
|
2022-07-02 10:01:59 +03:00
|
|
|
|
2022-10-03 04:11:07 +03:00
|
|
|
.ol-block,
|
|
|
|
.ul-block,
|
2022-09-10 16:22:26 +03:00
|
|
|
.todo-block {
|
2022-10-03 04:11:07 +03:00
|
|
|
@apply inline-block box-border text-center w-7 font-mono select-none;
|
2022-09-10 16:22:26 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.todo-block {
|
|
|
|
@apply w-4 h-4 leading-4 border rounded box-border text-lg cursor-pointer shadow-inner hover:opacity-80;
|
2022-10-03 04:11:07 +03:00
|
|
|
transform: translateY(2px);
|
2022-09-10 16:22:26 +03:00
|
|
|
margin-left: 6px;
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
2022-10-14 17:29:28 +03:00
|
|
|
@apply w-full my-1 p-3 rounded bg-gray-100 whitespace-pre-wrap;
|
|
|
|
|
|
|
|
code {
|
|
|
|
@apply block;
|
|
|
|
}
|
2022-10-03 14:51:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2022-10-04 05:44:16 +03:00
|
|
|
@apply bg-gray-100 px-1 rounded text-sm font-mono leading-6 inline-block;
|
2022-09-10 16:22:26 +03:00
|
|
|
}
|
2022-10-15 06:42:04 +03:00
|
|
|
|
|
|
|
table {
|
|
|
|
@apply my-1 table-auto border-collapse border border-gray-300;
|
|
|
|
|
|
|
|
th {
|
|
|
|
@apply px-4 py-1 text-center border border-gray-300;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
@apply px-4 py-1 text-center border border-gray-300;
|
|
|
|
}
|
|
|
|
}
|
2021-12-08 18:43:52 +03:00
|
|
|
}
|
|
|
|
|
2022-09-10 16:22:26 +03:00
|
|
|
> .expand-btn-container {
|
|
|
|
@apply w-full relative flex flex-row justify-start items-center;
|
|
|
|
|
|
|
|
> .btn {
|
|
|
|
@apply flex flex-row justify-start items-center pl-2 pr-1 py-1 my-1 text-xs rounded-lg border bg-gray-100 border-gray-200 opacity-80 shadow hover:opacity-60;
|
|
|
|
|
|
|
|
&.expand-btn {
|
|
|
|
@apply mt-2;
|
|
|
|
|
|
|
|
> .icon-img {
|
|
|
|
@apply rotate-90;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.fold-btn {
|
|
|
|
> .icon-img {
|
|
|
|
@apply -rotate-90;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> .icon-img {
|
|
|
|
@apply w-4 h-auto ml-1 transition-all;
|
|
|
|
}
|
|
|
|
}
|
2021-12-08 18:43:52 +03:00
|
|
|
}
|
|
|
|
}
|