Commit 0ade348b authored by Pat Kira's avatar Pat Kira

Minor style fixes part 1 (20150914) - bug 1465107

behatnotneeded: styling only

Change-Id: Ibadcdea5de4fdeceb4a73f7e9dc19d91aeaa9481
parent 41bb8e3a
......@@ -1110,7 +1110,7 @@ EOF;
function (r, d) {
var editlink =
A({'href': 'editcomposite.php?id=' + r.id + '&artefact=' + r.artefact, 'title': {$editstr}, 'class': 'btn btn-default btn-xs'},
SPAN({'class': 'icon icon-pencil'}),
SPAN({'class': 'icon icon-pencil icon-lg'}),
SPAN({'class': 'sr-only'}, {$editstr}));
var dellink =
A({'href': '', 'title': {$delstr}, 'class': 'btn btn-default btn-xs'},
......
{foreach from=$blogs->data item=blog}
<div class="panel panel-default blog panel-half">
<div class="panel {if $blog->locked}panel-warning{else} panel-default{/if} blog panel-half">
<h3 class="panel-heading has-link">
<a class="title-link" href="{$WWWROOT}artefact/blog/view/index.php?id={$blog->id}">
......
......@@ -20,11 +20,11 @@
{str tag=Details section=artefact.file}
</span>
</a>
<span class="metadata"> -
{$file.ctime|format_date:'strftimedaydate'}
[{$file.size|display_size}]
</span>
</h4>
<span class="text-small text-lighttone"> -
{$file.ctime|format_date:'strftimedaydate'}
[{$file.size|display_size}]
</span>
<span class="icon icon-download icon-lg pull-right pts text-watermark icon-action"></span>
{if $file.description}
<div class="description ptm">
......
......@@ -35,7 +35,7 @@
{else}
<span class="icon icon-{$child->artefacttype} icon-lg prm"></span>
{/if}
<h5 class="title list-group-item-heading text-inline">
<h4 class="title list-group-item-heading text-inline">
<a class="inner-link" href="{$WWWROOT}artefact/artefact.php?artefact={$child->id}&amp;view={$viewid}" title="{$child->hovertitle}">
{$child->title}
</a>
......@@ -44,22 +44,22 @@
{$child->date}
</span>
{/if}
{if $child->description}
<p class="filedate metadata ptm">
{$child->description}
</p>
{/if}
</h5>
</h4>
{if $child->artefacttype != 'folder'}
<span class="icon icon-download icon-lg pull-right pts text-watermark icon-action"></span>
{/if}
{if $child->description}
<p class="file-description text-small text-lighttone">
{$child->description}
</p>
{/if}
</li>
{/foreach}
</ul>
</div>
{if $downloadfolderzip}
<a href="{$WWWROOT}artefact/file/downloadfolder.php?folder={$folderid}&view={$viewid}">
<a href="{$WWWROOT}artefact/file/downloadfolder.php?folder={$folderid}&view={$viewid}" class="link-blocktype">
<span class="icon icon-download left"></span>
{str tag=downloadfolderziplink section=artefact.file}
</a>
{/if}
......
......@@ -163,7 +163,7 @@
</table>
</div>
{if !$selectable}
<a id="downloadfolder" class="panel-footer" href="{$WWWROOT}artefact/file/downloadfolder.php?{$folderparams|safe}">
<a id="downloadfolder" class="panel-footer text-small" href="{$WWWROOT}artefact/file/downloadfolder.php?{$folderparams|safe}">
<span class="icon icon-download"></span>
<span>{str tag=downloadfolderziplink section=artefact.file}</span>
</a>
......
......@@ -8,7 +8,7 @@
<th>{str tag=currenttitle section=artefact.internal}</th>
<th>{str tag=containedin section=artefact.internal}</th>
<th class="text-center">
<span class="icon icon-paperclip"></span>
<span class="icon icon-lg icon-paperclip"></span>
<span class="sr-only">
{str tag=Attachments section=artefact.resume}
</span>
......@@ -22,7 +22,7 @@
</thead>
<tbody>
{foreach from=$data item=n}
<tr class="{cycle values='r1,r0'}">
<tr class="{cycle values='r1,r0'} {if $n->locked}warning{/if}">
<td class="note-name">
{if $n->locked}
<h3>
......
......@@ -9,16 +9,16 @@
<div class="pull-right btn-group btn-group-top">
<a href="{$WWWROOT}artefact/plans/edit/index.php?id={$plan->id}" title="{str(tag=editspecific arg1=$plan->title)|escape:html|safe}" class="btn btn-default btn-sm">
<span class="icon icon-pencil"></span>
{str tag=edit}
<span class="icon icon-lg icon-pencil"></span>
<span class="sr-only">{str tag=edit}</span>
</a>
<a href="{$WWWROOT}artefact/plans/plan.php?id={$plan->id}" title="{str tag=managetasks section=artefact.plans}" class="btn btn-default btn-sm">
<span class="icon icon-cog"></span>
{str tag=managetasks section=artefact.plans}
<span class="icon icon-lg icon-cog"></span>
<span class="sr-only">{str tag=managetasks section=artefact.plans}</span>
</a>
<a href="{$WWWROOT}artefact/plans/delete/index.php?id={$plan->id}" title="{str(tag=deletespecific arg1=$plan->title)|escape:html|safe}" class="btn btn-default btn-sm">
<span class="icon icon-trash text-danger icon-lg"></span>
{str tag=delete}
<span class="sr-only">{str tag=delete}</span>
</a>
</div>
</div>
......
{foreach from=$tasks.data item=task}
{if $task->completed == -1}
<tr class="incomplete text-danger">
<tr class="incomplete danger">
<td class="incomplete">
<span class="icon icon-times icon-lg prs"></span>
<span class="icon icon-times icon-lg prs text-danger"></span>
<span class="sr-only">{str tag=overdue section=artefact.plans}</span>
</td>
<td class="plantasktitle">{$task->title}</td>
......@@ -10,14 +10,14 @@
<td class="plantaskdescription">
{$task->description|clean_html|safe}
{if $task->tags}{list_tags owner=$task->owner tags=$task->tags}{/if}
{if $task->tags}<span>{str tag=tags}: </span>{list_tags owner=$task->owner tags=$task->tags}{/if}
</td>
{else}
<tr class="complete {if $task->completed == 1}text-success{/if}">
<tr class="complete">
{if $task->completed == 1}
<td class="completed text-center">
<span class="icon icon-check-square-o icon-lg prs"></span>
<span class="icon icon-check-square-o icon-lg prs text-success"></span>
<span class="sr-only">{str tag=completed section=artefact.plans}</span>
</td>
{else}
......@@ -30,7 +30,7 @@
<td class="plantaskdescription">
{$task->description|clean_html|safe}
{if $task->tags}{list_tags owner=$task->owner tags=$task->tags}{/if}
{if $task->tags}<span>{str tag=tags}: </span>{list_tags owner=$task->owner tags=$task->tags}{/if}
</td>
......
......@@ -104,11 +104,11 @@
{if $item->iconpath}
<img src="{$item->iconpath}" alt="">
{else}
<span class="icon icon-{$item->artefacttype} icon-lg text-default"></span>
<span class="icon icon-{$item->artefacttype} left icon-lg text-default"></span>
{/if}
<span class="title plm text-inline">
<a href="{$item->viewpath}" class="inner-link">
<span class="title text-inline">
<a href="{$item->viewpath}" class="text-small inner-link">
{$item->title}
</a>
<span class="metadata"> -
......
......@@ -99,11 +99,11 @@
{if $item->iconpath}
<img src="{$item->iconpath}" alt="">
{else}
<span class="icon icon-{$item->artefacttype} icon-lg text-default"></span>
<span class="icon icon-{$item->artefacttype} left icon-lg text-default"></span>
{/if}
<span class="title plm text-inline">
<a href="{$item->viewpath}" class="inner-link">
<span class="title text-inline">
<a href="{$item->viewpath}" class="text-small inner-link">
{$item->title}
</a>
<span class="metadata"> -
......
......@@ -53,7 +53,7 @@
<div id="educationhistorylist{$suffix}" class="list-group list-group-lite">
{foreach from=$rows item=row}
<div class="list-group-item">
<h5 class="mt0 list-group-item-heading">
<h4 class="mt0 list-group-item-heading">
{if $row->qualdescription || $row->attachments}
<a href="#education-content-{$row->id}{if $artefactid}-{$artefactid}{/if}" class="text-left collapsed collapsible" aria-expanded="false" data-toggle="collapse">
{$row->qualification}
......@@ -74,7 +74,7 @@
</span>
</span>
{/if}
</h5>
</h4>
<div id="education-content-{$row->id}{if $artefactid}-{$artefactid}{/if}" class="collapse resume-content mtm">
{if $row->qualdescription}
......@@ -99,11 +99,11 @@
{if $item->iconpath}
<img src="{$item->iconpath}" alt="">
{else}
<span class="icon icon-{$item->artefacttype} icon-lg text-default"></span>
<span class="icon icon-{$item->artefacttype} left icon-lg text-default"></span>
{/if}
<span class="title plm text-inline">
<a href="{$item->viewpath}" class="inner-link">
<span class="title text-inline">
<a href="{$item->viewpath}" class="text-small inner-link">
{$item->title}
</a>
<span class="metadata"> -
......
......@@ -57,7 +57,7 @@
<h5 class="mt0 list-group-item-heading">
{if $row->positiondescription || $row->attachments}
<a href="#employment-content-{$row->id}{if $artefactid}-{$artefactid}{/if}" class="text-left collapsed collapsible" aria-expanded="false" data-toggle="collapse">
{$row->jobtitle} <span class="text-muted">{str tag="at"} {$row->employer}</span>
{$row->jobtitle} {str tag="at"} {$row->employer}
<span class="icon pts icon-chevron-down pull-right collapse-indicator"></span>
<br />
<span class="text-small text-muted">
......@@ -98,11 +98,11 @@
{if $item->iconpath}
<img src="{$item->iconpath}" alt="">
{else}
<span class="icon icon-{$item->artefacttype} icon-lg text-default"></span>
<span class="icon icon-{$item->artefacttype} left icon-lg text-default"></span>
{/if}
<span class="title plm text-inline">
<a href="{$item->viewpath}" class="inner-link">
<span class="title text-inline">
<a href="{$item->viewpath}" class="text-small inner-link">
{$item->title}
</a>
<span class="metadata"> -
......
......@@ -102,11 +102,11 @@
{if $item->iconpath}
<img src="{$item->iconpath}" alt="">
{else}
<span class="icon icon-{$item->artefacttype} icon-lg text-default"></span>
<span class="icon icon-{$item->artefacttype} left icon-lg text-default"></span>
{/if}
<span class="title plm text-inline">
<a href="{$item->viewpath}" class="inner-link">
<span class="title text-inline">
<a href="{$item->viewpath}" class="text-small inner-link">
{$item->title}
</a>
<span class="metadata"> -
......
......@@ -28,7 +28,7 @@
{if $i->message}
<p>{$i->message|safe}</p>
{if $i->url}
<a href="{$WWWROOT}{$i->url}">
<a href="{$WWWROOT}{$i->url}" class="text-small">
{if $i->urltext}{$i->urltext}{else}{str tag="more..."}{/if} <span class="icon icon-arrow-right mls icon-sm"></span>
</a>
{/if}
......
......@@ -2,7 +2,7 @@
<div class="{cycle values='r0,r1'} list-group-item">
<h4 class="title list-group-item-heading"><a href="{$view.fullurl}">{$view.title}</a>{if $view.collid} ({str tag=nviews section=view arg1=$view.numpages}){/if}</h4>
{if $view.description}
<div class="detail list-group-item-text">{$view.description|str_shorten_html:100:true|strip_tags|safe}</div>
<div class="detail list-group-item-text text-small text-lighttone">{$view.description|str_shorten_html:100:true|strip_tags|safe}</div>
{/if}
{if $item.tags}
<div class="tags"><span class="lead text-small">{str tag=tags}:</span> {list_tags owner=$view.owner tags=$view.tags}</div>
......
......@@ -5,10 +5,12 @@
{else}
<ul id="watchlistblock" class="viewlist list-group">
{foreach $views as item=view}
<li class="{cycle values='r0,r1'} list-group-item list-group-item-link">
<a href="{$view->fullurl}" class="watchlist-showview">
{$view->title}
</a>
<li class="{cycle values='r0,r1'} list-group-item">
<h4 class="title list-group-item-heading">
<a href="{$view->fullurl}" class="watchlist-showview">
{$view->title}
</a>
</h4>
</li>
{/foreach}
</ul>
......
......@@ -28,6 +28,9 @@
> li > a {
padding: 3px 15px;
}
small {
@extend .text-muted;
}
}
&.list-group-unbordered {
li {
......@@ -67,7 +70,11 @@
}
h4.list-group-item-heading {
font-size: $font-size-base + 2;
font-size: $font-size-base + 1;
}
.list-group-item h5 {
font-size: $font-size-base + 1;
}
.list-group-item-warning {
......
......@@ -63,4 +63,7 @@
img {
vertical-align: top;
}
.file-description {
padding-left: 37px;
}
}
......@@ -25,7 +25,7 @@ td.tiny {
thead {
text-transform: uppercase;
color: $gray;
font-size: $font-size-base + 1;
font-size: $font-size-base - 2;
th {
font-weight: 300;
}
......@@ -63,7 +63,7 @@ td.tiny {
h3 {
font-weight: 300;
font-family: $font-family-serif;
font-size: $font-size-base + 4;
font-size: $font-size-base + 3;
margin: 0;
}
}
......@@ -178,4 +178,4 @@ table.table tr {
// Unset border top on the first row of the table
.table>tbody>tr:first-child>td {
border-top-width: 0;
}
\ No newline at end of file
}
.ui-datepicker{font-size:.7em}.ui-datepicker .ui-datepicker-next-year,.ui-datepicker .ui-datepicker-prev-year{height:1.8em;position:absolute;top:2px;width:1.8em}.ui-datepicker .ui-datepicker-prev-year{left:2px}.ui-datepicker .ui-datepicker-next-year{right:2px}.ui-datepicker .ui-datepicker-next-year span,.ui-datepicker .ui-datepicker-prev-year span{display:block;left:50%;margin-left:-7px;margin-top:-8px;position:absolute;top:50%}.ui-datepicker .ui-datepicker-next-year-hover,.ui-datepicker .ui-datepicker-prev-year-hover{top:1px}.ui-datepicker .ui-datepicker-next-year-hover span,.ui-datepicker .ui-datepicker-prev-year-hover span{margin-left:-8px}.ui-datepicker .ui-datepicker-next-year span{margin-left:-9px}.ui-datepicker .ui-datepicker-next-year-hover span{margin-left:-8px}.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span{margin-left:-7px}.ui-datepicker .ui-datepicker-next-hover span,.ui-datepicker .ui-datepicker-prev-hover span{margin-left:-8px}.ui-datepicker .ui-datepicker-prev{left:23px}.ui-datepicker .ui-datepicker-next{right:23px}.ui-datepicker .ui-datepicker-next span{margin-left:-9px}.ui-datepicker .ui-datepicker-next-hover span{margin-left:-8px}.ui-datepicker button.ui-priority-secondary{opacity:1;font-weight:700}.ui-icon-circle-triangle-wy{background-position:-144px -192px}.ui-icon-circle-triangle-ey{background-position:-112px -192px}.ui-timepicker-div .ui-widget-header{margin-bottom:8px}.ui-timepicker-div dl{text-align:left}.ui-timepicker-div dl dt{float:left;clear:left;padding:0 0 0 5px}.ui-timepicker-div dl dd{margin:0 10px 10px 40%}.ui-timepicker-div td{font-size:90%}.ui-tpicker-grid-label{background:0 0;border:none;margin:0;padding:0}.ui-timepicker-rtl{direction:rtl}.ui-timepicker-rtl dl{text-align:right;padding:0 5px 0 0}.ui-timepicker-rtl dl dt{float:right;clear:right}.ui-timepicker-rtl dl dd{margin:0 40% 10px 10px}
\ No newline at end of file
.ui-datepicker{font-size:.7em}.ui-datepicker .ui-datepicker-next-year,.ui-datepicker .ui-datepicker-prev-year{height:1.8em;position:absolute;top:2px;width:1.8em}.ui-datepicker .ui-datepicker-prev-year{left:2px}.ui-datepicker .ui-datepicker-next-year{right:2px}.ui-datepicker .ui-datepicker-next-year span,.ui-datepicker .ui-datepicker-prev-year span{display:block;left:50%;margin-left:-7px;margin-top:-8px;position:absolute;top:50%}.ui-datepicker .ui-datepicker-next-year-hover,.ui-datepicker .ui-datepicker-prev-year-hover{top:1px}.ui-datepicker .ui-datepicker-next-year-hover span,.ui-datepicker .ui-datepicker-prev-year-hover span{margin-left:-8px}.ui-datepicker .ui-datepicker-next-year span{margin-left:-9px}.ui-datepicker .ui-datepicker-next-year-hover span{margin-left:-8px}.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span{margin-left:-7px}.ui-datepicker .ui-datepicker-next-hover span,.ui-datepicker .ui-datepicker-prev-hover span{margin-left:-8px}.ui-datepicker .ui-datepicker-prev{left:23px}.ui-datepicker .ui-datepicker-next{right:23px}.ui-datepicker .ui-datepicker-next span{margin-left:-9px}.ui-datepicker .ui-datepicker-next-hover span{margin-left:-8px}.ui-datepicker button.ui-priority-secondary{opacity:1;font-weight:700}.ui-icon-circle-triangle-wy{background-position:-9pc -2in}.ui-icon-circle-triangle-ey{background-position:-7pc -2in}.ui-timepicker-div .ui-widget-header{margin-bottom:8px}.ui-timepicker-div dl{text-align:left}.ui-timepicker-div dl dt{float:left;clear:left;padding:0 0 0 5px}.ui-timepicker-div dl dd{margin:0 10px 10px 40%}.ui-timepicker-div td{font-size:90%}.ui-tpicker-grid-label{background:0 0;border:none;margin:0;padding:0}.ui-timepicker-rtl{direction:rtl}.ui-timepicker-rtl dl{text-align:right;padding:0 5px 0 0}.ui-timepicker-rtl dl dt{float:right;clear:right}.ui-timepicker-rtl dl dd{margin:0 40% 10px 10px}
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -106,9 +106,9 @@
<label for="{{$name}}_radio_{{$i}}" class="stacked-label">
<span class="accessible-hidden sr-only">{{$title}}: </span>{{$email}}
</label>
<button class="btn btn-default btn-sm mbm" onclick="{{$name}}_remove(this); return false;">
<span class="icon icon-times icon-lg text-danger"></span>
{{str tag=delete}}
<button class="btn btn-default btn-sm mbm" onclick="{{$name}}_remove(this); return false;" title="{{str tag=delete}}">
<span class="icon icon-trash icon-lg text-danger"></span>
<span class="sr-only">{{str tag=delete}}</span>
</button>
</div>
{{/foreach}}
......@@ -118,9 +118,9 @@
<span class="stacked-label no-radio">
{{$email}}
</span>
<button class="btn btn-default btn-sm mbm" onclick="{{$name}}_remove(this); return false;">
<span class="icon icon-times icon-lg text-danger"></span>
{{str tag=delete}}
<button class="btn btn-default btn-sm mbm" onclick="{{$name}}_remove(this); return false;" title="{{str tag=delete}}">
<span class="icon icon-trash left icon-lg text-danger"></span>
<span class="sr-only">{{str tag=delete}}</span>
</button>
<span class="message">{{str tag=validationemailsent section=artefact.internal}}</span>
</div>
......
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