icingaweb2/modules/doc/public/css/module.less

125 lines
1.9 KiB
Plaintext
Raw Normal View History

/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
2016-01-05 16:00:10 +01:00
.content {
font-size: 1.167em;
}
2014-11-20 15:52:47 +01:00
.uppercase {
text-transform: uppercase;
}
.bold {
font-weight: bold;
}
2016-01-05 16:56:03 +01:00
.gradient(@a: @gray-lighter; @b: @gray-lightest) {
2014-11-20 15:52:47 +01:00
background: @a;
2016-01-05 16:56:03 +01:00
background: -webkit-gradient(linear, left top, left bottom, from(@a), to(@b));
background: -webkit-linear-gradient(top, @a, @b);
background: -moz-linear-gradient(top, @a, @b);
background: -ms-linear-gradient(top, @a, @b);
background: -o-linear-gradient(top, @a, @b);
background: linear-gradient(to bottom, @a, @b);
2014-11-20 15:52:47 +01:00
}
table {
// Reset
border-collapse: collapse;
border-spacing: 0;
width: 100%;
}
a[name]:focus {
outline: 0;
}
2014-11-20 15:52:47 +01:00
th, td {
padding: 0.25rem;
text-align: left;
2014-11-20 15:52:47 +01:00
line-height: 1.25rem;
color: #666;
}
2014-11-20 15:52:47 +01:00
td {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
tbody tr:nth-child(odd) {
.gradient;
}
tbody tr:nth-child(even) {
background: #fff;
}
tbody tr:hover {
background: #666;
td {
color: #fff;
}
}
@icinga: #049baf;
thead {
th {
color: @icinga;
2015-10-01 02:58:54 +02:00
.uppercase();
2014-11-20 15:52:47 +01:00
.bold;
}
border-bottom: 0.25rem solid @icinga;
}
code {
2015-10-01 02:58:54 +02:00
color: @icinga-blue;
font-family: @font-family-fixed;
2014-11-20 15:52:47 +01:00
}
pre > code {
2015-10-01 02:58:54 +02:00
color: inherit;
2014-05-23 14:17:37 +02:00
}
.search-highlight {
.rounded-corners();
2015-10-01 02:58:54 +02:00
background: @icinga-blue;
color: @text-color-on-icinga-blue;
padding: 0 0.3em 0 0.3em;
}
2016-01-07 09:55:44 +01:00
.toc {
counter-reset: li;
list-style-type: none;
margin: 0;
padding: 0;
li {
counter-increment: li;
margin-top: 0.25em;
> .toc {
margin-left: 2em;
}
a {
&:before {
.rounded-corners();
background-color: @icinga-blue;
color: @text-color-on-icinga-blue;
content: counter(li) ".";
display: inline-block;
font-size: small;
margin-right: 0.25em;
min-width: 1.5em;
padding: 0.25em;
text-align: center;
}
display: block;
}
}
}