mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Fix doc module markdown table rows in light mode
- Replaced the gradient mixin with a simple color for odd rows. This fixes and markdown table rows in light mode and - since there are very gradients in general - it makes the overall look more uniform. See https://github.com/Icinga/icingaweb2/issues/5320
This commit is contained in:
parent
db851bbe33
commit
6c8453062f
@ -1,17 +1,5 @@
|
||||
/*! Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */
|
||||
|
||||
// Mixins
|
||||
|
||||
.gradient(@a: @gray-lighter; @b: @gray-lightest) {
|
||||
background: @a;
|
||||
background: -webkit-gradient(linear, left top, left bottom, from(@a), to(@b));
|
||||
background: -webkit-linear-gradient(top, @a, @b);
|
||||
background: -moz-linear-gradient(top, @a, @b);
|
||||
background: -ms-linear-gradient(top, @a, @b);
|
||||
background: -o-linear-gradient(top, @a, @b);
|
||||
background: linear-gradient(to bottom, @a, @b);
|
||||
}
|
||||
|
||||
// General styles
|
||||
|
||||
code {
|
||||
@ -84,7 +72,7 @@ table {
|
||||
}
|
||||
|
||||
tbody > tr:nth-child(odd) {
|
||||
.gradient()
|
||||
background: @gray-light;
|
||||
}
|
||||
|
||||
tbody > tr:nth-child(even) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user