aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/dark/_base.less
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-28 16:52:19 -0700
committerfriendica <info@friendica.com>2012-05-28 16:52:19 -0700
commit10a057b97959d5915c9eab1947bea7b039d3218b (patch)
treea43d58fc49ec5ec522766fa88b50cf89ac1dfc25 /view/theme/dispy/dark/_base.less
parentf033c9a4ae822bf2ad46f1885a80daf85eca2f62 (diff)
parent51c2ef0efbb55d8b7f21cd2d23f073dec33d4b47 (diff)
downloadvolse-hubzilla-10a057b97959d5915c9eab1947bea7b039d3218b.tar.gz
volse-hubzilla-10a057b97959d5915c9eab1947bea7b039d3218b.tar.bz2
volse-hubzilla-10a057b97959d5915c9eab1947bea7b039d3218b.zip
Merge https://github.com/friendica/friendica into pull
Diffstat (limited to 'view/theme/dispy/dark/_base.less')
-rw-r--r--view/theme/dispy/dark/_base.less21
1 files changed, 16 insertions, 5 deletions
diff --git a/view/theme/dispy/dark/_base.less b/view/theme/dispy/dark/_base.less
index 000cdbd5a..d1051a989 100644
--- a/view/theme/dispy/dark/_base.less
+++ b/view/theme/dispy/dark/_base.less
@@ -17,6 +17,7 @@
@import "../css/reset";
//* backgrounds */
+@lt_bg_colour: lighten(@bg_colour, 10%);
@dk_bg_colour: #1d1f1d;
@bg_colour: #2e2f2e;
@bg_alt_colour: #2e302e;
@@ -24,8 +25,9 @@
@menu_bg_colour: #555753;
//* font colour, aka color: */
-@lt_main_colour: #ffff99;
+@lt_main_colour: lighten(@main_colour, 10%);
@main_colour: #eeeecc;
+@dk_main_colour: darken(@main_colour, 20%);
@main_alt_colour: #eeeeee;
// darken(@main_alt_colour, 13%) > #cdcdcd
// darken(@main_alt_colour, 13.5%) > #cccccc
@@ -56,9 +58,6 @@
@info: #1353b1;
@alert: #ff0000;
-@lt_main_colour: lighten(@bg_colour, 10%);
-@dk_main_colour: darken(@bg_colour, 10%);
-
//* links */
@link_colour: #88a9d2;
@dk_link_colour: darken(@link_colour, 10%);
@@ -137,7 +136,19 @@
-webkit-text-overflow: @t;
text-overflow: @t;
}
-
+.lin_gradient(@x1: left, @x2: right, @y1: top, @y2: bottom, @c1: @bg_colour, @c2: @dk_bg_colour) {
+ // w3c
+ background: linear-gradient(@x1 @y2, @c1, @c2);
+ // webkit
+ // -webkit-gradient(<type>, <point> [, <radius>]?, <point> [, <radius>]? [, <stop>]*)
+ background: -webkit-gradient(linear, @x1 @y1, @x2 @y2, from(@c1), to(@c2));
+ // mozilla
+ // -moz-linear-gradient([<point> || <angle>,]? <stop>, <stop> [, <stop>])
+ background: -moz-linear-gradient(@x1 @y2, @c1, @c2);
+ // opera
+ //background: -o-linear-gradient([<point> || <angle>,]? <stop>, <stop> [, <stop>]);
+ background: -o-linear-gradient(@x1, @c1, @c2);
+}
//* pre wrap */
.wrap () {
white-space: pre-wrap;