From 1fa8cdfc620f2b867e9daecfde61875c4b04f92f Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Mon, 12 Apr 2021 05:16:03 +0200 Subject: [PATCH] WIP --- src/core/css/webcaosdb.css | 12 +++++++----- src/core/xsl/entity.xsl | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/core/css/webcaosdb.css b/src/core/css/webcaosdb.css index 2dedf943..f0f5a77d 100644 --- a/src/core/css/webcaosdb.css +++ b/src/core/css/webcaosdb.css @@ -185,10 +185,6 @@ tbody:not(:hover) tr .caosdb-v-entity-version-hint-cur { background-color: transparent !important; } -.caosdb-entity-heading-attr { - overflow-x: auto; -} - a.label.caosdb-id-button:hover { background-color: #5E6762; } @@ -326,8 +322,14 @@ h5 { border-bottom-right-radius: 3px; } +.coasdb-entity-version-attr, +.caosdb-entity-heading-attr { + overflow-x: auto; +} + +.coasdb-entity-version-attr-name, .caosdb-entity-heading-attr-name { - color: #6c6c6c; + color: #6c6c6c; font-size: 90%; margin-right: 0.3em; } diff --git a/src/core/xsl/entity.xsl b/src/core/xsl/entity.xsl index 469f99dc..4e5f48b7 100644 --- a/src/core/xsl/entity.xsl +++ b/src/core/xsl/entity.xsl @@ -609,9 +609,9 @@ <xsl:value-of select="' bg-danger'"/> </xsl:if> </xsl:attribute> - <p class="caosdb-entity-heading-attr"> + <p class="caosdb-entity-version-attr"> <h4 class="modal-title">Version Info</h4> - <em class="caosdb-entity-heading-attr-name"> + <em class="caosdb-entity-version-attr-name"> This is <xsl:if test="not(@head='true')"><b>not</b></xsl:if> the latest version of this entity. -- GitLab