From 344f400be5acfc28059a90834487081251b7cc67 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 30 Apr 2013 09:06:05 +0200 Subject: moved #vertical and removed use.less completely from shame.less --- public/css/shame.less | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'public/css/shame.less') diff --git a/public/css/shame.less b/public/css/shame.less index 04e4aa6..997409b 100644 --- a/public/css/shame.less +++ b/public/css/shame.less @@ -239,5 +239,15 @@ div.lastactivity .activity .details { } } +#vertical(@startColor: #555, @endColor: #333) { + background-color: mix(@startColor, @endColor, 60%); + background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+ + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+ + background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+ + background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10 + background-image: linear-gradient(to bottom, @startColor, @endColor); // Standard, IE10 + background-repeat: repeat-x; + filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down +} + -/*@import "use.less";*/ -- cgit v1.2.3