Spruha - Bootstrap Premium HTML Dashboard Template

Note:-

Please refer Faq's page in documentation itself for queries and customization like Colors, RTL, Dark style..etc.

Dashboard
Welcome to Spruha - Bootstrap Premium HTML Dashboard Template
  • Created Date: 12/05/2022
  • Author: Spruko
  • Company: Spruko Technologies Private Limited
  • Support: support@spruko.com

Thank you for showing interest towards our listing template. Feel free to contact us any time. We have a dedicated team to provide you the best support. If you have any queries please contact through live chat or email : support@spruko.com

If You Love Our Template Design Please don't forgot to rate it. Thank you so much!

Introduction
Welcome to Spruha - Bootstrap Premium HTML Dashboard Template

Spruha - Admin Template, With these template formats, it's very easy to create a presence and grab someone's attention around the web page Because the template is built using HTML5, CSS3, Bootstrap 5 framework and with Sass. So please before you start working with the template take a quick look on the documentation so that you can easily built your website.

If You Love Our Template Design Please don't forgot to rate it. Thank you so much! 😊

Template Description

Spruha is a Bootstrap Admin & Dashboard template using modern and minimal design. It is fully flexible user-friendly and responsive. Spruha Admin template is powered with HTML 5, SASS, & Bootstrap 5 which looks great on Desktops, Tablets, and Mobile Devices. This Template Includes 100+ HTML Pages & 60+ Plugins & more UI elements . No Need to do hard work for this template customization. We already designed it and you can easily design your website just how you like it. Advanced Form-Elements like Date pickers, form elements are included. This template is designed using Bootstrap5 framework. This Admin template is fully 100% Premium Admin Templates quality. This template designed for using HTML5,CSS3,Jquery. After Purchased this template you will get All HTML files,CSS, Scss and JS Files.

It has super clean flat user interface Admin Backend design, easy customizable components and widgets.The Template comes with a awesome unique design also we ensure you can easily design Admin template.

It is a fully responsive layout for all type of devices. Works on all major web browsers, Desktop, iPhone, iPad, Tablet and all other smart phone devices

Once you Purchase Spruha , you will be able to get free download of all future updates.

Template Features
Horizonal Admin Vertical Dashboard Dark Theme Ready
RTL Ready 100+ HTML Pages 60+ Plugins
Bootstrap 5 Responsive Framework 24 * 7 Professional Company Support Landing page
Gallery 5 types of Charts Select2
About us Blog Calendar
Mail Inbox 12 Types of Icons File upload
Message Chat Form Elements Month & Date & Year Range Pickers
Form Advanced Elements Data Tables Lockscreen Page
Error Page Under Construction Page User Profile
Invoice Page Advanced Pricing Tables Easy to Customize
More Widgets Neat, clean and simple design W3C Validated
CSS Structure

style.css is the main CSS file located in assets/css folder of the package. Whole CSS file is well indexed with topic and its related code.

    
		/* ###### Bootstrap ###### */

		:root {
		  --primary-bg-color: #6259ca ;
		  --primary-bg-hover: #403fad;
		  --primary-transparentcolor:rgba(98, 89, 202, 0.16);
		  --primary-bg-border: #6259ca ;
		  --dark-theme: #0e0e23;
		  --dark-body: #24243e;
		  --dark-border: rgba(255, 255, 255, 0.15);
		  --dark-primary: #6259ca ;
		  --transparent-primary: #6259ca ;
		  --transparent-body: #403fad;
		  --transparent-theme: $black-2;
		  --transparent-border: rgba(255,255,255,0.1);
		  --indigo:$indigo;
		  --purple:$purple;
		  --pink:#f1388b;
		  --orange:$orange;
		  --yellow:#ffc107;
		  --green:#28a745;
		  --teal:#20c997;
		  --cyan:#17a2b8;
		  --white:$white;
		  --gray:#6c757d;
		  --gray-dark:#343a40;
		  --primary:#007bff;
		  --secondary:#6c757d;
		  --success:#28a745;
		  --info:#17a2b8;
		  --warning:#ffc107;
		  --danger:#dc3545;
		  --light:#f8f9fa;
		  --dark:#343a40;
		  --breakpoint-xs:0;
		  --breakpoint-sm:576px;
		  --breakpoint-md:768px;
		  --breakpoint-lg:992px;
		  --breakpoint-xl:1200px;
		  --font-family-sans-serif:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
		  --font-family-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
		}
		
		* {
		  box-sizing: border-box;
		
		  &::before, &::after {
			box-sizing: border-box;
		  }
		}
		
		html {
		  font-family: sans-serif;
		  line-height: 1.15;
		  -webkit-text-size-adjust: 100%;
		  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
		}
		
		article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
		  display: block;
		}
		
		body {
		  margin: 0;
		  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
		  font-size: 0.875rem;
		  font-weight: 400;
		  line-height: 1.5;
		  text-align: left;
		  background-color: $white;
		  font-family: "Roboto", sans-serif !important;
		  background: $background;
		  color: $color;
		  direction: ltr;
		  -webkit-font-smoothing: antialiased;
		  -moz-osx-font-smoothing: grayscale;
		  -webkit-tap-highlight-color: transparent;
		  -webkit-text-size-adjust: none;
		  -ms-touch-action: manipulation;
		  touch-action: manipulation;
		  -webkit-font-feature-settings: "liga" 0;
		  font-feature-settings: "liga" 0;
		  overflow-y: scroll;
		  width: 100%;
		  position: relative;
		}
		
		[tabindex="-1"]:focus {
		  outline: 0 !important;
		}
		
		hr {
		  box-sizing: content-box;
		  height: 0;
		  overflow: visible;
		  margin-top: 1rem;
		  margin-bottom: 1rem;
		  border: 0;
		  border-top: 1px solid $border;
		}
		
		h1, h2, h3, h4, h5, h6 {
		  margin-top: 0;
		  margin-bottom: 0.5rem;
		}
		
		p {
		  margin-top: 0;
		  margin-bottom: 1rem;
		}
		
		abbr {
		  &[title], &[data-original-title] {
			text-decoration: underline;
			text-decoration: underline dotted;
			cursor: help;
			border-bottom: 0;
			text-decoration-skip-ink: none;
		  }
		}
		
		address {
		  margin-bottom: 1rem;
		  font-style: normal;
		  line-height: inherit;
		}
		
		ol, ul, dl {
		  margin-top: 0;
		  margin-bottom: 1rem;
		}
		
		ol ol, ul ul, ol ul, ul ol {
		  margin-bottom: 0;
		  list-style-type: none;
		}
		
		dt {
		  font-weight: 700;
		}
		
		dd {
		  margin-bottom: .5rem;
		  margin-left: 0;
		  display: inline-block;
		}
		
		blockquote {
		  margin: 0 0 1rem;
		}


 
JS Structure

custom.js is the main javascript file having all the js code. File is located in assets/js/ folder. This file code is also well formatted and section in different respective function names.

Along with this chart library based js code and dashboard based js code are added in separate files for ease of use of user.


$(function () {
	'use strict'

	window.addEventListener('load', () => {
		document.getElementById('global-loader').style.display = 'none';
	})
	// ______________ PAGE LOADING
	$("#global-loader").fadeOut("slow");
	// ______________ Card
	const DIV_CARD = 'div.card';

	// ______________ Function for remove card
	$(document).on('click', '[data-bs-toggle="card-remove"]', function (e) {
		let $card = $(this).closest(DIV_CARD);
		$card.remove();
		e.preventDefault();
		return false;
	});

	// ______________ Functions for collapsed card
	$(document).on('click', '[data-bs-toggle="card-collapse"]', function (e) {
		let $card = $(this).closest(DIV_CARD);
		$card.toggleClass('card-collapsed');
		e.preventDefault();
		return false;
	});

	// ______________ Card full screen
	$(document).on('click', '[data-bs-toggle="card-fullscreen"]', function (e) {
		let $card = $(this).closest(DIV_CARD);
		$card.toggleClass('card-fullscreen').removeClass('card-collapsed');
		e.preventDefault();
		return false;
	});

	// ______________Main-navbar
	if (window.matchMedia('(min-width: 992px)').matches) {
		// $('.main-navbar .active').removeClass('show');
		$('.main-header-menu .active').removeClass('show');
	}
	$('.main-header .dropdown > a').on('click', function (e) {
		e.preventDefault();
		$(this).parent().toggleClass('show');
		$(this).parent().siblings().removeClass('show');
	});
	$('.main-navbar .with-sub').on('click', function (e) {
		e.preventDefault();
		$(this).parent().toggleClass('show');
		$(this).parent().siblings().removeClass('show');
	});
	$('.dropdown-menu .main-header-arrow').on('click', function (e) {
		e.preventDefault();
		$(this).closest('.dropdown').removeClass('show');
	});
	$('#mainSidebarToggle').on('click', function (e) {
		e.preventDefault();
		$('body.horizontalmenu').toggleClass('main-navbar-show');
	});
	$('#mainContentLeftShow').on('click touch', function (e) {
		e.preventDefault();
		$('body').addClass('main-content-left-show');
	});
	$('#mainContentLeftHide').on('click touch', function (e) {
		e.preventDefault();
		$('body').removeClass('main-content-left-show');
	});
	$('#mainContentBodyHide').on('click touch', function (e) {
		e.preventDefault();
		$('body').removeClass('main-content-body-show');
	})
	$('body').append('');
	$('.main-navbar-backdrop').on('click touchstart', function () {
		$('body').removeClass('main-navbar-show');
	});


	// ______________Dropdown menu
	$(document).on('click touchstart', function (e) {
		e.stopPropagation();
		var dropTarg = $(e.target).closest('.main-header .dropdown').length;
		if (!dropTarg) {
			$('.main-header .dropdown').removeClass('show');
		}
		if (window.matchMedia('(min-width: 992px)').matches) {
			var navTarg = $(e.target).closest('.main-navbar .nav-item').length;
			if (!navTarg) {
				$('.main-navbar .show').removeClass('show');
			}
			var menuTarg = $(e.target).closest('.main-header-menu .nav-item').length;
			if (!menuTarg) {
				$('.main-header-menu .show').removeClass('show');
			}
			if ($(e.target).hasClass('main-menu-sub-mega')) {
				$('.main-header-menu .show').removeClass('show');
			}
		} else {
			if (!$(e.target).closest('#mainMenuShow').length) {
				var hm = $(e.target).closest('.main-header-menu').length;
				if (!hm) {
					$('body').removeClass('main-header-menu-show');
				}
			}
		}
	});


});