From 15bc8034f572f8cb57e26d4645ffabfaec414f88 Mon Sep 17 00:00:00 2001 From: thomasb Date: Sat, 17 Dec 2011 15:32:14 +0000 Subject: Adapt Larry button styles git-svn-id: https://svn.roundcube.net/trunk@5626 208e9e7b-5314-0410-a742-e7e81cd9613c --- .../themes/larry/jquery-ui-1.8.14.custom.css | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'plugins/jqueryui') diff --git a/plugins/jqueryui/themes/larry/jquery-ui-1.8.14.custom.css b/plugins/jqueryui/themes/larry/jquery-ui-1.8.14.custom.css index b054d1567..fc5343d68 100755 --- a/plugins/jqueryui/themes/larry/jquery-ui-1.8.14.custom.css +++ b/plugins/jqueryui/themes/larry/jquery-ui-1.8.14.custom.css @@ -426,6 +426,45 @@ input.ui-button { padding: .4em 1em; } /* workarounds */ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ + +/* Roundcube button styling */ +.ui-button.ui-state-default { + display: inline-block; + margin: 0 2px; + padding: 1px 2px; + text-shadow: 0px 1px 1px #fff; + border: 1px solid #c6c6c6; + border-radius: 4px; + background: #f7f7f7; + background: -moz-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#e6e6e6)); + background: -o-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); + background: -ms-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); + background: linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); + box-shadow: 0 1px 1px 0 #ccc; + -o-box-shadow: 0 1px 1px 0 #ccc; + -webkit-box-shadow: 0 1px 1px 0 #ccc; + -moz-box-shadow: 0 1px 1px 0 #ccc; + text-decoration: none; +} + +.ui-button.ui-state-hover { + color: #525252; + border-color: #aaa; +} + +.ui-button.ui-state-active { + color: #525252; + border-color: #aaa; + background: #e6e6e6; + background: -moz-linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e6e6e6), color-stop(100%,#f9f9f9)); + background: -o-linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); + background: -ms-linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); + background: linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); + +} + /* * jQuery UI Dialog 1.8.16 * -- cgit v1.2.3