icingaweb2/public/css/icinga/main.less

200 lines
2.8 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;
}
.large-icon {
font-size: 200%;
}
.content-centered {
margin: 0 auto;
text-align: center;
}
.icon-col {
width: 28px;
}
.icon-strikethrough {
text-decoration: line-through;
}
.pull-left {
float: left;
}
.pull-right {
float: right;
}
2015-09-24 11:57:24 +02:00
.text-right {
text-align: right;
}
.user-avatar {
height: 16px;
width: 16px;
}
.v-center {
> * {
vertical-align: middle;
}
2015-09-30 18:32:29 +02:00
}
a:hover > .icon-cancel {
color: @color-critical;
}
.button-link {
.action-link();
.button();
display: inline-block;
height: 35px;
line-height: 20px;
min-width: 175px;
&:hover {
text-decoration: none;
}
* {
line-height: inherit;
}
i {
font-size: 16px;
}
}
.comment-list {
> .comment-header {
border-bottom: 1px solid @gray-lighter;
margin-top: @vertical-padding;
&:hover {
background-color: @gray-lightest;
> .comment-meta > .meta-icons > .remove-action {
display: block;
}
}
&:first-child {
margin-top: 0;
}
> .comment-meta > .meta-icons > .remove-action {
display: none;
}
}
}
.comment-header {
.clearfix();
}
.comment-meta {
color: @text-color-light;
font-size: @font-size-small;
vertical-align: middle;
> .meta-icons {
float: right;
margin-top: 0.2em;
}
}
.comment-text {
// Reset margin
margin: 0;
margin-top: @vertical-padding / 2;
}
2015-10-01 00:56:38 +02:00
dl.name-value-list {
dd {
// Reset default margin
margin: 0;
}
dt {
color: @text-color-light;
font-size: @font-size-small;
2015-10-01 00:56:38 +02:00
}
}
table.common-table {
width: 100%;
td, th {
padding-top: 0.667em;
padding-bottom: 0.667em;
vertical-align: middle;
2015-10-01 00:56:38 +02:00
}
th {
text-align: left;
}
thead {
border-bottom: 1px solid @gray-light;
}
tbody tr {
border-bottom: 1px solid @gray-lightest;
border-left: 5px solid transparent;
&:last-child {
border-bottom: none;
}
}
tr[href] {
&.active {
background-color: @gray-lighter;
border-left-color: @icinga-blue;
}
&:hover {
background-color: @gray-lightest;
cursor: pointer;
}
}
caption {
border-top: 1px solid @gray-light;
caption-side: bottom;
text-align: right;
font-style: italic;
}
}
2015-10-01 00:56:38 +02:00
.name-value-table th {
color: @text-color-light;
font-size: @font-size-small;
// Reset default font-weight
font-weight: normal;
text-align: left;
width: 10em;
}
// TODO(el): Fix
.controls {
.limiter-control {
.pull-left();
padding: @vertical-padding / 2 0;
}
.pagination-control {
.pull-left();
padding: @vertical-padding / 2 @horizontal-padding;
}
.sort-control {
.pull-right();
padding: @vertical-padding / 2 0;
}
2015-10-01 00:56:38 +02:00
}