Minify ccm.base.css
Permalink
For some reason all of the other css files in /concrete/css/ are already minified and ready for production but ccm.base.css looks more development style.
The comments and spacing are great for development but we can save a few bytes if it is minified like the rest of the core css files. This is a change I do manually each time I deploy a concrete5 site.
A few bytes saved here saves trees in the long run :)
The comments and spacing are great for development but we can save a few bytes if it is minified like the rest of the core css files. This is a change I do manually each time I deploy a concrete5 site.
A few bytes saved here saves trees in the long run :)
![Blenderite](/files/avatars/162092.jpg)
How does it save trees????
It's more a figure of speech..
Less bandwidth = Less power consumption = Healthier planet
Less bandwidth = Less power consumption = Healthier planet
What's in that css file? In other words - what is used for? Is it for the dashboard / edit functionality? - If so why is it not just injected into the header when someone logs in to edit? Sorry just started trying this system out - Don't know how it all works yet.
Jim
Jim
It's used for a few different bits of UI which may or may not be used on both front-end and back-end.
For example CAPTCHA, pagination control, date/time selectors etc.
Here is a minified version..
For example CAPTCHA, pagination control, date/time selectors etc.
Here is a minified version..
img.ccm-captcha-image{display:block} *.ccm-spacer{clear:both;font-size:1px;line-height:1px;} div.ccm-pagination{text-align:center;position:relative} div.ccm-pagination span.ccm-page-right{position:absolute;top:0px;right:0px;margin-right:0px !important} div.ccm-pagination span.ccm-page-right span{margin-right:0px} div.ccm-pagination span.ccm-page-left{position:absolute;top:0px;left:0px} div.ccm-pagination span{margin-right:4px} .ccm-ui div.ccm-pagination span{margin-right:0px;} div.pagination ul strong, div.pagination ul span.ltgray{display:block;padding:0 14px;float:left;line-height:34px;border-right:1px solid #DDD;text-decoration:none;} .ccm-layout-table .ccm-layout-col{float:left} .ccm-layout .first .ccm-layout-col-spacing{margin-left:0px !important} .ccm-layout .last .ccm-layout-col-spacing{margin-right:0px !important} .ccm-error{font-weight:bold;color:#f00} .ccm-required{font-weight:bold;color:#3975AD} div#ccm-overlay{position:fixed;z-index:99;top:0px;left:0px;background-color:#000;filter:alpha(opacity=70);-moz-opacity:0.7;opacity:0.7;height:100%;width:100%;display:none;}
Viewing 15 lines of 17 lines. View entire code block.