2016-02-08 15:41:00 +01:00
|
|
|
/*! Icinga Web 2 | (c) 2013 Icinga Development Team | GPLv2+ */
|
2015-09-23 13:41:22 +02:00
|
|
|
|
2016-01-25 08:50:37 +01:00
|
|
|
// Black colors
|
|
|
|
@black: #535353;
|
2020-06-18 15:09:50 +02:00
|
|
|
@white: #fff;
|
2016-01-25 08:50:37 +01:00
|
|
|
|
2015-11-09 13:32:59 +01:00
|
|
|
// Gray colors
|
2020-06-18 15:09:50 +02:00
|
|
|
@gray: #c4c4c4;
|
|
|
|
@gray-semilight: #888;
|
|
|
|
@gray-light: #5c5c5c;
|
|
|
|
@gray-lighter: #4b4b4b;
|
|
|
|
@gray-lightest: #3a3a3a;
|
|
|
|
|
2019-12-02 11:44:51 +01:00
|
|
|
@disabled-gray: #9a9a9a;
|
2015-11-09 13:32:59 +01:00
|
|
|
|
2019-12-02 11:44:51 +01:00
|
|
|
// State colors
|
2015-11-09 13:32:59 +01:00
|
|
|
@color-ok: #44bb77;
|
2016-11-17 10:54:10 +01:00
|
|
|
@color-up: @color-ok;
|
2015-11-09 13:32:59 +01:00
|
|
|
@color-warning: #ffaa44;
|
|
|
|
@color-warning-handled: #ffcc66;
|
|
|
|
@color-critical: #ff5566;
|
|
|
|
@color-critical-handled: #ff99aa;
|
2021-06-28 11:36:12 +02:00
|
|
|
@color-critical-accentuated: darken(@color-critical, 10%);
|
2016-11-17 10:54:10 +01:00
|
|
|
@color-down: @color-critical;
|
|
|
|
@color-down-handled: @color-critical-handled;
|
2015-11-09 13:32:59 +01:00
|
|
|
@color-unknown: #aa44ff;
|
|
|
|
@color-unknown-handled: #cc77ff;
|
2016-11-17 10:54:10 +01:00
|
|
|
@color-unreachable: @color-unknown;
|
|
|
|
@color-unreachable-handled: @color-unknown-handled;
|
2015-11-09 13:32:59 +01:00
|
|
|
@color-pending: #77aaff;
|
|
|
|
|
2019-12-02 11:44:51 +01:00
|
|
|
// Icinga colors
|
2020-06-18 15:09:50 +02:00
|
|
|
@icinga-blue: #00C3ED;
|
2019-12-02 11:44:51 +01:00
|
|
|
@icinga-secondary: #EF4F98;
|
2021-06-28 16:22:19 +02:00
|
|
|
@icinga-secondary-dark: darken(@icinga-secondary, 10%);
|
2020-06-18 15:09:50 +02:00
|
|
|
@low-sat-blue: #404d72;
|
|
|
|
@low-sat-blue-dark: #434374;
|
2021-06-28 16:22:19 +02:00
|
|
|
@icinga-blue-light: fade(@icinga-blue, 50%);
|
2019-12-02 11:44:51 +01:00
|
|
|
@icinga-blue-dark: #0081a6;
|
|
|
|
|
2016-01-25 09:01:26 +01:00
|
|
|
// Notification colors
|
|
|
|
@color-notification-error: @color-critical;
|
|
|
|
@color-notification-info: @color-pending;
|
2021-06-28 12:37:42 +02:00
|
|
|
@color-notification-success: @color-ok;
|
|
|
|
@color-notification-warning: @color-warning;
|
2016-01-25 09:01:26 +01:00
|
|
|
|
2015-11-09 13:32:59 +01:00
|
|
|
// Background color for <body>
|
2020-06-18 15:09:50 +02:00
|
|
|
@body-bg-color: #282E39;
|
2021-11-10 09:34:40 +01:00
|
|
|
@body-bg-color-transparent: fade(@body-bg-color, 0);
|
2015-11-09 13:32:59 +01:00
|
|
|
|
|
|
|
// Text colors
|
2020-06-18 15:09:50 +02:00
|
|
|
@text-color: @white;
|
2015-11-09 13:32:59 +01:00
|
|
|
@text-color-inverted: @body-bg-color;
|
2020-06-18 15:09:50 +02:00
|
|
|
@text-color-light: fade(@text-color, 75%);
|
2016-01-05 16:06:45 +01:00
|
|
|
@text-color-on-icinga-blue: @body-bg-color;
|
2021-06-24 13:06:05 +02:00
|
|
|
@light-text-bg-color: fade(@gray, 5%);
|
2015-11-09 13:32:59 +01:00
|
|
|
|
|
|
|
// Text color on <a>
|
|
|
|
@link-color: @text-color;
|
|
|
|
|
2021-06-28 16:22:19 +02:00
|
|
|
@tr-active-color: fade(@icinga-blue, 25);
|
|
|
|
@tr-hover-color: fade(@icinga-blue, 5);
|
2015-12-15 13:32:56 +01:00
|
|
|
|
2017-11-20 17:53:12 +01:00
|
|
|
// Menu colors
|
2020-06-18 15:09:50 +02:00
|
|
|
@menu-bg-color: #06062B;
|
2021-07-01 17:47:14 +02:00
|
|
|
@menu-hover-bg-color: lighten(@menu-bg-color, 5%);
|
|
|
|
@menu-search-hover-bg-color: @menu-hover-bg-color;
|
2020-06-18 15:09:50 +02:00
|
|
|
@menu-active-bg-color: #181742;
|
2021-07-01 17:47:14 +02:00
|
|
|
@menu-active-hover-bg-color: lighten(@menu-active-bg-color, 5%);
|
2020-06-18 15:09:50 +02:00
|
|
|
@menu-color: #DBDBDB;
|
2021-04-13 10:43:52 +02:00
|
|
|
@menu-active-color: @text-color;
|
2017-11-20 17:53:12 +01:00
|
|
|
@menu-highlight-color: @icinga-blue;
|
2021-07-01 17:47:14 +02:00
|
|
|
@menu-highlight-hover-bg-color: @icinga-blue-dark;
|
2017-11-20 17:53:12 +01:00
|
|
|
@menu-2ndlvl-color: #c4c4c4;
|
2021-04-13 10:43:52 +02:00
|
|
|
@menu-2ndlvl-highlight-bg-color: @tr-hover-color;
|
2021-07-01 17:47:14 +02:00
|
|
|
@menu-2ndlvl-active-bg-color: @menu-highlight-color;
|
|
|
|
@menu-2ndlvl-active-color: @text-color-inverted;
|
|
|
|
@menu-2ndlvl-active-hover-bg-color: darken(@menu-2ndlvl-active-bg-color, 5%);
|
|
|
|
@menu-2ndlvl-active-hover-color: @menu-2ndlvl-active-color;
|
2017-11-20 17:53:12 +01:00
|
|
|
@menu-flyout-bg-color: @body-bg-color;
|
|
|
|
@menu-flyout-color: @text-color;
|
2021-06-23 11:01:31 +02:00
|
|
|
@tab-hover-bg-color: fade(@body-bg-color, 50%);
|
2017-11-20 17:53:12 +01:00
|
|
|
|
2021-06-28 11:36:12 +02:00
|
|
|
// Form colors
|
|
|
|
@form-info-bg-color: fade(@color-ok, 20%);
|
|
|
|
@form-error-bg-color: fade(@color-critical, 30%);
|
|
|
|
@form-warning-bg-color: fade(@color-warning, 40%);
|
2021-07-21 09:05:46 +02:00
|
|
|
@login-box-background: fade(#0B0B2F, 30%);
|
2021-06-28 11:36:12 +02:00
|
|
|
|
2021-03-25 17:45:35 +01:00
|
|
|
// Other colors
|
|
|
|
@color-granted: #59cd59;
|
|
|
|
@color-refused: #ee7373;
|
|
|
|
@color-restricted: #dede7d;
|
|
|
|
|
2015-11-09 13:32:59 +01:00
|
|
|
// Font families
|
2016-11-07 11:44:35 +01:00
|
|
|
@font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
2015-11-09 13:32:59 +01:00
|
|
|
@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
|
2019-05-28 16:30:17 +02:00
|
|
|
@font-size-small: 11/12em; // 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
|
|
|
|
2022-02-08 17:03:51 +01:00
|
|
|
@light-mode: {
|
2021-11-10 09:34:40 +01:00
|
|
|
@light-body-bg-color: #F5F9FA;
|
|
|
|
|
2022-02-08 17:03:51 +01:00
|
|
|
@iplWebLightRules();
|
|
|
|
|
2021-06-23 11:01:31 +02:00
|
|
|
:root {
|
2021-11-10 09:34:40 +01:00
|
|
|
--body-bg-color: @light-body-bg-color;
|
|
|
|
--body-bg-color-transparent: fade(@light-body-bg-color, 0);
|
2021-06-23 11:01:31 +02:00
|
|
|
--badge-color: #F5F9FA;
|
|
|
|
--text-color-inverted: #F5F9FA;
|
|
|
|
--text-color-on-icinga-blue: #F5F9FA;
|
|
|
|
--menu-flyout-bg-color: #F5F9FA;
|
|
|
|
--tab-hover-bg-color: fade(#F5F9FA, 50%);
|
2021-06-23 11:15:35 +02:00
|
|
|
|
2022-04-04 14:07:57 +02:00
|
|
|
--menu-color: #535353;
|
2021-06-23 11:15:35 +02:00
|
|
|
--menu-bg-color: #DEECF1;
|
2021-07-01 17:47:14 +02:00
|
|
|
--menu-hover-bg-color: darken(#DEECF1, 10%);
|
|
|
|
--menu-search-hover-bg-color: darken(#DEECF1, 10%);
|
2021-06-23 11:36:00 +02:00
|
|
|
--menu-active-bg-color: #EDF7FC;
|
|
|
|
--menu-active-hover-bg-color: darken(#EDF7FC, 20%);
|
2021-07-01 17:47:14 +02:00
|
|
|
--menu-highlight-hover-bg-color: darken(#EDF7FC, 20%);
|
2022-04-04 14:07:57 +02:00
|
|
|
--menu-2ndlvl-color: #676767;
|
2021-06-23 11:27:23 +02:00
|
|
|
|
|
|
|
--text-color: #535353;
|
|
|
|
--text-color-light: fade(#535353, 75%);
|
2021-06-24 13:06:05 +02:00
|
|
|
--light-text-bg-color: fade(#7F7F7F, 5%);
|
2021-06-23 11:27:23 +02:00
|
|
|
--link-color: #535353;
|
|
|
|
--menu-active-color: #535353;
|
|
|
|
--menu-flyout-color: #535353;
|
2021-06-23 11:42:00 +02:00
|
|
|
|
|
|
|
--low-sat-blue: #DEECF1;
|
2021-06-23 11:42:59 +02:00
|
|
|
--low-sat-blue-dark: #c0cccd;
|
2021-06-23 11:49:20 +02:00
|
|
|
|
2021-10-27 17:31:33 +02:00
|
|
|
--gray: #819398;
|
|
|
|
--gray-semilight: #94a5a6;
|
|
|
|
--gray-light: #d0d3da;
|
|
|
|
--gray-lighter: #e8ecef;
|
2021-06-23 12:56:13 +02:00
|
|
|
--gray-lightest: #F7F7F7;
|
2022-02-24 19:15:14 +01:00
|
|
|
|
|
|
|
// ipl-web overrides
|
|
|
|
--base-gray: var(--gray);
|
|
|
|
--base-gray-light: var(--gray-light);
|
2022-02-25 10:48:03 +01:00
|
|
|
--base-gray-lighter: var(--gray-lighter);
|
2022-02-24 19:15:14 +01:00
|
|
|
|
|
|
|
--default-text-color: var(--text-color);
|
|
|
|
--default-text-color-light: var(--text-color-light);
|
|
|
|
--default-text-color-inverted: var(--text-color-inverted);
|
|
|
|
|
|
|
|
--searchbar-bg: var(--low-sat-blue);
|
|
|
|
|
2022-02-25 10:48:03 +01:00
|
|
|
--search-logical-operator-bg: fade(#819398, 50%); // --gray
|
2021-06-23 11:01:31 +02:00
|
|
|
}
|
2022-02-08 17:03:51 +01:00
|
|
|
};
|
2021-06-23 11:01:31 +02:00
|
|
|
|
2022-02-17 09:54:46 +01:00
|
|
|
// ipl-web overrides
|
|
|
|
@default-bg: @body-bg-color;
|
|
|
|
|
|
|
|
@base-gray: @gray;
|
|
|
|
@base-gray-light: @gray-light;
|
2022-02-23 12:06:18 +01:00
|
|
|
@base-gray-lighter: @gray-lighter;
|
2022-02-17 09:54:46 +01:00
|
|
|
@base-disabled: @disabled-gray;
|
|
|
|
|
|
|
|
@base-primary-color: @icinga-blue;
|
|
|
|
@base-primary-bg: @icinga-blue;
|
|
|
|
|
|
|
|
@default-text-color: @text-color;
|
2022-02-23 12:06:18 +01:00
|
|
|
@default-text-color-light: @text-color-light;
|
2022-02-17 09:54:46 +01:00
|
|
|
|
|
|
|
@state-ok: @color-ok;
|
|
|
|
@state-warning: @color-warning;
|
|
|
|
@state-critical: @color-critical;
|
|
|
|
@state-pending: @color-pending;
|
|
|
|
@state-unknown: @color-unknown;
|
|
|
|
|
|
|
|
@primary-button-hover-bg: @icinga-blue-dark;
|
|
|
|
|
|
|
|
@searchbar-bg: @low-sat-blue;
|
|
|
|
|
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 {
|
2015-12-16 12:53:07 +01:00
|
|
|
-webkit-box-sizing: inherit;
|
|
|
|
-moz-box-sizing: inherit;
|
|
|
|
box-sizing: inherit;
|
2015-09-23 11:00:51 +02:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-03 16:27:40 +02:00
|
|
|
:focus {
|
2016-11-10 15:00:47 +01:00
|
|
|
outline: 3px solid fade(@icinga-blue, 50%);
|
|
|
|
outline-offset: 1px;
|
2016-04-11 14:13:37 +02:00
|
|
|
}
|
|
|
|
|
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 {
|
2022-02-08 12:23:37 +01:00
|
|
|
border-left: 5px solid @gray-lighter;
|
2015-11-04 16:25:13 +01:00
|
|
|
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 {
|
2022-02-08 12:23:37 +01:00
|
|
|
border-bottom: 1px solid @gray-lighter;
|
2015-11-09 11:41:10 +01:00
|
|
|
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 {
|
2021-11-08 16:31:44 +01:00
|
|
|
.rounded-corners(.25em);
|
2022-02-08 12:23:37 +01:00
|
|
|
background-color: @gray-lighter;
|
2015-09-24 17:23:11 +02:00
|
|
|
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
|
|
|
}
|
2015-12-15 13:29:30 +01:00
|
|
|
|
|
|
|
// Styles for when the page is loading. JS will remove this class once the document is ready
|
|
|
|
.loading * {
|
|
|
|
// Disable all transition on page load
|
|
|
|
-webkit-transition: none !important;
|
|
|
|
-moz-transition: none !important;
|
|
|
|
-o-transition: none !important;
|
|
|
|
transition: none !important;
|
|
|
|
}
|
2015-12-21 09:57:01 +01:00
|
|
|
|
2020-02-27 15:36:22 +01:00
|
|
|
.container {
|
2020-10-15 17:41:57 +02:00
|
|
|
&:before,
|
|
|
|
> .content:before {
|
2020-02-27 15:36:22 +01:00
|
|
|
content: "";
|
|
|
|
display: block;
|
2020-04-14 10:40:09 +02:00
|
|
|
|
2021-06-23 11:01:31 +02:00
|
|
|
background: url(../img/icinga-loader.gif) no-repeat center center;
|
2022-02-08 12:23:37 +01:00
|
|
|
background-color: @body-bg-color;
|
2020-04-14 10:40:09 +02:00
|
|
|
background-size: 4em 4em;
|
|
|
|
|
2020-02-27 15:36:22 +01:00
|
|
|
opacity: 0;
|
2020-10-15 17:41:57 +02:00
|
|
|
z-index: -1;
|
2020-04-14 10:40:09 +02:00
|
|
|
pointer-events: none;
|
|
|
|
.transition(none);
|
2020-02-27 15:36:22 +01:00
|
|
|
}
|
2016-02-29 22:17:54 +01:00
|
|
|
|
2020-10-15 17:41:57 +02:00
|
|
|
&.impact,
|
|
|
|
> .content.impact {
|
2020-02-27 15:36:22 +01:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
2020-10-15 17:41:57 +02:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
opacity: .7;
|
2021-11-10 09:34:40 +01:00
|
|
|
z-index: 1000;
|
2020-10-15 17:41:57 +02:00
|
|
|
pointer-events: all;
|
|
|
|
.transition(opacity 1s 2s linear);
|
|
|
|
}
|
2020-02-27 15:36:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.impact:before {
|
|
|
|
top: 2.5em;
|
|
|
|
}
|
2015-12-21 09:57:01 +01:00
|
|
|
}
|
2021-06-23 08:42:10 +02:00
|
|
|
|
2022-02-08 17:03:51 +01:00
|
|
|
@light-mode: {
|
2021-06-23 08:42:10 +02:00
|
|
|
.container {
|
|
|
|
&:before,
|
|
|
|
> .content:before {
|
|
|
|
background-image: url(../img/icinga-loader-light.gif)
|
|
|
|
}
|
|
|
|
}
|
2022-02-08 17:03:51 +01:00
|
|
|
};
|