Font-awesomed InfoBox

This commit is contained in:
Mark McDowall 2012-10-11 19:18:23 -07:00
parent c1940ee2e7
commit e459c0ff37
8 changed files with 17 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1,36 +1,34 @@
/*Pinned messages*/
.infoBox, .successBox, .warningBox, .errorBox, .validationBox
{
.infoBox, .successBox, .warningBox, .errorBox, .validationBox {
border: 0px solid;
margin: 10px 0px;
padding: 10px 10px 10px 50px;
padding: 10px 10px 10px 10px;
background-repeat: no-repeat;
background-position: 10px center;
line-height: 20px;
}
.infoBox
{
.infoBox {
color: #00529B;
background-color: #f4f7f9;
background-image: url(images/blue.png);
}
.successBox
{
.successBox {
color: #4F8A10;
background-color: #DFF2BF;
background-image: url(images/green.png);
}
.warningBox
{
.warningBox {
color: #9F6000;
background-color: #FEEFB3;
background-image: url(images/yellow.png);
}
.errorBox
{
.errorBox {
color: #D8000C;
background-color: #FFBABA;
background-image: url(images/red.png);
}
.infoBox i, .successBox i, .warningBox i, .errorBox i, .validationBox i {
font-size: 2.33em;
vertical-align: text-bottom;
padding-right: 8px;
}
/*Progress Notification*/

View File

@ -166,8 +166,6 @@
<Content Include="Content\DataTables-1.9.0\media\images\sort_desc.png" />
<Content Include="Content\DataTables-1.9.0\media\images\sort_desc_disabled.png" />
<Content Include="Content\Images\background.jpg" />
<Content Include="Content\Images\blue.png" />
<Content Include="Content\Images\green.png" />
<Content Include="Content\Images\Indexers\FileSharingTalk.png" />
<Content Include="Content\Images\Indexers\Newznab.png" />
<Content Include="Content\Images\Indexers\Newznab_dognzb.cr.png" />
@ -178,9 +176,7 @@
<Content Include="Content\Images\Indexers\WomblesIndex.png" />
<Content Include="Content\Images\logo.png" />
<Content Include="Content\Images\logo_small.png" />
<Content Include="Content\Images\red.png" />
<Content Include="Content\Images\thetvdb.png" />
<Content Include="Content\Images\yellow.png" />
<Content Include="Content\IndexerSettings.css" />
<Content Include="Content\jQueryUI\images\ui-bg_diagonals-thick_30_a32d00_40x40.png" />
<Content Include="Content\jQueryUI\images\ui-bg_flat_0_aaaaaa_40x100.png" />
@ -270,7 +266,6 @@
<Content Include="Content\QualitySettings.css" />
<Content Include="Content\Overrides.css" />
<Content Include="Content\Images\ajax-loader.gif" />
<Content Include="Content\Images\arrow.png" />
<Content Include="Content\Images\Indexers\Newzbin.png" />
<Content Include="Content\Images\Indexers\NzbMatrix.png" />
<Content Include="Content\Images\Indexers\NzbsRus.png" />

View File

@ -81,4 +81,8 @@
$(this).addClass('icon-sign-blank');
}
});
$('.infoBox, .successBox, .warningBox, .errorBox, .validationBox').livequery(function () {
$(this).prepend('<i class="icon-certificate"></i>');
});
});