PluginProbe
ElasticPress / 4.5.2
ElasticPress v4.5.2
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
elasticpress / assets / css / instant-results / result.css

result.css in ElasticPress 4.5.2, at assets/css/instant-results/result.css

91 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .ep-search-result {
2 align-items: flex-start;
3 display: grid;
4 grid-gap: 0.5em;
5 grid-template-areas:
6 "header"
7 "footer";
8 grid-template-rows: auto 1fr;
9
10 @media ( min-width: 768px ) {
11 grid-gap: 1em;
12 grid-template-areas:
13 "header"
14 "description"
15 "footer";
16 grid-template-rows: auto auto 1fr;
17 }
18 }
19
20 .ep-search-result--has-thumbnail {
21 grid-template-areas:
22 "thumbnail header"
23 "thumbnail footer";
24 grid-template-columns: min(300px, 34%) auto;
25
26 @media ( min-width: 768px ) {
27 grid-template-areas:
28 "thumbnail header"
29 "thumbnail description"
30 "thumbnail footer";
31 }
32 }
33
34 .ep-search-result__thumbnail {
35 display: block;
36 grid-area: thumbnail;
37
38 & img {
39 display: block;
40 height: auto;
41 margin: 0;
42 width: 100%;
43 }
44 }
45
46 .ep-search-result__header {
47 display: grid;
48 grid-area: header;
49 grid-gap: 0.5em;
50 grid-template-columns: auto;
51 justify-items: start;
52 }
53
54 .ep-search-result__title {
55 font-size: 1em;
56 margin: 0;
57
58 @media ( min-width: 768px ) {
59 font-size: 1.25em;
60 }
61 }
62
63 .ep-search-result__type {
64 background-color: var(--ep-search-alternate-background-color);
65 border-radius: 0.25em;
66 display: inline-block;
67 font-size: 0.875em;
68 line-height: 1.5;
69 padding: 0 0.25em;
70 vertical-align: text-bottom;
71 }
72
73 .ep-search-result__description {
74 display: none;
75 font-size: 0.875em;
76 grid-area: description;
77 margin: 0;
78
79 @media ( min-width: 768px ) {
80 display: block;
81 font-size: 1em;
82 }
83 }
84
85 .ep-search-result__footer {
86 display: grid;
87 grid-area: footer;
88 grid-gap: 0.5em;
89 justify-items: start;
90 }
91