summaryrefslogtreecommitdiffstats
path: root/public/css/list/list-item.less
diff options
context:
space:
mode:
Diffstat (limited to 'public/css/list/list-item.less')
-rw-r--r--public/css/list/list-item.less77
1 files changed, 77 insertions, 0 deletions
diff --git a/public/css/list/list-item.less b/public/css/list/list-item.less
new file mode 100644
index 0000000..2e67e3d
--- /dev/null
+++ b/public/css/list/list-item.less
@@ -0,0 +1,77 @@
+// Style
+
+.list-item {
+ &.overdue {
+ background-color: @gray-lighter;
+ }
+
+ &.overdue header > *:not(time),
+ &.overdue .caption {
+ opacity: 0.6;
+ }
+
+ &.overdue time {
+ .rounded-corners();
+ background-color: @color-critical;
+ color: @text-color-on-icinga-blue;
+ }
+
+ .title {
+ .state-text {
+ color: @text-color;
+ text-transform: uppercase;
+ }
+ }
+
+ footer {
+ .status-icons {
+ color: @text-color-light;
+
+ .icon {
+ opacity: .5;
+ }
+ }
+ }
+}
+
+// Layout
+
+.list-item {
+ &.overdue time {
+ margin-right: -.5em;
+ padding: 0 0.5em;
+ }
+
+ .visual .check-attempt {
+ margin-top: .5em;
+ }
+
+ .caption {
+ &.plugin-output, .plugin-output {
+ font-size: 11/12em;
+ line-height: 1.5*12/11em;
+ }
+ }
+
+ footer {
+ .status-icons {
+ display: flex;
+ align-items: center;
+ }
+
+ .performance-data {
+ margin-left: auto;
+
+ .inline-pie {
+ display: inline-block;
+ line-height: 1.5*.857em;
+ height: 1em;
+ width: 1em;
+
+ &:not(:last-child) {
+ margin-right: .209em;
+ }
+ }
+ }
+ }
+}