summaryrefslogtreecommitdiffstats
path: root/public/css/widget/check-statistics.less
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:36:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:36:40 +0000
commita0901c4b7f2db488cb4fb3be2dd921a0308f4659 (patch)
treefafb393cf330a60df129ff10d0059eb7b14052a7 /public/css/widget/check-statistics.less
parentInitial commit. (diff)
downloadicingadb-web-a0901c4b7f2db488cb4fb3be2dd921a0308f4659.tar.xz
icingadb-web-a0901c4b7f2db488cb4fb3be2dd921a0308f4659.zip
Adding upstream version 1.0.2.upstream/1.0.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'public/css/widget/check-statistics.less')
-rw-r--r--public/css/widget/check-statistics.less55
1 files changed, 55 insertions, 0 deletions
diff --git a/public/css/widget/check-statistics.less b/public/css/widget/check-statistics.less
new file mode 100644
index 0000000..e2b5ac0
--- /dev/null
+++ b/public/css/widget/check-statistics.less
@@ -0,0 +1,55 @@
+.check-statistics {
+ .card();
+ .progress-bar();
+ .card-footer {
+ display: flex;
+ justify-content: center;
+ border-top: 1px solid @gray-light;
+
+ .key {
+ width: auto;
+ margin-right: .28125em; //calculated &nbsp; width
+ font-size: .83333333em;
+ }
+ }
+
+ .check-attempt {
+ display: inline-flex;
+ }
+
+ &.progress-bar .below {
+ padding: 0;
+ margin-left: 10%;
+ margin-right: auto;
+
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+
+ &:before {
+ background-color: @gray;
+ content: "";
+ display: block;
+ height: .25em;
+ width: 100%;
+
+ position: absolute;
+ top: ~"calc(50% - .125em)";
+ }
+ }
+
+ .interval {
+ background-color: @body-bg-color;
+ position: relative;
+ }
+
+ .check-overdue {
+ background-color: @color-down;
+ opacity: 1;
+
+ &:before,
+ &:after {
+ background-color: @color-down;
+ }
+ }
+}