mirror of https://github.com/usememos/memos
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.
92 lines
1.8 KiB
Plaintext
92 lines
1.8 KiB
Plaintext
@import "./mixin.less";
|
|
|
|
.search-bar-container {
|
|
@apply relative w-40;
|
|
|
|
> .search-bar-inputer {
|
|
.flex(row, flex-start, center);
|
|
@apply w-full py-2 px-4 rounded-lg flex flex-row justify-start items-center bg-zinc-200;
|
|
|
|
> .icon-img {
|
|
@apply mr-2 h-auto opacity-30;
|
|
}
|
|
|
|
> .text-input {
|
|
@apply grow text-sm;
|
|
}
|
|
|
|
&:hover {
|
|
+ .quickly-action-wrapper {
|
|
display: flex;
|
|
}
|
|
}
|
|
}
|
|
|
|
> .quickly-action-wrapper {
|
|
@apply hidden absolute top-9 -right-2 p-2 w-80 z-10;
|
|
|
|
> .quickly-action-container {
|
|
.flex(column, flex-start, flex-start);
|
|
width: 100%;
|
|
background-color: white;
|
|
padding: 12px 16px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 8px 0 rgb(0 0 0 / 20%);
|
|
|
|
> .title-text {
|
|
color: gray;
|
|
font-size: 12px;
|
|
}
|
|
|
|
> .types-container {
|
|
.flex(row, flex-start, flex-start);
|
|
width: 100%;
|
|
font-size: 13px;
|
|
margin-top: 8px;
|
|
|
|
> .section-text {
|
|
color: gray;
|
|
margin-right: 4px;
|
|
flex-shrink: 0;
|
|
line-height: 26px;
|
|
}
|
|
|
|
> .values-container {
|
|
.flex(row, flex-start, flex-start);
|
|
flex-wrap: wrap;
|
|
user-select: none;
|
|
|
|
> div {
|
|
.flex(row, flex-start, center);
|
|
line-height: 26px;
|
|
|
|
.type-item {
|
|
cursor: pointer;
|
|
padding: 0 4px;
|
|
border-radius: 6px;
|
|
|
|
&:hover {
|
|
background-color: @bg-whitegray;
|
|
}
|
|
|
|
&.selected {
|
|
background-color: @text-green;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
.split-text {
|
|
color: lightgray;
|
|
margin: 0 2px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
display: flex;
|
|
}
|
|
}
|
|
}
|