Introduction
Stylesheet
HTML Structure
More Features
Other Information


Slim Documentation v1.1

Thank you so much for purchasing our theme. If you have any questions that are beyond the scope of this help file, please feel free to email us at themepixels@gmail.com or submit a comment to this template. Thanks so much!

Introduction

Slim, a modern and clean Bootstrap 4 admin & dashboard template using flat and minimal design. It is fully responsive built using SASS preprocessor, HTML5, CSS3 and jQuery plugins. It uses most of the helper/utilities classes which are reusable class that makes the page faster and increases the speed of page time load. It can be used for most type of dashboard and app templates like analytics, admin or messenger app for your desktpo or mobile applications. Amazing flexibility and reusability. See the demo.

Getting Started

This part of the doc will help you to quick start your project and will give you a basic idea about how slim work. For you to get start open the "themes" folder in templates/ of your download package.

What's In The Box

Once you have download the package you will see the following folder structure inside templates/ folder.

Folder Description
app/ All html files that you found in demo. Default template are in folder template/
scss/ The scss files used in this template when compiled it will goes to app/css folder
bower.json A manifest file that define packages.
gulpfile.js A code used to configure or define tasks and load gulp plugins.
package.json Gulp will use this file to install dependencies and plugins of gulp.

Note: If you are still unsure of what's the use of this files, you may want to proceed to the next topic:


NodeJS

Before installing bower and grunt first you must have NodeJs installed, NodeJS will have npm (node packaged modules).

Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

Online Reference: https://nodejs.org/en/

Installing in Mac

Simply download the Macintosh Installer direct from the nodejs.org web site.

If you want to download the package with bash:

curl "https://nodejs.org/dist/latest/node-${VERSION:-$(wget -qO- https://nodejs.org/dist/latest/ | sed -nE 's|.*>node-(.*)\.pkg.*|\1|p')}.pkg" > "$HOME/Downloads/node-latest.pkg" && sudo installer -store -pkg "$HOME/Downloads/node-latest.pkg" -target "/"

Using Homebrew:

brew install node

Installing in Windows

Simply download the Windows Installer direct from the nodejs.org web site.


Bower

Before installing bower first you must have NodeJs installed, NodeJS will have npm (node packaged modules). Once you finished installing nodejs you can now install bower through npm command.

Keeping track of all these packages and making sure they are up to date (or set to the specific versions you need) is tricky. Bower to the rescue!

Bower can manage components that contain HTML, CSS, JavaScript, fonts or even image files. Bower doesn’t concatenate or minify code or do anything else - it just installs the right versions of the packages you need and their dependencies.

Online Reference: https://bower.io/

Installing Bower

Bower is a command line utility. Install it with npm.

$ npm install -g bower

Verify that bower in successfully installed, and version of installed bower will appear.

$ bower --version


Gulp JS

Before installing gulp first you must have NodeJs installed, NodeJS will have npm (node packaged modules).

Gulp is a toolkit for automating painful or time-consuming tasks in your development workflow, so you can stop messing around and build something.

Online Reference: https://gruntjs.com/

Installing the CLI

If you have previously installed a version of gulp globally, please run npm rm --global gulp to make sure your old version doesn't collide with gulp-cli.

$ npm install -g gulp-cli

Verify that gulp is successfully installed, and version of installed gulp will appear.

$ gulp --version


SASS

Before running grunt first you must check if you have sass installed in your machine. You can verify that sass is already installed by running the command.

$ sass --version

If version appear, it means sass already installed in your machine and proceed to the next topic, otherwise follow the instructions below on installing sass.

Installing SASS

Windows

Before you start using Sass you will need to install Ruby. The fastest way to get Ruby on your Windows computer is to use Ruby Installer. It's a single-click installer that will get everything set up for you super fast.

Mac

If you prefer the command line over an application then getting Sass set up is a fairly quick process. Sass has a Ruby dependency but if you're using a Mac, congratulations, Ruby comes pre-installed.

Install SASS

Ruby uses Gems to manage its various packages of code like Sass. In your open terminal or cmd window:

$ gem install sass

You should now have Sass installed, but it never hurts to double-check.

$ sass --version

Online Reference: http://sass-lang.com/install

Running Slim

You're moments away to see the slim dashboard template up and running in your local machine. First, go to the root folder where the bower.json and package.json located. In your download package it should be in the template/ folder. Please run the following command below.

Note: Running slim to you local machine is not a requirements for you to see the template. You can directly browse to the template folder and choose any html file you want to open by opening it directly to the browser.

$ bower install

This will download all dependencies defined in bower.json file. Once it finished running the command, it will generate a folder name bower_components/ where you see downloaded files.Next, run another command below

$ npm install

This will download all tools defined in package.json file. Once it finished running the command, it will generate a folder name node_modules/ where you see downloaded tools.Next, run another command below.

$ gulp bower

This will generate a app/lib/ folder to extract all needed third party plugins and other resources like fonts to be use in the template.

Running in Browser

Now you're good to go in running the template and preview it in browser by running the command below.

$ gulp serve

The template is now up and running in your browser. Feel free to visit each page and familiarize the flow of it.


Stylesheet

We use SASS in creating styles in this template logically grouping into sections. Below are the structure of sass files and folders

Folder/File Description
bootstrap/ Contains override styles from Bootstrap core framework for custom design and enhancement
layout/ a global style to a specific part of the template.
lib/ Contains a custom styles from plugins that override the current design for improvements
pages/ Contain a specific style only to that pages.
skins/ All the templates skins are here.
util/ Contain a helper and very reusable classes.
_variables.scss an additional variables for the template.
slim.scss Imports all scss file into one file for compiling into css


Bootstrap

All of the files organized into a name of element are override styles of Bootstrap core framework styles. It is overriden for performance and design quality improvement purposes.

To learn more about Bootstrap, visit their site at https://getbootstrap.com/



Plugins

All files organized into a name of plugin are override styles from some of the plugins used in this template and can be found in lib/ folder. It is also overriden for performance and design quality improvement purposes.



Utilities

Utilities classes are very reusable classes with a single purpose to reduce the frequency of highly repetitive declarations.

Note: Below are some of the classes that we think are more reusable. If you did not find any classes on the list be sure to check the scss files under scss/utilities/ folder if there are any existing classes you need before you can create a new style.

Background Color

Class Value
.bg-transparent Sets a transparent background to an element with already have a background color.
.bg-gray-[value] 900 | 800 | 700 | 600 | 500 | 400 | 300 | 200 | 100
.bg-[value] primary | success | warning | danger | info | indigo | purple | teal | pink | orange
.bg-white-[value] 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
.bg-black-[value] 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
.bg-[value] mantle | reef | transfile | neon | delicate | emerald | mojito | dance | teal-love | crystal-clear | grandeur | flickr | royal | firewatch

Borders

Class Value / Description
.bd Add border in all sides of an element with default color gray and default width of 1px.
.bd-t Add border to top side of element.
.bd-r Add border to right side of element.
.bd-b Add border to bottom side of element.
.bd-l Add border to left side of element.
.bd-x Add border to left and right side of element.
.bd-y Add border to top and bottom side of element.
.bd Set 1px (default) border to element.
.bd-2 Set 2px border to element.
.bd-3 Set 3px border to element.
.bd-4 Set 4px border to element.
.bd-5 Set 5px border to element.
.bd-t-0 Remove top border of an element
.bd-r-0 Remove right border of an element
.bd-b-0 Remove bottom border of an element
.bd-l-0 Remove left border of an element
.bd-x-0 Remove left and right border of an element
.bd-y-0 Remove top and bottom border of an element
.bd-[t||r|bl|x|y]-0-force Force remove border of any side of an element.
.bd-[value] primary | success | warning | danger | info | indigo | purple | pink | teal | orange
.bd-gray-[value] 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900
.rounded Set a border radius of 3px (default) to an element.
.rounded-[value] 5 | 10 | 20 | 30 | 40 | 50 | circle
.rounded-[value] top | right | bottom | left

Height

Class Value
.ht-[value] 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
.ht-[value] 15 | 20 | 25 | 30 | ... | 100   (step of 5)
.ht-[value] 150 | 200 | 250 | 300 | ... | 850   (step of 50)
.ht-[value]p 10 | 20 | 30 | 40 | ... | 100   (step of 10)
.ht-[size]-[value]

size: xs | sm | md | lg | xl

value: the height value (refer to code above)

.ht-[size]-[value]p
.ht-100v Set a height to an element based on viewport height.
.ht-auto Set an auto height to an element.

Width

Class Value
.wd-[value] 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
.wd-[value] 15 | 20 | 25 | 30 | ... | 100   (step of 5)
.wd-[value] 150 | 200 | 250 | 300 | ... | 1000   (step of 50)
.wd-[value]p 10 | 20 | 30 | 40 | ... | 100   (step of 10)
.wd-[size]-[value]

size: xs | sm | md | lg | xl

value: the width value (refer to code above)

.wd-[size]-[value]p
.wd-100v Set a width to an element based on viewport width.
.wd-auto Set an auto width to an element.

Margins

Class Value
.mg-t-[value]
.mg-r-[value]
.mg-b-[value]
.mg-l-[value]
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
.mg-t-[value]
.mg-r-[value]
.mg-b-[value]
.mg-l-[value]
15 | 20 | 25 | 30 | ... | 120   (step of 5)
.mg-[size]-t-[value]
.mg-[size]-r-[value]
.mg-[size]-b-[value]
.mg-[size]-l-[value]

size: xs | sm | md | lg | xl

value: the margin value (refer to code above)

.mg-t-auto Set a top margin to auto
.mg-r-auto Set a right margin to auto
.mg-b-auto Set a bottom margin to auto
.mg-l-auto Set a left margin to auto

Padding

Class Value
.pd-t-[value]
.pd-r-[value]
.pd-b-[value]
.pd-l-[value]
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
.pd-t-[value]
.pd-r-[value]
.pd-b-[value]
.pd-l-[value]
15 | 20 | 25 | 30 | ... | 120   (step of 5)
.pd-t-[value]
.pd-r-[value]
.pd-b-[value]
.pd-l-[value]
110 | 120 | 130 | 140 | ... | 200   (step of 10)
.pd-[size]-t-[value]
.pd-[size]-r-[value]
.pd-[size]-b-[value]
.pd-[size]-l-[value]

size: xs | sm | md | lg | xl

value: the padding value (refer to code above)


Position

Class Value
.pos-relative Set a relative position to an element.
.pos-absolute Set an absolute position to an element.
.pos-fixed Set a fixed position to an element.
.pos-static Set a static position to an element.
.t-[value] 0 | 5 | 10 | 15 | ... | 100 (step of 5)
.r-[value] 0 | 5 | 10 | 15 | ... | 100 (step of 5)
.b-[value] 0 | 5 | 10 | 15 | ... | 100 (step of 5)
.l-[value] 0 | 5 | 10 | 15 | ... | 100 (step of 5)
.x-[value] 0 | 5 | 10 | 15 | ... | 100 (step of 5)
.y-[value] 0 | 5 | 10 | 15 | ... | 100 (step of 5)
.a-[value] 0 | 5 | 10 | 15 | ... | 100 (step of 5)
.t--[value] 0 | 5 | 10 | 15 | ... | 100 (step of 5)
.r--[value] 0 | 5 | 10 | 15 | ... | 100 (step of 5)
.b--[value] 0 | 5 | 10 | 15 | ... | 100 (step of 5)
.l--[value] 0 | 5 | 10 | 15 | ... | 100 (step of 5)
.z-index-[value] 10 | 50 | 100 | 150 | 200

Typography

Class Value
.tx-[size] 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16
.tx-[size] 18 | 20 | 22 | 24 | ... | 140 (step of 2)
.tx-[viewport]-[size] viewport: xs | sm | md | lg | xl
size: 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16
.tx-[viewport]-[size] viewport: xs | sm | md | lg | xl
size: 18 | 20 | 22 | 24 | ... | 140 (step of 2)
.tx-[weight] bold | semibold | medium | normal | light | thin | xthin
.tx-[viewport]-[weight] viewport: xs | sm | md | lg | xl
weight: bold | semibold | medium | normal | light | thin | xthin
.tx-[family] poppins | hind | firasans (default) | roboto | source
.tx-[color] primary | success | warning | danger | info | indigo | purple | orange | teal | pink | black | white | inverse
.tx-gray-[num] 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900
.tx-white-[transparency] 2 | 3 | 4 | 5 | 6 | 7 | 8
.tx-spacing-[value] 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
.tx-spacing--[value] 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 (negative spacing result)
.lh-[value] 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15
.lh-[viewport]-[value] viewport: xs | sm | md | lg | xl
value: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15

If you have any questions that are beyond the scope of this class reference, please feel free to email us at themepixels@gmail.com. Thanks so much!


HTML Structure

Header Panel

<div class="slim-header">
  <div class="container">
    <div class="slim-header-left">
      ...
    </div><!-- slim-header-left -->
    <div class="slim-header-right">
      ...
    </div><!-- header-right -->
  </div><!-- container -->
</div><!-- slim-header -->

Class Reference Description
.slim-header-left The wrapper class of all elements found in left side of the header.
.slim-header-right The wrapper class of all elements found in right side of the header.

Top Navbar

Below is the html structure of the top navbar of slim admin template that includes menu and icon menu. Some of the class found in left sidebar are explained below.

<div class="slim-navbar">
  <div class="container">
    <ul class="nav">
      <li class="nav-item with-sub">
        <a class="nav-link" href="#">
          <i class="icon ion-ios-home-outline"></i>
          <span>Dashboard</span>
        </a>
        <div class="sub-item">
          <ul>
            <li><a href="index.html">Dashboard 01</a></li>
            ...
          </ul>
        </div><!-- dropdown-menu -->
      </li>
      <li class="nav-item with-sub mega-dropdown">
        <a class="nav-link" href="#">
          <i class="icon ion-ios-filing-outline"></i>
          <span>UI Elements</span>
        </a>
        <div class="sub-item">
          <div class="row">
            <div class="col-lg-5">
              <label class="section-label">Basic Elements</label>
              <ul>
                <li><a href="chart-morris.html">Morris Charts</a></li>
                ...
              </ul>
            </div><!-- col -->
            ...
          </div><!-- row -->
        </div><!-- dropdown-menu -->
      </li>
      ...
    </ul>
  </div><!-- container -->
</div><!-- slim-navbar -->

Class Reference Description
.with-sub The nav link that specify that it have a sub menu
.mega-dropdown The wrapper element of a mega dropdown menu.

Main Panel

Below is the html structure of the main panel of slim admin template that wraps the contents of the page.

<div class="slim-mainpanel">
  <div class="container">
    <div class="slim-pageheader">
      <ol class="breadcrumb slim-breadcrumb">
        <li class="breadcrumb-item"><a href="#">Home</a></li>
        <li class="breadcrumb-item active" aria-current="page">Blank</li>
      </ol>
      <h6 class="slim-pagetitle">Blank</h6>
    </div><!-- slim-pageheader -->

  </div><!-- container -->
</div><!-- slim-mainpanel -->

Class Reference Description
.slim-mainpanel The main panel of the template.

Elements

The HTML Markup of alerts, buttons, etc. are explained in the bootstrap documentation or in thelive preview of this template. Feel free to use it in your page. Any components that are beyond of this template, may submit a request and suggestion to our email at themepixels@gmail.com


More Features


Switch to RTL

You can easily switch pages into rtl direction by adding a single code in the html tag element like in the code given below:

<html lang="en" dir="rtl">

Make Header Sticky in Top

You can easily make the header stick at the top by adding a single link class to the body of the page like in the code given below:

<body class="slim-sticky-header">


Make Page in Full Width

You can easily make the page have a full width by replacing all the .container class name into .container-fluid

<div class="container-fluid">


Applying Skin Header

You can apply additional skin to header or making the page dark by adding a link tag of header like in the code given below

<link rel="stylesheet" href="../css/slim.css">
<link rel="stylesheet" href="../css/slim.one.css">


Known Issue




Changelog

v1.1

v1.0


References


Plugins Link
Bootstrap https://getbootstrap.com/
animate.css http://daneden.me/animate
Chart JS http://www.chartjs.org/
DataTables https://datatables.net/
Flot http://www.flotcharts.org/
FontAwesome http://fontawesome.io/
Ionicons http://ionicons.com/
Highlight JS https://highlightjs.org/
Perfect Scrollbar http://utatti.github.io/perfect-scrollbar/
Select2 https://select2.org/
GMaps http://hpneo.github.io/gmaps/
Morris JS http://morrisjs.github.io/morris.js/
Sparkline http://digitalbush.com/projects/masked-input-plugin/
jQuery Steps http://www.jquery-steps.com/
jQVMap https://jqvmap.com/
Medium Editor https://github.com/yabwe/medium-editor
Parsley http://parsleyjs.org/
Rickshaw http://code.shutterstock.com/rickshaw/
Spectrum https://bgrins.github.io/spectrum/
SpinKit http://tobiasahlin.com/spinkit/
Summernote https://summernote.org/


Customer Support

You can request for support via email or themeforest item comments.

We will assist you any problem you encounter while buidling your dashboard via Slim template

Email: themepixels@gmail.com

We use request help form in comments and email to manage customer support. Soon, as we grow, we will invest and find the best customer support system we can use to serve you better. For the meantime, submit a help request to the link given for any issues and concerns that you have. Don't worry, we will respond to you as quickly as we can. Thank you.



© 2017. Slim Documentation v1.0. All Rights Reserved. Created by: ThemePixels