icingaweb2/public/css/icinga/main.less

139 lines
2.1 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-24 10:27:42 +02:00
.clearfix:after {
clear: both;
content: "";
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;
}
}
.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;
}
button.link,
input[type="submit"].link {
// Reset defaults
background: none;
border: none;
padding: 0;
font-weight: @font-weight-bold;
&:hover {
text-decoration: underline;
}
}
2015-09-25 00:37:35 +02:00
form.link {
display: inline-block;
}
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 {
.rounded-corners(5px);
background-color: @body-bg-color;
border: 2px solid @icinga-blue;
color: @icinga-blue;
cursor: pointer;
display: block;
font-size: 14px;
height: 40px;
line-height: 22px;
padding: @vertical-padding @horizontal-padding;
width: 200px;
-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: 18px;
}
}