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,"