AntonLV 5 lat temu
rodzic
commit
7a786d4c31

+ 2 - 1
install/sql/system.sql

@@ -5018,7 +5018,8 @@ INSERT INTO `sys_pages_layouts` (`id`, `name`, `icon`, `title`, `template`, `cel
 (12, 'topbottom_area_bar_right', 'layout_topbottom_area_bar_right.png', '_sys_layout_topbottom_area_bar_right', 'layout_topbottom_area_bar_right.html', 4),
 (13, 'topbottom_area_bar_left', 'layout_topbottom_area_bar_left.png', '_sys_layout_topbottom_area_bar_left', 'layout_topbottom_area_bar_left.html', 4),
 (14, 'bar_content_bar', 'layout_bar_content_bar.png', '_sys_layout_bar_content_bar', 'layout_bar_content_bar.html', 3),
-(15, 'top_area_bar_content_bar', 'layout_top_area_bar_content_bar.png', '_sys_layout_top_area_bar_content_bar', 'layout_top_area_bar_content_bar.html', 4);
+(15, 'top_area_bar_content_bar', 'layout_top_area_bar_content_bar.png', '_sys_layout_top_area_bar_content_bar', 'layout_top_area_bar_content_bar.html', 4),
+(16, 'topbottom_area_col1_col3_col2', 'layout_topbottom_area_col1_col3_col2.png', '_sys_layout_topbottom_area_col1_col3_col2', 'layout_topbottom_area_col1_col3_col2.html', 5);
 
 CREATE TABLE IF NOT EXISTS `sys_pages_design_boxes` (
   `id` int(11) NOT NULL,

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

@@ -2622,6 +2622,7 @@ If it is not enabled then please consider implement this optimization, since it
 	<string name="_sys_layout_topbottom_area_2_columns"><![CDATA[Top&bottom areas with 2 columns in the middle]]></string>
 	<string name="_sys_layout_topbottom_area_bar_left"><![CDATA[Top&bottom areas with left bar in the middle]]></string>
 	<string name="_sys_layout_topbottom_area_bar_right"><![CDATA[Top&bottom areas with right bar in the middle]]></string>	
+        <string name="_sys_layout_topbottom_area_col2_col6_col4"><![CDATA[Top&bottom areas with 3 columns (1:3:2) in the middle]]></string>	
 	<string name="_sys_loading"><![CDATA[Loading...]]></string>
 	<string name="_sys_location_country"><![CDATA[<i class="sys-icon location-arrow"></i> {0}]]></string>
 	<string name="_sys_location_country_city"><![CDATA[<i class="sys-icon location-arrow"></i> {2}, {1}, {0}]]></string>

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

@@ -2608,6 +2608,7 @@
 	<string name="_sys_layout_topbottom_area_2_columns"><![CDATA[Верхнее и нижнее пространства с 2 столбцами посередине]]></string>
 	<string name="_sys_layout_topbottom_area_bar_left"><![CDATA[Верхнее и нижнее пространства с левой линейкой посередине]]></string>
 	<string name="_sys_layout_topbottom_area_bar_right"><![CDATA[Верхнее и нижнее пространства с правой линейкой посередине]]></string>
+        <string name="_sys_layout_topbottom_area_col2_col6_col4"><![CDATA[Верхнее и нижнее пространства с 3 столбцами (1:3:2) посередине]]></string>	
 	<string name="_sys_loading"><![CDATA[Загрузка...]]></string>
 	<string name="_sys_location_country"><![CDATA[<i class="sys-icon location-arrow"></i> {0}]]></string>
 	<string name="_sys_location_country_city"><![CDATA[<i class="sys-icon location-arrow"></i> {2}, {1}, {0}]]></string>

+ 11 - 0
template/css/page_layouts.css

@@ -29,6 +29,17 @@
     width:33.4%;
 }
 
+/* layout 3 columns (1:3:2) */
+.bx-layout-col1-col3-col2-column1 {
+    width:20.0%;
+}
+.bx-layout-col1-col3-col2-column2 {
+    width:50.0%;
+}
+.bx-layout-col1-col3-col2-column3 {
+    width:30.0%;
+}
+
 
 /* layout bar content bar */
 .bx-layout-bcb-bar1,

BIN
template/images/layout_topbottom_area_col1_col3_col2.png


+ 31 - 0
template/layout_topbottom_area_col1_col3_col2.html

@@ -0,0 +1,31 @@
+<!-- layout top & bottom areas with 3 columns (1:3:2) [ start ] -->
+<div id="__page_id__" class="bx-layout-wrapper bx-layout-topbottom-area-col1-col3-col2">
+    <bx_include_auto:_row_1_column.html />
+    <div class="bx-layout-row bx-clearfix">
+        <div class="bx-layout-col bx-layout-col1-col3-col2-column1 bx-layout-column-thin">
+            <div class="bx-layout-cell bx-def-padding-sec-right" id="bx-layout-cell-2">
+                __cell_2__
+            </div>
+        </div>
+        <div class="bx-layout-col bx-layout-col1-col3-col2-column2 bx-layout-column-half">
+            <div class="bx-layout-cell bx-def-padding-sec-left" id="bx-layout-cell-3">
+                __cell_3__
+            </div>
+        </div>
+        <div class="bx-layout-col bx-layout-col1-col3-col2-column3 bx-layout-column-thin">
+            <div class="bx-layout-cell bx-def-padding-sec-left" id="bx-layout-cell-4">
+                __cell_4__
+            </div>
+        </div>
+    </div>
+    <div class="bx-layout-row bx-clearfix">
+        <div class="bx-layout-col bx-layout-1-column-column1 bx-layout-column-fullwidth">
+            <div class="bx-layout-cell" id="bx-layout-cell-5">
+                __cell_5__
+            </div>
+        </div>
+    </div>
+    <bx_include_auto:_row_1_column_dump.html />
+</div>
+<bx_include_auto:_layout_align_columns.html />
+<!-- layout top & bottom areas with 3 columns (1:3:2) [  end  ] -->