icingaweb2/public/css/icinga/compat.less
Eric Lippmann bfec423eae Compat: Provide empty LESS mixin .code()
Some 3rd party modules (e.g. vsphere) use this mixin (though we never had it).
With lessphp version 0.5.0 using undefined mixins now throws exceptions.
Since we can't rely that users upgrade those modules first,
we provide the mixin for compatibility here.
2019-07-30 08:31:03 +02:00

41 lines
1.1 KiB
Plaintext

/*! Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */
@colorMainLayout: @icinga-blue;
@colorMainBackground: @body-bg-color;
@colorMainForeground: @text-color;
@colorMainLink: @text-color;
@colorSecondary: @gray-lightest;
@colorGray: @gray-lightest;
@colorLinkDefault: @text-color;
@colorTextDefault: @text-color;
@colorTextDarkDefault: @text-color;
@colorOk: @color-ok;
@colorWarning: #ffaa44;
@colorWarningHandled: #ffcc66;
@colorCritical: #ff5566;
@colorCriticalHandled: #ff99aa;
@colorUnknown: #aa44ff;
@colorUnknownHandled: #cc77ff;
@colorUnreachable: #aa44ff;
@colorUnreachableHandled: #cc77ff;
@colorPending: #77aaff;
@colorInvalid: #999;
@colorFormNotificationInfo: #77aaff;
@colorFormNotificationWarning: #ffaa44;
@colorFormNotificationError: #ff5566;
@colorPetrol: @icinga-blue;
table.action {
.common-table();
}
table.avp {
.name-value-table()
}
.code() {
// Some 3rd party modules (e.g. vsphere) use this mixin (though we never had it)
// With lessphp version 0.5.0 using undefined mixins now throws exceptions
// Since we can't rely that users upgrade those modules first, we provide the mixin for compatibility here
}