From b83f34c7634bd308be74285736d28bd6ac1d80eb Mon Sep 17 00:00:00 2001 From: Benjamin Kiessling Date: Thu, 12 Jan 2012 22:25:40 +0100 Subject: Update example for new event file format --- slideshows/default/template/styles.css | 53 ++++++++++++++++++++++++++-------- 1 file changed, 41 insertions(+), 12 deletions(-) (limited to 'slideshows/default/template/styles.css') diff --git a/slideshows/default/template/styles.css b/slideshows/default/template/styles.css index f16b536..15d2cd9 100644 --- a/slideshows/default/template/styles.css +++ b/slideshows/default/template/styles.css @@ -1,13 +1,12 @@ body{ color:#555555; font-size:0.825em; - background-color:#000; + background: #fcfcfc; font-family:Arial, Helvetica, sans-serif; } div.frame { - margin-left: auto; - margin-right: auto; + margin: auto; min-width: 700px; max-width: 1200px; } @@ -20,8 +19,12 @@ div.content { div.slide_desc { position: absolute; top: 80%; - height: 20%; - width: 100%; + margin-left: 7.5%; + border: 1px solid #363942; + border-radius: 3px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + background: rgba(0, 0, 0, 0.7); } @@ -29,10 +32,11 @@ h2 { color: white; font: bold 24px/45px Helvetica, Sans-Serif; padding-left: 10px; + padding-right: 10px; } ul.rui-billboard { - border: 3px solid #CFCEBD; + border: 1px solid #363942; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; @@ -54,9 +58,8 @@ div.events { .event{ float:left; - padding:4px; + padding:0px; text-align:left; - margin:0px 5px 50px; } ul.eventList { @@ -70,22 +73,48 @@ ul.eventList { border:1px solid #EEEEEE; list-style:none; margin:5px; - padding:4px; + padding:4px 7px; + word-wrap: break-word; + -moz-border-radius:4px; -webkit-border-radius:4px; border-radius:4px; } +div.eventField { + display: none; +} + .eventDate{ font-size:1.5em; - margin:-5px -5px 10px; - padding:2px 5px; + /*border: 3px solid #363942;*/ + margin-left: 5px; + padding-left: 5px; + padding-right: 5px; text-align:center; - border: 3px solid #CFCEBD; + word-wrap: break-word; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; + background:#5C832F none repeat scroll 0 0; + color:#14210A; +} + +.eventDate.chreme{ + background:#FBF7F0; + border:1px solid #EEE4D4; + color:#A78B5F; +} + +.eventDate.blue{ + background:#E6F8FF; + border:1px solid #D4E6EE; + color:#548DA5; +} + +.eventDate.green{ background:#E6FFDF none repeat scroll 0 0; + border:1px solid #C9E6C1; color:#6EA85F; } -- cgit v1.2.1