icingaweb2/public/css/icinga/main.less

146 lines
2.2 KiB
Plaintext
Raw Normal View History

/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
2015-09-23 14:04:07 +02:00
.action-link {
color: @icinga-blue;
}
.action-table {
tr {
&.active {
background-color: @gray-lighter;
}
&:hover {
background-color: @gray-lightest;
cursor: pointer;
}
}
}
2015-09-25 16:16:42 +02:00
.clearfix {
&:after {
content: "";
clear: both;
display: table;
}
2015-09-24 10:27:42 +02:00
}
.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;
}
}
2015-09-27 16:06:46 +02:00
.primary-nav {
a {
font-weight: normal;
}
}
.pull-left {
float: left;
}
.pull-right {
float: right;
}
2015-09-25 00:20:17 +02:00
.text-left {
text-align: left;
}
2015-09-24 11:57:24 +02:00
.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;
th {
color: @text-color-light;
// Reset default font-weight
font-weight: normal;
}
tr {
border-bottom: 1px solid @gray-lightest;
&:last-child {
border-bottom: none;
}
}
}
2015-09-25 14:42:14 +02:00
a.button {
2015-09-25 17:02:27 +02:00
.rounded-corners(3px);
2015-09-25 14:42:14 +02:00
background-color: @body-bg-color;
border: 2px solid @icinga-blue;
color: @icinga-blue;
cursor: pointer;
display: block;
font-size: 14px;
2015-09-25 17:02:27 +02:00
height: 35px;
line-height: 20px;
2015-09-25 14:42:14 +02:00
padding: @vertical-padding @horizontal-padding;
2015-09-25 17:02:27 +02:00
width: 175px;
2015-09-25 14:42:14 +02:00
-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 {
2015-09-25 17:02:27 +02:00
font-size: 16px;
2015-09-25 14:42:14 +02:00
}
}
2015-09-27 16:34:33 +02:00
.badge {
min-width: 25px;
font-family: tahoma, verdana, sans-serif;
font-weight: @font-weight-bold;
font-size: 11px;
text-align: center;
color: @text-color-inverted;
2015-09-27 17:41:57 +02:00
padding-left: 5px;
padding-right: 5px;
padding-top: 2px;
padding-bottom: 2px;
2015-09-27 16:34:33 +02:00
&.state-critical {
.bg-color-critical();
}
}