]> git.mxchange.org Git - friendica.git/commitdiff
[frio] Larger clickable area for batch actions
authorDamian Wajer <damian@damianwajer.com>
Wed, 18 Jan 2023 17:08:49 +0000 (18:08 +0100)
committerDamian Wajer <damian@damianwajer.com>
Thu, 19 Jan 2023 18:49:01 +0000 (19:49 +0100)
view/theme/frio/css/style.css
view/theme/frio/templates/calendar/calendar.tpl
view/theme/frio/templates/contact/entry.tpl
view/theme/frio/templates/settings/profile/index.tpl

index 3a137875b8635a3d92446304ddeaca1a39cec616..a7ee81b565c2c6a9f73ee22faa4f4ac061698801 100644 (file)
@@ -2545,20 +2545,18 @@ ul.viewcontact_wrapper > li {
 }
 .contact-wrapper .contact-actions {
        display: flex;
+       position: relative;
+       margin: -8px -8px 0 0;
 }
 .contact-wrapper .contact-action-link,
 .contact-wrapper .contact-action-link:hover,
 .textcomplete-item .contact-wrapper .contact-action-link {
-       padding: 0 5px;
        color: $font_color_darker;
        border: 0;
 }
 .contact-wrapper .contact-action-link {
-       opacity: 0.1;
-       transition: all 0.25s ease-in-out;
-}
-ul li:hover .contact-wrapper .contact-action-link {
-       opacity: 0.8;
+       background-color: transparent;
+       opacity: 0.3;
        transition: all 0.25s ease-in-out;
 }
 ul li:hover .contact-wrapper .contact-action-link:hover {
index f233866f0b6a05d0f876f4f9bd433efb5fc2563d..0872ce0c5cb573264c7369626e222895e0137051 100644 (file)
@@ -17,7 +17,7 @@
                        {{* The dropdown to change the callendar view *}}
                        <ul class="nav nav-pills">
                                <li class="dropdown pull-right">
-                                       <button class="btn btn-link btn-sm dropdown-toggle" type="button" id="event-calendar-views" data-toggle="dropdown" aria-expanded="false">
+                                       <button class="btn btn-link dropdown-toggle" type="button" id="event-calendar-views" data-toggle="dropdown" aria-expanded="false">
                                                <i class="fa fa-angle-down" aria-hidden="true"></i> {{$view}}
                                        </button>
                                        <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="event-calendar-views">
index de6faa2204838cd5277bca184f2aff6d8cb18a81..da777b952d42cbd1a11b9960fb03f950944e1e4e 100644 (file)
@@ -12,7 +12,7 @@
                                </div>
 
                                {{* For very small displays we use a dropdown menu for contact relating actions *}}
-                               <button type="button" class="btn btn-link dropdown-toggle visible-xs" id="contact-photo-menu-button-{{$contact.id}}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
+                               <button type="button" class="btn btn-default dropdown-toggle visible-xs" id="contact-photo-menu-button-{{$contact.id}}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                        {{* use a smaller picture on very small displays (e.g. mobiles) *}}
                                        <div class="contact-photo-image-wrapper visible-xs">
                                                <img class="contact-photo-xs media-object" src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" />
                <div class="media-body">
                        {{if $contact.photo_menu}}
                        {{* The contact actions like private mail, delete contact, edit contact and so on *}}
-                       <div class="contact-actions pull-right nav-pills preferences hidden-xs">
+                       <div class="btn-group contact-actions pull-right nav-pills preferences hidden-xs" role="group">
                                {{if $contact.photo_menu.pm}}
-                               <button type="button" class="contact-action-link btn-link" onclick="addToModal('{{$contact.photo_menu.pm.1}}'); return false;" data-toggle="tooltip" title="{{$contact.photo_menu.pm.0}}">
+                               <button type="button" class="contact-action-link btn btn-default" onclick="addToModal('{{$contact.photo_menu.pm.1}}'); return false;" data-toggle="tooltip" title="{{$contact.photo_menu.pm.0}}">
                                        <i class="fa fa-envelope" aria-hidden="true"></i>
                                </button>
                                {{/if}}
                                {{if $contact.photo_menu.network}}
-                               <a class="contact-action-link btn-link" href="{{$contact.photo_menu.network.1}}" data-toggle="tooltip" title="{{$contact.photo_menu.network.0}}">
+                               <a class="contact-action-link btn btn-default" href="{{$contact.photo_menu.network.1}}" data-toggle="tooltip" title="{{$contact.photo_menu.network.0}}">
                                        <i class="fa fa-cloud" aria-hidden="true"></i>
                                </a>
                                {{/if}}
                                {{if $contact.photo_menu.follow}}
-                               <a class="contact-action-link btn-link" href="{{$contact.photo_menu.follow.1}}" data-toggle="tooltip" title="{{$contact.photo_menu.follow.0}}">
+                               <a class="contact-action-link btn btn-default" href="{{$contact.photo_menu.follow.1}}" data-toggle="tooltip" title="{{$contact.photo_menu.follow.0}}">
                                        <i class="fa fa-user-plus" aria-hidden="true"></i>
                                </a>
                                {{/if}}
                                {{if $contact.photo_menu.unfollow}}
-                               <a class="contact-action-link btn-link" href="{{$contact.photo_menu.unfollow.1}}" data-toggle="tooltip" title="{{$contact.photo_menu.unfollow.0}}">
+                               <a class="contact-action-link btn btn-default" href="{{$contact.photo_menu.unfollow.1}}" data-toggle="tooltip" title="{{$contact.photo_menu.unfollow.0}}">
                                        <i class="fa fa-user-times" aria-hidden="true"></i>
                                </a>
                                {{/if}}
                                {{if $contact.photo_menu.hide}}
-                               <a class="contact-action-link btn-link" href="{{$contact.photo_menu.hide.1}}" data-toggle="tooltip" title="{{$contact.photo_menu.hide.0}}">
+                               <a class="contact-action-link btn btn-default" href="{{$contact.photo_menu.hide.1}}" data-toggle="tooltip" title="{{$contact.photo_menu.hide.0}}">
                                        <i class="fa fa-times" aria-hidden="true"></i>
                                </a>
                                {{/if}}
@@ -76,7 +76,7 @@
                        {{* The button to add or remove contacts from a contact group - group edit page *}}
                        {{if $contact.change_member}}
                        <div class="contact-group-actions pull-right nav-pills preferences">
-                               <button type="button" class="contact-action-link contact-group-link btn-link" onclick="groupChangeMember({{$contact.change_member.gid}},{{$contact.change_member.cid}},'{{$contact.change_member.sec_token}}'); return true;" data-toggle="tooltip" title="{{$contact.change_member.title}}">
+                               <button type="button" class="contact-action-link btn contact-group-link btn-default" onclick="groupChangeMember({{$contact.change_member.gid}},{{$contact.change_member.cid}},'{{$contact.change_member.sec_token}}'); return true;" data-toggle="tooltip" title="{{$contact.change_member.title}}">
                                        {{if $contact.label == "members"}}
                                        <i class="fa fa-times-circle" aria-hidden="true"></i>
                                        {{elseif $contact.label == "contacts"}}
index 3c3834c3119756ff93c7b6957d33e4f937ab171d..862d189c8e19fed3abee0f4a6e042ede438fa51c 100644 (file)
@@ -5,7 +5,7 @@
        <div id="profile-edit-links">
                <ul class="nav nav-pills preferences">
                        <li class="dropdown pull-right">
-                               <button type="button" class="btn btn-link btn-sm dropdown-toggle" id="profile-edit-links-dropdown" data-toggle="dropdown" aria-expanded="false">
+                               <button type="button" class="btn btn-link dropdown-toggle" id="profile-edit-links-dropdown" data-toggle="dropdown" aria-expanded="false">
                                        <i class="fa fa-angle-down" aria-hidden="true"></i>&nbsp;{{$profile_action}}
                                </button>
                                <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="profile-edit-links-dropdown">