modpreneur / bowtie
Installs: 3 226
Dependents: 1
Suggesters: 1
Security: 0
Stars: 1
Watchers: 28
Forks: 0
Open Issues: 0
Language:HTML
- dev-master
- v2.0.1
- 2.0.0.x-dev
- v2.0.0
- 1.0.x-dev
- v1.0.3.5
- v1.0.3.4
- v1.0.3.3
- v1.0.3.2
- v1.0.3.1
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.9.37
- v0.9.36
- v0.9.35
- v0.9.34
- v0.9.33
- v0.9.32
- v0.9.31
- v0.9.30
- v0.9.29
- v0.9.28
- v0.9.27
- v0.9.26
- v0.9.25
- v0.9.24
- v0.9.23
- v0.9.22
- v0.9.21
- v0.9.20
- v0.9.19
- v0.9.18
- v0.9.17
- v0.9.16
- v0.9.15
- v0.9.14
- v0.9.13
- v0.9.12
- v0.9.11
- v0.9.10
- v0.9.9
- v0.9.8
- v0.9.7
- v0.9.6
- v0.9.5
- v0.9.4
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
This package is not auto-updated.
Last update: 2024-11-09 19:39:18 UTC
README
Simple and elegant CSS framework to make you life easier! Whole framework is build to fit modern flat design.
Compile
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 :-)
Modules - Widgets
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
Grid
Spacing
Spacing allows you to set classes for margins and paddings.
Variables
Variables used in this module are:
@space-big
- Big space in the design, used to // TODO@space-medium
- Medium space@space-small
- Small space
Classes
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
.
Variables
Variables Default
Alerts
Buttons
Module built for buttons.
Variables
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
Classes
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
Navbar
Use nav tag with navbar
class, use ul
and li
for individual items.
Variables
Variables used in this module are:
@space-small
- Small space used in padding of the links in navbar
Classes
navbar
- Main navbar class