Keen - The Ultimate Multi-Demo Bootstrap Admin Theme

The most complete UI/UX template solution for today's web projects of any size

Stylesheets

Overview

Keen comes with its own CSS class naming convention that begins with prefix kt-(from Keenthemes) and follows the BEM methodology - http://getbem.com/. Some examples of Keen class names would be: kt-header, kt-footer, kt-badge. BEM makes CSS coding and maintenance easy and allows Keen to integrate unlimited 3rd party plugins and resources without worrying about class naming conflicts. However for Bootstrap and 3rd party plugins class extending we used their own CSS naming format.

As CSS processor Keen uses SASS, the most mature, stable, and powerful professional grade CSS extension language in the world.

CSS Helper Classes

You can use Keen's globally available SASS helper functions. All available functions can be found here: [keen]/theme/src/assets/sass/theme/core/base/_helpers.scss

Class Description
kt-margin-[size]
kt-margin-t-[size]
kt-margin-b-[size]
kt-margin-l-[size]
kt-margin-r-[size]
Margin helper classes where [size] can accept 1 to 20.
Example: kt-margin-10, kt-margin-t-20
kt-padding-[size]
kt-padding-t-[size]
kt-padding-b-[size]
kt-padding-l-[size]
kt-padding-r-[size]
Padding helper classes where [size] can accept 1 to 20.
Example: kt-padding-10, kt-padding-l-20
kt-valign-top
kt-valign-middle
kt-valign-bottom
Vertical align the content to top, middle or bottom
kt-space-[size] Space helper classes where [size] can accept 5, 10, 15, 20, 30, and 40.
Example: kt-space-10, kt-space-20
kt-block-center Helper class to set element centered.
kt-align-[alignment] Alignment helper classes where [alignment] can accept right, left and center.
Example: kt-align-right, kt-align-center
kt-pull-[direction] Pull element helper classes where [direction] can accept right and left.
Example: kt-pull-right, kt-pull-left
kt-img-rounded Image rounded border helper class
kt-block-inline Helper class to set element display as inline block.
kt-hide Helper class to hide element.
kt-clearfix Helper class to automatically clear its child elements.
kt-marginless Remove margin helper class
kt-img-centered Helper class to set image centered
kt-font-transform-u
kt-font-transform-l
kt-font-transform-c
kt-font-transform-i
Text transform helper classes.
kt-font-[weight] Weight helper classes where [weight] can accept bold, bolder and boldest.
Example: kt-font-bold
kt-font-[color]
kt-font-inverse-[color]
kt-bg-[color]
kt-bg-fill-[color]
Font and background color helper classes where [color] can accept brand, metal, light, accent, focus, primary, success, info, warning and danger. Refer to $kt-state-colors.
Example: kt-font-inverse-primary, kt-bg-info, kt-bg-fill-danger
kt-visible-[breakpoint]
kt-visible-[breakpoint]-inline-block
kt-visible-[breakpoint]-table
kt-visible-[breakpoint]-table-cell
kt-hidden-[breakpoint]
Helper classes to set visible or hidden for responsive breakpoint. [breakpoint] can accept desktop, tablet, tablet-and-mobile, mobile.
Example: kt-visible-desktop, kt-visible-tablet-inline-block, kt-hidden-tablet