Giter Site home page Giter Site logo

pieces's People

Contributors

nxtchg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pieces's Issues

NPM

Would you mind adding this to NPM?

Empty at-rules are being compiled

The CSS parser ignores empty rules and doesn't compile them, and that's great, in my opinion.

However, empty at-rules are being compiled and aren't being ignored.

For example, the following CSS code:

@media (max-width: 1024px) {

}

is being unnecessarily compiled to: @media (max-width: 1024px){}


Besides, the following CSS code:

@media (max-width: 1024px) {
    div {
    }
}

is being unnecessarily compiled to: @media (max-width: 1024px){}, too.

@document is causing a parsing error

The following CSS code:

@document url("https://www.example.com/") {
    h1 {
        color: green;
    }
}

is causing this parsing error: TypeError: m[1] is undefined

Alert area box visible when alert is not active

Hi - thanks for this Vue component.

It's working well on my site to show alerts, but there seems to be a small issue with CSS as shown in the attached image.

Specifically, there's a subtle blocked area appearing where the alert is set to show up when activated. This area moves around when positioning the alert to appear at the top left, bottom right, etc.

Any ideas how to get rid of it?

My code:
<vs-notify group="alert" position="bottom right" :duration="6000"></vs-notify>

this.$notify("alert", response.body.ErrorMessage, "error");

I've not tried to adjust styling on the notify element at all.

-Ken

screen shot 2018-02-01 at 11 06 12 am

Some syntax errors are not being reported

The following syntax errors are not being reported:

Unclosed block (when the next rule's selectors contain colons):

body {
    color: #000;


p:first-child {
    color: #111;
}

Unclosed bracket:

a[href {
    color: #111;
}

Unclosed parenthesis:

li:nth-child(even {
    color: #111;
}
p::before {
    content: attr(data-test;
}
p {
    background: url(images/bg.jpg;
}
div {
   width: calc(10% + 20px;
}
@import url(main.css;

Unclosed string:

p::before {
    content: "test;
}
p {
    background: url("images/bg.jpg);
}
p {
    font-family: "Test;
}
a[href="index.php] {
   color: #111;
}
@import "main.css;

Unclosed comment:

/* Lorem ipsum *

Double colon:

p {
    color:: #111;
}

Selector format error:

p; {
    color:: #111;
}

@​font-face at-rule missing name:

@ {
    font-style: normal;
    font-weight: 400;
    font-family: "Font Awesome";
    src: url(fonts/fa-regular-400.woff2) format("woff2"),
         url(fonts/fa-regular-400.woff) format("woff");
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.