From 7529109a16d8c4554f6d295bf1241abf3da82098 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 6 Feb 2019 02:53:42 +0300 Subject: [PATCH] added preliminary ribbon title support in CSS... Signed-off-by: Alex A. Naanou --- ui (gen4)/css/layout.less | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/ui (gen4)/css/layout.less b/ui (gen4)/css/layout.less index cd652d65..f3c880aa 100755 --- a/ui (gen4)/css/layout.less +++ b/ui (gen4)/css/layout.less @@ -629,6 +629,27 @@ stretching in width... */ display: none; } +/* XXX would be good to make this sticky -- always visible... */ +.ribbon[title]:before { + display: block; + position: absolute; + content: attr(title); + + font-size: 52pt; + font-style: italic; + font-weight: bold; + + color: white; + text-shadow: black 2px 2px 15px; + + top: -2pt; + right: 100%; + margin-right: 20pt; +} +.single-image-mode .ribbon[title]:before { + display: none; +} + .base-ribbon-marker { position: absolute; height: 100%;