mirror of https://github.com/acanas/swad-core.git
Version 21.76.3: Dec 28, 2021 Working on design of dark theme.
This commit is contained in:
parent
df71696227
commit
2fc02ed33a
|
@ -4070,14 +4070,12 @@ a.PAG:hover, .PAG_CUR
|
||||||
/***************************** Calls for exams *******************************/
|
/***************************** Calls for exams *******************************/
|
||||||
.EXAM_TIT
|
.EXAM_TIT
|
||||||
{
|
{
|
||||||
/* font-family:Garamond,"DejaVu LGC Serif","Bitstream Vera Serif",serif; */
|
|
||||||
color:#202020;
|
color:#202020;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
font-size:18pt;
|
font-size:18pt;
|
||||||
}
|
}
|
||||||
.EXAM
|
.EXAM
|
||||||
{
|
{
|
||||||
/* font-family:Garamond,"DejaVu LGC Serif","Bitstream Vera Serif",serif; */
|
|
||||||
color:#202020;
|
color:#202020;
|
||||||
font-size:13pt;
|
font-size:13pt;
|
||||||
}
|
}
|
||||||
|
@ -4130,12 +4128,15 @@ a.PAG:hover, .PAG_CUR
|
||||||
}
|
}
|
||||||
.PRF_FIG_LI
|
.PRF_FIG_LI
|
||||||
{
|
{
|
||||||
padding:0 0 0 20px;
|
|
||||||
background-size:16px 16px;
|
|
||||||
background-repeat:no-repeat;
|
|
||||||
background-position:left center;
|
|
||||||
opacity:0.7;
|
opacity:0.7;
|
||||||
}
|
}
|
||||||
|
.PRF_FIG_ICO
|
||||||
|
{
|
||||||
|
display:inline-block;
|
||||||
|
width:30px;
|
||||||
|
text-align:center;
|
||||||
|
vertical-align:middle;
|
||||||
|
}
|
||||||
|
|
||||||
#following_side
|
#following_side
|
||||||
{
|
{
|
|
@ -602,10 +602,11 @@ TODO: FIX BUG, URGENT! En las fechas como par
|
||||||
|
|
||||||
TODO: En las encuestas, que los estudiantes no puedan ver los resultados hasta que no finalice el plazo.
|
TODO: En las encuestas, que los estudiantes no puedan ver los resultados hasta que no finalice el plazo.
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 21.76.2 (2021-12-27)"
|
#define Log_PLATFORM_VERSION "SWAD 21.76.3 (2021-12-28)"
|
||||||
#define CSS_FILE "swad21.76.css"
|
#define CSS_FILE "swad21.76.3.css"
|
||||||
#define JS_FILE "swad21.67.4.js"
|
#define JS_FILE "swad21.67.4.js"
|
||||||
/*
|
/*
|
||||||
|
Version 21.76.3: Dec 28, 2021 Working on design of dark theme. (322293 lines)
|
||||||
Version 21.76.2: Dec 27, 2021 Working on design of dark theme. (322282 lines)
|
Version 21.76.2: Dec 27, 2021 Working on design of dark theme. (322282 lines)
|
||||||
Copy the following icons to icon public directory:
|
Copy the following icons to icon public directory:
|
||||||
sudo cp icon/first-day-of-week-0.png /var/www/html/swad/icon/
|
sudo cp icon/first-day-of-week-0.png /var/www/html/swad/icon/
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
/*********************************** Headers *********************************/
|
/*********************************** Headers *********************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
#define _GNU_SOURCE // For asprintf
|
||||||
#include <stdbool.h> // For boolean type
|
#include <stdbool.h> // For boolean type
|
||||||
|
#include <stdio.h> // For asprintf
|
||||||
#include <string.h> // For string functions
|
#include <string.h> // For string functions
|
||||||
|
|
||||||
#include "swad_box.h"
|
#include "swad_box.h"
|
||||||
|
@ -264,11 +266,10 @@ static void Fol_PutIconToUpdateWhoToFollow (void)
|
||||||
{
|
{
|
||||||
extern const char *Txt_Update;
|
extern const char *Txt_Update;
|
||||||
|
|
||||||
Frm_BeginForm (ActSeeSocPrf);
|
Lay_PutContextualLinkOnlyIcon (ActSeeSocPrf,NULL,
|
||||||
HTM_BUTTON_Animated_Begin (Txt_Update,"BT_LINK",NULL);
|
NULL,NULL,
|
||||||
Ico_PutCalculateIcon (Txt_Update);
|
"recycle.svg",Ico_BLACK,
|
||||||
HTM_BUTTON_End ();
|
Txt_Update);
|
||||||
Frm_EndForm ();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -744,13 +745,18 @@ static void Fol_PutInactiveIconToFollowUnfollow (void)
|
||||||
|
|
||||||
static void Fol_PutIconToFollow (const char EncryptedUsrCod[Cry_BYTES_ENCRYPTED_STR_SHA256_BASE64 + 1])
|
static void Fol_PutIconToFollow (const char EncryptedUsrCod[Cry_BYTES_ENCRYPTED_STR_SHA256_BASE64 + 1])
|
||||||
{
|
{
|
||||||
|
extern const char *Ico_ClassColor[Ico_NUM_COLORS][The_NUM_THEMES];
|
||||||
extern const char *Txt_Follow;
|
extern const char *Txt_Follow;
|
||||||
|
char *Class;
|
||||||
|
|
||||||
/***** Form to unfollow *****/
|
/***** Form to unfollow *****/
|
||||||
Frm_BeginForm (ActFolUsr);
|
Frm_BeginForm (ActFolUsr);
|
||||||
Usr_PutParamUsrCodEncrypted (EncryptedUsrCod);
|
Usr_PutParamUsrCodEncrypted (EncryptedUsrCod);
|
||||||
HTM_INPUT_IMAGE (Cfg_URL_ICON_PUBLIC,"user-plus.svg",
|
if (asprintf (&Class,"FOLLOW_USR_ICO %s ICO_HIGHLIGHT ICO16x16",
|
||||||
Txt_Follow,"FOLLOW_USR_ICO ICO_HIGHLIGHT ICO16x16");
|
Ico_ClassColor[Ico_BLACK][Gbl.Prefs.Theme]) < 0)
|
||||||
|
Err_NotEnoughMemoryExit ();
|
||||||
|
HTM_INPUT_IMAGE (Cfg_URL_ICON_PUBLIC,"user-plus.svg",Txt_Follow,Class);
|
||||||
|
free (Class);
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -756,10 +756,10 @@ static void Prf_ShowNumMessagesSent (const struct UsrData *UsrDat,
|
||||||
|
|
||||||
static void Prf_BeginListItem (const char *Title,const char *Icon)
|
static void Prf_BeginListItem (const char *Title,const char *Icon)
|
||||||
{
|
{
|
||||||
HTM_LI_Begin ("title=\"%s\" class=\"PRF_FIG_LI\""
|
HTM_LI_Begin ("title=\"%s\" class=\"PRF_FIG_LI\"",Title);
|
||||||
" style=\"background-image:url('%s/%s');\"",
|
HTM_DIV_Begin ("class=\"PRF_FIG_ICO\"");
|
||||||
Title,
|
Ico_PutIcon (Icon,Ico_BLACK,Title,"CONTEXT_ICO_x16");
|
||||||
Cfg_URL_ICON_PUBLIC,Icon);
|
HTM_DIV_End ();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Prf_EndListItem (void)
|
static void Prf_EndListItem (void)
|
||||||
|
|
Loading…
Reference in New Issue