Mercurial > hg > dml-open-vis
view src/DML/MainVisBundle/Resources/assets/macros.less @ 1:f38015048f48 tip
Added GPL
author | Daniel Wolff |
---|---|
date | Sat, 13 Feb 2016 20:43:38 +0100 |
parents | 493bcb69166c |
children |
line wrap: on
line source
@import "../../../VendorAssetsBundle/Resources/assets/lesshat/3.0.2/lesshat.less"; .font_standard() { font-family: '@{local-font-name-prefix}Open Sans', Verdana, sans-serif; font-size: 14px; line-height: 20px; } .font_small() { font-family: '@{local-font-name-prefix}Open Sans', Verdana, sans-serif; font-size: 10px; line-height: 13px; } .font_monospace() { font-family: "Lucida Console", Monaco, monospace; } .position_absolute_everywhere (@margin: 0px) { position: absolute; top: @margin; left: @margin; right: @margin; bottom: @margin; } .position_fixed_everywhere (@margin: 0px) { position: fixed; top: @margin; left: @margin; right: @margin; bottom: @margin; } .cursor_std() { cursor:default; } .cursor_action() { cursor:pointer; } .text-fader-background-gradient(@color: #000) { .background-image( linear-gradient(to right, rgba(red(@color),green(@color),blue(@color),0) 0%, rgba(red(@color),green(@color),blue(@color),25%) 15%, rgba(red(@color),green(@color),blue(@color),50%) 30%, rgba(red(@color),green(@color),blue(@color),75%) 60%, rgba(red(@color),green(@color),blue(@color),100%) 100% ) ) } //@xurl: ~`xurl = function(a) { return a; }`;