Giter Site home page Giter Site logo

Progress bars about materialize HOT 14 CLOSED

dogfalo avatar dogfalo commented on May 1, 2024
Progress bars

from materialize.

Comments (14)

davidsoderberg avatar davidsoderberg commented on May 1, 2024

What are your toughts on this, maybe I can help?

from materialize.

Dogfalo avatar Dogfalo commented on May 1, 2024

We are dealing with other parts of the framework right now so it would be great if you could help!

from materialize.

davidsoderberg avatar davidsoderberg commented on May 1, 2024

Sure, any toughts on this yet?

from materialize.

acburst avatar acburst commented on May 1, 2024

Take a look at this http://www.google.com/design/spec/components/progress-activity.html#progress-activity-types-of-indicators under the linear section.

If you want, you could try making the indeterminate progress bar, and maybe some form of determinate progress bar where you can have some attribute or class that sets how full the percentage is.

from materialize.

davidsoderberg avatar davidsoderberg commented on May 1, 2024

Maybe we could make it an jquery plugin?

from materialize.

Dogfalo avatar Dogfalo commented on May 1, 2024

I don't think jQuery should be necessary here.

On Thu, Jan 8, 2015 at 12:59 PM, David Sรถderberg [email protected]
wrote:

Maybe we could make it an jquery plugin?

โ€”
Reply to this email directly or view it on GitHub
#23 (comment).

Doggy sends his greetings from Mars.

from materialize.

davidsoderberg avatar davidsoderberg commented on May 1, 2024

I thinking about setting width of progess, how that will be easy to make with css. 100 classes is not a good solution. We can set it on a div like this style="width: 80%; But that is not nice if you ask me...

from materialize.

acburst avatar acburst commented on May 1, 2024

How about you just try making the indeterminate bar first and we can think about the other one after

from materialize.

davidsoderberg avatar davidsoderberg commented on May 1, 2024

Alright ๐Ÿ˜„

from materialize.

davidsoderberg avatar davidsoderberg commented on May 1, 2024

Alright here is a first try:
CSS:

.progress {
    position: relative;
    height: 5px;
    display: block;
    width: 100%;
    background-color: #c7c7c7;
    margin: 1em 0;
    overflow: hidden;
}
.indeterminate {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-animation: indeterminate 1s linear infinite;
}

@-webkit-keyframes indeterminate {
    0% {
        -webkit-transform: translate(-100%);
    }
    50% {
        -webkit-transform: translate(0%);
    }
    100% {
        -webkit-transform: translate(100%);
    }
}

And HTML:

<div class="progress">                  
    <div class="indeterminate red"></div>
</div>

So what do you think?

from materialize.

acburst avatar acburst commented on May 1, 2024

It's looking pretty good. Do you wanna try experimenting with some easing?

from materialize.

davidsoderberg avatar davidsoderberg commented on May 1, 2024

Sure but I thought I could do determinate first :)

from materialize.

Dogfalo avatar Dogfalo commented on May 1, 2024

Also fee free to join our chat room here, where it is easier to have discussion about new features. https://gitter.im/Dogfalo/materialize

from materialize.

Dogfalo avatar Dogfalo commented on May 1, 2024

Added in 0c4e9b9

from materialize.

Related Issues (20)

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.