Version 15.47.4

This commit is contained in:
Antonio Cañas Vargas 2015-11-27 18:41:44 +01:00
parent 683ea3047e
commit 8b85c15271
3 changed files with 52 additions and 43 deletions

View File

@ -351,23 +351,13 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
display:table;
width:100%;
}
.LEFT_COL
.LEFT_RIGHT_COL
{
display:table-cell;
width:160px;
text-align:center;
vertical-align:top;
position:absolute;
left:0;
}
.RIGHT_COL
{
display:table-cell;
width:160px;
text-align:center;
vertical-align:top;
position:absolute;
right:0;
}
.LEFT_RIGHT_CELL
{
@ -382,41 +372,59 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;}
@media only screen and (max-width: 1279px) { /* For mobile phones and tablets */
#main_zone_central_none, #main_zone_central_left, #main_zone_central_right, #main_zone_central_both
{
display:table-cell;
text-align:center;
vertical-align:top;
}
{
display:table-cell;
text-align:center;
vertical-align:top;
}
#left_col
{
left:0;
visibility:hidden;
}
#right_col
{
right:0;
visibility:hidden;
}
}
@media only screen and (min-width: 1280px) { /* For desktop */
#main_zone_central_none /* Hide left and right columns */
{
display:table-cell;
text-align:center;
vertical-align:top;
}
{
display:table-cell;
text-align:center;
vertical-align:top;
}
#main_zone_central_left /* Show left column, hide right column */
{
display:table-cell;
text-align:center;
vertical-align:top;
padding-left:160px;
}
{
display:table-cell;
text-align:center;
vertical-align:top;
padding-left:160px;
}
#main_zone_central_right /* Hide left column, show right column */
{
display:table-cell;
text-align:center;
vertical-align:top;
padding-right:160px;
}
{
display:table-cell;
text-align:center;
vertical-align:top;
padding-right:160px;
}
#main_zone_central_both /* Show both columns */
{
display:table-cell;
text-align:center;
vertical-align:top;
padding-left:160px;
padding-right:160px;
}
{
display:table-cell;
text-align:center;
vertical-align:top;
padding-left:160px;
padding-right:160px;
}
#left_col
{
left:0;
}
#right_col
{
right:0;
}
}
#main_zone_central_container

View File

@ -115,11 +115,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.47.3 (2015/11/27)"
#define Log_PLATFORM_VERSION "SWAD 15.47.4 (2015/11/27)"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
/*
Version 15.47.4: Nov 27, 2015 Fixed CSS problem in layout. (? lines)
Version 15.47.3: Nov 27, 2015 Responsive design in notifications. (186365 lines)
Version 15.47.2: Nov 27, 2015 Responsive design in current local date and time. (? lines)
Version 15.47.1: Nov 27, 2015 swad_desktop.css is renamed to swad.css.

View File

@ -263,7 +263,7 @@ void Lay_WriteStartOfPage (void)
/* Left column */
if (Gbl.Prefs.SideCols & Lay_SHOW_LEFT_COLUMN) // Left column visible
{
fprintf (Gbl.F.Out,"<div class=\"LEFT_COL\">");
fprintf (Gbl.F.Out,"<div id=\"left_col\" class=\"LEFT_RIGHT_COL\">");
Lay_ShowLeftColumn ();
fprintf (Gbl.F.Out,"</div>");
}
@ -271,7 +271,7 @@ void Lay_WriteStartOfPage (void)
/* Right column */
if (Gbl.Prefs.SideCols & Lay_SHOW_RIGHT_COLUMN) // Right column visible
{
fprintf (Gbl.F.Out,"<div class=\"RIGHT_COL\">");
fprintf (Gbl.F.Out,"<div id=\"right_col\" class=\"LEFT_RIGHT_COL\">");
Lay_ShowRightColumn ();
fprintf (Gbl.F.Out,"</div>");
}