Browse Source

#115 albums: small design fixes and improvements

Alex Trofimov 11 years ago
parent
commit
603b579e33

+ 1 - 1
modules/boonex/albums/install/langs/en.xml

@@ -29,7 +29,7 @@
 	<string name="_bx_albums_form_entry_input_pictures"><![CDATA[Pictures]]></string>
     <string name="_bx_albums_form_entry_input_sys_allow_view_to"><![CDATA[Visibility]]></string>
     <string name="_bx_albums_form_entry_input_allow_view_to"><![CDATA[Visibility]]></string>
-	<string name="_bx_albums_form_entry_file_title"><![CDATA[Title]]></string>
+	<string name="_bx_albums_form_entry_file_title"><![CDATA[Caption]]></string>
 
 	<string name="_bx_albums_acl_action_create_entry"><![CDATA[Create Album]]></string>
 	<string name="_bx_albums_acl_action_delete_entry"><![CDATA[Delete Album]]></string>

+ 1 - 0
modules/boonex/albums/template/css/main.css

@@ -27,6 +27,7 @@
     height:16rem;
     overflow-y:hidden;
     overflow-x:scroll;
+    -webkit-overflow-scrolling:touch;
 }
 
 .bx-albums-unit-images img {

+ 10 - 0
template/_layout_align_columns.html

@@ -0,0 +1,10 @@
+<script>
+    $(document).ready(function () {
+        if (1 == $('#bx-layout-cell-3 > div').length && 1 == $('#bx-layout-cell-2 > div').length) {
+            if ($('#bx-layout-cell-2 .bx-db-container').height() > $('#bx-layout-cell-3 .bx-db-container').height())
+                $('#bx-layout-cell-3 .bx-db-container').css('height', $('#bx-layout-cell-2 .bx-db-container').height());
+            else
+                $('#bx-layout-cell-2 .bx-db-container').css('height', $('#bx-layout-cell-3 .bx-db-container').height());
+        }
+    });
+</script>

+ 1 - 3
template/css/page_layouts.css

@@ -23,9 +23,7 @@
 
 /* layout 2 columns */
 
-.bx-layout-2-columns-column1 {
-    width:50%;
-}
+.bx-layout-2-columns-column1,
 .bx-layout-2-columns-column2 {
     width:50%;
 }

+ 3 - 0
template/layout_bottom_area_2_columns.html

@@ -17,4 +17,7 @@
     <bx_include_auto:_row_1_column.html />
 
 </div>
+
+<bx_include_auto:_layout_align_columns.html />
+
 <!-- layout top area 2 columns [  end  ] -->

+ 3 - 0
template/layout_topbottom_area_2_columns.html

@@ -25,4 +25,7 @@
     </div>
 
 </div>
+
+<bx_include_auto:_layout_align_columns.html />
+
 <!-- layout top area 2 columns [  end  ] -->