From: Hypolite Petovan Date: Thu, 13 Feb 2020 02:26:49 +0000 (-0500) Subject: [frio] Add narrow screen short item action button row X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2afdc69c20c840e8341b9c279ff5cc8280553820;p=friendica.git [frio] Add narrow screen short item action button row --- diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 00cd682cbc..496583a649 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -56,11 +56,10 @@ body a[name]:not([href]) { visibility: hidden; } -body a:hover, .btn-link:hover, -body a:focus, .btn-link:focus, -body a:active, .btn-link:active, -body a.active, .btn-link.active { - /*color: #59d6e4;*/ +body a:hover, .btn-link:hover, .btn:hover, +body a:focus, .btn-link:focus, .btn:focus, +body a:active, .btn-link:active, .btn:active, +body a.active, .btn-link.active, .btn.active { color: $link_hover_color; text-decoration: none; outline: none; @@ -1890,10 +1889,6 @@ code > .hl-main { margin: 0; margin-left: 20px; } -.wall-item-actions .button-event { - padding-left: 5px; - padding-right: 5px; -} .wall-item-actions .button-comments, .wall-item-actions .button-votes, .wall-item-actions .button-likes { @@ -1906,37 +1901,37 @@ code > .hl-main { .wall-item-actions .separator { margin: 0 .3em; } -.wall-item-actions .more-links { - vertical-align: baseline; -} .wall-item-responses > div > p { margin: 0; } /* wall item hover effects */ -.wall-item-container .wall-item-links, -.wall-item-container .wall-item-actions button, -.wall-item-container .body-attach > a { - opacity: 0.3; - -webkit-transition: all 0.25s ease-in-out; - -moz-transition: all 0.25s ease-in-out; - -o-transition: all 0.25s ease-in-out; - -ms-transition: all 0.25s ease-in-out; - transition: all 0.25s ease-in-out; -} -.wall-item-container:hover .wall-item-links, -.wall-item-container:hover .wall-item-actions button, -.wall-item-container:hover .body-attach > a { - opacity: 1; - -webkit-transition: all 0.25s ease-in-out; - -moz-transition: all 0.25s ease-in-out; - -o-transition: all 0.25s ease-in-out; - -ms-transition: all 0.25s ease-in-out; - transition: all 0.25s ease-in-out; -} -.wall-item-container .wall-item-body .body-attach > a:hover { - opacity: 1; + +@media (min-width: 768px) { + .wall-item-container .wall-item-links, + .wall-item-container .wall-item-actions button, + .wall-item-container .body-attach > a { + opacity: 0.3; + -webkit-transition: all 0.25s ease-in-out; + -moz-transition: all 0.25s ease-in-out; + -o-transition: all 0.25s ease-in-out; + -ms-transition: all 0.25s ease-in-out; + transition: all 0.25s ease-in-out; + } + .wall-item-container:hover .wall-item-links, + .wall-item-container:hover .wall-item-actions button, + .wall-item-container:hover .body-attach > a { + opacity: 1; + -webkit-transition: all 0.25s ease-in-out; + -moz-transition: all 0.25s ease-in-out; + -o-transition: all 0.25s ease-in-out; + -ms-transition: all 0.25s ease-in-out; + transition: all 0.25s ease-in-out; + } + .wall-item-container .wall-item-body .body-attach > a:hover { + opacity: 1; + } } /* diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index 8e058c30f6..624ac8b409 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -268,7 +268,7 @@ as the value of $top_child_total (this is done at the end of this file)
{{* Action buttons to interact with the item (like: like, dislike, share and so on *}} - + - + + + + +
+ {{* Event attendance buttons *}} + {{if $item.isevent}} +
+ + + +
+ {{/if}} + + {{if $item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.subthread || $item.ignore || $item.drop.dropping}} + + {{/if}} + + {{if $item.drop.pagedrop}} + + + {{/if}} + +