Mercurial > hg > orthanc-stone
view StoneWebViewer/Resources/Styles/_notice.scss @ 1526:61023b0d39c8
Reverted the Stone Web Viewer plugin to rev. 307a805d0587
(mistakenly changed to serve the RT Viewer and make it
available in the Orthanc Explorer while it should have been
done in a separate plugin)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Sun, 02 Aug 2020 13:53:48 +0200 |
parents | fb74ed5d8c22 |
children |
line wrap: on
line source
wv-notice { display: block; height: 100%; width: 100%; } .wvNotice { // Set padding padding: 0.5rem 0.25rem; // Fill parent element so text can be centered height: 100%; } .wvNotice__text { // Center text position: relative; top: 50%; transform: translateY(-50%); text-align: center; margin-left: 1rem; // Text style font-weight: 400; color: hsl(0, 0%, 70%); // Keep space for button float: left; width: calc(100% - 7rem); // 3.5 rem + 3 rem margin (incl. button margin + text margin) } .wvNotice__closeButton { // Position button on right float: right; margin-right: 0.5em; // Center button vertically position: relative; top: 50%; transform: translateY(-50%); // Set button size width: 3.5rem; height: 2.5rem; // half the bottom zone height // Configure button icon text-align: center; font-size: 1em; font-weight: 100; line-height: 2.2rem; // Set button style cursor: pointer; border: 1px solid hsl(0, 0%, 27%); }