icingaweb2/public/css/icinga/main.less

138 lines
2.0 KiB
Plaintext

/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
.action-link {
color: @icinga-blue;
}
.action-table {
tbody tr {
&.active {
background-color: @gray-lighter;
}
&:hover {
background-color: @gray-lightest;
cursor: pointer;
}
}
}
.clearfix {
&:after {
content: "";
clear: both;
display: 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;
}
}
.primary-nav {
a {
font-weight: normal;
}
}
.pull-left {
float: left;
}
.pull-right {
float: right;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-small {
color: @text-color-light;
font-size: @font-size-small;
}
dl.feed-list {
dd {
// Reset default margin
margin: 0;
}
dt {
border-bottom: 1px solid @gray-lighter;
}
}
table.listing-table {
border-collapse: collapse;
tbody th {
text-align: left;
}
thead {
color: @text-color-light;
// Reset default font-weight
font-weight: normal;
}
tr {
border-bottom: 1px solid @gray-lightest;
&:last-child {
border-bottom: none;
}
}
}
a.button {
.rounded-corners(3px);
background-color: @body-bg-color;
border: 2px solid @icinga-blue;
color: @icinga-blue;
cursor: pointer;
display: block;
font-size: 14px;
height: 35px;
line-height: 20px;
padding: @vertical-padding @horizontal-padding;
width: 175px;
-webkit-transition: background 0.3s ease, color 0.3s ease;
-moz-transition: background 0.3s ease, color 0.3s ease;
-o-transition: background 0.3s ease, color 0.3s ease;
transition: background 0.3s ease, color 0.3s ease;
* {
line-height: inherit;
}
&:hover {
background-color: @icinga-blue;
color: @text-color-inverted;
text-decoration: none;
}
i {
font-size: 16px;
}
}
.user-avatar {
height: 16px;
width: 16px;
}