1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Smaller headers on settings cards

This commit is contained in:
Mark McDowall 2013-06-26 16:48:48 -07:00
parent 195f9d9d27
commit 281790ff0a
4 changed files with 28 additions and 8 deletions

View File

@ -1,5 +1,12 @@
<div class="indexer-settings-item"> <div class="indexer-settings-item">
<h2>{{name}}</h2> <div>
<h3>{{name}}</h3>
{{#if isNewznab}}
<span class="btn-group pull-right">
<button class="btn btn-mini x-delete"><i class="icon-nd-delete"/></button>
</span>
{{/if}}
</div>
<div class="control-group"> <div class="control-group">
<label class="control-label">Enable</label> <label class="control-label">Enable</label>

View File

@ -15,7 +15,16 @@
height: 260px; height: 260px;
padding: 10px 15px; padding: 10px 15px;
h2 { h3 {
margin-top: 0px; margin-top: 0px;
display: inline-block;
width: 190px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.btn-group {
margin-top: 8px;
} }
} }

View File

@ -1,9 +1,9 @@
<div class="quality-profile-item"> <div class="quality-profile-item">
<div> <div>
<h2 name="name"></h2> <h3 name="name"></h3>
<span class="btn-group pull-right"> <span class="btn-group pull-right">
<button class="btn btn-mini x-edit">Edit</button> <button class="btn btn-mini x-edit"><i class="icon-nd-edit"/></button>
<button class="btn btn-mini btn-danger x-delete">Delete</button> <button class="btn btn-mini x-delete"><i class="icon-nd-delete"/></button>
</span> </span>
</div> </div>

View File

@ -15,13 +15,17 @@
height: 120px; height: 120px;
padding: 10px 15px; padding: 10px 15px;
h2 { h3 {
margin-top: 0px; margin-top: 0px;
display: inline-block; display: inline-block;
width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
.btn-group { .btn-group {
margin-top: 10px; margin-top: 8px;
} }
} }
@ -33,7 +37,7 @@
height: 200px; height: 200px;
padding: 10px 15px; padding: 10px 15px;
h2 { h3 {
margin-top: 0px; margin-top: 0px;
text-align: center; text-align: center;
} }