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

Ticket #3998 - Profile Switcher move to Core.

AntonLV 4 лет назад
Родитель
Сommit
ab049e0088

+ 0 - 13
modules/boonex/artificer/data/template/system/profile_avatar_switcher.html

@@ -1,13 +0,0 @@
-<div class="bx-profile-avatar-switcher">
-    <div class="bx-pas-cnt">
-        <div class="bx-pas-list">__profile_switcher__</div>
-        <bx_if:multiple_profiles_mode>
-            <hr class="bx-def-hr" />
-            <div class="bx-pas-list-link p-4">
-                <a class="bx-btn w-full justify-center" href="__url_switch_profile__">
-                    <i class="sys-icon plus"></i><span class="pl-2"><bx_text:_sys_txt_my_profiles /></span>
-                </a>
-            </div>
-        </bx_if:multiple_profiles_mode>
-    </div>
-</div>

+ 0 - 4
template/css/general.css

@@ -329,10 +329,6 @@ div.bx-account-unit-online {
     padding-left: 0px;
     padding-right: 0px;
 }
-.bx-profile-avatar-switcher .bx-pas-list-link .bx-btn {
-    float: none;
-    display: inline-block;
-}
 
 
 /* --------------- Profile Stats */

+ 6 - 5
template/profile_avatar_switcher.html

@@ -1,10 +1,11 @@
-<div class="bx-profile-avatar-switcher bx-popup-width">
-    <div class="bx-pas-cnt bx-def-padding-leftright bx-def-padding-sec-topbottom">
+<div class="bx-profile-avatar-switcher">
+    <div class="bx-pas-cnt">
         <div class="bx-pas-list">__profile_switcher__</div>
         <bx_if:multiple_profiles_mode>
-            <div class="bx-pas-list-link bx-def-padding-top bx-def-padding-sec-bottom bx-def-font-align-center">
-                <a class="bx-btn" href="__url_switch_profile__">
-                    <i class="sys-icon plus"></i><span class="bx-def-padding-sec-left"><bx_text:_sys_txt_my_profiles /></span>
+            <hr class="bx-def-hr" />
+            <div class="bx-pas-list-link p-4">
+                <a class="bx-btn w-full justify-center" href="__url_switch_profile__">
+                    <i class="sys-icon plus"></i><span class="pl-2"><bx_text:_sys_txt_my_profiles /></span>
                 </a>
             </div>
         </bx_if:multiple_profiles_mode>