refined messageboxes, didn't remove images - this will be fixed sooner

or later


git-svn-id: http://yolanda.mister-muffin.de/svn@308 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2008-04-17 14:45:36 +00:00
parent f1f175b753
commit 30a1e57a9d
4 changed files with 8 additions and 12 deletions

View file

@ -82,7 +82,7 @@
<string id="information_metainformation_rights"></string>
<string id="information_comment_created">Your comment has been submitted.</string>
<string id="information_registered">Your account has been created.</string>
<string id="information_uploaded">Your file has been uploaded.</string>
<string id="information_uploaded">Your file has been uploaded. It will be available at </string>
<string id="information_settings_changed">Your successfully changed your settings.</string>
<string id="information_video_not_yet_available">The video being requested is not yet available. The overall sum of video queued is:</string>

View file

@ -80,29 +80,24 @@ div.loginbox
div.messagebox
{
background-repeat: no-repeat;
background-position: 33% center;
}
div.messagebox#error
{
/* "Scarlet Red 1" + 30 luminosity */
background-color: #f46060;
background-image: url(../../images/tango/32x32/status/dialog-error.png);
}
div.messagebox#information
{
/* "Chameleon 1" + 30 luminosity */
background-color: #a9ec68;
background-image: url(../../images/tango/32x32/status/dialog-information.png);
}
div.messagebox#warning
{
/* "Orange 1" */
background-color: #fcaf3e;
background-image: url(../../images/tango/32x32/status/dialog-warning.png);
}
div.page-number

View file

@ -122,12 +122,7 @@ div
font-weight: bold;
line-height: 1.5em;
margin-bottom: 1em;
/* correct spacing to avoid overlapping with background icon */
margin-left: 33%;
margin-top: 1em;
/* the width of the icon */
padding-left: 32px;
text-align: justify;
}
div.metadata

View file

@ -21,7 +21,13 @@
<xsl:choose>
<xsl:when test="/page/message/@value">
<xsl:when test="starts-with(/page/message/@value,'http')">
<a>
<xsl:attribute name="href">
<xsl:value-of select="/page/message/@value" />
</xsl:attribute>
<xsl:value-of select="/page/message/@value" />
</a>
</xsl:when>
<xsl:otherwise>