aboutsummaryrefslogtreecommitdiffstats
path: root/syte-pelican/static/less/buttons.less
diff options
context:
space:
mode:
authorSamrat Man Singh <samratmansingh@gmail.com>2012-07-07 08:28:26 +0545
committerSamrat Man Singh <samratmansingh@gmail.com>2012-07-07 08:28:26 +0545
commit705357519b7345422a003d8970d1f396579d91b2 (patch)
treeed3cf3a3bfbc65252417ac9125d55080a45cb192 /syte-pelican/static/less/buttons.less
parent3ba3e785dc4d84a069622d9138761ff7967c7316 (diff)
downloadpelican-themes-705357519b7345422a003d8970d1f396579d91b2.tar.gz
Add syte-pelican, a theme based on Syte
Diffstat (limited to 'syte-pelican/static/less/buttons.less')
-rw-r--r--syte-pelican/static/less/buttons.less27
1 files changed, 27 insertions, 0 deletions
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);
+}