From a38798009fc5e8e5db692cd5fc769eda1d1a39cc Mon Sep 17 00:00:00 2001 From: "Bc. Petr Pecha" Date: Tue, 13 Oct 2015 16:45:53 +0200 Subject: [PATCH] galerie | prechodove sipky --- galerie/TODO | 8 +++++- mamweb/static/css/mamweb.css | 54 ++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/galerie/TODO b/galerie/TODO index b4512244..ccfd1200 100644 --- a/galerie/TODO +++ b/galerie/TODO @@ -3,8 +3,14 @@ |======| Aktualni -* třízení podgalerií * do CSS + * nahledy + * nastylovat tabulku s nahledy + * komentare uz na nahledy? + * detail + * nahledy pred a po + * opravit prechodove sipky + * vyrobit prechodove sipky ve M&M-stylu Dlouhodobe * sipky na prechazeni mezi fotkami diff --git a/mamweb/static/css/mamweb.css b/mamweb/static/css/mamweb.css index 2d0a283f..12036fc5 100644 --- a/mamweb/static/css/mamweb.css +++ b/mamweb/static/css/mamweb.css @@ -408,3 +408,57 @@ div.zadani_azad_termin { float: none; } } + + +/* galerie */ + +.predchozi_obrazek{ + position: absolute; + z-index: 1; + width: 33%; + height: 100%; + left: 0; + top: 0; +} +.predchozi_obrazek:hover{ + background-image: url("/static/galerie/prvky/predchozi.png"); + background-position: left center; + background-repeat: no-repeat; +} +.dalsi_obrazek{ + position: absolute; + z-index: 1; + width: 33%; + height: 100%; + left: 67%; + top: 0; +} +.dalsi_obrazek:hover{ + background-image: url("/static/galerie/prvky/dalsi.png"); + background-position: right center; + background-repeat: no-repeat; +} + +.galerie{ + position: relative; +} +.galerie_top{ + margin: 1em 0; + text-align: right; +} +.galerie_bot{ + margin: 1em 0; +} +.galerie_index{ + width: 100%; +} +.galerie_index td{ + width: 50%; +} +.galerie_nahled{ + width: 100%; +} +.galerie_nahled td{ + width: 33%; +} +