mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Doc: Simplify CSS gradient mixin
This commit is contained in:
parent
4a002af0b9
commit
930f014661
@ -12,14 +12,14 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gradient(@a: #f9f9f9; @b: #f5f5f5) {
|
.gradient(@a: @gray-lighter; @b: @gray-lightest) {
|
||||||
background: @a;
|
background: @a;
|
||||||
background: -moz-linear-gradient(top, @a, 0%, @b, 100%);
|
background: -webkit-gradient(linear, left top, left bottom, from(@a), to(@b));
|
||||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, @a), color-stop(100%, @b));
|
background: -webkit-linear-gradient(top, @a, @b);
|
||||||
background: -webkit-linear-gradient(top, @a 0%, @b 100%);
|
background: -moz-linear-gradient(top, @a, @b);
|
||||||
background: -o-linear-gradient(top, @a 0%, @b 100%);
|
background: -ms-linear-gradient(top, @a, @b);
|
||||||
background: -ms-linear-gradient(top, @a 0%, @b 100%);
|
background: -o-linear-gradient(top, @a, @b);
|
||||||
background: linear-gradient(to bottom, @a 0%, @b 100%);
|
background: linear-gradient(to bottom, @a, @b);
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user