Git Product home page Git Product logo

proboot's Introduction

Proboot

An opinionated Bootstrap 4 theme for web apps, based on tabler

Out of the box, Bootstrap 4 is a very simplistic, unopinionated framework. For most cases, particularly when an existing UI style needs to be kept, this is excellent. Sometimes though, it's easier to start from a slightly prettier base. Proboot is designed to be a drop-in replacement for Bootstrap 4, intended to be implemented early-on in projects, and primarily aimed at complex UIs rather than clean landing pages.

Usage

Install with npm:

npm install proboot

Then just include Proboot in your SCSS file:

@import 'node_modules/proboot/scss/proboot';

You can override any of the standard Bootstrap variables, and the Proboot ones, by defining them before importing proboot. If you only need certain components, they can be imported individually instead of including the main proboot file.

proboot's People

Contributors

alanaktion avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

gitge

proboot's Issues

Make image select component state more visible

Right now the checked state only adds a small checkmark to the top-left of the image. We should make that check more prominent as well as add a strong outline to make it easier to distinguish a selected image from the rest.

Refactor positioning to remove body height

The hard-coded body height has several unintended side effects, including breaking the behavior of position: sticky elements. Any components that rely on it should be updated to not require this weird style.

Allow <img> tags for avatar images

Using background-image in an inline style attribute can have security implications, and won't play well with CSP. We should support using an <img> tag as an alternative in the avatar component. This should also support the avatar tags.

Remove dependency on icon font

In particular, the .close buttons still use hardcoded Feather Icons when they shouldn't have any dependencies. Not that I don't love Feather Icons <3

Update switch to use upstream component

Bootstrap 4.2 includes a new switch component. For improved compatibility, it would be good to update our switch to just style their component instead of including our own.

Support consistent-sized image picker images

This is fairly easy, we could add something like this, which introduces a new 4:3 class for the main imagepicker element:

.imagecheck-4-3 {
    width: 100%;
    .imagecheck-figure {
        padding-bottom: 75%;
    }
    .imagecheck-image {
        position: absolute;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

Fix responsive navbar styles

Tabler overrides .nav-item and .nav-link without enough specificity, causing .navbar-nav to display incorrectly on mobile.

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.