]> git.mxchange.org Git - friendica.git/commitdiff
Vier: Some more transition effects
authorMichael Vogel <icarus@dabo.de>
Mon, 4 Mar 2013 20:11:31 +0000 (21:11 +0100)
committerMichael Vogel <icarus@dabo.de>
Mon, 4 Mar 2013 20:11:31 +0000 (21:11 +0100)
view/theme/vier/search_item.tpl
view/theme/vier/smarty3/search_item.tpl
view/theme/vier/smarty3/wall_thread.tpl
view/theme/vier/style.css
view/theme/vier/wall_thread.tpl

index 846f5ccff7c3240bead711f9e42b4e261ca0228b..334e33fca79c5a15f1283ddffdeedd960e66d5cf 100644 (file)
@@ -23,9 +23,9 @@
                </div>
                <div class="wall-item-actions-author">
                        <a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle">$item.name</span></a> 
-                       <span class="wall-item-ago">- &nbsp;
+                       <span class="wall-item-ago">
                                {{ if $item.plink }}<a class="link" title="$item.plink.title" href="$item.plink.href" style="color: #999">$item.ago</a>{{ else }} $item.ago {{ endif }}
-                               {{ if $item.lock }} - <span class="fakelink" style="color: #999" onclick="lockview(event,$item.id);">$item.lock</span> {{ endif }}
+                               {{ if $item.lock }}<span class="fakelink" style="color: #999" onclick="lockview(event,$item.id);">$item.lock</span> {{ endif }}
                        </span>
                </div>
                <div class="wall-item-content">
index c6c83f8b86bc96b9bdb90ee63cee0bb05058aeaa..0a62fd584346836a148cafdb402ed162a8c0ebcc 100644 (file)
@@ -28,9 +28,9 @@
                </div>
                <div class="wall-item-actions-author">
                        <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}">{{$item.name}}</span></a> 
-                       <span class="wall-item-ago">- &nbsp;
+                       <span class="wall-item-ago">
                                {{if $item.plink}}<a class="link" title="{{$item.plink.title}}" href="{{$item.plink.href}}" style="color: #999">{{$item.ago}}</a>{{else}} {{$item.ago}} {{/if}}
-                               {{if $item.lock}} - <span class="fakelink" style="color: #999" onclick="lockview(event,{{$item.id}});">{{$item.lock}}</span> {{/if}}
+                               {{if $item.lock}}<span class="fakelink" style="color: #999" onclick="lockview(event,{{$item.id}});">{{$item.lock}}</span> {{/if}}
                        </span>
                </div>
                <div class="wall-item-content">
index adaf0b639fa6cb33bb71eab20344f84aea9e717a..f2f6f186e8182731bdde08d0cf94369fab523a25 100644 (file)
@@ -58,9 +58,9 @@
                <div class="wall-item-actions-author">
                        <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}">{{$item.name}}</span></a>
                         {{if $item.owner_url}}{{$item.via}} <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> <!-- {{$item.vwall}} -->{{/if}}
-                       <span class="wall-item-ago">-
+                       <span class="wall-item-ago">
                                {{if $item.plink}}<a title="{{$item.plink.title}}" href="{{$item.plink.href}}" style="color: #999">{{$item.ago}}</a>{{else}} {{$item.ago}} {{/if}}
-                               {{if $item.lock}} - <span class="fakelink" style="color: #999" onclick="lockview(event,{{$item.id}});">{{$item.lock}}</span> {{/if}}
+                               {{if $item.lock}}<span class="fakelink" style="color: #999" onclick="lockview(event,{{$item.id}});">{{$item.lock}}</span> {{/if}}
                        </span>
                </div>
 
index 278a1ddde755fe8a9c66ed31a9a9a328c8880a43..a489b48b96b3ff933e5ca44c4ff341a5c97831c2 100644 (file)
@@ -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;
index 7ca07d8591fa90550c54e4f5ebe4f50268d2cd8a..756015bc0f056ae6204f802e59ac225575c731c8 100644 (file)
@@ -53,9 +53,9 @@
                <div class="wall-item-actions-author">
                        <a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle">$item.name</span></a>
                         {{ if $item.owner_url }}$item.via <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> <!-- $item.vwall -->{{ endif }}
-                       <span class="wall-item-ago">-
+                       <span class="wall-item-ago">
                                {{ if $item.plink }}<a title="$item.plink.title" href="$item.plink.href" style="color: #999">$item.ago</a>{{ else }} $item.ago {{ endif }}
-                               {{ if $item.lock }} - <span class="fakelink" style="color: #999" onclick="lockview(event,$item.id);">$item.lock</span> {{ endif }}
+                               {{ if $item.lock }}<span class="fakelink" style="color: #999" onclick="lockview(event,$item.id);">$item.lock</span> {{ endif }}
                        </span>
                </div>