diff --git a/css/swad18.122.4.css b/css/swad18.122.5.css similarity index 98% rename from css/swad18.122.4.css rename to css/swad18.122.5.css index 85244ed40..762e0741b 100644 --- a/css/swad18.122.4.css +++ b/css/swad18.122.5.css @@ -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 { diff --git a/swad_changelog.h b/swad_changelog.h index d8756261a..5515810e5 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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: diff --git a/swad_test.c b/swad_test.c index c1022fdc9..33f9021d3 100644 --- a/swad_test.c +++ b/swad_test.c @@ -4100,20 +4100,21 @@ static void Tst_WriteChoiceAnsViewGame (struct Game *Game, /***** Write letter of this option *****/ fprintf (Gbl.F.Out,"" - "" - "" + "" + "" "", - NumQst,NumOpt,Class, + 'A' + (char) NumOpt, 'a' + (char) NumOpt); /***** Write the option text *****/ - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"" "", - NumQst,NumOpt,Class, + NumQst,NumOpt, + Class, Gbl.Test.Answer.Options[NumOpt].Text); Med_ShowMedia (&Gbl.Test.Answer.Options[NumOpt].Media, "TEST_MED_SHOW_CONTAINER",