Commit c0cc88de authored by Evonne's avatar Evonne Committed by Robert Lyon

Bug 1845104 Various theme fixes part 4

Fixing plans blocktype markup, inbox blocktype redundant classes,
alignment of add blocks button, modal thumbnail not floating right,
resume attachment inconsistencies (to be continued)

behatnotneeded

Change-Id: Ic7c0cc5498dbd3f95f140581cc71b175e944a0d9
parent b084c205
......@@ -90,7 +90,7 @@
{/if}
{if $row->attachments}
<h5 class="has-attachment list-group-item-heading">
<h5 class="list-group-item-heading attachment-title">
<span class="icon icon-paperclip left" role="presentation" aria-hidden="true"></span>
<span class="text-small">{str tag='attachedfiles' section='artefact.blog'}</span>
({$row->clipcount})
......
......@@ -85,7 +85,7 @@
{/if}
{if $row->attachments}
<h5 class="has-attachment list-group-item-heading">
<h5 class="list-group-item-heading attachment-title">
<span class="icon icon-paperclip left" role="presentation" aria-hidden="true"></span>
<span class="text-small">{str tag='attachedfiles' section='artefact.blog'}</span>
({$row->clipcount})
......
......@@ -90,7 +90,7 @@
{/if}
{if $row->attachments}
<div class="has-attachment list-group-item-heading">
<div class="list-group-item-heading attachment-title">
<span class="icon icon-paperclip left" role="presentation" aria-hidden="true"></span>
<span class="text-small">{str tag='attachedfiles' section='artefact.blog'}</span>
({$row->clipcount})
......
......@@ -89,7 +89,7 @@
{/if}
{if $row->attachments}
<div class="has-attachment list-group-item-heading">
<div class="list-group-item-heading attachment-title">
<span class="icon icon-paperclip left" role="presentation" aria-hidden="true"></span>
<span class="text-small">{str tag='attachedfiles' section='artefact.blog'}</span>
({$row->clipcount})
......
......@@ -88,7 +88,7 @@
{/if}
{if $row->attachments}
<h5 class="has-attachment list-group-item-heading">
<h5 class="list-group-item-heading attachment-title">
<span class="icon icon-paperclip left" role="presentation" aria-hidden="true"></span>
<span class="text-small">{str tag='attachedfiles' section='artefact.blog'}</span>
({$row->clipcount})
......
......@@ -5,7 +5,7 @@
{else}
<div id="inboxblock" class="inboxblock list-group">
{foreach from=$items item=i}
<div class="has-attachment card collapsible list-group-item{if !$i->read} js-card-unread{/if}" data-requesturl="{$WWWROOT}module/multirecipientnotification/indexin.json.php">
<div class="collapsible list-group-item{if !$i->read} js-card-unread{/if}" data-requesturl="{$WWWROOT}module/multirecipientnotification/indexin.json.php">
{if $i->message}
<a class="collapsed link-block{if !$i->read} unread{/if}" data-toggle="collapse" href="#message_content_{$i->type}_{$i->id}" data-id="{$i->id}" data-list="{$i->table}" aria-expanded="false">
{if $i->type == 'usermessage'}
......
......@@ -21,30 +21,32 @@
margin: 20px 0;
}
// Plans
.task-item {
.complete-task,
.overdue-task {
margin-left: 15px;
.icon {
margin-left: -22px; // correct alignment
padding-right: 2px;
}
// Plan
.card.card-secondary .list-group .task-item {
&:first-child {
border-top: 1px solid $list-group-border-color;
}
a[data-toggle="collapse"] .collapse-indicator,
a[data-toggle="collapse"].collapsed .collapse-indicator {
margin-right: 90px;
margin-top: 17px;
}
.plan-task-icon {
vertical-align: top;
padding-top: 4px;
}
.plan-task-heading {
max-width: 60%;
display: inline-block;
}
.card-body {
padding-bottom: 0;
.plan-task-detail {
margin-left: 22px;
margin-top: 10px;
.tags {
margin-bottom: 0;
}
}
}
.task-item .btn-group {
margin-right: -8px; // correct alignment
a {
font-size: 10px;
padding: 2px 8px;
}
}
.no-results {
@extend .lead;
......
......@@ -298,6 +298,11 @@ td.action-list-copy {
margin-left: 5px;
}
}
.hide-title-collapsed {
.title {
margin-left: 2px;
}
}
.block-icon {
display: inline-block;
@include media-breakpoint-up(lg) {
......
......@@ -427,3 +427,12 @@
}
}
}
// filelist in modal
.modal-body {
.list-group-item {
.list-group-item-heading {
float: none;
}
}
}
......@@ -222,3 +222,7 @@
}
}
}
.post .has-attachment {
margin-bottom: 10px;
}
......@@ -87,14 +87,26 @@
padding: 0;
}
&.bt-resumefield {
.resume-content {
border: 1px solid $card-border-color;
padding: 10px 15px;
&.bt-resumefield,
&.bt-entireresume {
.resume-content {
padding: 8px 0;
.list-group-item-heading {
font-size: .75001rem;
.attachment-title {
font-family: $font-family-sans-serif;
font-weight: 700;
font-size: $font-size-sm;
.icon {
font-size: 1rem;
}
}
.file-icon {
vertical-align: top;
}
.title {
max-width: 80%;
display: inline-block;
}
}
}
}
}
......@@ -3,7 +3,7 @@
<div class='btn-group-vertical'>
{/if}
{foreach from=$blocktypes item=blocktype}{strip}
<a class="{if !$accessible} not-accessible{/if} blocktype-drag blocktypelink btn btn-primary hide-title-collapsed text-left" href="#" title="{$blocktype.title}">
<a class="{if !$accessible} not-accessible{/if} blocktype-drag blocktypelink btn btn-primary hide-title-collapsed" href="#" title="{$blocktype.title}">
<input type="radio" id="blocktype-list-radio-{$blocktype.name}" class="blocktype-radio" name="blocktype" value="{$blocktype.name}">
<span class="icon icon-{$blocktype.cssicon} {$blocktype.cssicontype} icon-lg" title="{$blocktype.title}" role="presentation" aria-hidden="true"></span>
<label for="blocktype-list-radio-{$blocktype.name}" class="blocktypetitle title">
......
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