From a0901c4b7f2db488cb4fb3be2dd921a0308f4659 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 14:36:40 +0200 Subject: Adding upstream version 1.0.2. Signed-off-by: Daniel Baumann --- public/css/list/list-item.less | 139 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 public/css/list/list-item.less (limited to 'public/css/list/list-item.less') diff --git a/public/css/list/list-item.less b/public/css/list/list-item.less new file mode 100644 index 0000000..2370b59 --- /dev/null +++ b/public/css/list/list-item.less @@ -0,0 +1,139 @@ +// Style + +.list-item { + color: @text-color-light; + + &.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; + } + + &:not(:first-child) > .main { + border-top: 1px solid @gray-light; + } + + &:not(:first-child) .visual { + margin-top: 1px; + } + + .caption { + i { + opacity: 0.8; + } + + a { + color: @text-color; + } + } + + .title { + span.subject, + .state-text { + color: @text-color; + } + + .state-text { + text-transform: uppercase; + } + + a { + color: @text-color; + font-weight: bold; + + &:hover { + color: @icinga-blue; + text-decoration: none; + } + } + } + + footer { + .status-icons { + color: @gray-light; + } + } +} + +@media print { + .list-item.page-break-follows + .list-item { + .main { + border-top: 1px solid transparent; + } + } +} + +// Layout + +.list-item { + &.overdue time { + margin-right: -.5em; + padding: 0 0.5em; + } + + .visual { + padding: .5em 0; + width: 2.5em; + + .check-attempt { + margin-top: .5em; + } + } + + .caption { + p { + display: inline-block; + } + + &.plugin-output, .plugin-output { + font-size: 11/12em; + line-height: 1.5*12/11em; + } + } + + .title { + margin-right: 1em; + + p { + margin: 0; + } + } + + time { + white-space: nowrap; + } + + footer { + > * { + font-size: .857em; + line-height: 1.5*.857em; + } + + .status-icons { + display: flex; + align-items: center; + } + + .performance-data { + .inline-pie { + display: inline-block; + line-height: 1.5*.857em; + height: 1em; + width: 1em; + + &:not(:last-child) { + margin-right: .209em; + } + } + } + } +} -- cgit v1.2.3