1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 23:29:42 +02:00
documize/gui/app/styles/core/view/search.scss

124 lines
1.8 KiB
SCSS
Raw Normal View History

2017-11-29 11:09:54 +00:00
.view-search {
2018-05-30 16:08:25 +01:00
.search-box {
width: 300px;
}
2018-05-30 16:08:25 +01:00
@media (min-width: 900px) {
.search-box {
width: 400px;
}
}
@media (min-width: 1200px) {
.search-box {
width: 600px;
}
}
@media (min-width: 1400px) {
.search-box {
width: 700px;
}
}
@media (min-width: 1800px) {
.search-box {
width: 900px;
}
2017-11-29 11:09:54 +00:00
}
> .documents {
2018-05-30 16:08:25 +01:00
margin: 20px 0;
2017-11-29 11:09:54 +00:00
padding: 0;
> .document {
@include card();
@include ease-in();
list-style-type: none;
overflow: hidden;
position: relative;
margin: 0 0 30px 0;
width: 100%;
&:hover {
> .checkbox {
display: block;
}
}
> a {
@include ease-in();
display: block;
position: relative;
padding: 15px 20px;
> .title {
color: $color-black;
2018-03-19 15:04:02 +00:00
font-weight: bold;
font-size: 1.4rem;
margin-bottom: 5px;
> .version {
font-size: 1.1rem;
font-weight: bold;
2018-12-04 17:26:57 +00:00
color: map-get($gray-shades, 600);
2018-03-19 15:04:02 +00:00
}
}
> .space {
2018-12-04 17:26:57 +00:00
color: $color-black-light-1;
2018-03-19 15:04:02 +00:00
font-size: 1.2rem;
2017-11-29 11:09:54 +00:00
margin-bottom: 5px;
}
> .snippet {
2018-12-04 17:26:57 +00:00
color: map-get($gray-shades, 600);
2018-03-19 15:04:02 +00:00
font-size: 1.1rem;
margin-bottom: 10px;
2017-11-29 11:09:54 +00:00
}
&:hover {
> .title {
color: $color-link;
}
}
}
.hashtags {
> .hashtag {
display: inline-block;
margin: 5px 10px 0 5px;
2018-12-04 17:26:57 +00:00
color: map-get($gray-shades, 600);
2018-03-19 15:04:02 +00:00
font-size: 1rem;
2017-11-29 11:09:54 +00:00
font-style: italic;
&:hover {
color: $color-link;
}
}
}
}
}
2018-07-31 13:13:29 -04:00
> .syntax {
margin: 10px 0;
2018-07-31 13:13:29 -04:00
> .example {
margin-top: 10px;
font-weight: 500;
font-size: 1rem;
2018-07-31 13:13:29 -04:00
font-style: italic;
color: map-get($gray-shades, 700);
2018-07-31 13:13:29 -04:00
}
> .explain {
margin: 5px 0 15px 0px;
font-size: 0.9rem;
2018-12-04 17:26:57 +00:00
color: map-get($gray-shades, 600);
2018-07-31 13:13:29 -04:00
}
}
> .result-summary {
font-size: 1.2rem;
font-weight: 600;
color: map-get($gray-shades, 800);
}
2017-11-29 11:09:54 +00:00
}