johndeweyzxc's picture
Add application file
88ec217
.semantic-search {
background-color: var(--color-primary-card-bg);
padding: 1rem;
padding-bottom: 0;
}
.search-input {
width: 100%;
padding: 1rem;
margin-bottom: 1rem;
background-color: var(--color-primary-main-bg);
color: var(--color-primary-text);
font-family: 'Roboto Mono', monospace;
font-size: .85rem;
min-height: 5rem;
resize: vertical;
}
.search-controls {
display: flex;
flex-wrap: wrap;
gap: .5rem;
align-items: center;
justify-content: space-between;
margin-bottom: 1rem;
}
.search-controls .buttons {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.search-controls .button {
padding: 10px 20px;
border: none;
border-radius: 6px;
font-family: 'Roboto Mono', monospace;
font-weight: bold;
cursor: pointer;
min-width: 100px;
}
.search-controls .primary {
background-color: var(--color-secondary);
color: var(--color-primary-text);
}
.search-controls .secondary {
background-color: var(--color-primary);
color: var(--color-primary-main-bg);
}
.search-controls .result-quantity {
display: flex;
align-items: center;
gap: 10px;
}
.search-controls .result-quantity .label {
color: var(--color-primary-text);
font-family: 'Roboto Mono', monospace;
font-size: 14px;
white-space: nowrap;
}
.search-controls .result-quantity .dropdown {
padding: .5rem;
font-family: 'Roboto Mono', monospace;
font-size: 1rem;
color: var(--color-primary-main-bg)
}
.search-result-title {
color: var(--color-primary-text);
font-family: 'Roboto Mono', monospace;
font-size: 1rem;
font-weight: bold;
margin-bottom: 1rem;
}
.search-result {
}
.search-result-item {
background-color: var(--color-primary-main-bg);
padding: 1rem;
margin-bottom: 1rem;
overflow-wrap: break-word;
font-family: 'Roboto Mono', monospace;
}
.search-result-item-header {
display: grid;
grid-template-columns: auto 1fr auto 1fr;
gap: 1rem;
margin-bottom: 1rem;
}
.search-result-item .label {
font-weight: bold;
font-size: .9rem;
color: var(--color-primary-text);
}
.search-result-value {
font-size: .8rem;
opacity: .8;
color: var(--color-primary);
}
@media (max-width: 768px) {
.search-controls {
flex-direction: column;
align-items: stretch;
}
.search-controls .buttons {
justify-content: center;
}
.search-controls .result-quantity {
justify-content: center;
}
}
@media (max-width: 480px) {
.semantic-search {
padding: .5rem;
}
.search-input {
padding: .5rem;
margin-bottom: .5rem;
}
.search-controls {
margin-bottom: .5rem;
}
.search-controls .button {
width: 100%;
padding: .5rem;
}
.search-result-title {
margin-bottom: .5rem;
}
.search-result-item {
padding: .5rem;
margin-bottom: .5rem;
}
.search-result-item-header {
grid-template-columns: 1fr 1fr;
margin-bottom: .5rem;
}
}