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

Adjust the layout of the filter result items

parent d25efa41
<template name="filterIndexItemBottomDeleteTranscript">
{{#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}}">
<i class="result fa fa-trash" data-id="{{this._id}}"></i>
</a>
......
......@@ -2,17 +2,17 @@
<div class="resultItem col-xs-12">
{{#unless this.index}}
{{#if isBonusTranscriptsRoute}}
{{> filterIndexItemTitleRowTopic (setGridSize "col-xs-4")}}
{{> filterIndexItemTitleRowAuthor (setGridSize "col-xs-4")}}
{{> filterIndexItemTitleRowTopic (setGridSize "col-sm-4")}}
{{> filterIndexItemTitleRowAuthor (setGridSize "col-sm-4")}}
{{> filterIndexItemTitleRowDateCreated (setGridSize "col-sm-2")}}
{{> filterIndexItemTitleRowDateModified (setGridSize "col-sm-2")}}
{{else}}
{{> filterIndexItemTitleRowTopic (setGridSize "col-xs-8")}}
{{> filterIndexItemTitleRowTopic (setGridSize "col-sm-8")}}
{{> filterIndexItemTitleRowDateCreated (setGridSize "col-sm-2")}}
{{> filterIndexItemTitleRowDateModified (setGridSize "col-sm-2")}}
{{/if}}
{{/unless}}
<div class="resultItemHeaderWrapper">
<div class="resultItemHeaderWrapper col-xs-12">
<div class="resultItemHeaderTopArea row">
{{#if isBonusTranscriptsRoute}}
{{> filterIndexItemTopTopic (setGridSize "col-xs-6 col-sm-4")}}
......@@ -20,7 +20,7 @@
{{> filterIndexItemTopDateCreated (setGridSize "hidden-xs col-sm-2")}}
{{> filterIndexItemTopDateModified (setGridSize "hidden-xs col-sm-2")}}
{{else}}
{{> filterIndexItemTopTopic (setGridSize "col-xs-6 col-sm-8")}}
{{> filterIndexItemTopTopic (setGridSize "col-xs-12 col-sm-8")}}
{{> filterIndexItemTopDateCreated (setGridSize "hidden-xs col-sm-2")}}
{{> filterIndexItemTopDateModified (setGridSize "hidden-xs col-sm-2")}}
{{/if}}
......
......@@ -18,7 +18,7 @@
{{/if}}
{{/if}}
{{/unless}}
<div class="resultItemHeaderWrapper">
<div class="resultItemHeaderWrapper col-xs-12">
<div class="resultItemHeaderTopArea row">
{{#if isWorkloadRoute}}
{{> filterIndexItemTopWorkload (setGridSize "col-xs-3 col-sm-3")}}
......@@ -26,12 +26,12 @@
{{> filterIndexItemTopAuthor (setGridSize "hidden-xs col-sm-4")}}
{{else}}
{{#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")}}
{{> filterIndexItemTopDateModified (setGridSize "hidden-xs col-sm-2")}}
{{else}}
{{> filterIndexItemTopTopic (setGridSize "col-xs-8 col-sm-4")}}
{{> filterIndexItemTopAuthor (setGridSize "col-xs-4 col-sm-4")}}
{{> filterIndexItemTopTopic (setGridSize "col-xs-6 col-sm-4")}}
{{> filterIndexItemTopAuthor (setGridSize "col-xs-6 col-sm-4")}}
{{> filterIndexItemTopDateCreated (setGridSize "hidden-xs col-sm-2")}}
{{> filterIndexItemTopDateModified (setGridSize "hidden-xs col-sm-2")}}
{{/if}}
......
......@@ -13,8 +13,11 @@
padding-bottom: 5px;
}
.resultItemHeaderTopArea a {
padding: 0;
}
.resultItemHeaderBottomArea {
padding: 0 15px;
.resultItemHeaderBottomAreaButtons, .resultItemHeaderBottomAreaLabels {
padding-top: 5px;
padding-bottom: 5px;
......@@ -43,9 +46,14 @@
padding: 15px;
}
.resultNavigationElement {
margin-left: 10px;
cursor: pointer;
.resultItemHeaderBottomAreaButtons {
.resultNavigationElement {
margin-left: 10px;
cursor: pointer;
}
.resultNavigationElement:first-child {
margin-left: 0;
}
}
.resultName, .authorProfile {
......@@ -61,10 +69,6 @@
}
}
.authorProfile {
padding-right: 0;
}
.resultBadge {
position: absolute;
float: right;
......@@ -103,7 +107,9 @@
.collapseCardsetInfoIcon {
cursor: pointer;
@media(max-width: 767px) {
padding-bottom: 3px;
}
}
.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