Merge pull request #4710 from nomind60s/ticket/15086

[ticket/15086] Replace quote.gif with Font Awesome icon
This commit is contained in:
Marc Alexander 2017-04-26 20:04:58 -04:00
commit abbb782820
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
4 changed files with 16 additions and 12 deletions

View file

@ -501,7 +501,6 @@ li.breadcrumbs span:first-child > a {
/* Quote block */ /* Quote block */
.rtl blockquote { .rtl blockquote {
margin: 0.5em 25px 0 1px; margin: 0.5em 25px 0 1px;
background-position: 99% 8px;
} }
.rtl blockquote blockquote { .rtl blockquote blockquote {
@ -511,10 +510,13 @@ li.breadcrumbs span:first-child > a {
.rtl blockquote cite { .rtl blockquote cite {
/* Username/source of quoter */ /* Username/source of quoter */
margin-right: 20px;
margin-left: 0; margin-left: 0;
} }
.rtl blockquote cite:before, .rtl .uncited:before {
padding-left: 5px;
}
.rtl blockquote .codebox { .rtl blockquote .codebox {
margin-right: 0; margin-right: 0;
} }

View file

@ -409,14 +409,9 @@ dl.faq dt {
/* Quote block */ /* Quote block */
blockquote { blockquote {
background-color: #EBEADD; background-color: #EBEADD;
background-image: url("./images/quote.gif");
border-color:#DBDBCE; border-color:#DBDBCE;
} }
.rtl blockquote {
background-image: url("./images/quote_rtl.gif");
}
blockquote blockquote { blockquote blockquote {
/* Nested quotes */ /* Nested quotes */
background-color:#EFEED9; background-color:#EFEED9;

View file

@ -448,7 +448,6 @@ ul.searchresults {
----------------------------------------*/ ----------------------------------------*/
/* Quote block */ /* Quote block */
blockquote { blockquote {
background: transparent none 6px 8px no-repeat;
border: 1px solid transparent; border: 1px solid transparent;
font-size: 0.95em; font-size: 0.95em;
margin: 1em 1px 1em 25px; margin: 1em 1px 1em 25px;
@ -466,7 +465,6 @@ blockquote cite {
/* Username/source of quoter */ /* Username/source of quoter */
font-style: normal; font-style: normal;
font-weight: bold; font-weight: bold;
margin-left: 20px;
display: block; display: block;
font-size: 0.9em; font-size: 0.9em;
} }
@ -475,8 +473,8 @@ blockquote cite cite {
font-size: 1em; font-size: 1em;
} }
blockquote.uncited { blockquote cite:before, .uncited:before {
padding-top: 25px; padding-right: 5px;
} }
blockquote cite > div { blockquote cite > div {

View file

@ -9,7 +9,7 @@
* Just change the name of the font after the 14/1 to the name of * Just change the name of the font after the 14/1 to the name of
* the font you wish to use. * the font you wish to use.
*/ */
.icon, .button .icon { .icon, .button .icon, blockquote cite:before, .uncited:before {
display: inline-block; display: inline-block;
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
@ -85,3 +85,12 @@
line-height: .9; line-height: .9;
height: 12px; height: 12px;
} }
blockquote cite:before, .uncited:before {
content: '\f10d'; /* Font Awesome quote-left */
}
.rtl blockquote cite:before, .rtl .uncited:before {
content: '\f10e'; /* Font Awesome quote-right */
}