From 4dd814a945e3cbb6c2e904844398223be9d86f49 Mon Sep 17 00:00:00 2001 From: Boris Bobrov Date: Mon, 11 Aug 2014 20:42:49 +0400 Subject: moved styles to a css file; more fixes to templates --- mediagoblin/static/css/base.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'mediagoblin/static') diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index f8726708..e84f51f3 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -754,6 +754,42 @@ table.media_panel th { padding-bottom: 4px; text-align: left; } +.thumb-overlay-status { + position: absolute; + margin: auto; + top: 0; bottom: 0; left: 0; right: 0; + width: 180px; + height: 20px; + display: inline; + text-align: center; + background-color: rgba(255, 255, 255, 0.8); +} + +.thumb-processing { + color: black; + font-weight: bold; +} + +.thumb-failed { + color: red; + font-weight: bold; +} + +.thumb-wrapper { + position: relative; +/* for proportional thumb resizing */ + width: auto; + height: auto; + display: inline-block; +} + +.thumb-wrapper img { + max-height: 180px; + max-width: 180px; +} +.media_panel td { + vertical-align: middle; +} /* moderator panels */ -- cgit v1.2.3