2015-09-23 13:41:22 +02:00
|
|
|
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
|
|
|
|
2015-11-04 14:07:50 +01:00
|
|
|
@font-size: 0.750em; // 12px
|
|
|
|
@font-size-small: 0.833em; // 10px
|
2015-10-26 12:49:48 +01:00
|
|
|
@font-weight-bold: 600;
|
|
|
|
|
2015-11-04 14:07:50 +01:00
|
|
|
@vertical-padding: 0.5em; // 6px
|
|
|
|
@horizontal-padding: 1em; // 12px
|
2015-10-26 12:49:48 +01:00
|
|
|
|
2015-09-23 11:00:51 +02:00
|
|
|
// Make padding not affect the final computed width of an element
|
|
|
|
html {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
*,
|
|
|
|
*:before,
|
|
|
|
*:after {
|
|
|
|
.box-sizing(inherit);
|
|
|
|
}
|
|
|
|
|
2015-09-23 11:13:58 +02:00
|
|
|
a {
|
2015-09-25 16:46:01 +02:00
|
|
|
// Reset defaults
|
2015-09-25 00:16:08 +02:00
|
|
|
color: inherit;
|
2015-09-23 11:13:58 +02:00
|
|
|
text-decoration: none;
|
|
|
|
|
2015-10-28 14:10:14 +01:00
|
|
|
&:focus {
|
2015-11-04 10:27:04 +01:00
|
|
|
outline-color: @icinga-blue;
|
2015-10-28 14:10:14 +01:00
|
|
|
}
|
|
|
|
|
2015-09-23 11:13:58 +02:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-04 17:53:58 +01:00
|
|
|
blockquote, p, pre {
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
}
|
|
|
|
|
2015-11-06 01:53:01 +01:00
|
|
|
.preformatted, pre {
|
|
|
|
font-family: @font-family-fixed;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2015-09-29 10:23:33 +02:00
|
|
|
blockquote {
|
2015-11-04 16:25:13 +01:00
|
|
|
border-left: 5px solid @gray-lighter;
|
|
|
|
padding: 0.667em 0.333em;
|
2015-09-29 10:23:33 +02:00
|
|
|
}
|
|
|
|
|
2015-11-04 12:05:02 +01:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
border-bottom: 1px solid @gray-lighter;
|
|
|
|
font-weight: @font-weight-bold;
|
2015-11-04 16:18:14 +01:00
|
|
|
margin: 0.556em 0 0.333em;
|
2015-11-04 12:05:02 +01:00
|
|
|
}
|
|
|
|
|
2015-09-23 11:04:59 +02:00
|
|
|
h1 {
|
2015-11-04 16:18:14 +01:00
|
|
|
font-size: 1.5em;
|
2015-09-23 11:04:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2015-11-04 16:18:14 +01:00
|
|
|
font-size: 1.333em;
|
2015-11-04 12:05:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2015-11-04 16:18:14 +01:00
|
|
|
font-size: 1.167em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1em;
|
2015-11-04 12:05:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
2015-11-04 14:07:50 +01:00
|
|
|
font-size: @font-size-small;
|
2015-11-04 12:05:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
2015-11-04 14:07:50 +01:00
|
|
|
font-size: @font-size-small;
|
2015-09-23 11:04:59 +02:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
2015-09-23 11:30:22 +02:00
|
|
|
|
2015-09-24 17:23:11 +02:00
|
|
|
pre {
|
|
|
|
background-color: @gray-lightest;
|
|
|
|
font-family: @font-family-fixed;
|
2015-11-04 12:05:40 +01:00
|
|
|
font-size: @font-size-small;
|
2015-09-24 17:23:11 +02:00
|
|
|
padding: @vertical-padding @horizontal-padding;
|
2015-11-04 12:05:40 +01:00
|
|
|
white-space: pre-wrap;
|
2015-09-24 17:23:11 +02:00
|
|
|
}
|
|
|
|
|
2015-11-04 16:07:15 +01:00
|
|
|
td, th {
|
|
|
|
padding: 0.333em; // 4px
|
2015-11-04 15:12:35 +01:00
|
|
|
}
|
|
|
|
|
2015-10-28 13:14:55 +01:00
|
|
|
[class^="icon-"], [class*=" icon-"] {
|
2015-11-04 14:08:59 +01:00
|
|
|
// Smooth icons; ifont claims to have it, but it does not work in :before
|
2015-10-28 13:14:55 +01:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2015-11-04 14:08:59 +01:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2015-10-28 13:14:55 +01:00
|
|
|
}
|
|
|
|
|
2015-11-04 16:27:02 +01:00
|
|
|
#layout {
|
|
|
|
background-color: @body-bg-color;
|
|
|
|
color: @text-color;
|
|
|
|
font-family: @font-family;
|
2015-11-04 17:17:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#main, #sidebar, #header {
|
2015-11-04 16:27:02 +01:00
|
|
|
font-size: @font-size;
|
|
|
|
// Set line-height w/o unit so that the line-height is dynamically calculated as font-size * line-height
|
2015-11-04 17:17:41 +01:00
|
|
|
line-height: 1.5;
|
2015-11-04 16:27:02 +01:00
|
|
|
}
|
|
|
|
|
2015-09-29 17:03:26 +02:00
|
|
|
@media print {
|
|
|
|
.dont-print {
|
2015-10-26 12:49:48 +01:00
|
|
|
display: none;
|
2015-09-29 17:03:26 +02:00
|
|
|
}
|
|
|
|
}
|