Details
Description
A recent fix to admin stylesheets introduced a strange piece of code:
At
https://github.com/sio2project/oioioi/commit/7bfcfbced8fc28345a160bbc8ecff6b9509385d3#diff-c22ed5025698002d37660dcf8ddb173bR150
:
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgi…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
Yes, it has an ellipsis in the middle! It breaks the JS/CSS compression on oioioi deployments, and therefore breaks admin pages.
At
https://github.com/sio2project/oioioi/commit/7bfcfbced8fc28345a160bbc8ecff6b9509385d3#diff-c22ed5025698002d37660dcf8ddb173bR150
:
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgi…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
Yes, it has an ellipsis in the middle! It breaks the JS/CSS compression on oioioi deployments, and therefore breaks admin pages.
https://gerrit.sio2project.mimuw.edu.pl/2623
SIO-1842Ellipsis in an inline image in CSS -- breaks admin pagesremoved unnecessery styles (gradient and -webkit-gradient is supported by all browsers no need for extra inline svg)
Change-Id: Iefab6cefd65ebc79f33e625b16d2ebc90eeda291