From 705357519b7345422a003d8970d1f396579d91b2 Mon Sep 17 00:00:00 2001 From: Samrat Man Singh Date: Sat, 7 Jul 2012 08:28:26 +0545 Subject: Add syte-pelican, a theme based on Syte --- syte-pelican/static/less/buttons.less | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 syte-pelican/static/less/buttons.less (limited to 'syte-pelican/static/less/buttons.less') diff --git a/syte-pelican/static/less/buttons.less b/syte-pelican/static/less/buttons.less new file mode 100644 index 0000000..67547d8 --- /dev/null +++ b/syte-pelican/static/less/buttons.less @@ -0,0 +1,27 @@ +//Button +.btn { + display: inline-block; + padding: 4px 10px 4px; + font-size: 13px; + line-height: 18px; + color: #333; + text-align: center; + text-shadow: 0 1px 1px rgba(255,255,255,.75); + vertical-align: middle; + cursor: pointer; + .gradient(#fff, darken(#fff, 10%)); + border: 1px solid #ccc; + border-bottom-color: darken(#ccc, 10%); + .border-radius(4px); + .box-shadow(~"inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)"); +} + +.btn:hover { + color: #333; + text-decoration: none; + background-color: darken(#fff, 10%); + background-position: 0 -15px; + border-bottom-color: darken(#ccc, 10%); + + .transition(background-position .1s linear); +} -- cgit