Page MenuHomePhabricator

consolidate css rules for edit switcher css
Closed, ResolvedPublic

Description

We have identical CSS rules in editor.less and VisualEditorOverlay.less
We should increase the CSS payload by only serving them once in editor.less

{.editor-overlay .overlay-header .switcher-drop-down > .mw-ui-button.visual-editor .icon} AND {.editor-overlay-ve .overlay-header-container .overlay-header .icon.editor-switcher} share 3 rules

  • background-image: url(http://localhost/w/extensions/mobilefrontend/less/modules/editor/images/edit-visual-normal.png?2014-04-11t21:10:00z)
  • background-image: -webkit-linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,pd94bwwgdmvyc2lvbj0ims4wiiblbmnvzgluzz0idxrmltgipz48c3znihhtbg5zpsjodhrwoi8vd3d3lnczlm9yzy8ymdawl3n2zyigd2lkdgg9ijqwiibozwlnahq9ijqwiib2awv3qm94psiwidagndagndaipjxwyxroigzpbgw9iimzrjngm0yiigq9ik0yoc44nzegmjmumdg3yy01ljewocawltkumtqgns4ymjitos4xnca1ljiymnm0ljazmsa1ljiymya5lje0iduumjizyzmuota4idagos4xnc01ljiynca5lje0ltuumji0cy01ljizmi01ljiyms05lje0ltuumjixem0widgundc2yy0xljc5ncawltmumju1lteundu4ltmumju1ltmumju1idatms43otqgms40njetmy4yntugmy4yntutmy4yntugms43otmgmcazlji1ncaxljq2idmumju0idmumju1cy0xljq2msazlji1ns0zlji1ncazlji1nxptmc01lje1m2mtms4wndggmc0xljkwms44ns0xljkwmsaxljg5oxmuoduxideuosaxljkwmsaxljljms4wndggmcaxljktljg1miaxljktms45mdeumdaxlteumdq4ls44ntetms44otgtms45lteuodk4eiivpjxwyxroigzpbgw9iinhyweiigq9ik0yoc4yodggmtiuntg0yy0umdczlteundizls43mzgtmi44mdmtms43mtktmy44otutms4wmdqtms4xmtgtmi4zoditms45nzgtmy44njytmi4ymjjslte5lje4ide3ljiwni4wmtmumda4ls4wms0umda1lteuntm3idyuote2idcumdktljc4ms4wmdeumda0ljawns0umda0ljawoc0umdaxls4wmdmtljawngmzljgzmy0zljqznyaxnc44nditmtmumze1ide5lje5oc0xny4ymjj6bs0yms4ynjggmtmumdk5yy0untq2ls41ndctms4wmdgtljg4nc0xljy0nc0xljmxowwxny4ymjgtmtuuntc2yy41odiumtggms4zodkunjq5ideunjm1ideumziybc0xny4ymtkgmtuuntczeiivpjwvc3znpg==)
  • background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,pd94bwwgdmvyc2lvbj0ims4wiiblbmnvzgluzz0idxrmltgipz48c3znihhtbg5zpsjodhrwoi8vd3d3lnczlm9yzy8ymdawl3n2zyigd2lkdgg9ijqwiibozwlnahq9ijqwiib2awv3qm94psiwidagndagndaipjxwyxroigzpbgw9iimzrjngm0yiigq9ik0yoc44nzegmjmumdg3yy01ljewocawltkumtqgns4ymjitos4xnca1ljiymnm0ljazmsa1ljiymya5lje0iduumjizyzmuota4idagos4xnc01ljiynca5lje0ltuumji0cy01ljizmi01ljiyms05lje0ltuumjixem0widgundc2yy0xljc5ncawltmumju1lteundu4ltmumju1ltmumju1idatms43otqgms40njetmy4yntugmy4yntutmy4yntugms43otmgmcazlji1ncaxljq2idmumju0idmumju1cy0xljq2msazlji1ns0zlji1ncazlji1nxptmc01lje1m2mtms4wndggmc0xljkwms44ns0xljkwmsaxljg5oxmuoduxideuosaxljkwmsaxljljms4wndggmcaxljktljg1miaxljktms45mdeumdaxlteumdq4ls44ntetms44otgtms45lteuodk4eiivpjxwyxroigzpbgw9iinhyweiigq9ik0yoc4yodggmtiuntg0yy0umdczlteundizls43mzgtmi44mdmtms43mtktmy44otutms4wmdqtms4xmtgtmi4zoditms45nzgtmy44njytmi4ymjjslte5lje4ide3ljiwni4wmtmumda4ls4wms0umda1lteuntm3idyuote2idcumdktljc4ms4wmdeumda0ljawns0umda0ljawoc0umdaxls4wmdmtljawngmzljgzmy0zljqznyaxnc44nditmtmumze1ide5lje5oc0xny4ymjj6bs0yms4ynjggmtmumdk5yy0untq2ls41ndctms4wmdgtljg4nc0xljy0nc0xljmxowwxny4ymjgtmtuuntc2yy41odiumtggms4zodkunjq5ideunjm1ideumziybc0xny4ymtkgmtuuntczeiivpjwvc3znpg==)

Version: unspecified
Severity: normal

Details

Reference
bz64968

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:22 AM
bzimport set Reference to bz64968.
Jdlrobson created this task.May 6 2014, 7:21 PM

Change 132345 had a related patch set uploaded by Jdlrobson:
Hygiene: Cleanup edit switcher css

https://gerrit.wikimedia.org/r/132345

Change 132345 merged by jenkins-bot:
Hygiene: Cleanup edit switcher css

https://gerrit.wikimedia.org/r/132345