summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-03-21 13:43:49 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-03-21 13:43:49 +0100
commit90e41a7cc08d7171ba4a2c1acf1f0560ee2503a6 (patch)
treed91c3c733f9abd91600eb1f24a65c6f98eab88ef /skins
parent52448c63a1315ad9427df3c5b10966106a044e4a (diff)
Small improvements to text/html switch
Diffstat (limited to 'skins')
-rw-r--r--skins/larry/styles.css8
-rw-r--r--skins/larry/templates/messagepreview.html4
2 files changed, 7 insertions, 5 deletions
diff --git a/skins/larry/styles.css b/skins/larry/styles.css
index ddfe8ef5e..8870d9fd3 100644
--- a/skins/larry/styles.css
+++ b/skins/larry/styles.css
@@ -295,7 +295,8 @@ input.button:active {
background: linear-gradient(top, #bababa 0%, #d8d8d8 100%);
}
-.buttongroup a.button.selected {
+.buttongroup a.button.selected,
+.buttongroup a.button.selected:hover {
background: #8a8a8a;
background: -moz-linear-gradient(top, #909090 0%, #858585 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#909090), color-stop(100%,#858585));
@@ -316,7 +317,8 @@ input.button:active {
margin-bottom: 1px;
}
-.pagenav .buttongroup a.button {
+.pagenav .buttongroup a.button,
+.pagenav .buttongroup a.button:hover {
padding: 1px 5px;
margin-bottom: 0;
}
@@ -366,7 +368,7 @@ input.button:active {
background-position: -29px -271px;
}
-.pagenav a.changeformat.html span.inner {
+.pagenav a.changeformat.text span.inner {
background-position: -7px -1859px;
}
.pagenav a.changeformat.html.selected span.inner {
diff --git a/skins/larry/templates/messagepreview.html b/skins/larry/templates/messagepreview.html
index 12a9f2dbd..b2af03485 100644
--- a/skins/larry/templates/messagepreview.html
+++ b/skins/larry/templates/messagepreview.html
@@ -32,12 +32,12 @@
<div id="countcontrols" class="pagenav">
<roundcube:if condition="env:optional_format=='text'" />
<span class="buttongroup">
- <roundcube:button command="change-format" prop="html" type="link" class="button first changeformat html selected" innerClass="inner" title="changeformathtml" /><roundcube:button command="change-format" prop="text" type="link" class="button last changeformat text" classSel="button changeformat text pressed" innerClass="inner" title="changeformattext" />
+ <roundcube:button command="change-format" prop="html" type="link" class="button first changeformat html selected" innerClass="inner" title="changeformathtml" content="HTML" /><roundcube:button command="change-format" prop="text" type="link" class="button last changeformat text" classSel="button changeformat text pressed" innerClass="inner" title="changeformattext" content="Text" />
</span>
&nbsp;
<roundcube:elseif condition="env:optional_format=='html'" />
<span class="buttongroup">
- <roundcube:button command="change-format" prop="html" type="link" class="button first changeformat html" classSel="button changeformat html pressed" innerClass="inner" title="changeformathtml" /><roundcube:button command="change-format" prop="text" type="link" class="button last changeformat text selected" innerClass="inner" title="changeformattext" />
+ <roundcube:button command="change-format" prop="html" type="link" class="button first changeformat html" classSel="button changeformat html pressed" innerClass="inner" title="changeformathtml" content="HTML" /><roundcube:button command="change-format" prop="text" type="link" class="button last changeformat text selected" innerClass="inner" title="changeformattext" content="Text" />
</span>
&nbsp;
<roundcube:endif />