Version 21.76.2: Dec 27, 2021 Working on design of dark theme.

This commit is contained in:
acanas 2021-12-27 22:08:55 +01:00
parent 5186e326d0
commit df71696227
5 changed files with 34 additions and 31 deletions

View File

@ -150,8 +150,8 @@ a:hover /* Default ==> underlined */
} }
.HEAD_ROW_1_PINK .HEAD_ROW_1_PINK
{ {
background-image:-webkit-linear-gradient(#bf667f 0,#c86b85 100%); /* Safari */ background-image:-webkit-linear-gradient(#8e5e8f 0,#ab5c84 100%); /* Safari */
background-image:linear-gradient(#bf667f 0,#c86b85 100%); background-image:linear-gradient(#8e5e8f 0,#ab5c84 100%);
background-repeat:no-repeat; background-repeat:no-repeat;
} }
.HEAD_ROW_1_DARK .HEAD_ROW_1_DARK
@ -1180,7 +1180,6 @@ a:hover /* Default ==> underlined */
{ {
box-sizing:border-box; box-sizing:border-box;
margin:0 auto; margin:0 auto;
background:white;
border-style:solid; border-style:solid;
border-width:1px; border-width:1px;
border-color:#80C040; border-color:#80C040;
@ -1281,14 +1280,13 @@ a:hover /* Default ==> underlined */
{ {
box-sizing:border-box; box-sizing:border-box;
width:148px; width:148px;
background:white;
border-style:solid; border-style:solid;
border-width:1px; border-width:1px;
border-color:#8CBCCE; border-color:#8cbcce;
padding:5px; padding:5px;
border-radius:2px; border-radius:2px;
font-size:11pt; font-size:11pt;
color:#4D88A1; color:#4d88a1;
} }
#MFU_actions ul #MFU_actions ul
{ {
@ -1299,7 +1297,7 @@ a:hover /* Default ==> underlined */
padding:2px 0 0 0; padding:2px 0 0 0;
border-style:solid; border-style:solid;
border-width:1px 0 0 0; border-width:1px 0 0 0;
border-color:#DDECF1; border-color:rgba(140,188,206,0.2);
list-style-type:none; list-style-type:none;
text-align:left; text-align:left;
vertical-align:middle; vertical-align:middle;
@ -1462,10 +1460,9 @@ a:hover img.CENTER_PHOTO_SHOW
width:148px; width:148px;
margin:6px 0; margin:6px 0;
padding:5px; padding:5px;
background:white;
border-style:solid; border-style:solid;
border-width:1px; border-width:1px;
border-color:#8CBCCE; border-color:#8cbcce;
border-radius:2px; border-radius:2px;
text-align:center; text-align:center;
overflow:hidden; overflow:hidden;
@ -1478,18 +1475,18 @@ a:hover img.CENTER_PHOTO_SHOW
padding-top:2px; padding-top:2px;
border-style:solid; border-style:solid;
border-width:1px 0 0 0; border-width:1px 0 0 0;
border-color:#DDECF1; border-color:rgba(140,188,206,0.2);
} }
.MONTH .MONTH
{ {
color:#4D88A1; color:#4d88a1;
font-size:9pt; font-size:9pt;
white-space:nowrap; white-space:nowrap;
text-transform:uppercase; text-transform:uppercase;
} }
.DAY_WRK_HEAD .DAY_WRK_HEAD
{ {
color:#4D88A1; color:#4d88a1;
font-size:9pt; font-size:9pt;
text-align:center; text-align:center;
} }
@ -1507,7 +1504,7 @@ a:hover img.CENTER_PHOTO_SHOW
} }
.DAY_NO_WORK .DAY_NO_WORK
{ {
color:#C04080; color:#c04080;
font-size:9pt; font-size:9pt;
text-align:center; text-align:center;
} }
@ -1519,64 +1516,64 @@ a:hover img.CENTER_PHOTO_SHOW
} }
.DAY_WRK_LIGHT .DAY_WRK_LIGHT
{ {
color:#E0E0E0; color:#e0e0e0;
font-size:9pt; font-size:9pt;
text-align:center; text-align:center;
} }
.DAY_NO_WORK_LIGHT .DAY_NO_WORK_LIGHT
{ {
color:#FFE0FF; color:#ffe0ff;
font-size:9pt; font-size:9pt;
text-align:center; text-align:center;
} }
.DAY_HLD_LIGHT .DAY_HLD_LIGHT
{ {
color:#FFE0E0; color:#ffe0e0;
font-size:9pt; font-size:9pt;
text-align:center; text-align:center;
} }
.DAY .DAY
{ {
border:solid 1px; border:solid 1px;
border-color:white; border-color:transparent;
text-align:center; text-align:center;
} }
.TODAY .TODAY
{ {
border:solid 1px; border:solid 1px;
border-color:#50B800; border-color:#50b800;
text-align:center; text-align:center;
} }
.DAY_EVENT .DAY_EVENT
{ {
border:solid 1px; border:solid 1px;
border-color:white; border-color:white;
background-color:#FFF080; background-color:#fff080;
text-align:center; text-align:center;
} }
.TODAY_EVENT .TODAY_EVENT
{ {
border:solid 1px; border:solid 1px;
border-color:#50B800; border-color:#50b800;
background-color:#FFF080; background-color:#fff080;
text-align:center; text-align:center;
} }
/********************************* Buttons ***********************************/ /********************************* Buttons ***********************************/
.BT_CREATE .BT_CREATE
{ {
background-color:#5BC33B; background-color:#5bc33b;
border-color:#518741; border-color:#518741;
} }
.BT_CONFIRM .BT_CONFIRM
{ {
background-color:#55ACEE; background-color:#55acee;
border-color:#3B88C3; border-color:#3b88c3;
} }
.BT_REMOVE .BT_REMOVE
{ {
background-color:#EF5555; background-color:#ef5555;
border-color:#C33B3B; border-color:#c33b3b;
} }
.BT_SUBMIT .BT_SUBMIT
{ {
@ -1804,10 +1801,9 @@ a:hover img.CENTER_PHOTO_SHOW
box-sizing:border-box; box-sizing:border-box;
width:148px; width:148px;
margin:0; margin:0;
background:white;
border-style:solid; border-style:solid;
border-width:1px; border-width:1px;
border-color:#8CBCCE; border-color:#8cbcce;
padding:5px; padding:5px;
border-radius:2px; border-radius:2px;
font-size:11pt; font-size:11pt;
@ -1821,7 +1817,7 @@ a:hover img.CENTER_PHOTO_SHOW
padding-top:2px; padding-top:2px;
border-style:solid; border-style:solid;
border-width:1px 0 0 0; border-width:1px 0 0 0;
border-color:#DDECF1; border-color:rgba(140,188,206,0.2);
} }
#institutional_links li #institutional_links li
{ {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -248,6 +248,7 @@ void MFU_WriteBigMFUActions (struct MFU_ListMFUActions *ListMFUActions)
void MFU_WriteSmallMFUActions (struct MFU_ListMFUActions *ListMFUActions) void MFU_WriteSmallMFUActions (struct MFU_ListMFUActions *ListMFUActions)
{ {
extern const char *Ico_ClassColor[Ico_NUM_COLORS][The_NUM_THEMES];
extern const char *Txt_My_frequent_actions; extern const char *Txt_My_frequent_actions;
extern const char *Txt_Frequent_ACTIONS; extern const char *Txt_Frequent_ACTIONS;
extern const char *Txt_TABS_TXT[Tab_NUM_TABS]; extern const char *Txt_TABS_TXT[Tab_NUM_TABS];
@ -290,7 +291,8 @@ void MFU_WriteSmallMFUActions (struct MFU_ListMFUActions *ListMFUActions)
Frm_BeginForm (Action); Frm_BeginForm (Action);
HTM_BUTTON_OnSubmit_Begin (TabMenuStr,"BT_LINK",NULL); HTM_BUTTON_OnSubmit_Begin (TabMenuStr,"BT_LINK",NULL);
HTM_IMG (Gbl.Prefs.URLIconSet,Act_GetIcon (Action),MenuStr, HTM_IMG (Gbl.Prefs.URLIconSet,Act_GetIcon (Action),MenuStr,
NULL); "class=\"%s\"",
Ico_ClassColor[Ico_BLACK][Gbl.Prefs.Theme]);
HTM_TxtF (" %s",MenuStr); HTM_TxtF (" %s",MenuStr);
HTM_BUTTON_End (); HTM_BUTTON_End ();
Frm_EndForm (); Frm_EndForm ();

View File

@ -602,10 +602,15 @@ 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.1 (2021-12-27)" #define Log_PLATFORM_VERSION "SWAD 21.76.2 (2021-12-27)"
#define CSS_FILE "swad21.76.css" #define CSS_FILE "swad21.76.css"
#define JS_FILE "swad21.67.4.js" #define JS_FILE "swad21.67.4.js"
/* /*
Version 21.76.2: Dec 27, 2021 Working on design of dark theme. (322282 lines)
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-6.png /var/www/html/swad/icon/
Version 21.76.1: Dec 27, 2021 Working on design of dark theme. (322283 lines) Version 21.76.1: Dec 27, 2021 Working on design of dark theme. (322283 lines)
Version 21.76: Dec 27, 2021 Code refactoring related to themes. (322302 lines) Version 21.76: Dec 27, 2021 Code refactoring related to themes. (322302 lines)
Version 21.75.1: Dec 26, 2021 Fixed bug in icons. (322479 lines) Version 21.75.1: Dec 26, 2021 Fixed bug in icons. (322479 lines)