From 8bb6b51967a3fa5e461ea3cb51e5033604e26426 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 4 Mar 2013 21:11:31 +0100 Subject: [PATCH] Vier: Some more transition effects --- view/theme/vier/search_item.tpl | 4 ++-- view/theme/vier/smarty3/search_item.tpl | 4 ++-- view/theme/vier/smarty3/wall_thread.tpl | 4 ++-- view/theme/vier/style.css | 30 +++++++++++++++++++++++++ view/theme/vier/wall_thread.tpl | 4 ++-- 5 files changed, 38 insertions(+), 8 deletions(-) diff --git a/view/theme/vier/search_item.tpl b/view/theme/vier/search_item.tpl index 846f5ccff..334e33fca 100644 --- a/view/theme/vier/search_item.tpl +++ b/view/theme/vier/search_item.tpl @@ -23,9 +23,9 @@
$item.name - -   + {{ if $item.plink }}$item.ago{{ else }} $item.ago {{ endif }} - {{ if $item.lock }} - $item.lock {{ endif }} + {{ if $item.lock }}$item.lock {{ endif }}
diff --git a/view/theme/vier/smarty3/search_item.tpl b/view/theme/vier/smarty3/search_item.tpl index c6c83f8b8..0a62fd584 100644 --- a/view/theme/vier/smarty3/search_item.tpl +++ b/view/theme/vier/smarty3/search_item.tpl @@ -28,9 +28,9 @@
{{$item.name}} - -   + {{if $item.plink}}{{$item.ago}}{{else}} {{$item.ago}} {{/if}} - {{if $item.lock}} - {{$item.lock}} {{/if}} + {{if $item.lock}}{{$item.lock}} {{/if}}
diff --git a/view/theme/vier/smarty3/wall_thread.tpl b/view/theme/vier/smarty3/wall_thread.tpl index adaf0b639..f2f6f186e 100644 --- a/view/theme/vier/smarty3/wall_thread.tpl +++ b/view/theme/vier/smarty3/wall_thread.tpl @@ -58,9 +58,9 @@
{{$item.name}} {{if $item.owner_url}}{{$item.via}} {{$item.owner_name}} {{/if}} - - + {{if $item.plink}}{{$item.ago}}{{else}} {{$item.ago}} {{/if}} - {{if $item.lock}} - {{$item.lock}} {{/if}} + {{if $item.lock}}{{$item.lock}} {{/if}}
diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 278a1ddde..a489b48b9 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -1185,6 +1185,36 @@ border-bottom: 1px solid #D2D2D2; color: black; font-weight: bold; } + +.wall-item-container:hover .wall-item-name { + color: #36c; + font-weight: bold; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +.toplevel_item .wall-item-content a, +.wall-item-container .wall-item-content a, +.toplevel_item .fakelink, +.wall-item-container .fakelink { + color: black; +} + +.toplevel_item:hover .fakelink, +.wall-item-container:hover .fakelink, +.toplevel_item:hover .wall-item-content a, +.wall-item-container:hover .wall-item-content a { + color: #36c; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + .wall-item-container .wall-item-actions-author { width: 100%; margin-bottom: 0.3em; diff --git a/view/theme/vier/wall_thread.tpl b/view/theme/vier/wall_thread.tpl index 7ca07d859..756015bc0 100644 --- a/view/theme/vier/wall_thread.tpl +++ b/view/theme/vier/wall_thread.tpl @@ -53,9 +53,9 @@
$item.name {{ if $item.owner_url }}$item.via $item.owner_name {{ endif }} - - + {{ if $item.plink }}$item.ago{{ else }} $item.ago {{ endif }} - {{ if $item.lock }} - $item.lock {{ endif }} + {{ if $item.lock }}$item.lock {{ endif }}