Просмотр исходного кода

Ticket #5282 - Lucide iconset: Accounts manager.

AntonLV 3 месяцев назад
Родитель
Сommit
80e7233c02

+ 13 - 1
modules/boonex/accounts/template/css/manage_tools.css

@@ -18,10 +18,22 @@
     float: none;
 }
 
+/*--- Profiles list ---*/
+.bx-accnt-profile img,
+.bx-accnt-profile svg,
+.bx-accnt-profile .sys-icon {
+    width: 1.0rem;
+    height: 1.0rem;
+}
+.bx-accnt-profile .sys-icon {
+    line-height: 1.0rem;
+}
+
 /*--- Profiles popup ---*/
 .bx-accnt-profiles-popup {
     max-width: 18rem;
+    font-size: 0.875rem;
 }
-.bx-accnt-profiles-popup-cnt > span:last-child {
+.bx-accnt-profiles-popup-cnt > .bx-accnt-profile:last-child > span {
     display: none;
 }

+ 2 - 2
modules/boonex/accounts/template/profiles.html

@@ -1,7 +1,7 @@
 <div class="bx-accnt-profiles bx-clearfix">
-	<div class="bx-accnt-profiles-cnt__class_cnt__">
+	<div class="bx-accnt-profiles-cnt__class_cnt__ flex flex-wrap space-x-2">
 	    <bx_repeat:profiles>
-	        <div id="__html_id____id__" class="bx-accnt-profile">
+	        <div id="__html_id____id__" class="bx-accnt-profile inline-flex items-center space-x-1">
 	            <a href="__url__" target="_blank" title="__name_attr__">__name__</a> __auth_accounts_icons__
 	        </div>
 	    </bx_repeat:profiles>

+ 4 - 2
modules/boonex/accounts/template/profiles_more.html

@@ -1,7 +1,9 @@
 <div class="bx-accnt-profiles-popup">
-    <div class="bx-accnt-profiles-popup-cnt bx-def-padding">
+    <div class="bx-accnt-profiles-popup-cnt flex flex-wrap p-4 space-x-2">
         <bx_repeat:profiles>
-            <a href="__url__" target="_blank" title="__name_attr__">__name__</a> __auth_accounts_icons__<span>,</span>
+            <div class="bx-accnt-profile inline-flex items-center space-x-1">
+                <a href="__url__" target="_blank" title="__name_attr__">__name__</a> __auth_accounts_icons__<span>,</span>
+            </div>
         </bx_repeat:profiles>
     </div>
 </div>

+ 4 - 2
template/scripts/BxBaseIconsetLucide.php

@@ -66,7 +66,7 @@ class BxBaseIconsetLucide extends BxBaseIconset
             'fa-grip-horizontal' => 'layout-grid',
             'fa-smile' => 'smile',
             'fa-thumbs-up' => 'thumbs-up',
-            'facebook-square' => 'facebook',
+            'facebook-square' => 'log-in', //TODO: Brand icon. Update later.
             'file-alt' => 'file',
             'file-alt' => 'file-text',
             'file-export' => 'file-output',
@@ -84,7 +84,7 @@ class BxBaseIconsetLucide extends BxBaseIconset
             'keyround' => 'key-round',
             'language' => 'languages',
             'list-alt' => 'list',
-            'linkedin-in' => 'linkedin',
+            'linkedin-in' => 'log-in', //TODO: Brand icon. Update later.
             'lockopen' => 'unlock',
             'mail-bulk' => 'mails',
             'map-marker' => 'map-pin',
@@ -96,6 +96,7 @@ class BxBaseIconsetLucide extends BxBaseIconset
             'photo-video' => 'image-play',
             'plus-circle' => 'plus-circle',
             'qrcode' => 'qr-code',
+            'question' => 'circle-question-mark',
             'question-circle' => 'circle-question-mark',
             'quote-right' => 'quote',
             'remove' => 'x',
@@ -117,6 +118,7 @@ class BxBaseIconsetLucide extends BxBaseIconset
             'times-circle' => 'x-circle',
             'toolbox' => 'tool-case',
             'trash2' => 'trash-2',
+            'twitter' => 'log-in', //TODO: Brand icon. Update later.
             'unlock-alt' => 'unlock',
             'user' => 'user-round',
             'user-friends' => 'users',