2015-09-23 13:41:22 +02:00
|
|
|
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
|
|
|
|
2015-11-09 13:32:59 +01:00
|
|
|
// Gray colors
|
|
|
|
@gray: #7F7F7F;
|
|
|
|
@gray-light: #C9C9C9;
|
|
|
|
@gray-lighter: #EEEEEE;
|
|
|
|
@gray-lightest: #F7F7F7;
|
|
|
|
|
|
|
|
// Icinga colors
|
|
|
|
@icinga-blue: #0095BF;
|
|
|
|
@icinga-blue-dark: #AA95BF;
|
|
|
|
@color-ok: #44bb77;
|
|
|
|
@color-warning: #ffaa44;
|
|
|
|
@color-warning-handled: #ffcc66;
|
|
|
|
@color-critical: #ff5566;
|
|
|
|
@color-critical-handled: #ff99aa;
|
|
|
|
@color-unknown: #aa44ff;
|
|
|
|
@color-unknown-handled: #cc77ff;
|
|
|
|
@color-unreachable: #aa44ff;
|
|
|
|
@color-unreachable-handled: #cc77ff;
|
|
|
|
@color-pending: #77aaff;
|
|
|
|
|
|
|
|
// Background color for <body>
|
|
|
|
@body-bg-color: #fff;
|
|
|
|
|
|
|
|
// Text colors
|
|
|
|
@text-color: #535353;
|
|
|
|
@text-color-inverted: @body-bg-color;
|
|
|
|
@text-color-light: @gray;
|
|
|
|
|
|
|
|
// Text color on <a>
|
|
|
|
@link-color: @text-color;
|
|
|
|
|
|
|
|
// Font families
|
|
|
|
@font-family: Calibri, Helvetica, sans-serif;
|
|
|
|
@font-family-fixed: "Liberation Mono", "Lucida Console", Courier, monospace;
|
|
|
|
@font-family-wide: Tahoma, Verdana, sans-serif;
|
|
|
|
|
|
|
|
// Font sizes
|
2015-11-04 14:07:50 +01:00
|
|
|
@font-size: 0.750em; // 12px
|
2015-11-10 14:02:58 +01:00
|
|
|
@font-size-small: 0.917em; // 11px
|
2015-11-13 00:24:15 +01:00
|
|
|
@font-size-dashboard: 3.5em; // 56px
|
|
|
|
@font-size-dashboard-small: 1.1em; // 17px
|
2015-10-26 12:49:48 +01:00
|
|
|
@font-weight-bold: 600;
|
|
|
|
|
2015-11-11 15:21:53 +01:00
|
|
|
// Set line-height w/o unit so that the line-height is dynamically calculated as font-size * line-height
|
|
|
|
@line-height: 1.5;
|
|
|
|
|
2015-11-10 13:30:30 +01:00
|
|
|
@table-column-padding: 0.333em; // 4px
|
|
|
|
|
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-09 11:43:20 +01:00
|
|
|
// Default margin for block text
|
2015-11-04 17:53:58 +01:00
|
|
|
blockquote, p, pre {
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
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-09 11:41:10 +01:00
|
|
|
border-bottom: 1px solid @gray-lighter;
|
|
|
|
font-size: 1.333em;
|
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 {
|
2015-11-10 13:30:30 +01:00
|
|
|
padding: @table-column-padding;
|
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
|
|
|
|
2015-11-10 09:39:48 +01:00
|
|
|
&:before {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2015-10-28 13:14:55 +01:00
|
|
|
}
|