diff --git a/css/swad21.92.css b/css/swad21.93.1.css similarity index 99% rename from css/swad21.92.css rename to css/swad21.93.1.css index a51690451..2bd4390da 100644 --- a/css/swad21.92.css +++ b/css/swad21.93.1.css @@ -2293,14 +2293,29 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;} left:-300px; top:-400px; padding:6px; - background-color:rgba(255,255,255,0.95); border-width:1px; border-style:solid; - border-color:#C0C0C0; border-radius:4px; + } +.ZOOM_WHITE, +.ZOOM_GREY, +.ZOOM_PURPLE, +.ZOOM_BLUE, +.ZOOM_YELLOW, +.ZOOM_PINK + { + background-color:rgba(255,255,255,0.95); + border-color:#c0c0c0; box-shadow:2px 5px 15px #888; } -.ZOOM_TXT_LINE +.ZOOM_DARK + { + background-color:rgba(0,0,0,0.95); + border-color:#c0c0c0; + box-shadow:2px 5px 15px #888; + } + +.ZOOM_TXT { box-sizing:border-box; display:block; @@ -2310,15 +2325,24 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;} overflow:hidden; text-overflow:ellipsis; } + .ZOOM_DEG { display:inline-block; margin:0 auto; - padding:0 0 0 20px; + /*padding:0 0 0 20px;*/ + width:16px; background-size:16px 16px; background-repeat:no-repeat; background-position:left center; } +.ZOOM_ICO_WHITE, +.ZOOM_ICO_GREY, +.ZOOM_ICO_PURPLE, +.ZOOM_ICO_BLUE, +.ZOOM_ICO_YELLOW, +.ZOOM_ICO_PINK {} +.ZOOM_ICO_DARK {filter:invert(1);} .NO_BR {white-space:nowrap;} diff --git a/swad_changelog.h b/swad_changelog.h index 85a5d7f6b..ccd435b97 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -606,10 +606,11 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate TODO: Attach pdf files in multimedia. */ -#define Log_PLATFORM_VERSION "SWAD 21.93 (2022-04-21)" -#define CSS_FILE "swad21.92.css" +#define Log_PLATFORM_VERSION "SWAD 21.93.1 (2022-04-21)" +#define CSS_FILE "swad21.93.1.css" #define JS_FILE "swad21.92.js" /* + Version 21.93.1: Apr 21, 2022 Working on design of dark theme. (323269 lines) Version 21.93: Apr 21, 2022 Homogenization of lists in forums, chat and my courses. (323245 lines) Version 21.92: Apr 20, 2022 Default theme is white when printing. (323246 lines) Version 21.91.6: Apr 07, 2022 Working on design of dark theme. (323347 lines) diff --git a/swad_layout.c b/swad_layout.c index 2b9e80e6f..fd32391d4 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -262,7 +262,8 @@ void Lay_WriteStartOfPage (void) case Act_BRW_1ST_TAB: HTM_TxtF ("\n", The_GetSuffix ()); - HTM_DIV_Begin ("id=\"zoomLyr\" class=\"ZOOM\""); + HTM_DIV_Begin ("id=\"zoomLyr\" class=\"ZOOM ZOOM_%s\"", + The_GetSuffix ()); HTM_IMG (Cfg_URL_ICON_PUBLIC,"usr_bl.jpg",NULL, "class=\"IMG_USR\" id=\"zoomImg\""); HTM_DIV_Begin ("id=\"zoomTxt\" class=\"CM\""); diff --git a/swad_photo.c b/swad_photo.c index 5890e7b66..8373aeffc 100644 --- a/swad_photo.c +++ b/swad_photo.c @@ -1088,7 +1088,7 @@ void Pho_BuildHTMLUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL, if (PutZoomCode) { /* First name and surnames */ - if (asprintf (&Caption.Name,"
" // Limited width + if (asprintf (&Caption.Name,"
" // Limited width "%s
" "%s%s%s" "
", @@ -1104,7 +1104,7 @@ void Pho_BuildHTMLUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL, /* Nickname */ if (UsrDat->Nickname[0]) { - if (asprintf (&Caption.Nick,"
" + if (asprintf (&Caption.Nick,"
" "@%s" "
", The_GetSuffix (), @@ -1122,7 +1122,7 @@ void Pho_BuildHTMLUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL, Ins_GetShrtNameAndCtyOfInstitution (&Ins,CtyName); /* Write institution short name and country name */ - if (asprintf (&Caption.InsCty,"
" + if (asprintf (&Caption.InsCty,"
" "%s (%s)" "
", The_GetSuffix (), @@ -1135,7 +1135,7 @@ void Pho_BuildHTMLUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL, Cty_GetCountryName (UsrDat->CtyCod,Gbl.Prefs.Language,CtyName); /* Write country name */ - if (asprintf (&Caption.InsCty,"
" + if (asprintf (&Caption.InsCty,"
" "%s" "
", The_GetSuffix (), @@ -1149,14 +1149,14 @@ void Pho_BuildHTMLUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL, Deg_GetUsrMainDeg (UsrDat->UsrCod,MainDegreeShrtName,&MaxRole); if (MainDegreeShrtName[0]) { - if (asprintf (&Caption.MainDeg,"
" - "
" - "%s" - "
" + if (asprintf (&Caption.MainDeg,"
" + "\"\""" + " %s" "
", The_GetSuffix (), Cfg_URL_ICON_PUBLIC,Rol_Icons[MaxRole], + The_GetSuffix (), MainDegreeShrtName) < 0) Err_NotEnoughMemoryExit (); } @@ -1167,7 +1167,7 @@ void Pho_BuildHTMLUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL, if (UsrDat->Nickname[0]) // Get social data only if nickname is retrieved (in some actions) { Fol_GetNumFollow (UsrDat->UsrCod,&NumFollowing,&NumFollowers); - if (asprintf (&Caption.Follow,"
" + if (asprintf (&Caption.Follow,"
" "" "%u" "" @@ -2417,7 +2417,7 @@ static void Pho_ShowDegreeAvgPhotoAndStat (const struct Deg_Degree *Deg, 0); Frm_SetUniqueId (IdCaption); HTM_DIV_Begin ("id=\"%s\" class=\"NOT_SHOWN\"",IdCaption); - HTM_DIV_Begin ("class=\"ZOOM_TXT_LINE DAT_STRONG_%s\"", + HTM_DIV_Begin ("class=\"ZOOM_TXT DAT_STRONG_%s\"", The_GetSuffix ()); HTM_Txt (PhotoCaption); HTM_DIV_End ();