|
From: <var...@us...> - 2017-10-11 15:15:50
|
Revision: 10051
http://sourceforge.net/p/phpwiki/code/10051
Author: vargenau
Date: 2017-10-11 15:15:48 +0000 (Wed, 11 Oct 2017)
Log Message:
-----------
CSS: optimize background
Modified Paths:
--------------
trunk/themes/Sidebar/sidebar.css
Modified: trunk/themes/Sidebar/sidebar.css
===================================================================
--- trunk/themes/Sidebar/sidebar.css 2017-10-11 15:13:18 UTC (rev 10050)
+++ trunk/themes/Sidebar/sidebar.css 2017-10-11 15:15:48 UTC (rev 10051)
@@ -4,7 +4,7 @@
** License: GPL (http://www.gnu.org/copyleft/gpl.html)
**
** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
-** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
+** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi, Joe Geldart & Tom Croucher,
** Michael Zeltner and Geir Bækholt)
** All you guys rock :)
**
@@ -20,6 +20,8 @@
}
#content {
+ position: relative;
+ z-index: 2;
margin: 61px 0 0 12.2em;
padding: 1em 1em 1.5em 1em;
background-color: white;
@@ -26,8 +28,6 @@
border: 1px solid #aaaaaa;
border-right: none;
line-height: 1.5em;
- position: relative;
- z-index: 2;
}
#column-one {
@@ -126,11 +126,6 @@
font-size: 150%;
}
-h3, h4, h5, h6 {
- border-bottom: none;
- font-weight: bold;
-}
-
h3 {
font-size: 132%;
}
@@ -147,6 +142,11 @@
font-size: 80%;
}
+h3, h4, h5, h6 {
+ border-bottom: none;
+ font-weight: bold;
+}
+
ul {
line-height: 1.5em;
list-style-type: square;
@@ -582,13 +582,13 @@
div.magnify {
float: right;
border-style: none !important;
- background-image: none !important;
+ background: none !important;
}
div.magnify a, div.magnify img {
display: block;
border-style: none !important;
- background-image: none !important;
+ background: none !important;
}
div.tright {
@@ -848,48 +848,36 @@
*/
#bodyContent a.external,
#bodyContent a[href ^="gopher://"] {
- background-image: url("images/url.png");
- background-position: center right;
- background-repeat: no-repeat;
+ background: url("images/url.png") center right no-repeat;
padding-right: 13px;
}
#bodyContent a[href ^="https://"],
.link-https {
- background-image: url("images/lock_icon.png");
- background-position: center right;
- background-repeat: no-repeat;
+ background: url("images/lock_icon.png") center right no-repeat;
padding-right: 16px;
}
#bodyContent a[href ^="mailto:"],
.link-mailto {
- background-image: url("images/mail_icon.png");
- background-position: center right;
- background-repeat: no-repeat;
+ background: url("images/mail_icon.png") center right no-repeat;
padding-right: 18px;
}
#bodyContent a[href ^="news://"] {
- background-image: url("images/news_icon.png");
- background-position: center right;
- background-repeat: no-repeat;
+ background: url("images/news_icon.png") center right no-repeat;
padding-right: 18px;
}
#bodyContent a[href ^="ftp://"],
.link-ftp {
- background-image: url("images/file_icon.png");
- background-position: center right;
- background-repeat: no-repeat;
+ background: url("images/file_icon.png") center right no-repeat;
padding-right: 18px;
}
#bodyContent a[href ^="irc://"],
.link-irc {
- background-image: url("images/discussionitem_icon.png");
- background-position: center right;
- background-repeat: no-repeat;
+ background: url("images/discussionitem_icon.png") center right no-repeat;
padding-right: 18px;
}
@@ -908,7 +896,7 @@
/* this can be used in the content area to switch off
special external link styling */
#bodyContent .plainlinks a {
- background-image: none !important;
+ background: none !important;
padding: 0 !important;
}
@@ -1220,9 +1208,7 @@
li#pt-userpage,
li#pt-anonuserpage,
li#pt-login {
- background-image: url('images/wikiuser.png');
- background-position: top left;
- background-repeat: no-repeat;
+ background: url('images/wikiuser.png') top left no-repeat;
padding-left: 10px;
text-transform: none;
}
@@ -1291,9 +1277,7 @@
/* http://universaleditbutton.org */
#p-cactions li a#btn-edit {
- background-image: url('images/UEB16.png');
- background-position: top left;
- background-repeat: no-repeat;
+ background: url('images/UEB16.png') top left no-repeat;
padding-left: 20px !important;
text-transform: none;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|