diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-11-25 22:55:07 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-11-25 22:55:07 +0100 |
commit | 3ea84d7eab20947ac52dc7e6c205252f0a76c047 (patch) | |
tree | 9cb7c69c30fd108deb2f700fe5a88d24dba3d194 /view | |
parent | a80c45940e14d75ef91b39e62d8aab9e2efc01cc (diff) | |
download | volse-hubzilla-3ea84d7eab20947ac52dc7e6c205252f0a76c047.tar.gz volse-hubzilla-3ea84d7eab20947ac52dc7e6c205252f0a76c047.tar.bz2 volse-hubzilla-3ea84d7eab20947ac52dc7e6c205252f0a76c047.zip |
some basic event styling
Diffstat (limited to 'view')
-rw-r--r-- | view/css/conversation.css | 16 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 51 | ||||
-rwxr-xr-x | view/tpl/event.tpl | 2 |
3 files changed, 19 insertions, 50 deletions
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 @@ <div class="event-wrapper"> <div class="event"> <div class="event-owner"> - {{if $event.item.author.xchan_name}}<a href="{{$event.item.author.xchan_url}}" ><img src="{{$event.item.author.xchan_photo_s}}" height="64" width="64" />{{$event.item.author.xchan_name}}</a>{{/if}} + {{if $event.item.author.xchan_name}}<a href="{{$event.item.author.xchan_url}}" ><img src="{{$event.item.author.xchan_photo_s}}">{{$event.item.author.xchan_name}}</a>{{/if}} </div> {{$event.html}} <div class="event-buttons"> |