Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS unused #71

Closed
felansu opened this issue Jul 27, 2017 · 2 comments
Closed

CSS unused #71

felansu opened this issue Jul 27, 2017 · 2 comments
Labels

Comments

@felansu
Copy link
Contributor

felansu commented Jul 27, 2017

I think the style.css file has a lot of CSS without being used.

For example:

table.shoping-cart-table tr td.desc,
table.shoping-cart-table tr td:first-child {
    text-align: left
}

table.shoping-cart-table tr td:last-child {
    width: 80px
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #676a6c;
    margin: 2px 0 5px
}

.product-name:focus,
.product-name:hover {
    color: #3385FF
}

.product-price {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: #3385FF;
    padding: 6px 12px;
    position: absolute;
    top: -32px;
    right: 0
}

.product-detail .ibox-content {
    padding: 30px 30px 50px
}

This are used ?

body.rtls are used ? Because from line 7921 to 8177 rtls is being used.

I need to know this for refactoring to minimalist and performative css code.

@jarrekk
Copy link
Owner

jarrekk commented Jul 29, 2017

@felansu You are right, they are not used for this site, of course you can remove it. style.css is a file which I used for many websites, I use purifycss to remove unused css code and you can refactor this file with this package, it's the laziest way to reuse code :)

@felansu
Copy link
Contributor Author

felansu commented Jul 29, 2017

@jarrekk ohh sorry, I did not know purifycss ! Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants