X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1ca6872afcca0bb6fb4c0c11fdad3b760a2362a1..1f9103b1e752a6c41d2304bf5e41a7d6ae0c45c8:/apps/wolnelektury_core/static/css/master.picture.css diff --git a/apps/wolnelektury_core/static/css/master.picture.css b/apps/wolnelektury_core/static/css/master.picture.css index d541d2735..c4e952cf0 100644 --- a/apps/wolnelektury_core/static/css/master.picture.css +++ b/apps/wolnelektury_core/static/css/master.picture.css @@ -1,34 +1,96 @@ + +#picture-view { + width: 100%; + position:absolute; + top: 0; + bottom: 0; +} -#picture-view img.canvas { - width: 700px; +#picture-view .picture-wrap { margin: 3rem auto 1rem auto; display: block; -// position: fixed; +// position: absolute; +} + +#picture-view .picture-wrap { + width: 700px; +} + +#picture-view .picture-wrap { + height: 500px; } -#picture-view .toolbar { + +.picture-wrap img.original { + width: 100%; +} + +.picture-wrap img.loading { + margin-left: -10000px; +} + +.picture-wrap .mark { + border: 2px solid rgba(200, 200, 200, 0.7); + position: absolute; + display: block; +} + +.picture-wrap .mark .label { + position: absolute; + display: none; /*block;*/ + color: rgba(200, 200, 200, 0.8); + font-size: 0.9rem; + bottom: -1.5em; +} + + +.toolbar { position: fixed; top: 1.5rem; - right: 0rem; - background: #333; + left: 0rem; color: #FFF; - opacity: 0.9; z-index: 99; list-style: none; padding: 0; margin: 0; } -#picture-view .toolbar .button a { +.toolbar ul { + list-style: none; + padding: 0; + margin: 0; + font-size: 0.8rem; + background-color: #222; +} + +.toolbar .button a { + background: #333; + opacity: 0.9; display: block; height:1.5rem; - width:1.5rem; + text-align: center; color: #FFF; padding: 0.2rem; text-decoration: none; } +.toolbar .button .dropdown-body a { + height: 1.2rem; +} + +#picture-view .toolbar .button.square a { + width:1.5rem; +} + +li.button { + clear: both; +} +li.button.square { + clear: none; + float: left; +} + #picture-view .toolbar .button a:link, #picture-view .toolbar .button a:visited { color: #FFF;