Simple and elegant CSS framework to make you life easier! Whole framework is build to fit modern flat design.
In order to compile the framework, install node dependencies by npm install
and then after every change in LESS files, recompile the final CSS via this command: lessc src/less/core.less src/css/style.css
. Enjoy :-)
The entire CSS framework consists of individual modules - widgets. You can compile and use only some of them, take your pick :-)
grid
- Grid system to make your position blastspacing
- Margin and padding classes to take your distancevariables
- Overrides and custom variables for the frameworkvariables-default
- All the default variables for the frameworkalerts
- All the alert messages you ever wantedbuttons
- Nice and clean buttonsnavbar
- Navbar
Spacing allows you to set classes for margins and paddings.
Variables used in this module are:
@space-big
- Big space in the design, used to // TODO@space-medium
- Medium space@space-small
- Small space
All the classes have this pattern: <type>-<size>-<position>
where type is padding/margin
, size is big/medium/small/none
, position is top/right/bottom/left/vertical/horizontal/all
.
Module built for buttons.
Variables used in this module are:
@space-small
- Small space used in padding of the buttons@color-primary
- Primary color@color-primary-hover
- Primary hover color@color-secondary
- Secondary color@color-secondary-hover
- Secondary hover color@color-tertiary
- Tertiary color@color-tertiary-hover
- Tertiary hover color@color-success
- Success color@color-success-hover
- Success hover color@color-danger
- Danger color@color-danger-hover
- Danger hover color@color-info
- Info color@color-info-hover
- Info hover color@color-warning
- Warning color@color-warning-hover
- Warning hover color@color-dark-grey
- Grey (default) color@color-dark-grey-hover
- Grey (default) hover color
button
- Default class for any buttonbutton-<SLUG>
- Additional class to the default one,<SLUG>
is one of these:success
,info
,danger
,warning
,primary
,secondary
,tertiary
Use nav tag with navbar
class, use ul
and li
for individual items.
Variables used in this module are:
@space-small
- Small space used in padding of the links in navbar
navbar
- Main navbar class