mirror of https://github.com/acanas/swad-core.git
Version18.122.5
This commit is contained in:
parent
d4b5d2abb9
commit
b3d9b1cdb2
|
@ -1459,6 +1459,38 @@ a:hover /* Default ==> underlined */
|
|||
background-image:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2));
|
||||
}
|
||||
|
||||
.BT_A {background-color:#e21c3d; border-color:#a9152d;} /* red */
|
||||
.BT_B {background-color:#1369ce; border-color:#0e519c;} /* blue */
|
||||
.BT_C {background-color:#d89e00; border-color:#a27600;} /* yellow */
|
||||
.BT_D {background-color:#2b9010; border-color:#206c0c;} /* green */
|
||||
.BT_E {background-color:#e30087; border-color:#aa0064;} /* pink */
|
||||
.BT_F {background-color:#00b5e9; border-color:#0089b0;} /* light blue */
|
||||
.BT_G {background-color:#f58700; border-color:#b86400;} /* orange */
|
||||
.BT_H {background-color:#b3d00a; border-color:#869d07;} /* light green */
|
||||
.BT_I {background-color:#642075; border-color:#4b1858;} /* purple */
|
||||
.BT_J {background-color:#f5e800; border-color:#b8ad00;} /* light yellow */
|
||||
.BT_GAME
|
||||
{
|
||||
box-sizing:border-box;
|
||||
width:64px;
|
||||
margin:8px;
|
||||
padding:8px;
|
||||
border-radius:4px;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
box-shadow:0 1px 0 rgba(255,255,255,0.15) inset;
|
||||
color:white;
|
||||
font-size:36px;
|
||||
font-weight:bold;
|
||||
line-height:normal;
|
||||
white-space:nowrap;
|
||||
}
|
||||
.BT_GAME:hover
|
||||
{
|
||||
background-image:-webkit-linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); /* Safari */
|
||||
background-image:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2));
|
||||
}
|
||||
|
||||
/********************************** Notice ***********************************/
|
||||
.NOTICE_HIGHLIGHT
|
||||
{
|
|
@ -448,10 +448,11 @@ En OpenSWAD:
|
|||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.122.4 (2019-05-20)"
|
||||
#define CSS_FILE "swad18.122.4.css"
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.122.5 (2019-05-20)"
|
||||
#define CSS_FILE "swad18.122.5.css"
|
||||
#define JS_FILE "swad18.116.5.js"
|
||||
/*
|
||||
Version 18.122.5: May 20, 2019 Buttons for options in games. (242596 lines)
|
||||
Version 18.122.4: May 20, 2019 Changes in buttons. (242563 lines)
|
||||
Version 18.122.3: May 20, 2019 Changes in games. (242558 lines)
|
||||
Copy the following icon to icon public directory:
|
||||
|
|
15
swad_test.c
15
swad_test.c
|
@ -4100,20 +4100,21 @@ static void Tst_WriteChoiceAnsViewGame (struct Game *Game,
|
|||
|
||||
/***** Write letter of this option *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td class=\"LEFT_TOP\">"
|
||||
"<label for=\"Ans%06u_%u\" class=\"%s\">"
|
||||
"%c) "
|
||||
"</label>"
|
||||
"<td class=\"CENTER_MIDDLE\">"
|
||||
"<button class=\"BT_GAME BT_%c\">"
|
||||
"%c"
|
||||
"</button>"
|
||||
"</td>",
|
||||
NumQst,NumOpt,Class,
|
||||
'A' + (char) NumOpt,
|
||||
'a' + (char) NumOpt);
|
||||
|
||||
/***** Write the option text *****/
|
||||
fprintf (Gbl.F.Out,"<td class=\"LEFT_TOP\">"
|
||||
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">"
|
||||
"<label for=\"Ans%06u_%u\" class=\"%s\">"
|
||||
"%s"
|
||||
"</label>",
|
||||
NumQst,NumOpt,Class,
|
||||
NumQst,NumOpt,
|
||||
Class,
|
||||
Gbl.Test.Answer.Options[NumOpt].Text);
|
||||
Med_ShowMedia (&Gbl.Test.Answer.Options[NumOpt].Media,
|
||||
"TEST_MED_SHOW_CONTAINER",
|
||||
|
|
Loading…
Reference in New Issue