Code Monkey home page Code Monkey logo

Comments (11)

roybarber avatar roybarber commented on September 25, 2024

@holliepearson why dont you have a go at getting this within the style? make its all editable using the $vars

from static-starter.

roybarber avatar roybarber commented on September 25, 2024

@holliepearson Can we make it more like this: https://codepen.io/416studios/pen/owGzj

Not the style, but the functionality. Let me know if you dont understand how it functions.

from static-starter.

holliepearson avatar holliepearson commented on September 25, 2024

I've changed the functionality, not 100% sure on where to go with the styling however.

screen shot 2017-06-14 at 09 55 32

from static-starter.

roybarber avatar roybarber commented on September 25, 2024

Just make the button look like a primary button

[10:11]
and make sure all Vars make it change correctly

from static-starter.

holliepearson avatar holliepearson commented on September 25, 2024

screen shot 2017-06-15 at 11 47 42

Uses the .btn classes to style.

from static-starter.

roybarber avatar roybarber commented on September 25, 2024

from static-starter.

holliepearson avatar holliepearson commented on September 25, 2024

The only things different to just the .btn is that It has the .btn-outline class as well and rounded right corners so it fit's into the input field.

from static-starter.

roybarber avatar roybarber commented on September 25, 2024

ok, what if $btn-border-radius is 0
Also CSS against a ID is bad.
You should only need to add a css class and make the label position right on the element

from static-starter.

domtalbot avatar domtalbot commented on September 25, 2024

Also, just adding in, you can remove the <form> declaration from inside the file markup. This will already be declared at the top of the form.

from static-starter.

holliepearson avatar holliepearson commented on September 25, 2024

The btn rounds to the input and so it uses the form input radius:
border-top-right-radius: $form-border-radius; border-bottom-right-radius: $form-border-radius;

Will change the css to style to input[type="file"] and add class to the filename span to style. Will also remove the form declaration.

from static-starter.

holliepearson avatar holliepearson commented on September 25, 2024

Id's have been completely removed

from static-starter.

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.