From 3ea84d7eab20947ac52dc7e6c205252f0a76c047 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 25 Nov 2015 22:55:07 +0100 Subject: some basic event styling --- view/css/conversation.css | 16 ++++++++++++ view/theme/redbasic/css/style.css | 51 ++------------------------------------- view/tpl/event.tpl | 2 +- 3 files changed, 19 insertions(+), 50 deletions(-) (limited to 'view') diff --git a/view/css/conversation.css b/view/css/conversation.css index 08b51d2fa..6a64e7cc2 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -245,3 +245,19 @@ a.wall-item-name-link { color: #FF0000; font-size: 1em !important; } + +/* event item */ + +.event-title h3 { + font-weight: bold; +} + +.event-title, +.event-end, +.event-description { + padding-bottom: 10px; +} + +.event-label { + font-weight: bold; +} diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 959550dbd..4dd58dd4c 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -857,41 +857,10 @@ nav .acpopup { border-color: #ccc !important; } -.eventcal { - float: left; - font-size: 20px; -} - #event-summary-text { margin-top: 15px; } -.event-wrapper { - width: 400px; - height: auto; - padding: 10px; -} - -.vevent { - max-width: 100%; - margin: 10px; - padding: 10px; - border: 1px solid #CCCCCC; -} - -.vevent .event-summary { - margin: 10px; - font-weight: bold; -} - -.vevent .event-description, .vevent .event-location { - margin-left: 10px; - margin-right: 10px; -} -.vevent .event-start { - margin-left: 10px; - margin-right: 10px; -} #new-event-link { margin-bottom: 10px; @@ -904,29 +873,13 @@ nav .acpopup { margin-bottom: 15px; } -.event-description:before { - content: url('../../../../images/calendar.png'); - margin-right: 15px; -} - -.event-start, .event-end { - margin-left: 10px; - width: 300px; - clear: both; -} - .event-owner img { - padding: 10px; + padding-bottom: 10px; + padding-right: 10px; } .event-buttons { margin-top: 10px; - margin-left: 10px; -} - -.event-start .dtstart, .event-end .dtend { - float: right; - margin-right: 10px; } .event-list-date { diff --git a/view/tpl/event.tpl b/view/tpl/event.tpl index c1793c3e7..3fc2063ef 100755 --- a/view/tpl/event.tpl +++ b/view/tpl/event.tpl @@ -2,7 +2,7 @@
- {{if $event.item.author.xchan_name}}{{$event.item.author.xchan_name}}{{/if}} + {{if $event.item.author.xchan_name}}{{$event.item.author.xchan_name}}{{/if}}
{{$event.html}}
-- cgit v1.2.3