diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/DML/MainVisBundle/Resources/assets/macros.less	Tue Feb 09 20:54:02 2016 +0100
@@ -0,0 +1,52 @@
+@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; }`;