MeiliSearch/http-ui/public/style.css

145 lines
2.0 KiB
CSS
Raw Normal View History

#results {
2021-01-20 13:28:34 +01:00
max-width: 900px;
margin: 20px auto 0 auto;
2021-01-20 13:28:34 +01:00
padding: 0;
}
#facets .tag {
margin-right: 1em;
margin-bottom: 1em;
}
#facets {
display: none;
2021-01-20 13:28:34 +01:00
max-width: 900px;
margin: 20px auto 0 auto;
padding: 0;
max-height: 16em;
overflow: scroll;
}
#display_facets {
margin: 20px auto 0 auto;
padding: 5px;
max-height: 16em;
overflow: scroll;
2021-01-20 13:28:34 +01:00
}
#facets .tag:hover {
cursor: pointer;
}
2020-07-15 23:51:12 +02:00
#logo-white {
display: none;
}
#logo-black {
display: inherit;
}
.notification {
display: flex;
justify-content: center;
}
.document {
padding: 20px 20px;
background-color: #f5f5f5;
border-radius: 4px;
margin-bottom: 20px;
display: flex;
}
.document ol {
flex: 0 0 75%;
max-width: 75%;
padding: 0;
margin: 0;
}
.document .image {
max-width: 25%;
flex: 0 0 25%;
padding-left: 30px;
box-sizing: border-box;
}
.document .image img {
width: 100%;
}
.field {
list-style-type: none;
display: flex;
flex-wrap: wrap;
}
.field:not(:last-child) {
margin-bottom: 7px;
}
.attribute {
flex: 0 0 35%;
max-width: 35%;
text-align: right;
padding-right: 10px;
box-sizing: border-box;
text-transform: uppercase;
2020-07-13 23:51:41 +02:00
opacity: 0.7;
}
2021-01-20 13:28:34 +01:00
.content {
max-width: 65%;
flex: 0 0 65%;
box-sizing: border-box;
padding-left: 10px;
color: rgba(0,0,0,.9);
}
2020-07-14 11:03:21 +02:00
.content mark {
background-color: hsl(204, 86%, 88%);
color: hsl(204, 86%, 25%);
}
@keyframes fadeInOut {
0% { opacity: 1; }
30% { opacity: 0.3; }
100% { opacity: 1; }
}
.fade-in-out {
animation: fadeInOut ease 1s infinite;
}
2020-07-13 23:51:41 +02:00
@media (prefers-color-scheme:dark) {
2020-07-15 23:51:12 +02:00
#logo-white {
display: inherit;
}
#logo-black {
display: none;
}
2020-07-13 23:51:41 +02:00
.hero.is-light {
background-color: #242424;
color: inherit;
}
.hero.is-light .title {
color: inherit;
}
.document {
background-color: #242424;
}
.content {
color: #dbdbdb;
}
2020-07-14 11:03:21 +02:00
.content mark {
background-color: hsl(0, 0%, 35%);
color: hsl(0,0%,90.2%);
}
2020-07-13 23:51:41 +02:00
}