From 6996dee8567b32144c10aea5bf8db7feb07c2ce6 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Thu, 21 Mar 2013 06:56:21 -0400 Subject: [PATCH] Add switch for text/html alternative part view (#1486939) --- skins/larry/styles.css | 66 ++++++++++++++++++++++++++++++++- 1 files changed, 64 insertions(+), 2 deletions(-) diff --git a/skins/larry/styles.css b/skins/larry/styles.css index 1e3e6f7..ddfe8ef 100644 --- a/skins/larry/styles.css +++ b/skins/larry/styles.css @@ -177,7 +177,8 @@ /** link buttons **/ -a.button { +a.button, +.buttongroup { display: inline-block; margin: 0 2px; padding: 2px 5px; @@ -196,6 +197,11 @@ -webkit-box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); -moz-box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); text-decoration: none; +} + +.buttongroup { + padding: 0; + white-space: nowrap; } a.button:focus, @@ -229,6 +235,29 @@ a.button.disabled span.inner { opacity: 0.4; filter: alpha(opacity=40); +} + +.buttongroup a.button { + margin: 0; + border-width: 0 1px 0 0; + border-radius: 0; + background: none; + box-shadow: none; + -o-box-shadow: none; + -webkit-box-shadow: none; + -moz-box-shadow: none; +} + +.buttongroup a.button.first, +.buttongroup a.button:first-child { + border-radius: 4px 0 0 4px; + border-left: 0; +} + +.buttongroup a.button.last, +.buttongroup a.button:last-child { + border-radius: 0 4px 4px 0; + border-right: 0; } a.button.pressed, @@ -266,11 +295,30 @@ background: linear-gradient(top, #bababa 0%, #d8d8d8 100%); } +.buttongroup a.button.selected { + 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)); + background: -o-linear-gradient(top, #909090 0%, #858585 100%); + background: -ms-linear-gradient(top, #909090 0%, #858585 100%); + background: linear-gradient(top, #909090 0%, #858585 100%); + -webkit-box-shadow: inset 0 1px 2px 0 #555; + -moz-box-shadow: inset 0 1px 2px 0 #555; + box-shadow: inset 0 1px 2px 0 #555; + border-right-color: #555; + border-left-color: #555; +} + .pagenav a.button { padding: 1px 3px; height: 16px; vertical-align: middle; margin-bottom: 1px; +} + +.pagenav .buttongroup a.button { + padding: 1px 5px; + margin-bottom: 0; } .pagenav a.button span.inner { @@ -316,6 +364,20 @@ .pagenav a.extwin span.inner { background-position: -29px -271px; +} + +.pagenav a.changeformat.html span.inner { + background-position: -7px -1859px; +} +.pagenav a.changeformat.html.selected span.inner { + background-position: -29px -1859px; +} + +.pagenav a.changeformat.text span.inner { + background-position: -7px -1874px; +} +.pagenav a.changeformat.text.selected span.inner { + background-position: -29px -1874px; } .pagenav .countdisplay { @@ -2230,7 +2292,7 @@ .attachmentslist li a.drop { background: url(images/buttons.png) no-repeat scroll center -1570px; width: 14px; - height: 26px; + height: 20px; cursor: pointer; position: absolute; right: 0; -- Gitblit v1.9.1