From 9684da49ff17f22b587c4178860df266de0c58e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sun, 27 Sep 2015 21:03:08 +0200 Subject: [PATCH] Version 15.2.1 --- css/swad_desktop.css | 62 +++++++++++++++++++------------------------- css/swad_mobile.css | 59 ++++++++++++++++++----------------------- swad_changelog.h | 5 ++-- swad_tab.c | 2 +- 4 files changed, 56 insertions(+), 72 deletions(-) diff --git a/css/swad_desktop.css b/css/swad_desktop.css index b661cb694..aabdd1e6b 100644 --- a/css/swad_desktop.css +++ b/css/swad_desktop.css @@ -62,14 +62,14 @@ hr.BLUE_SEPARA {height:0; border-top:0; border-bottom:#4D88A1 dotted 1px;} hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;} /********************************** Background *******************************/ -.WHITE_BACKGROUND {background:linear-gradient(black 0,black 48px,white 48px,#cfcfce 48px,white 88px,white 100%); background-repeat: no-repeat;} -.GREY_BACKGROUND {background:linear-gradient(#383838 0,#404040 32px,#404040 228px,white 228px,white 100%); background-repeat: no-repeat;} -.BLUE_BACKGROUND {background:linear-gradient(#5fa5df 0,#4f90c8 32px,#4f90c8 228px,white 228px,white 100%); background-repeat: no-repeat;} -.YELLOW_BACKGROUND {background:linear-gradient(#201420 0,#201420 228px,white 228px,white 100%); background-repeat: no-repeat;} +.WHITE_BACKGROUND {background:linear-gradient(black 0,black 48px,white 48px,#cfcfce 48px,white 88px,white 100%); background-repeat:no-repeat;} +.GREY_BACKGROUND {background:linear-gradient(#383838 0,#404040 32px,#404040 228px,white 228px,white 100%); background-repeat:no-repeat;} +.BLUE_BACKGROUND {background:linear-gradient(#5fa5df 0,#4f90c8 32px,#4f90c8 228px,white 228px,white 100%); background-repeat:no-repeat;} +.YELLOW_BACKGROUND {background:linear-gradient(#201420 0,#201420 228px,white 228px,white 100%); background-repeat:no-repeat;} .WHITE_HEAD_ROW_1 {background-color:black;} -.GREY_HEAD_ROW_1 {background:linear-gradient(#383838 0,#383838 32px,#404040 100%); background-repeat: no-repeat;} -.BLUE_HEAD_ROW_1 {background:linear-gradient(#5fa5df 0,#4f90c8 32px,#4f90c8 100%); background-repeat: no-repeat;} +.GREY_HEAD_ROW_1 {background:linear-gradient(#383838 0,#383838 32px,#404040 100%); background-repeat:no-repeat;} +.BLUE_HEAD_ROW_1 {background:linear-gradient(#5fa5df 0,#4f90c8 32px,#4f90c8 100%); background-repeat:no-repeat;} .YELLOW_HEAD_ROW_1 {background-color:#201420;} /************* Institution / Centre / Degree logo in top title ***************/ @@ -283,21 +283,19 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;} } .BT_SUBMIT:hover { - background-image:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); + background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); } .BT_SUBMIT_INLINE:hover { - background-image:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); + background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); } /********************************** Notice ***********************************/ - .NOTICE_CONTAINER { margin:12px auto; padding:12px; - background-color:#FAF098; - background-image:linear-gradient(#EED86C 0%,#FEED95 15%,#FAF098 100%); + background:linear-gradient(#EED86C 0%,#FEED95 15%,#FAF098 100%); box-shadow:0 9px 12px -6px rgba(125,113,0,0.8); text-align:left; overflow:hidden; @@ -581,15 +579,13 @@ a:hover img.CENTRE_PHOTO_SHOW .BG_MSG_BLUE { - background-image:url('/swad/icon/blue1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); + background-repeat:no-repeat; } .BG_MSG_GREEN { - background-image:url('/swad/icon/green1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); + background-repeat:no-repeat; } .WHITE_DEGREE {color:#707070; font-size:18pt; font-weight:bold; white-space:nowrap;} @@ -1054,24 +1050,23 @@ a:hover img.CENTRE_PHOTO_SHOW .MSG_TIT_REM {color:#AFC4CC; font-size:15pt;} .MSG_TIT_BG { - background-image:url('/swad/icon/blue1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; color:#4D88A1; + background:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); + background-repeat:no-repeat; + color:#4D88A1; font-size:15pt; } .MSG_TIT_BG_NEW { - background-image:url('/swad/icon/green1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; color:#4D88A1; + background:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); + background-repeat:no-repeat; + color:#4D88A1; font-size:15pt; font-weight:bold; } .MSG_TIT_BG_REM { - background-image:url('/swad/icon/lightblue1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%); + background-repeat:no-repeat; color:#AFC4CC; font-size:15pt; } @@ -1080,26 +1075,23 @@ a:hover img.CENTRE_PHOTO_SHOW .MSG_AUT_NEW {color:#4D88A1; font-size:13pt; font-weight:bold;} .MSG_AUT_BG { - background-image:url('/swad/icon/blue1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); + background-repeat:no-repeat; color:#4D88A1; font-size:13pt; } .MSG_AUT_BG_NEW { - background-image:url('/swad/icon/green1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); + background-repeat:no-repeat; color:#4D88A1; font-size:13pt; font-weight:bold; } .MSG_AUT_BG_REM { - background-image:url('/swad/icon/lightblue1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%); + background-repeat:no-repeat; color:#AFC4CC; font-size:13pt; } diff --git a/css/swad_mobile.css b/css/swad_mobile.css index 7df2dce2b..308fbd7e2 100644 --- a/css/swad_mobile.css +++ b/css/swad_mobile.css @@ -57,14 +57,14 @@ img {border-width:0; border-style:none;} form {margin:0; display:inline;} /********************************** Background *******************************/ -.WHITE_BACKGROUND {background:linear-gradient(black 0,black 72px,white 72px,#cfcfce 72px,white 112px,white 100%); background-repeat: no-repeat;} -.GREY_BACKGROUND {background:linear-gradient(#383838 0,#404040 48px,#404040 212px,white 212px,white 100%); background-repeat: no-repeat;} -.BLUE_BACKGROUND {background:linear-gradient(#5fa5df 0,#4f90c8 48px,#4f90c8 212px,white 212px,white 100%); background-repeat: no-repeat;} -.YELLOW_BACKGROUND {background:linear-gradient(#201420 0,#201420 212px,white 212px,white 100%); background-repeat: no-repeat;} +.WHITE_BACKGROUND {background:linear-gradient(black 0,black 72px,white 72px,#cfcfce 72px,white 112px,white 100%); background-repeat:no-repeat;} +.GREY_BACKGROUND {background:linear-gradient(#383838 0,#404040 48px,#404040 212px,white 212px,white 100%); background-repeat:no-repeat;} +.BLUE_BACKGROUND {background:linear-gradient(#5fa5df 0,#4f90c8 48px,#4f90c8 212px,white 212px,white 100%); background-repeat:no-repeat;} +.YELLOW_BACKGROUND {background:linear-gradient(#201420 0,#201420 212px,white 212px,white 100%); background-repeat:no-repeat;} .WHITE_HEAD_ROW_1 {background-color:black;} -.GREY_HEAD_ROW_1 {background:linear-gradient(#383838 0,#383838 48px,#404040 100%); background-repeat: no-repeat;} -.BLUE_HEAD_ROW_1 {background:linear-gradient(#5fa5df 0,#4f90c8 48px,#4f90c8 100%); background-repeat: no-repeat;} +.GREY_HEAD_ROW_1 {background:linear-gradient(#383838 0,#383838 48px,#404040 100%); background-repeat:no-repeat;} +.BLUE_HEAD_ROW_1 {background:linear-gradient(#5fa5df 0,#4f90c8 48px,#4f90c8 100%); background-repeat:no-repeat;} .YELLOW_HEAD_ROW_1 {background-color:#201420;} /************* Institution / Centre / Degree logo in top title ***************/ @@ -233,21 +233,19 @@ form {margin:0; display:inline;} } .BT_SUBMIT:hover { - background-image:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); + background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); } .BT_SUBMIT_INLINE:hover { - background-image:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); + background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.2)); } /********************************** Notice ***********************************/ - .NOTICE_CONTAINER { margin:12px auto; padding:12px; - background-color:#FAF098; - background-image:linear-gradient(#EED86C 0%,#FEED95 15%,#FAF098 100%); + background:linear-gradient(#EED86C 0%,#FEED95 15%,#FAF098 100%); box-shadow:0 9px 12px -6px rgba(125,113,0,0.8); text-align:center; overflow:hidden; @@ -543,15 +541,13 @@ a:hover img.CENTRE_PHOTO_SHOW .BG_MSG_BLUE { - background-image:url('/swad/icon/blue1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); + background-repeat:no-repeat; } .BG_MSG_GREEN { - background-image:url('/swad/icon/green1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); + background-repeat:no-repeat; } .WHITE_DEGREE {color:#707070; font-size:21pt; font-weight:bold; white-space:nowrap;} @@ -861,26 +857,24 @@ a:hover img.CENTRE_PHOTO_SHOW .MSG_TIT_REM {color:#AFC4CC; font-size:15pt;} .MSG_TIT_BG { - background-image:url('/swad/icon/blue1x36.gif'); - background-size:1px 54px; + background:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); + background-repeat:no-repeat; background-repeat:repeat-x; color:#4D88A1; font-size:15pt; } .MSG_TIT_BG_NEW { - background-image:url('/swad/icon/green1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); + background-repeat:no-repeat; color:#4D88A1; font-size:15pt; font-weight:bold; } .MSG_TIT_BG_REM { - background-image:url('/swad/icon/lightblue1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%); + background-repeat:no-repeat; color:#AFC4CC; font-size:15pt; } @@ -889,26 +883,23 @@ a:hover img.CENTRE_PHOTO_SHOW .MSG_AUT_NEW {color:#4D88A1; font-size:13pt; font-weight:bold;} .MSG_AUT_BG { - background-image:url('/swad/icon/blue1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%); + background-repeat:no-repeat; color:#4D88A1; font-size:13pt; } .MSG_AUT_BG_NEW { - background-image:url('/swad/icon/green1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%); + background-repeat:no-repeat; color:#4D88A1; font-size:13pt; font-weight:bold; } .MSG_AUT_BG_REM { - background-image:url('/swad/icon/lightblue1x36.gif'); - background-size:1px 54px; - background-repeat:repeat-x; + background:linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%); + background-repeat:no-repeat; color:#AFC4CC; font-size:13pt; } diff --git a/swad_changelog.h b/swad_changelog.h index ee567bca4..9edb53417 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -98,12 +98,13 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.2 (2015/09/27)" +#define Log_PLATFORM_VERSION "SWAD 15.2.1 (2015/09/27)" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1 /* - Version 15.2: Sep 27, 2015 Change in layout. Background images are changed to CSS backgrounds. (185185 lines) + Version 15.2.1: Sep 27, 2015 Change in layout. Background images are changed to CSS linear gradients. (185171 lines) + Version 15.2: Sep 27, 2015 Change in layout. Background images are changed to CSS linear gradients. (185185 lines) Version 15.1.3: Sep 27, 2015 Change in CSS. (185173 lines) Version 15.1.2: Sep 27, 2015 Fixed bug in requests for registration. (185170 lines) Version 15.1.1: Sep 26, 2015 Fixed bug in statistics. (185084 lines) diff --git a/swad_tab.c b/swad_tab.c index da12bff3b..0970d8d9c 100644 --- a/swad_tab.c +++ b/swad_tab.c @@ -93,7 +93,7 @@ void Tab_DrawTabs (void) fprintf (Gbl.F.Out,"" "
", - ColspanCentralPart,Gbl.Prefs.PathTheme); + ColspanCentralPart); switch (Gbl.Prefs.Layout) { case Lay_LAYOUT_DESKTOP: