From 6f57d5d0d41fd5831276906cbb41598ca21bb550 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 28 Dec 2023 10:04:03 -0300 Subject: [PATCH] [KiRi] Moved the commits list style to the CSS --- kibot/resources/kiri/kiri.css | 35 +++++++++++++++++++++++++++++++++++ kibot/resources/kiri/kiri.js | 12 +++++------- 2 files changed, 40 insertions(+), 7 deletions(-) diff --git a/kibot/resources/kiri/kiri.css b/kibot/resources/kiri/kiri.css index f29ea675..26a69c75 100644 --- a/kibot/resources/kiri/kiri.css +++ b/kibot/resources/kiri/kiri.css @@ -449,6 +449,41 @@ hr { mask-size: 100% 100%; } +.icon-commit { + width: 1em; + height: 1em; + display: inline-block; + background-color: currentColor; + --svg: url("data:image/svg+xml;utf8,"); + -webkit-mask-image: var(--svg); + mask-image: var(--svg); + -webkit-mask-repeat: no-repeat; + mask-repeat: no-repeat; + -webkit-mask-size: 100% 100%; + mask-size: 100% 100%; +} + +.commit-label { + display: block; + width: 640px; + margin-left: 0px; +} + +.commit-icon-cell { + vertical-align: top; + width: 1.8em; +} + +.commit-info-cell { + white-space:nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.commit-desc-cell { + line-height: 0.7; +} + .ui-style { background-color: #333; overflow-y: hidden; diff --git a/kibot/resources/kiri/kiri.js b/kibot/resources/kiri/kiri.js index f8825ffe..d4b57ac8 100644 --- a/kibot/resources/kiri/kiri.js +++ b/kibot/resources/kiri/kiri.js @@ -726,21 +726,19 @@ function load_commits() var commit_html = ` -