Code Monkey home page Code Monkey logo

beets-layout's Introduction

About

Beets Layout is a CSS and JavaScript library that gives you some good layout fundation for your HTML or PHP projects. The focus is on dashboards but you can easily modify it to make it work with standard websites or single page applications.

The point of this framework is not to be extremely customizable and every design choice at your fingertips but rather have a good and fully functioning starting point. To get the quickest and best experience, you should use Beets Layout together with Bootstrap, though it can also be used with your own custom css or frameworks like Tailwind CSS.

Also consider using Beets Layout with Beets CSS and Beets PHP

Beets Layout is developed using Boostrap 5.2.X.

Download

For the latest version of Beets CSS, plese see the GitHub Releases page.

The files are located under the section Assets of the version you want.

  • Compiled files: beets-layout-v1.x.x-dist.zip
  • Source files: beets-layout-v1.x.x-src.zip

Installation

Compiled CSS files

  1. Download and unzip the compiled version of Beets Layout beets-layout-v1.x.x-dist.zip.
  2. Include beets-layout.css and beets-layout.js in the <head> of your projects index file.
<link rel="stylesheet" href="~/assets/css/beets-layout.css">
<script src="~/assets/js/beets-layout.js"></script>

Source files

  1. Download and unzip the source files: beets-layout-v1.x.x-src.zip.
  2. Move the folders scss/beets-layout and js/beets-layout to your resource folder in your project (from where you compile your resources, i.e. ~/resources/). You could @include the file beets-layout/beets-layout.scss in your main app.scss file.
  3. Compile beets-layout.scss and betts-layout.js into you public assets folder (i.e. ~/public/assets/).

Documentation

Please visit the documentations site for instruction on how to customize and use Beets Layout.

Beets Layout Documentation

beets-layout's People

Contributors

jonasbirkelof avatar jonasbirkelof-rol avatar

Watchers

 avatar

beets-layout's Issues

Layout wrapper has a max height

The div with id #beets-layout has a height set to height: 100vh and should be changed to min-height: 100vh.

The fixed height makes it so that the sticky header stops being sticky when scrolling past the veiwport height.

See the file scss/beets-layout/_layout.scss.

.bl__body should not be flexbox

As of now, the .bl__body class looks like this:

.bl__body {
  display: flex;
  flex-grow: 1;
}

flex-grow: 1 is needed to make the body fill the space between the header and footer, but display: flex accomplishes nothing other than give bl__body a row format.

Instead of adding a flex-direction: column we can just drop display: flex all together (but keeping the flex-grow: 1).

Another benefit of removing display: flex is that the content of bl__body, like buttons and divs won't fill the whole width of bl__body.

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.