Commit 80a17a4b authored by Curtis Adam's avatar Curtis Adam

Adjust the layout of the filter result items

parent d25efa41
<template name="filterIndexItemBottomDeleteTranscript"> <template name="filterIndexItemBottomDeleteTranscript">
{{#unless isCardsetTranscriptBonusRoute}} {{#unless isCardsetTranscriptBonusRoute}}
<a class="resultNavigationElement deleteCard" {{disableIfOffline}} <a class="hidden-xs resultNavigationElement deleteCard" {{disableIfOffline}}
title='{{_ "transcriptForm.index.tooltip.delete"}}' data-toggle="modal" data-target="#deleteTranscriptModal" data-id="{{this._id}}"> title='{{_ "transcriptForm.index.tooltip.delete"}}' data-toggle="modal" data-target="#deleteTranscriptModal" data-id="{{this._id}}">
<i class="result fa fa-trash" data-id="{{this._id}}"></i> <i class="result fa fa-trash" data-id="{{this._id}}"></i>
</a> </a>
......
...@@ -2,17 +2,17 @@ ...@@ -2,17 +2,17 @@
<div class="resultItem col-xs-12"> <div class="resultItem col-xs-12">
{{#unless this.index}} {{#unless this.index}}
{{#if isBonusTranscriptsRoute}} {{#if isBonusTranscriptsRoute}}
{{> filterIndexItemTitleRowTopic (setGridSize "col-xs-4")}} {{> filterIndexItemTitleRowTopic (setGridSize "col-sm-4")}}
{{> filterIndexItemTitleRowAuthor (setGridSize "col-xs-4")}} {{> filterIndexItemTitleRowAuthor (setGridSize "col-sm-4")}}
{{> filterIndexItemTitleRowDateCreated (setGridSize "col-sm-2")}} {{> filterIndexItemTitleRowDateCreated (setGridSize "col-sm-2")}}
{{> filterIndexItemTitleRowDateModified (setGridSize "col-sm-2")}} {{> filterIndexItemTitleRowDateModified (setGridSize "col-sm-2")}}
{{else}} {{else}}
{{> filterIndexItemTitleRowTopic (setGridSize "col-xs-8")}} {{> filterIndexItemTitleRowTopic (setGridSize "col-sm-8")}}
{{> filterIndexItemTitleRowDateCreated (setGridSize "col-sm-2")}} {{> filterIndexItemTitleRowDateCreated (setGridSize "col-sm-2")}}
{{> filterIndexItemTitleRowDateModified (setGridSize "col-sm-2")}} {{> filterIndexItemTitleRowDateModified (setGridSize "col-sm-2")}}
{{/if}} {{/if}}
{{/unless}} {{/unless}}
<div class="resultItemHeaderWrapper"> <div class="resultItemHeaderWrapper col-xs-12">
<div class="resultItemHeaderTopArea row"> <div class="resultItemHeaderTopArea row">
{{#if isBonusTranscriptsRoute}} {{#if isBonusTranscriptsRoute}}
{{> filterIndexItemTopTopic (setGridSize "col-xs-6 col-sm-4")}} {{> filterIndexItemTopTopic (setGridSize "col-xs-6 col-sm-4")}}
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
{{> filterIndexItemTopDateCreated (setGridSize "hidden-xs col-sm-2")}} {{> filterIndexItemTopDateCreated (setGridSize "hidden-xs col-sm-2")}}
{{> filterIndexItemTopDateModified (setGridSize "hidden-xs col-sm-2")}} {{> filterIndexItemTopDateModified (setGridSize "hidden-xs col-sm-2")}}
{{else}} {{else}}
{{> filterIndexItemTopTopic (setGridSize "col-xs-6 col-sm-8")}} {{> filterIndexItemTopTopic (setGridSize "col-xs-12 col-sm-8")}}
{{> filterIndexItemTopDateCreated (setGridSize "hidden-xs col-sm-2")}} {{> filterIndexItemTopDateCreated (setGridSize "hidden-xs col-sm-2")}}
{{> filterIndexItemTopDateModified (setGridSize "hidden-xs col-sm-2")}} {{> filterIndexItemTopDateModified (setGridSize "hidden-xs col-sm-2")}}
{{/if}} {{/if}}
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
{{/if}} {{/if}}
{{/if}} {{/if}}
{{/unless}} {{/unless}}
<div class="resultItemHeaderWrapper"> <div class="resultItemHeaderWrapper col-xs-12">
<div class="resultItemHeaderTopArea row"> <div class="resultItemHeaderTopArea row">
{{#if isWorkloadRoute}} {{#if isWorkloadRoute}}
{{> filterIndexItemTopWorkload (setGridSize "col-xs-3 col-sm-3")}} {{> filterIndexItemTopWorkload (setGridSize "col-xs-3 col-sm-3")}}
...@@ -26,12 +26,12 @@ ...@@ -26,12 +26,12 @@
{{> filterIndexItemTopAuthor (setGridSize "hidden-xs col-sm-4")}} {{> filterIndexItemTopAuthor (setGridSize "hidden-xs col-sm-4")}}
{{else}} {{else}}
{{#if isPersonalRoute}} {{#if isPersonalRoute}}
{{> filterIndexItemTopTopic (setGridSize "col-xs-8 col-sm-8")}} {{> filterIndexItemTopTopic (setGridSize "col-xs-12 col-sm-8")}}
{{> filterIndexItemTopDateCreated (setGridSize "hidden-xs col-sm-2")}} {{> filterIndexItemTopDateCreated (setGridSize "hidden-xs col-sm-2")}}
{{> filterIndexItemTopDateModified (setGridSize "hidden-xs col-sm-2")}} {{> filterIndexItemTopDateModified (setGridSize "hidden-xs col-sm-2")}}
{{else}} {{else}}
{{> filterIndexItemTopTopic (setGridSize "col-xs-8 col-sm-4")}} {{> filterIndexItemTopTopic (setGridSize "col-xs-6 col-sm-4")}}
{{> filterIndexItemTopAuthor (setGridSize "col-xs-4 col-sm-4")}} {{> filterIndexItemTopAuthor (setGridSize "col-xs-6 col-sm-4")}}
{{> filterIndexItemTopDateCreated (setGridSize "hidden-xs col-sm-2")}} {{> filterIndexItemTopDateCreated (setGridSize "hidden-xs col-sm-2")}}
{{> filterIndexItemTopDateModified (setGridSize "hidden-xs col-sm-2")}} {{> filterIndexItemTopDateModified (setGridSize "hidden-xs col-sm-2")}}
{{/if}} {{/if}}
......
...@@ -13,8 +13,11 @@ ...@@ -13,8 +13,11 @@
padding-bottom: 5px; padding-bottom: 5px;
} }
.resultItemHeaderTopArea a {
padding: 0;
}
.resultItemHeaderBottomArea { .resultItemHeaderBottomArea {
padding: 0 15px;
.resultItemHeaderBottomAreaButtons, .resultItemHeaderBottomAreaLabels { .resultItemHeaderBottomAreaButtons, .resultItemHeaderBottomAreaLabels {
padding-top: 5px; padding-top: 5px;
padding-bottom: 5px; padding-bottom: 5px;
...@@ -43,9 +46,14 @@ ...@@ -43,9 +46,14 @@
padding: 15px; padding: 15px;
} }
.resultNavigationElement { .resultItemHeaderBottomAreaButtons {
margin-left: 10px; .resultNavigationElement {
cursor: pointer; margin-left: 10px;
cursor: pointer;
}
.resultNavigationElement:first-child {
margin-left: 0;
}
} }
.resultName, .authorProfile { .resultName, .authorProfile {
...@@ -61,10 +69,6 @@ ...@@ -61,10 +69,6 @@
} }
} }
.authorProfile {
padding-right: 0;
}
.resultBadge { .resultBadge {
position: absolute; position: absolute;
float: right; float: right;
...@@ -103,7 +107,9 @@ ...@@ -103,7 +107,9 @@
.collapseCardsetInfoIcon { .collapseCardsetInfoIcon {
cursor: pointer; cursor: pointer;
@media(max-width: 767px) {
padding-bottom: 3px;
}
} }
.resultItemHeaderWrapper { .resultItemHeaderWrapper {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment