mirror of https://github.com/acanas/swad-core.git
Version 15.51.3
This commit is contained in:
parent
7b666fe8ba
commit
c5da57f68a
|
@ -178,19 +178,22 @@ a:hover {text-decoration:underline;}
|
|||
}
|
||||
}
|
||||
|
||||
#head_row_1_usr_lang
|
||||
#head_row_1_right
|
||||
{
|
||||
display:table-cell;
|
||||
text-align:right;
|
||||
vertical-align:middle;
|
||||
}
|
||||
#head_row_1_session
|
||||
#login_box
|
||||
{
|
||||
display:table-cell;
|
||||
box-sizing:border-box;
|
||||
width:160px;
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
padding:0 20px;
|
||||
}
|
||||
@media only screen and (max-width: 1279px)
|
||||
{ /* For mobile phones and tablets */
|
||||
#login_txt
|
||||
{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.WHITE_HEAD {color:#E0E0E0; font-size:12pt; white-space:nowrap;}
|
||||
.GREY_HEAD {color:#E0E0E0; font-size:12pt; white-space:nowrap;}
|
||||
|
@ -253,7 +256,7 @@ a:hover {text-decoration:underline;}
|
|||
{ /* For mobile-phones */
|
||||
#breadcrumb
|
||||
{
|
||||
font-size:10pt;
|
||||
font-size:9pt;
|
||||
font-weight:bold;
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
@ -349,20 +352,21 @@ a:hover {text-decoration:underline;}
|
|||
{ /* For mobile-phones */
|
||||
#head_row_3
|
||||
{
|
||||
display:table;
|
||||
box-sizing:border-box;
|
||||
width:492px; /* 82 px * 6 visible tabs */
|
||||
height:72px;
|
||||
height:68px;
|
||||
margin:0 auto;
|
||||
border-spacing:1px;
|
||||
}
|
||||
.TAB_OFF
|
||||
{
|
||||
display:inline-block;
|
||||
float:left;
|
||||
display:table-cell;
|
||||
box-sizing:border-box;
|
||||
width:80px;
|
||||
height:70px;
|
||||
margin:1px 1px 0 1px;
|
||||
padding:0 1px 0 1px;
|
||||
height:66px;
|
||||
margin:0;
|
||||
padding:0;
|
||||
border-radius:6px 6px 0 0;
|
||||
box-shadow:inset -2px -2px 1px 0 rgba(50,50,50,0.2);
|
||||
text-align:center;
|
||||
|
@ -371,57 +375,68 @@ a:hover {text-decoration:underline;}
|
|||
}
|
||||
.TAB_ON
|
||||
{
|
||||
display:inline-block;
|
||||
float:left;
|
||||
display:table-cell;
|
||||
box-sizing:border-box;
|
||||
width:82px;
|
||||
height:72px;
|
||||
width:80px;
|
||||
height:66px;
|
||||
margin:0;
|
||||
padding:1px 1px 0 1px;
|
||||
padding:0;
|
||||
border-radius:6px 6px 0 0;
|
||||
box-shadow:inset -2px -2px 1px 0 rgba(50,50,50,0.2);
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
overflow:hidden;
|
||||
}
|
||||
.TAB_TXT
|
||||
{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 900px)
|
||||
{ /* For tablets and desktop */
|
||||
#head_row_3
|
||||
{
|
||||
display:table;
|
||||
box-sizing:border-box;
|
||||
width:660px; /* 110 px * 6 visible tabs */
|
||||
height:72px;
|
||||
height:68px;
|
||||
margin:0 auto;
|
||||
border-spacing:1px;
|
||||
}
|
||||
.TAB_OFF
|
||||
{
|
||||
display:inline-block;
|
||||
float:left;
|
||||
display:table-cell;
|
||||
box-sizing:border-box;
|
||||
width:108px;
|
||||
height:70px;
|
||||
margin:1px 1px 0 1px;
|
||||
padding:0 1px 0 1px;
|
||||
height:66px;
|
||||
margin:0;
|
||||
padding:0;
|
||||
border-radius:6px 6px 0 0;
|
||||
box-shadow:inset -2px -2px 1px 0 rgba(50,50,50,0.2);
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
vertical-align:top;
|
||||
overflow:hidden;
|
||||
}
|
||||
.TAB_ON
|
||||
{
|
||||
display:inline-block;
|
||||
float:left;
|
||||
display:table-cell;
|
||||
box-sizing:border-box;
|
||||
width:110px;
|
||||
height:72px;
|
||||
width:108px;
|
||||
height:66px;
|
||||
margin:0;
|
||||
padding:1px 1px 0 1px;
|
||||
padding:0;
|
||||
border-radius:6px 6px 0 0;
|
||||
box-shadow:inset -2px -2px 1px 0 rgba(50,50,50,0.2);
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
vertical-align:top;
|
||||
overflow:hidden;
|
||||
}
|
||||
.TAB_TXT
|
||||
{
|
||||
font-size:9pt;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
white-space:nowrap;
|
||||
overflow:hidden;
|
||||
}
|
||||
}
|
||||
|
@ -429,78 +444,26 @@ a:hover {text-decoration:underline;}
|
|||
{
|
||||
text-decoration:none;
|
||||
}
|
||||
.WHITE_TAB_OFF
|
||||
{
|
||||
color:#707070;
|
||||
font-size:9pt;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
white-space:nowrap;
|
||||
overflow:hidden;
|
||||
}
|
||||
.GREY_TAB_OFF
|
||||
{
|
||||
color:#505050;
|
||||
font-size:9pt;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
white-space:nowrap;
|
||||
overflow:hidden;
|
||||
}
|
||||
.BLUE_TAB_OFF
|
||||
{
|
||||
color:#365E6E;
|
||||
font-size:9pt;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
white-space:nowrap;
|
||||
overflow:hidden;
|
||||
}
|
||||
.YELLOW_TAB_OFF
|
||||
{
|
||||
color:#7C4D2A;
|
||||
font-size:9pt;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
white-space:nowrap;
|
||||
overflow:hidden;
|
||||
}
|
||||
.WHITE_TAB_ON
|
||||
{
|
||||
color:#4D88A1;
|
||||
font-size:9pt;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
white-space:nowrap;
|
||||
overflow:hidden;
|
||||
}
|
||||
.GREY_TAB_ON
|
||||
{
|
||||
color:#606060;
|
||||
font-size:9pt;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
white-space:nowrap;
|
||||
overflow:hidden;
|
||||
}
|
||||
.BLUE_TAB_ON
|
||||
{
|
||||
color:#4D88A1;
|
||||
font-size:9pt;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
white-space:nowrap;
|
||||
overflow:hidden;
|
||||
}
|
||||
.YELLOW_TAB_ON
|
||||
{
|
||||
color:#BD4815;
|
||||
font-size:9pt;
|
||||
font-weight:bold;
|
||||
line-height:100%;
|
||||
white-space:nowrap;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.TAB_ON_WHITE {background-color:#F7F6F5;}
|
||||
.TAB_ON_GREY {background-color:#F7F6F5;}
|
||||
.TAB_ON_BLUE {background-color:#E8F3F6;}
|
||||
.TAB_ON_YELLOW {background-color:#FFF2BD;}
|
||||
|
||||
.TAB_OFF_WHITE {background-color:#D4D4D4;}
|
||||
.TAB_OFF_GREY {background-color:#D4D4D4;}
|
||||
.TAB_OFF_BLUE {background-color:#CAE1E8;}
|
||||
.TAB_OFF_YELLOW {background-color:#FADE94;}
|
||||
|
||||
.WHITE_TAB_OFF {color:#707070;}
|
||||
.GREY_TAB_OFF {color:#505050;}
|
||||
.BLUE_TAB_OFF {color:#365E6E;}
|
||||
.YELLOW_TAB_OFF {color:#7C4D2A;}
|
||||
|
||||
.WHITE_TAB_ON {color:#4D88A1;}
|
||||
.GREY_TAB_ON {color:#606060;}
|
||||
.BLUE_TAB_ON {color:#4D88A1;}
|
||||
.YELLOW_TAB_ON {color:#BD4815;}
|
||||
|
||||
/*********************** Layout (fourth row, main zone) **********************/
|
||||
#main_zone
|
||||
|
@ -607,7 +570,7 @@ a:hover {text-decoration:underline;}
|
|||
box-sizing:border-box;
|
||||
min-width:900px;
|
||||
min-height:900px;
|
||||
margin:-8px 0 0 0;
|
||||
margin:-6px 0 0 0;
|
||||
padding:8px 0;
|
||||
border-radius:6px;
|
||||
box-shadow:inset -2px -2px 1px 0 rgba(50,50,50,0.2);
|
||||
|
@ -1452,16 +1415,6 @@ a:hover img.CENTRE_PHOTO_SHOW
|
|||
.LIGHT_BLUE {background-color:#DDECF1;}
|
||||
.VERY_LIGHT_BLUE {background-color:#EAF3F6;}
|
||||
|
||||
.TAB_ON_WHITE {background-color:#F7F6F5;}
|
||||
.TAB_ON_GREY {background-color:#F7F6F5;}
|
||||
.TAB_ON_BLUE {background-color:#E8F3F6;}
|
||||
.TAB_ON_YELLOW {background-color:#FFF2BD;}
|
||||
|
||||
.TAB_OFF_WHITE {background-color:#D4D4D4;}
|
||||
.TAB_OFF_GREY {background-color:#D4D4D4;}
|
||||
.TAB_OFF_BLUE {background-color:#CAE1E8;}
|
||||
.TAB_OFF_YELLOW {background-color:#FADE94;}
|
||||
|
||||
/********************************* Course info *******************************/
|
||||
#crs_info
|
||||
{
|
|
@ -117,13 +117,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.51.2 (2015/11/30)"
|
||||
#define CSS_FILE "swad15.51.2.css"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.51.3 (2015/11/30)"
|
||||
#define CSS_FILE "swad15.51.3.css"
|
||||
|
||||
// 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.51.2: Nov 30, 2015 Responsive design in logo. (186688 lines)
|
||||
Version 15.51.3: Nov 30, 2015 Responsive design in login-logout. (186641 lines)
|
||||
Version 15.51.2: Nov 30, 2015 Responsive design in tabs. (186688 lines)
|
||||
Version 15.51.1: Nov 30, 2015 Responsive design in logo.
|
||||
Responsive design in breadcrumb. (186638 lines)
|
||||
Version 15.51: Nov 30, 2015 Responsive design in title (country, institution, centre, degree, course).
|
||||
|
|
|
@ -722,26 +722,25 @@ static void Lay_WritePageTopHeading (void)
|
|||
Act_FormEnd ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
|
||||
/* 1st. row, 3rd. column: logged user or language selection */
|
||||
fprintf (Gbl.F.Out,"<div id=\"head_row_1_usr_lang\" class=\"%s\">",
|
||||
/* 1st. row, 3rd. column: logged user or language selection,
|
||||
and link to open/close session */
|
||||
fprintf (Gbl.F.Out,"<div id=\"head_row_1_right\" class=\"%s\">",
|
||||
The_ClassHead[Gbl.Prefs.Theme]);
|
||||
if (Gbl.Usrs.Me.Logged)
|
||||
Usr_WriteLoggedUsrHead ();
|
||||
else
|
||||
Pre_PutSelectorToSelectLanguage ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
|
||||
/* 1st. row, 4th. column: link to open/close session */
|
||||
fprintf (Gbl.F.Out,"<div id=\"head_row_1_session\" class=\"%s\">",
|
||||
The_ClassHead[Gbl.Prefs.Theme]);
|
||||
fprintf (Gbl.F.Out,"<span id=\"login_box\">");
|
||||
if (Gbl.Usrs.Me.Logged)
|
||||
Usr_PutFormLogOut ();
|
||||
else
|
||||
Usr_PutFormLogIn ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
fprintf (Gbl.F.Out,"</span>" // login_box
|
||||
"</div>"); // head_row_1_right
|
||||
|
||||
/* End of 1st. row */
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
fprintf (Gbl.F.Out,"</div>"); // head_row_1
|
||||
|
||||
/***** 2nd. row *****/
|
||||
/* Start of second row */
|
||||
|
|
10
swad_tab.c
10
swad_tab.c
|
@ -122,18 +122,18 @@ void Tab_DrawTabs (void)
|
|||
fprintf (Gbl.F.Out,">");
|
||||
Act_FormStart (ActMnu);
|
||||
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) NumTab);
|
||||
Act_LinkFormSubmit (Txt_TABS_FULL_TXT[NumTab],
|
||||
NumTab == Gbl.CurrentTab ? The_ClassTxtTabOn[Gbl.Prefs.Theme] :
|
||||
The_ClassTxtTabOff[Gbl.Prefs.Theme]);
|
||||
Act_LinkFormSubmit (Txt_TABS_FULL_TXT[NumTab],NULL);
|
||||
fprintf (Gbl.F.Out,"<img src=\"%s/%s/%s64x64.gif\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"ICON32x32\" style=\"margin:3px;\" />"
|
||||
"<div>%s</div>"
|
||||
"<div class=\"TAB_TXT %s\">%s</div>"
|
||||
"</a>",
|
||||
Gbl.Prefs.PathIconSet,Cfg_ICON_ACTION,
|
||||
Tab_TabIcons[NumTab],
|
||||
Txt_TABS_FULL_TXT[NumTab],
|
||||
Txt_TABS_FULL_TXT[NumTab],
|
||||
NumTab == Gbl.CurrentTab ? The_ClassTxtTabOn[Gbl.Prefs.Theme] :
|
||||
The_ClassTxtTabOff[Gbl.Prefs.Theme],
|
||||
Txt_TABS_SHORT_TXT[NumTab]);
|
||||
Act_FormEnd ();
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ void Tab_DrawTabs (void)
|
|||
"<img src=\"%s/%s/%s64x64.gif\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"ICON32x32\" style=\"margin:3px;\" />"
|
||||
"<div class=\"%s\">%s</div>",
|
||||
"<div class=\"TAB_TXT %s\">%s</div>",
|
||||
Gbl.Prefs.PathIconSet,Cfg_ICON_ACTION,
|
||||
Tab_TabIcons[NumTab],
|
||||
Txt_TABS_FULL_TXT[NumTab],
|
||||
|
|
|
@ -1609,7 +1609,8 @@ void Usr_PutFormLogIn (void)
|
|||
fprintf (Gbl.F.Out,"<img src=\"%s/login16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"ICON16x16\" />"
|
||||
" %s</a>",
|
||||
"<span id=\"login_txt\"> %s</span>"
|
||||
"</a>",
|
||||
Gbl.Prefs.PathTheme,
|
||||
Txt_Log_in,
|
||||
Txt_Log_in,
|
||||
|
@ -1677,7 +1678,8 @@ void Usr_PutFormLogOut (void)
|
|||
fprintf (Gbl.F.Out,"<img src=\"%s/logout16x16.gif\""
|
||||
" alt=\"%s\" title=\"%s\""
|
||||
" class=\"ICON16x16\" />"
|
||||
" %s</a>",
|
||||
"<span id=\"login_txt\"> %s</span>"
|
||||
"</a>",
|
||||
Gbl.Prefs.PathTheme,
|
||||
Txt_Log_out,
|
||||
Txt_Log_out,
|
||||
|
|
Loading…
Reference in New Issue