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