Mercurial > hg > dml-open-vis
annotate src/DML/MainVisBundle/Resources/assets/macros.less @ 0:493bcb69166c
added public content
author | Daniel Wolff |
---|---|
date | Tue, 09 Feb 2016 20:54:02 +0100 |
parents | |
children |
rev | line source |
---|---|
Daniel@0 | 1 @import "../../../VendorAssetsBundle/Resources/assets/lesshat/3.0.2/lesshat.less"; |
Daniel@0 | 2 |
Daniel@0 | 3 .font_standard() { |
Daniel@0 | 4 font-family: '@{local-font-name-prefix}Open Sans', Verdana, sans-serif; |
Daniel@0 | 5 font-size: 14px; |
Daniel@0 | 6 line-height: 20px; |
Daniel@0 | 7 } |
Daniel@0 | 8 |
Daniel@0 | 9 .font_small() { |
Daniel@0 | 10 font-family: '@{local-font-name-prefix}Open Sans', Verdana, sans-serif; |
Daniel@0 | 11 font-size: 10px; |
Daniel@0 | 12 line-height: 13px; |
Daniel@0 | 13 } |
Daniel@0 | 14 .font_monospace() { |
Daniel@0 | 15 font-family: "Lucida Console", Monaco, monospace; |
Daniel@0 | 16 } |
Daniel@0 | 17 |
Daniel@0 | 18 .position_absolute_everywhere (@margin: 0px) { |
Daniel@0 | 19 position: absolute; |
Daniel@0 | 20 top: @margin; |
Daniel@0 | 21 left: @margin; |
Daniel@0 | 22 right: @margin; |
Daniel@0 | 23 bottom: @margin; |
Daniel@0 | 24 } |
Daniel@0 | 25 .position_fixed_everywhere (@margin: 0px) { |
Daniel@0 | 26 position: fixed; |
Daniel@0 | 27 top: @margin; |
Daniel@0 | 28 left: @margin; |
Daniel@0 | 29 right: @margin; |
Daniel@0 | 30 bottom: @margin; |
Daniel@0 | 31 } |
Daniel@0 | 32 |
Daniel@0 | 33 .cursor_std() { |
Daniel@0 | 34 cursor:default; |
Daniel@0 | 35 } |
Daniel@0 | 36 .cursor_action() { |
Daniel@0 | 37 cursor:pointer; |
Daniel@0 | 38 } |
Daniel@0 | 39 |
Daniel@0 | 40 .text-fader-background-gradient(@color: #000) { |
Daniel@0 | 41 .background-image( |
Daniel@0 | 42 linear-gradient(to right, |
Daniel@0 | 43 rgba(red(@color),green(@color),blue(@color),0) 0%, |
Daniel@0 | 44 rgba(red(@color),green(@color),blue(@color),25%) 15%, |
Daniel@0 | 45 rgba(red(@color),green(@color),blue(@color),50%) 30%, |
Daniel@0 | 46 rgba(red(@color),green(@color),blue(@color),75%) 60%, |
Daniel@0 | 47 rgba(red(@color),green(@color),blue(@color),100%) 100% |
Daniel@0 | 48 ) |
Daniel@0 | 49 ) |
Daniel@0 | 50 } |
Daniel@0 | 51 |
Daniel@0 | 52 //@xurl: ~`xurl = function(a) { return a; }`; |