Various css updates

This commit is contained in:
Torkel Ödegaard
2015-02-07 22:00:33 +01:00
parent 48e5a82e7f
commit f82cb3aefe
4 changed files with 36 additions and 15 deletions
+22 -2
View File
@@ -3,13 +3,22 @@
tr:nth-child(odd) td {
background-color: @grafanaListAccent;
&.nobg {
background-color: transparent;
border:none;
border-left: 1px solid @grafanaListBorderBottom;
}
}
td, th {
text-align: left;
td {
padding: 5px 10px;
white-space: nowrap;
border-bottom: 1px solid @grafanaListBorderBottom;
&.nobg {
background-color: transparent;
border:none;
border-left: 1px solid @grafanaListBorderBottom;
}
}
tr:first-child {
@@ -25,6 +34,17 @@
td:last-child {
border-right: 1px solid @grafanaListBorderBottom;
}
.max-width-btns {
.btn {
width: 100%;
}
}
strong {
font-weight: normal;
color: @white;
}
}
.max-width {
+4 -4
View File
@@ -16,7 +16,7 @@
// Accent colors
// -------------------------
@blue: #33B5E5;
@blueDark: #0086b3;
@blueDark: #005f81;
@green: #669900;
@red: #CC3900;
@yellow: #ECBB13;
@@ -89,7 +89,7 @@
@grafanaListAccent: lighten(@grayDarker, 2%);
@grafanaListBorderTop: @grayDark;
@grafanaListBorderBottom: @black;
@grafanaListHighlight: #343434;
@grafanaListHighlight: #333;
@grafanaListMainLinkColor: @textColor;
// Scrollbars
@@ -110,8 +110,8 @@
@btnBackgroundHighlight: darken(@grayLight, 15%);
@btnBorder: #bbb;
@btnPrimaryBackground: lighten(@blueDark, 5%);
@btnPrimaryBackgroundHighlight: darken(@blueDark, 5%);
@btnPrimaryBackground: @blueDark;
@btnPrimaryBackgroundHighlight: lighten(@blueDark, 10%);
@btnInfoBackground: lighten(@purple, 5%);
@btnInfoBackgroundHighlight: darken(@purple, 5%);