You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
frontend/src/app/components/search/Search.component.scss

155 lines
2.0 KiB

.search-header {
padding: 7px;
.search-input {
font-size: 16pt;
}
}
.types {
display: flex;
flex-wrap: wrap;
.type {
padding: 5px 20px;
border: 1px solid rgba(0,0,0,0);
border-radius: 30px;
&.current-type {
border: 1px solid #ccc;
}
&:hover {
cursor: pointer;
}
i {
margin-right: 5px;
}
}
}
.search-label {
display: flex;
.search-icon {
margin-right: 10px;
}
&.page {
.search-icon {
color: var(--noded-background-note);
}
}
&.node {
.search-icon {
color: var(--noded-background-node);
}
}
&.db {
.search-icon {
color: var(--noded-background-db);
}
}
&.code {
.search-icon {
color: var(--noded-background-code);
}
}
&.files, &.file_box {
.search-icon {
color: var(--noded-background-files);
}
}
&.markdown {
.search-icon {
color: var(--noded-background-markdown);
}
}
&.file_box-document {
.search-icon {
color: #4269a5;
}
}
&.file_box-spreadsheet {
.search-icon {
color: #39825a;
}
}
&.file_box-presentation {
.search-icon {
color: #dc6141;
}
}
&.file_box-image {
.search-icon {
color: #cf9f20;
}
}
&.file_box-pdf {
.search-icon {
color: #d32f2f;
}
}
&.file_box-video {
.search-icon {
color: #8049c0;
}
}
&.file_box-code {
.search-icon {
color: #ff4500;
}
}
&.file_box-text {
.search-icon {
color: #444444;
}
}
&.file_box-folder {
.search-icon {
color: #ac9379;
}
}
}
.search-assoc {
padding: 5px 10px;
border-radius: 4px;
display: flex;
.assoc-icon {
margin-right: 10px;
}
&.page {
border: 1px solid var(--noded-background-note);
border-radius: 3px;
&:hover {
cursor: pointer;
border: 1px solid var(--noded-background-note-hover);
}
}
}
.container.dark {
.types {
color: #eeeeee;
}
}