diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-12 11:29:51 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-12 11:29:51 +0200 |
commit | c947a0f280911b59f70a013cc9216d795a254c87 (patch) | |
tree | 5431b110410b949cbacbe4f1eec83d5f1aede850 /public | |
parent | har ordnet login-form som slider ned (diff) | |
download | Divid-c947a0f280911b59f70a013cc9216d795a254c87.tar.gz |
added some cool gradients
Diffstat (limited to 'public')
-rw-r--r-- | public/css/styles.less | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/public/css/styles.less b/public/css/styles.less index 3e235f5..496934b 100644 --- a/public/css/styles.less +++ b/public/css/styles.less @@ -23,7 +23,7 @@ body { } #login-form input { - background-color: @grayDarker; + background-color: rgba(0,0,0,0); } #login-form .input-prepend .add-on { @@ -38,9 +38,15 @@ body { margin-bottom: 100px; } -.navbar-inner { +@top-navbar-bgColor: @black; + +#top-navbar { + min-height: 40px; vertical-align: 100px; +/* background: rgba(red(@top-navbar-bgColor),green(@top-navbar-bgColor),blue(@top-navbar-bgColor),0.9); +*/ + #vertical(rgba(red(@top-navbar-bgColor),green(@top-navbar-bgColor),blue(@top-navbar-bgColor),0.9), rgba(red(@top-navbar-bgColor),green(@top-navbar-bgColor),blue(@top-navbar-bgColor),0.5)); } .navbar { @@ -89,3 +95,17 @@ body { .bs-docs-sidenav > li > a:hover { background-color: @grayLighter; } + + + +#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 +} + |