Przeglądaj źródła

Ticket #3766 - Artificer: Menus, sizes, etc.

AntonLV 4 lat temu
rodzic
commit
ceaa473405

+ 3 - 0
modules/boonex/artificer/data/template/mod_profile/css/main.css

@@ -215,6 +215,9 @@ div.bx-base-general-entity-actions .bx-menu-custom-hor li.bx-menu-item-more-auto
 .bx-media-tablet .bx-base-pofile-cover-actions div.bx-base-general-entity-actions .bx-menu-custom-hor > .bx-menu-item-more-auto > .bx-base-general-entity-action > a > .bx-mi-text {
     display: none;
 }
+.bx-media-phone .bx-base-pofile-cover-actions div.bx-base-general-entity-actions .bx-menu-custom-hor > .bx-menu-item-more-auto > .bx-base-general-entity-action > a > .bx-mi-text {
+    display: inline;
+}
 .bx-media-phone .bx-base-pofile-cover-actions div.bx-base-general-entity-actions .bx-menu-custom-hor > li:not(.bx-menu-item-more-auto) a,
 .bx-media-phone .bx-base-pofile-cover-actions div.bx-base-general-entity-actions .bx-menu-custom-hor > li:not(.bx-menu-item-more-auto) .sys-action-do,
 .bx-media-phone .bx-base-pofile-cover-actions div.bx-base-general-entity-actions .bx-menu-custom-hor > li.bx-menu-item-more-auto > span > a {

+ 3 - 0
modules/boonex/artificer/data/template/mod_text/css/main.css

@@ -120,6 +120,9 @@
     border-radius: 0;
     box-shadow: none;
 }
+.bx-base-general-entity-actions .bx-menu-custom-hor > .bx-menu-item-more-auto > .bx-base-general-entity-action > a > .bx-mi-text {
+    display: none;
+}
 
 /*-- Entry: Author block --*/
 .sys-author-info .sys-author-profile ul.bx-menu-custom.bx-menu-custom-hor {

+ 16 - 12
modules/boonex/artificer/data/template/system/css/forms.css

@@ -40,9 +40,12 @@ import url(../../../../../../../template/css/forms.css);
 }
 
 .bx-form-section-header legend {
-    position: relative;
+    display: -webkit-flex;
+    display: flex;
+    -webkit-align-items: center;
+    align-items: center;
 
-    line-height: 1.125rem;
+    line-height: 1.25rem;
     text-transform: uppercase;
 }
 
@@ -61,14 +64,17 @@ import url(../../../../../../../template/css/forms.css);
 }
 
 .bx-form-collapsable .bx-form-section-toggler {
-    position:absolute;
-    left: -2px;
-    top: 2px;
+    display: -webkit-flex;
+    display: flex;
+    -webkit-align-items: center;
+    align-items: center;
+    -webkit-justify-content: center;
+    justify-content: center;
 
-    width:20px;
-    height:20px;
+    width: 1.25rem;
+    height: 1.25rem;
 
-    text-decoration:none;
+    text-decoration: none;
 
     -moz-transform: rotate(90deg);
     -webkit-transform: rotate(90deg);
@@ -79,6 +85,8 @@ import url(../../../../../../../template/css/forms.css);
     -moz-transition: all 0.5s ease;
     -ms-transition: all 0.5s ease;
     -o-transition: all 0.5s ease;
+
+    line-height: 1.25rem;
 }
 
 .bx-form-collapsed .bx-form-section-toggler {
@@ -89,11 +97,7 @@ import url(../../../../../../../template/css/forms.css);
 }
 
 .bx-form-section-toggler .sys-icon {
-    display: inline-block;
-    vertical-align: top;
-    margin: 0 0 0 5px;
     font-size:0.875rem;
-    line-height:1.2rem;
 }
 
 /*--- One Line fields ---*/

+ 4 - 0
modules/boonex/artificer/data/template/system/css/general.css

@@ -63,6 +63,10 @@ import url(../../../../../../../template/css/general.css);
 
 
 /*--- Profile Avatar ---*/
+.bx-db-content.bx-content-padding-block .bx-profile-avatar-cnt {
+    margin-left: -0.25rem;
+    margin-right: -0.25rem;
+}
 #bx-profile-switcher .bx-pas-list .bx-def-hr:first-child {
     display: none;
 }

+ 3 - 1
modules/boonex/artificer/data/template/system/menu_main.html

@@ -5,7 +5,9 @@
                 <div class="bx-menu-item-icon bx-menu-floating-blocks-icon bx-stl-mii group-hover:text-gray-700 dark:group-hover:text-gray-300">
                     <bx_include_auto:menu_icon.html />
                 </div>
-                <div class="bx-menu-item-title bx-menu-floating-blocks-title bx-stl-mit whitespace-nowrap">__title__</div>
+                <bx_if:title>
+                    <div class="bx-menu-item-title bx-menu-floating-blocks-title bx-stl-mit whitespace-nowrap">__title__</div>
+                </bx_if:title>
             </a>__popup__
         </li>
     </bx_repeat:menu_items>

+ 2 - 2
modules/boonex/artificer/data/template/system/profile_avatar.html

@@ -2,8 +2,8 @@
     <div class="bx-profile-avatar-cnt relative flex items-center">
         <div class="bx-pa-img absolute">__profile_unit__</div>
         <div class="bx-pa-info w-full" sidebar-toggle-item>
-            <div class="bx-pa-info-cnt flex flex-col justify-center h-10 pl-12 pr-4 box-border">
-                <div class="bx-pai-line text-gray-600 dark:text-gray-300 hover:text-gray-800 dark:hover:text-white text-sm font-semibold truncate">
+            <div class="bx-pa-info-cnt flex flex-col justify-center h-10 pl-10 pr-4 box-border">
+                <div class="bx-pai-line text-gray-600 dark:text-gray-300 hover:text-gray-800 dark:hover:text-white font-semibold truncate">
                     <a href="__profile_url__" title="__profile_title_attr__">__profile_title__</a>
                 </div>
                 <div class="bx-pai-line text-green-600 dark:text-green-400 text-xs font-normal truncate uppercase tracking-wider">

+ 3 - 3
modules/boonex/artificer/data/template/system/profile_stats.html

@@ -1,11 +1,11 @@
 <div class="bx-profile-stats bx-def-border-radius-block">
     <div class="bx-profile-stats-cnt bx-def-padding">
         <div class="bx-ps-user">
-            <div class="bx-profile-avatar-cnt bx-stl-mil-hover group flex items-center px-3 py-1.5 rounded-md cursor-pointer" onclick="window.location.href='__profile_url__'">
+            <div class="bx-profile-avatar-cnt bx-stl-mil-hover group flex items-center px-2 py-1.5 rounded-md cursor-pointer" onclick="window.location.href='__profile_url__'">
                 <div class="bx-pa-img absolute">__profile_unit__</div>
                 <div class="bx-pa-info w-full">
-                    <div class="bx-pa-info-cnt flex flex-col justify-center h-10 pl-12 box-border">
-                        <div class="bx-pai-line text-gray-600 dark:text-gray-300 text-sm group-hover:text-gray-800 dark:group-hover:text-white font-semibold truncate">__profile_title__</div>
+                    <div class="bx-pa-info-cnt flex flex-col justify-center h-10 pl-10 box-border">
+                        <div class="bx-pai-line text-gray-600 dark:text-gray-300 group-hover:text-gray-800 dark:group-hover:text-white font-semibold truncate">__profile_title__</div>
                         <div class="bx-pai-line text-green-600 dark:text-green-400 text-xs truncate uppercase tracking-wider font-normal">
                             <div><!--<bx_include_auto:menu_icon.html />--><span>__profile_acl_title__</span></div>
                         </div>

+ 2 - 1
modules/boonex/english/data/langs/system/en.xml

@@ -2813,7 +2813,7 @@ If it is not enabled then please consider implement this optimization, since it
     <string name="_sys_menu_item_title_invoices"><![CDATA[Invoices]]></string>
     <string name="_sys_menu_item_title_logout"><![CDATA[Sign out]]></string>
     <string name="_sys_menu_item_title_more"><![CDATA[More]]></string>
-    <string name="_sys_menu_item_title_more_auto"><![CDATA[More]]></string>
+    <string name="_sys_menu_item_title_more_auto"><![CDATA[]]></string>
     <string name="_sys_menu_item_title_orders"><![CDATA[Orders]]></string>
     <string name="_sys_menu_item_title_profile"><![CDATA[Profile]]></string>
     <string name="_sys_menu_item_title_set_acl_level"><![CDATA[Set membership]]></string>
@@ -2940,6 +2940,7 @@ If it is not enabled then please consider implement this optimization, since it
     <string name="_sys_menu_item_title_va_notes"><![CDATA[Notes]]></string>
     <string name="_sys_menu_item_title_va_audit"><![CDATA[Audit]]></string>
     <string name="_sys_menu_item_title_va_more_auto"><![CDATA[More]]></string>
+    <string name="_sys_menu_item_title_va_more_auto_empty"><![CDATA[]]></string>
     <string name="_sys_menu_item_title_social_sharing"><![CDATA[Share]]></string>
     <string name="_sys_menu_item_title_system_social_sharing"><![CDATA[Share]]></string>
     <string name="_sys_menu_item_title_system_social_sharing_facebook"><![CDATA[Share in Facebook]]></string>

+ 2 - 2
modules/boonex/lucid/install/sql/install.sql

@@ -85,7 +85,7 @@ INSERT INTO `sys_options`(`category_id`, `name`, `caption`, `value`, `type`, `ex
 (@iCategoryId, CONCAT(@sName, '_body_bg_image'), '_bx_lucid_stg_cpt_option_body_bg_image', '', 'image', '', '', '', 2),
 (@iCategoryId, CONCAT(@sName, '_body_bg_image_repeat'), '_bx_lucid_stg_cpt_option_body_bg_image_repeat', 'no-repeat', 'select', 'no-repeat,repeat,repeat-x,repeat-y', '', '', 3),
 (@iCategoryId, CONCAT(@sName, '_body_bg_image_size'), '_bx_lucid_stg_cpt_option_body_bg_image_size', 'cover', 'select', 'auto,cover,contain', '', '', 4),
-(@iCategoryId, CONCAT(@sName, '_page_width'), '_bx_lucid_stg_cpt_option_page_width', '1024', 'digit', '', '', '', 5),
+(@iCategoryId, CONCAT(@sName, '_page_width'), '_bx_lucid_stg_cpt_option_page_width', '1280', 'digit', '', '', '', 5),
 (@iCategoryId, CONCAT(@sName, '_body_icon_color'), '_bx_lucid_stg_cpt_option_body_icon_color', 'rgba(30, 150, 250, 0.9)', 'rgba', '', '', '', 6),
 (@iCategoryId, CONCAT(@sName, '_body_icon_color_hover'), '_bx_lucid_stg_cpt_option_body_icon_color_hover', 'rgba(30, 150, 250, 1)', 'rgba', '', '', '', 7),
 (@iCategoryId, CONCAT(@sName, '_body_link_color'), '_bx_lucid_stg_cpt_option_body_link_color', 'rgba(30, 150, 250, 0.9)', 'rgba', '', '', '', 8),
@@ -710,7 +710,7 @@ INSERT INTO `sys_options_mixes2options` (`option`, `mix_id`, `value`) VALUES
 ('bx_lucid_cover_bg_color', @iMixId, 'rgba(255, 255, 255, 1)'),
 ('bx_lucid_body_link_color', @iMixId, 'rgba(24, 144, 255, 1)'),
 ('bx_lucid_font_color_link_h1_hover', @iMixId, 'rgba(64, 169, 255, 1)'),
-('bx_lucid_page_width', @iMixId, '1200px'),
+('bx_lucid_page_width', @iMixId, '1280px'),
 ('bx_lucid_body_icon_color', @iMixId, 'rgba(24, 144, 255, 1)'),
 ('bx_lucid_body_bg_image_size', @iMixId, 'cover'),
 ('bx_lucid_body_bg_color', @iMixId, 'rgb(230, 240, 250)'),

+ 4 - 4
modules/boonex/protean/install/sql/install.sql

@@ -87,7 +87,7 @@ INSERT INTO `sys_options`(`category_id`, `name`, `caption`, `value`, `type`, `ex
 (@iCategoryId, CONCAT(@sName, '_body_bg_image_repeat'), '_bx_protean_stg_cpt_option_body_bg_image_repeat', 'no-repeat', 'select', 'no-repeat,repeat,repeat-x,repeat-y', '', '', 3),
 (@iCategoryId, CONCAT(@sName, '_body_bg_image_attachment'), '_bx_protean_stg_cpt_option_body_bg_image_attachment', 'scroll', 'select', 'fixed,scroll,local', '', '', 4),
 (@iCategoryId, CONCAT(@sName, '_body_bg_image_size'), '_bx_protean_stg_cpt_option_body_bg_image_size', 'cover', 'select', 'auto,cover,contain', '', '', 5),
-(@iCategoryId, CONCAT(@sName, '_page_width'), '_bx_protean_stg_cpt_option_page_width', '1024', 'digit', '', '', '', 6),
+(@iCategoryId, CONCAT(@sName, '_page_width'), '_bx_protean_stg_cpt_option_page_width', '1280', 'digit', '', '', '', 6),
 (@iCategoryId, CONCAT(@sName, '_body_icon_color'), '_bx_protean_stg_cpt_option_body_icon_color', 'rgba(30, 150, 250, 0.9)', 'rgba', '', '', '', 7),
 (@iCategoryId, CONCAT(@sName, '_body_icon_color_hover'), '_bx_protean_stg_cpt_option_body_icon_color_hover', 'rgba(30, 150, 250, 1)', 'rgba', '', '', '', 8),
 (@iCategoryId, CONCAT(@sName, '_body_link_color'), '_bx_protean_stg_cpt_option_body_link_color', 'rgba(30, 150, 250, 0.9)', 'rgba', '', '', '', 9),
@@ -565,7 +565,7 @@ INSERT INTO `sys_options_mixes2options` (`option`, `mix_id`, `value`) VALUES
 ('bx_protean_footer_link_color', @iMixId, 'rgba(30, 140, 240, 1)'),
 ('bx_protean_body_bg_color', @iMixId, 'rgb(245, 250, 255)'),
 ('bx_protean_body_bg_image', @iMixId, '0'),
-('bx_protean_page_width', @iMixId, '1024'),
+('bx_protean_page_width', @iMixId, '1280'),
 ('bx_protean_block_bg_color', @iMixId, 'rgba(255, 255, 255, 0.9)'),
 ('bx_protean_block_bg_image', @iMixId, '0'),
 ('bx_protean_block_content_padding', @iMixId, '1rem'),
@@ -903,7 +903,7 @@ INSERT INTO `sys_options_mixes2options` (`option`, `mix_id`, `value`) VALUES
 ('bx_protean_menu_slide_font_size', @iMixId, '1.0rem'),
 ('bx_protean_menu_slide_font_weight', @iMixId, '400'),
 ('bx_protean_menu_slide_shadow', @iMixId, 'none'),
-('bx_protean_page_width', @iMixId, '1024'),
+('bx_protean_page_width', @iMixId, '1280'),
 ('bx_protean_popup_bg_color', @iMixId, 'rgba(255, 255, 255, 1)'),
 ('bx_protean_popup_bg_image', @iMixId, '0'),
 ('bx_protean_popup_bg_image_attachment', @iMixId, 'scroll'),
@@ -1228,7 +1228,7 @@ INSERT INTO `sys_options_mixes2options` (`option`, `mix_id`, `value`) VALUES
 ('bx_protean_menu_slide_font_size', @iMixId, '1.0rem'),
 ('bx_protean_menu_slide_font_weight', @iMixId, '400'),
 ('bx_protean_menu_slide_shadow', @iMixId, 'none'),
-('bx_protean_page_width', @iMixId, '1024'),
+('bx_protean_page_width', @iMixId, '1280'),
 ('bx_protean_popup_bg_color', @iMixId, 'rgba(51, 68, 85, 1)'),
 ('bx_protean_popup_bg_image', @iMixId, '0'),
 ('bx_protean_popup_bg_image_attachment', @iMixId, 'scroll'),

+ 2 - 1
modules/boonex/russian/data/langs/system/ru.xml

@@ -2801,7 +2801,7 @@
     <string name="_sys_menu_item_title_invoices"><![CDATA[Счета]]></string>
     <string name="_sys_menu_item_title_logout"><![CDATA[Выйти]]></string>
     <string name="_sys_menu_item_title_more"><![CDATA[Ещё]]></string>
-    <string name="_sys_menu_item_title_more_auto"><![CDATA[Ещё]]></string>
+    <string name="_sys_menu_item_title_more_auto"><![CDATA[]]></string>
     <string name="_sys_menu_item_title_orders"><![CDATA[Заказы]]></string>
     <string name="_sys_menu_item_title_profile"><![CDATA[Профиль]]></string>
     <string name="_sys_menu_item_title_set_acl_level"><![CDATA[Назначить членство]]></string>
@@ -2920,6 +2920,7 @@
     <string name="_sys_menu_item_title_va_notes"><![CDATA[Заметки]]></string>
     <string name="_sys_menu_item_title_va_audit"><![CDATA[Аудит]]></string>
     <string name="_sys_menu_item_title_va_more_auto"><![CDATA[Ещё]]></string>
+    <string name="_sys_menu_item_title_va_more_auto_empty"><![CDATA[]]></string>
     <string name="_sys_menu_item_title_system_social_sharing_facebook"><![CDATA[Поделиться в Facebook]]></string>
     <string name="_sys_menu_item_title_system_social_sharing_twitter"><![CDATA[Поделиться в Twitter]]></string>
     <string name="_sys_menu_item_title_system_social_sharing_pinterest"><![CDATA[Поделиться в Pinterest]]></string>

+ 13 - 10
plugins_public/tailwind/css/tailwind.css

@@ -671,7 +671,7 @@
         @apply block w-full px-3 py-1.5;
         @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
         @apply border border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-20 focus:outline-none;
-        @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
+        @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
         @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
         @apply rounded-md;
     }
@@ -681,7 +681,7 @@
         @apply relative block w-full pl-3 pr-8;
         @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
         @apply border border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-20 focus:outline-none;
-        @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
+        @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
         @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
         @apply rounded-md;
     }
@@ -692,7 +692,7 @@
         @apply relative block w-full py-2 px-3;
         @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
         @apply border border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-20 focus:outline-none;
-        @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
+        @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
         @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
         @apply rounded-md;
     }
@@ -709,7 +709,7 @@
     }
     .bx-artificer .bx-def-font-inputs.bx-form-input-checkbox,
     .bx-artificer .bx-def-font-inputs.bx-form-input-radio {
-        @apply leading-6 text-sm font-medium text-blue-600 dark:text-blue-600;
+        @apply leading-6 text-base font-medium text-blue-600 dark:text-blue-600;
     }
     .bx-artificer .bx-form-input-checkbox:checked,
     .bx-artificer .bx-form-input-radio:checked {
@@ -743,7 +743,7 @@
         @apply flex flex-wrap items-stretch w-full py-2 px-3 ;
         @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
         @apply border border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-20 focus:outline-none;
-        @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
+        @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
         @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
         @apply rounded-md;
     }
@@ -804,7 +804,7 @@
     .bx-artificer .bx-stl-mil-sm,
     .bx-artificer .bx-stl-mil-wo-bg,
     .bx-artificer .bx-stl-mil-wo-bg-gaps {
-        @apply leading-6 text-sm text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-200 font-medium;
+        @apply text-base text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-200 font-medium;
     }
 
     .bx-artificer .bx-menu-toolbar-item a,
@@ -821,15 +821,16 @@
     .bx-artificer .bx-stl-mil,
     .bx-artificer .bx-stl-mil-sm,
     .bx-artificer .bx-stl-mil-wo-bg {
-        @apply flex items-center px-3 py-1.5;
+        @apply flex items-center px-3 py-2;
     }
     .bx-artificer .bx-stl-mil,
     .bx-artificer .bx-stl-mil-sm {
+        @apply border border-transparent active:border-gray-300 dark:active:border-gray-700 hover:border-gray-200/50 dark:hover:border-gray-700/50;
         @apply active:bg-gray-300 dark:active:bg-black/50 hover:bg-gray-200/50 dark:hover:bg-gray-700/50;
         @apply rounded-md;
     }
     .bx-artificer .bx-stl-mil-sm {
-        @apply px-2 leading-5;
+        @apply px-2 py-1.5 text-sm;
     }
     .bx-artificer .bx-popup .bx-stl-mil-sm {
         @apply px-4;
@@ -873,7 +874,7 @@
         @apply ml-0; 
     }
     .bx-artificer .bx-stl-mii-sm > * {
-        @apply h-4 w-4 mr-1.5 leading-4 text-sm;
+        @apply h-5 w-5 mr-1.5 text-sm;
     }
     .bx-artificer .bx-stl-mit {
         @apply truncate;
@@ -967,7 +968,9 @@
     }
 
     /* Common elements: Units */
-    .bx-artificer .bx-def-icon-size {
+    .bx-artificer .bx-def-icon-size,
+    .bx-artificer .bx-profile-avatar .bx-def-thumb-size,
+    .bx-artificer .bx-profile-stats .bx-ps-user .bx-def-thumb-size {
         @apply h-8 w-8;
     }
     .bx-artificer .bx-def-thumb-size {

Plik diff jest za duży
+ 0 - 0
plugins_public/tailwind/css/tailwind.min.css


+ 18 - 13
template/css/forms.css

@@ -34,8 +34,13 @@
 }
 
 .bx-form-section-header legend {
-    position:relative;
-    text-transform:uppercase;
+    display: -webkit-flex;
+    display: flex;
+    -webkit-align-items: center;
+    align-items: center;
+
+    line-height: 1.25rem;
+    text-transform: uppercase;
 }
 
 .bx-form-section-header legend u {
@@ -72,13 +77,15 @@
 /* section toggler */
 
 .bx-form-collapsable .bx-form-section-toggler {
+    display: -webkit-flex;
+    display: flex;
+    -webkit-align-items: center;
+    align-items: center;
+    -webkit-justify-content: center;
+    justify-content: center;
 
-    position:absolute;
-    left: -2px;
-    top: 2px;
-
-    width:20px;
-    height:20px;
+    width: 1.25rem;
+    height: 1.25rem;
 
     text-decoration:none;
 
@@ -91,6 +98,8 @@
     -moz-transition: all 0.5s ease;
     -ms-transition: all 0.5s ease;
     -o-transition: all 0.5s ease;
+
+    line-height: 1.25rem;
 }
 
 .bx-form-collapsed .bx-form-section-toggler {
@@ -101,11 +110,7 @@
 }
 
 .bx-form-section-toggler .sys-icon {
-    display: inline-block;
-    vertical-align: top;
-    margin: 0 0 0 5px;
-    font-size:0.875rem;
-    line-height:1.2rem;
+    font-size: 0.875rem;
 }
 
 /* form inputs */

+ 2 - 2
template/scripts/BxBaseFormView.php

@@ -983,9 +983,9 @@ BLAH;
 
 
         if (isset($this->aParams['view_mode']) && $this->aParams['view_mode'])
-            $sLegend = '<legend class="bx-def-padding-left bx-def-padding-sec-right bx-def-font-grayed bx-def-font-large">' . bx_process_output($aInput['caption'], BX_DATA_HTML) . (!empty($aInput['info']) ? '<br /><span>' . bx_process_output($aInput['info']) . '</span>' : '') . '</legend>';
+            $sLegend = '<legend class="bx-def-font-grayed bx-def-font-large">' . bx_process_output($aInput['caption'], BX_DATA_HTML) . (!empty($aInput['info']) ? '<br /><span>' . bx_process_output($aInput['info']) . '</span>' : '') . '</legend>';
         else
-            $sLegend = '<legend class="bx-def-padding-left bx-def-padding-sec-right bx-def-font-grayed bx-def-font-large"><a href="javascript:void(0);">' . bx_process_output($aInput['caption'], BX_DATA_HTML) . '</a>' . (!empty($aInput['info']) ? '<br /><span>' . bx_process_output($aInput['info']) . '</span>' : '') . '</legend>';
+            $sLegend = '<legend class="bx-def-font-grayed bx-def-font-large"><a href="javascript:void(0);">' . bx_process_output($aInput['caption'], BX_DATA_HTML) . '</a>' . (!empty($aInput['info']) ? '<br /><span>' . bx_process_output($aInput['info']) . '</span>' : '') . '</legend>';
 
         $sCode .= $this->{$this->_sSectionOpen}($aAttrs, $sLegend);
 

+ 1 - 1
template/scripts/BxBaseMenuCreatePost.php

@@ -67,7 +67,7 @@ class BxBaseMenuCreatePost extends BxTemplMenuCustom
                 'module' => 'system', 
                 'id' => 'more-auto', 
                 'name' => 'more-auto',
-                'title' => '_sys_menu_item_title_va_more_auto', 
+                'title' => '_sys_menu_item_title_va_more_auto_empty', 
                 'href' => 'javascript:void(0)', 
                 'icon' => 'ellipsis-v',
                 'active' => 1

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików