mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-31 22:05:23 +02:00
Version 21.93.6: Apr 25, 2022 Working on design of dark theme.
This commit is contained in:
parent
c0a70d80d4
commit
f82a510dde
|
@ -1934,7 +1934,6 @@ a:hover img.CENTER_PHOTO_SHOW
|
||||||
.BANNER {width:150px; height:50px;}
|
.BANNER {width:150px; height:50px;}
|
||||||
.BANNER_SMALL {width:75px; height:25px;}
|
.BANNER_SMALL {width:75px; height:25px;}
|
||||||
|
|
||||||
.ICO_BLACK {color:#404040;}
|
|
||||||
.ICO_DARKRED {color:#660000;}
|
.ICO_DARKRED {color:#660000;}
|
||||||
|
|
||||||
/****** Contextual links with small icons and text to go to some action ******/
|
/****** Contextual links with small icons and text to go to some action ******/
|
||||||
|
@ -2002,6 +2001,14 @@ a:hover img.CENTER_PHOTO_SHOW
|
||||||
.ICO_WHITE_PINK {filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(194deg) brightness(106%) contrast(105%);} /* #ffffff */
|
.ICO_WHITE_PINK {filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(194deg) brightness(106%) contrast(105%);} /* #ffffff */
|
||||||
.ICO_WHITE_DARK {filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(194deg) brightness(106%) contrast(105%);} /* #ffffff */
|
.ICO_WHITE_DARK {filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(194deg) brightness(106%) contrast(105%);} /* #ffffff */
|
||||||
|
|
||||||
|
.ICO_YELLOW_WHITE,
|
||||||
|
.ICO_YELLOW_GREY,
|
||||||
|
.ICO_YELLOW_PURPLE,
|
||||||
|
.ICO_YELLOW_BLUE,
|
||||||
|
.ICO_YELLOW_YELLOW,
|
||||||
|
.ICO_YELLOW_PINK {filter: invert(61%) sepia(96%) saturate(366%) hue-rotate(352deg) brightness(103%) contrast(101%);} /* #ffb42e */
|
||||||
|
.ICO_YELLOW_DARK {filter: invert(61%) sepia(96%) saturate(366%) hue-rotate(352deg) brightness(103%) contrast(101%);} /* #ffb42e */
|
||||||
|
|
||||||
/********************************** Frame ************************************/
|
/********************************** Frame ************************************/
|
||||||
.FRAME_INLINE
|
.FRAME_INLINE
|
||||||
{
|
{
|
1
icon/check-circle-green.svg
Normal file
1
icon/check-circle-green.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" class="svg-inline--fa fa-check-circle fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#246600" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg>
|
After Width: | Height: | Size: 596 B |
|
@ -1 +1 @@
|
||||||
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" class="svg-inline--fa fa-check-circle fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg>
|
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check-circle" class="svg-inline--fa fa-check-circle fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#246600" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"></path></svg>
|
||||||
|
|
Before Width: | Height: | Size: 600 B After Width: | Height: | Size: 596 B |
1
icon/info-circle-blue.svg
Normal file
1
icon/info-circle-blue.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg aria-hidden="true" data-prefix="fas" data-icon="info-circle" class="svg-inline--fa fa-info-circle fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="#003e91" d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"></path></svg>
|
After Width: | Height: | Size: 619 B |
|
@ -375,8 +375,8 @@ static void Ale_ShowFixAlertAndButton1 (Ale_AlertType_t AlertType,const char *Tx
|
||||||
{
|
{
|
||||||
[Ale_NONE ] = NULL,
|
[Ale_NONE ] = NULL,
|
||||||
[Ale_CLIPBOARD] = "clipboard.svg",
|
[Ale_CLIPBOARD] = "clipboard.svg",
|
||||||
[Ale_INFO ] = "info-circle.svg",
|
[Ale_INFO ] = "info-circle-blue.svg",
|
||||||
[Ale_SUCCESS ] = "check-circle.svg",
|
[Ale_SUCCESS ] = "check-circle-green.svg",
|
||||||
[Ale_QUESTION ] = "question64x64.gif", // animated gif
|
[Ale_QUESTION ] = "question64x64.gif", // animated gif
|
||||||
[Ale_WARNING ] = "warning64x64.gif", // animated gif
|
[Ale_WARNING ] = "warning64x64.gif", // animated gif
|
||||||
[Ale_ERROR ] = "error64x64.gif", // animated gif
|
[Ale_ERROR ] = "error64x64.gif", // animated gif
|
||||||
|
|
|
@ -606,10 +606,15 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
|
||||||
|
|
||||||
TODO: Attach pdf files in multimedia.
|
TODO: Attach pdf files in multimedia.
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 21.93.5 (2022-04-23)"
|
#define Log_PLATFORM_VERSION "SWAD 21.93.6 (2022-04-25)"
|
||||||
#define CSS_FILE "swad21.93.4.css"
|
#define CSS_FILE "swad21.93.6.css"
|
||||||
#define JS_FILE "swad21.92.js"
|
#define JS_FILE "swad21.92.js"
|
||||||
/*
|
/*
|
||||||
|
Version 21.93.6: Apr 25, 2022 Working on design of dark theme. (323358 lines)
|
||||||
|
Copy the following icons to icon public directory:
|
||||||
|
sudo cp icon/info-circle-blue.svg.svg /var/www/html/swad/icon/
|
||||||
|
sudo cp icon/check-circle-green.svg /var/www/html/swad/icon/
|
||||||
|
|
||||||
Version 21.93.5: Apr 23, 2022 Working on design of dark theme. (323346 lines)
|
Version 21.93.5: Apr 23, 2022 Working on design of dark theme. (323346 lines)
|
||||||
Version 21.93.4: Apr 22, 2022 Working on design of dark theme. (323313 lines)
|
Version 21.93.4: Apr 22, 2022 Working on design of dark theme. (323313 lines)
|
||||||
Version 21.93.3: Apr 22, 2022 Working on design of dark theme. (323259 lines)
|
Version 21.93.3: Apr 22, 2022 Working on design of dark theme. (323259 lines)
|
||||||
|
|
|
@ -446,7 +446,7 @@ static void CrsCfg_Indicators (void)
|
||||||
Ico_PutIcon ("check-circle.svg",Ico_GREEN,
|
Ico_PutIcon ("check-circle.svg",Ico_GREEN,
|
||||||
Title,"ICO16x16");
|
Title,"ICO16x16");
|
||||||
else
|
else
|
||||||
Ico_PutIcon ("exclamation-triangle.svg",Ico_RED, // TODO: Change to Ico_YELLOW
|
Ico_PutIcon ("exclamation-triangle.svg",Ico_YELLOW,
|
||||||
Title,"ICO16x16");
|
Title,"ICO16x16");
|
||||||
HTM_BUTTON_End ();
|
HTM_BUTTON_End ();
|
||||||
free (Title);
|
free (Title);
|
||||||
|
|
|
@ -87,6 +87,7 @@ const char *Ico_GetPreffix (Ico_Color_t Color)
|
||||||
[Ico_GREEN ] = "GREEN",
|
[Ico_GREEN ] = "GREEN",
|
||||||
[Ico_RED ] = "RED",
|
[Ico_RED ] = "RED",
|
||||||
[Ico_WHITE ] = "WHITE",
|
[Ico_WHITE ] = "WHITE",
|
||||||
|
[Ico_YELLOW ] = "YELLOW",
|
||||||
};
|
};
|
||||||
|
|
||||||
return Ico_CSS_Preffix[Color];
|
return Ico_CSS_Preffix[Color];
|
||||||
|
|
|
@ -40,7 +40,7 @@ typedef enum
|
||||||
} Ico_IconSet_t;
|
} Ico_IconSet_t;
|
||||||
#define Ico_ICON_SET_DEFAULT Ico_ICON_SET_AWESOME
|
#define Ico_ICON_SET_DEFAULT Ico_ICON_SET_AWESOME
|
||||||
|
|
||||||
#define Ico_NUM_COLORS 5
|
#define Ico_NUM_COLORS 6
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
Ico_UNCHANGED = 0,
|
Ico_UNCHANGED = 0,
|
||||||
|
@ -48,6 +48,7 @@ typedef enum
|
||||||
Ico_GREEN = 2,
|
Ico_GREEN = 2,
|
||||||
Ico_RED = 3,
|
Ico_RED = 3,
|
||||||
Ico_WHITE = 4,
|
Ico_WHITE = 4,
|
||||||
|
Ico_YELLOW = 5,
|
||||||
} Ico_Color_t;
|
} Ico_Color_t;
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -3301,7 +3301,8 @@ static void Mch_PutBigButton (Act_Action_t NextAction,const char *Id,
|
||||||
/***** Put icon with link *****/
|
/***** Put icon with link *****/
|
||||||
HTM_DIV_Begin ("class=\"MCH_BIGBUTTON_CONT\"");
|
HTM_DIV_Begin ("class=\"MCH_BIGBUTTON_CONT\"");
|
||||||
HTM_BUTTON_Submit_Begin (Txt,
|
HTM_BUTTON_Submit_Begin (Txt,
|
||||||
"class=\"BT_LINK MCH_BUTTON_ON ICO_BLACK\"");
|
"class=\"BT_LINK MCH_BUTTON_ON ICO_BLACK_%s\"",
|
||||||
|
The_GetSuffix ());
|
||||||
HTM_TxtF ("<i class=\"%s\"></i>",Icon);
|
HTM_TxtF ("<i class=\"%s\"></i>",Icon);
|
||||||
HTM_BUTTON_End ();
|
HTM_BUTTON_End ();
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
|
@ -3318,7 +3319,8 @@ static void Mch_PutBigButtonHidden (const char *Icon)
|
||||||
{
|
{
|
||||||
/***** Put inactive icon *****/
|
/***** Put inactive icon *****/
|
||||||
HTM_DIV_Begin ("class=\"MCH_BIGBUTTON_CONT\"");
|
HTM_DIV_Begin ("class=\"MCH_BIGBUTTON_CONT\"");
|
||||||
HTM_BUTTON_Begin (NULL,"class=\"BT_LINK_OFF MCH_BUTTON_HIDDEN ICO_BLACK\"");
|
HTM_BUTTON_Begin (NULL,"class=\"BT_LINK_OFF MCH_BUTTON_HIDDEN ICO_BLACK_%s\"",
|
||||||
|
The_GetSuffix ());
|
||||||
HTM_TxtF ("<i class=\"%s\"></i>",Icon);
|
HTM_TxtF ("<i class=\"%s\"></i>",Icon);
|
||||||
HTM_BUTTON_End ();
|
HTM_BUTTON_End ();
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
|
|
|
@ -471,7 +471,7 @@ static void Prj_ShowPrjsInCurrentPage (void *Projects)
|
||||||
Prj_PutIconsListProjects,Projects,
|
Prj_PutIconsListProjects,Projects,
|
||||||
Hlp_ASSESSMENT_Projects,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Projects,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put forms to choice which projects to show *****/
|
/***** Put filters to choice which projects to show *****/
|
||||||
/* 1st. row */
|
/* 1st. row */
|
||||||
Set_BeginSettingsHead ();
|
Set_BeginSettingsHead ();
|
||||||
Prj_ShowFormToFilterByMy_All ((struct Prj_Projects *) Projects);
|
Prj_ShowFormToFilterByMy_All ((struct Prj_Projects *) Projects);
|
||||||
|
@ -701,7 +701,7 @@ static void Prj_ShowFormToFilterByWarning (const struct Prj_Projects *Projects)
|
||||||
Ico_Color_t Color;
|
Ico_Color_t Color;
|
||||||
} FaultinessIcon[Prj_NUM_FAULTINESS] =
|
} FaultinessIcon[Prj_NUM_FAULTINESS] =
|
||||||
{
|
{
|
||||||
[Prj_FAULTY ] = {"exclamation-triangle.svg",Ico_RED },
|
[Prj_FAULTY ] = {"exclamation-triangle.svg",Ico_YELLOW},
|
||||||
[Prj_FAULTLESS] = {"check-circle.svg" ,Ico_GREEN},
|
[Prj_FAULTLESS] = {"check-circle.svg" ,Ico_GREEN},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -70,11 +70,12 @@ void TstVis_ShowVisibilityIcons (unsigned SelectedVisibility,bool Hidden)
|
||||||
Txt_TST_STR_VISIBILITY[Visibility],
|
Txt_TST_STR_VISIBILITY[Visibility],
|
||||||
Txt_TST_HIDDEN_VISIBLE[ItemVisible]) < 0)
|
Txt_TST_HIDDEN_VISIBLE[ItemVisible]) < 0)
|
||||||
Err_NotEnoughMemoryExit ();
|
Err_NotEnoughMemoryExit ();
|
||||||
if (ItemVisible && !Hidden)
|
if (Hidden)
|
||||||
Ico_PutIconOn (Icons[Visibility],Ico_GREEN ,Title);
|
|
||||||
else
|
|
||||||
Ico_PutIconOff (Icons[Visibility],ItemVisible ? Ico_GREEN :
|
Ico_PutIconOff (Icons[Visibility],ItemVisible ? Ico_GREEN :
|
||||||
Ico_RED ,Title);
|
Ico_RED ,Title);
|
||||||
|
else
|
||||||
|
Ico_PutIconOn (Icons[Visibility],ItemVisible ? Ico_GREEN :
|
||||||
|
Ico_RED ,Title);
|
||||||
free (Title);
|
free (Title);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user