.mkws-summary:last-child {
border: none;
}
-.result-data {
+.mkws-field-data {
min-height: 120px;
display: flex;
flex-direction: column;
}
/* Result fields */
-.result-data > * {
+.mkws-field-data > * {
flex 1;
}
-.result-date {
+.mkws-field-date {
order: 1;
font-size: 14px;
color: rgba(0, 0, 0, 0.3);
}
-.result-title {
+.mkws-field-title {
order: 2;
font-family: "Open Sans Light", sans-serif;
font-size: 24px;
letter-spacing: -0.02em;
margin-bottom: 4px;
}
-.result-title-remainder {
+.mkws-field-title-remainder {
order: 3;
font-family: "Open Sans Light", sans-serif;
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
}
-.result-description {
+.mkws-field-description {
order: 4;
font-family: "Open Sans Light", sans-serif;
font-size: 18px;
max-height: 44px;
overflow: hidden;
}
-.result-author {
+.mkws-field-author {
order: 5;
font-weight: bold;
font-size: 12px;
letter-spacing: 0.1em;
text-transform: uppercase;
}
-.result-thumb {
+.mkws-field-thumb {
float: left;
margin-right: 25px;
}
-.result-thumb > img {
+.mkws-field-thumb > img {
width: 140px;
height: 120px;
object-fit: contain;
min-height: 60px;
padding: 20px 10px;
}
- .result-data {
+ .mkws-field-data {
min-height: 60px;
}
- .result-date {
+ .mkws-field-date {
font-size: 12px;
}
- .result-title {
+ .mkws-field-title {
font-size: 18px;
}
- .result-description {
+ .mkws-field-description {
font-size: 14px;
max-height: 34px;
}
- .result-author {
+ .mkws-field-author {
font-size: 11px;
}
- .result-thumb {
+ .mkws-field-thumb {
order: -1;
margin-right: 10px;
}
- .result-thumb > img {
+ .mkws-field-thumb > img {
width: 70px;
height: 60px;
object-fit: contain;
md-* - metadata fields passed through from backend
}}
{{#if md-thumburl}}
- <a class="result-thumb" href="#" onclick="{{detailClick}}">
+ <a class="mkws-field-thumb" href="#" onclick="{{detailClick}}">
<img src="{{md-thumburl}}"/>
</a>
{{/if}}
-<div class="result-data">
- <span class="result-title">
+<div class="mkws-field-data">
+ <span class="mkws-field-title">
<a href="#" id="{{detailLinkId}}" onclick="{{detailClick}}">
{{md-title}}
</a>
</span>
{{#if md-title-remainder}}
- <span class="result-title-remainder">{{md-title-remainder}}</span>
+ <span class="mkws-field-title-remainder">{{md-title-remainder}}</span>
{{/if}}
{{#if md-author}}
- <span class="result-author">{{md-author}}</span>
+ <span class="mkws-field-author">{{md-author}}</span>
{{else}}
{{#if md-title-responsibility}}
- <span class="result-author">{{md-title-responsibility}}</span>
+ <span class="mkws-field-author">{{md-title-responsibility}}</span>
{{/if}}
{{/if}}
{{#if md-description}}
- <div class="result-description">{{md-description}}</div>
+ <div class="mkws-field-description">{{md-description}}</div>
{{/if}}
{{#if md-date}}
- <span class="result-date">{{md-date}}</span>
+ <span class="mkws-field-date">{{md-date}}</span>
{{/if}}
</div>
{{#if renderedDetails}}