Skip to content

Commit

Permalink
CSS: Add dl.name-value-list
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 30, 2015
1 parent b137c4f commit b6ac7f0
Showing 1 changed file with 37 additions and 26 deletions.
63 changes: 37 additions & 26 deletions public/css/icinga/main.less
Expand Up @@ -4,19 +4,6 @@
color: @icinga-blue;
}

.action-table {
tbody tr {
&.active {
background-color: @gray-lighter;
}

&:hover {
background-color: @gray-lightest;
cursor: pointer;
}
}
}

.big-icon {
font-size: 28px;
}
Expand All @@ -43,19 +30,6 @@
width: 28px;
}

.name-value-table {
border-spacing: @vertical-padding 0;
line-height: @line-height;

th {
.text-left();
.text-small();
// Reset default font-weight
font-weight: normal;
width: 120px;
}
}

.primary-nav {
a {
font-weight: normal;
Expand Down Expand Up @@ -132,6 +106,30 @@ dl.feed-list {
}
}

dl.name-value-list {
dd {
// Reset default margin
margin: 0;
}

dt {
.text-small();
}
}

table.action-table {
tbody tr {
&.active {
background-color: @gray-lighter;
}

&:hover {
background-color: @gray-lightest;
cursor: pointer;
}
}
}

table.listing-table {
border-collapse: collapse;

Expand All @@ -153,3 +151,16 @@ table.listing-table {
}
}
}

.name-value-table {
border-spacing: @vertical-padding 0;
line-height: @line-height;

th {
.text-left();
.text-small();
// Reset default font-weight
font-weight: normal;
width: 120px;
}
}

0 comments on commit b6ac7f0

Please sign in to comment.