aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-04-26 20:04:58 -0400
committerMarc Alexander <admin@m-a-styles.de>2017-04-27 09:34:16 -0400
commitabbb782820e1e590c372ebcbbbb7272169bb29ee (patch)
tree5164966e65f801c4a8ff79c972e8a15cabecf997
parent8179e56b028d76c0c9f13c9b064068e546f68a6a (diff)
parentf62419e15815ac7ccc98343c4e79934e9536d838 (diff)
downloadforums-abbb782820e1e590c372ebcbbbb7272169bb29ee.tar
forums-abbb782820e1e590c372ebcbbbb7272169bb29ee.tar.gz
forums-abbb782820e1e590c372ebcbbbb7272169bb29ee.tar.bz2
forums-abbb782820e1e590c372ebcbbbb7272169bb29ee.tar.xz
forums-abbb782820e1e590c372ebcbbbb7272169bb29ee.zip
Merge pull request #4710 from nomind60s/ticket/15086
[ticket/15086] Replace quote.gif with Font Awesome icon
-rw-r--r--phpBB/styles/prosilver/theme/bidi.css6
-rw-r--r--phpBB/styles/prosilver/theme/colours.css5
-rw-r--r--phpBB/styles/prosilver/theme/content.css6
-rw-r--r--phpBB/styles/prosilver/theme/icons.css11
4 files changed, 16 insertions, 12 deletions
diff --git a/phpBB/styles/prosilver/theme/bidi.css b/phpBB/styles/prosilver/theme/bidi.css
index 860c2f6cb4..70cfb83a78 100644
--- a/phpBB/styles/prosilver/theme/bidi.css
+++ b/phpBB/styles/prosilver/theme/bidi.css
@@ -501,7 +501,6 @@ li.breadcrumbs span:first-child > a {
/* Quote block */
.rtl blockquote {
margin: 0.5em 25px 0 1px;
- background-position: 99% 8px;
}
.rtl blockquote blockquote {
@@ -511,10 +510,13 @@ li.breadcrumbs span:first-child > a {
.rtl blockquote cite {
/* Username/source of quoter */
- margin-right: 20px;
margin-left: 0;
}
+.rtl blockquote cite:before, .rtl .uncited:before {
+ padding-left: 5px;
+}
+
.rtl blockquote .codebox {
margin-right: 0;
}
diff --git a/phpBB/styles/prosilver/theme/colours.css b/phpBB/styles/prosilver/theme/colours.css
index 35490c9338..ffaa71034f 100644
--- a/phpBB/styles/prosilver/theme/colours.css
+++ b/phpBB/styles/prosilver/theme/colours.css
@@ -409,14 +409,9 @@ dl.faq dt {
/* Quote block */
blockquote {
background-color: #EBEADD;
- background-image: url("./images/quote.gif");
border-color:#DBDBCE;
}
-.rtl blockquote {
- background-image: url("./images/quote_rtl.gif");
-}
-
blockquote blockquote {
/* Nested quotes */
background-color:#EFEED9;
diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css
index 95168d1d97..7ff6b4d5ef 100644
--- a/phpBB/styles/prosilver/theme/content.css
+++ b/phpBB/styles/prosilver/theme/content.css
@@ -448,7 +448,6 @@ ul.searchresults {
----------------------------------------*/
/* Quote block */
blockquote {
- background: transparent none 6px 8px no-repeat;
border: 1px solid transparent;
font-size: 0.95em;
margin: 1em 1px 1em 25px;
@@ -466,7 +465,6 @@ blockquote cite {
/* Username/source of quoter */
font-style: normal;
font-weight: bold;
- margin-left: 20px;
display: block;
font-size: 0.9em;
}
@@ -475,8 +473,8 @@ blockquote cite cite {
font-size: 1em;
}
-blockquote.uncited {
- padding-top: 25px;
+blockquote cite:before, .uncited:before {
+ padding-right: 5px;
}
blockquote cite > div {
diff --git a/phpBB/styles/prosilver/theme/icons.css b/phpBB/styles/prosilver/theme/icons.css
index 411fecaf3b..6643f12d06 100644
--- a/phpBB/styles/prosilver/theme/icons.css
+++ b/phpBB/styles/prosilver/theme/icons.css
@@ -9,7 +9,7 @@
* Just change the name of the font after the 14/1 to the name of
* the font you wish to use.
*/
-.icon, .button .icon {
+.icon, .button .icon, blockquote cite:before, .uncited:before {
display: inline-block;
font-weight: normal;
font-style: normal;
@@ -85,3 +85,12 @@
line-height: .9;
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 */
+}
+