diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-30 09:06:05 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-30 09:06:05 +0200 |
commit | 344f400be5acfc28059a90834487081251b7cc67 (patch) | |
tree | c12dd6c6ce7dc8859d3edd099c66fcd3a1c624be /public | |
parent | Merge branch 'master' of github.com:dennisse/Divid (diff) | |
download | Divid-344f400be5acfc28059a90834487081251b7cc67.tar.gz |
moved #vertical and removed use.less completely from shame.less
Diffstat (limited to 'public')
-rw-r--r-- | public/css/shame.less | 12 | ||||
-rw-r--r-- | public/css/use.less | 14 |
2 files changed, 12 insertions, 14 deletions
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";*/ diff --git a/public/css/use.less b/public/css/use.less index 21fd841..329f56d 100644 --- a/public/css/use.less +++ b/public/css/use.less @@ -2,18 +2,6 @@ width:100%; background-position: center 40%; }*/ - -#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 -} - .content { margin-left: 0px; } @@ -191,4 +179,4 @@ margin:60px; background-color: #0D56A6; width:1170px; height:100px; -}*/
\ No newline at end of file +}*/ |