Newer
Older
dmpopidor / lib / assets / stylesheets / overrides.scss
/* This file contains overrides to the core Bootstrap 3.x styling */
/* -------------------------------------------------------------- */

/**** font configuration ****/
@font-face {
  font-family: 'GillSansLight';
  src: font-url('GillSansLight.ttf') format('truetype');
  font-weight: normal;
}

$black: #000;
$white: #FFF;
$red:  #CC0025;
$grey: #4F5253;
$gold: #C09853;
$highlight-color: $black;
$highlight-background-color: #F36F24;

/* Font Smoothing in Webkit /* 
body {
  -webkit-font-smoothing: antialiased;
}


/* TABLE STYLING */

.table { border: 1px solid $grey; }
.table thead > tr > th { border-bottom: none; }
.table thead > tr > th, .table tbody > tr > th, .table tfoot > tr > th, .table thead > tr > td, .table tbody > tr > td, .table tfoot > tr > td { border: 1px solid $grey; }

thead th {
  background-color: $grey;
  color: $white;
}
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  background-color: #CCC;
}

/* TABS STYLING */

.nav-tabs{
  background-color: $grey;
  color: $white;
  border: none;
  margin-right:2px;
}
.nav-tabs > li > a{
  border-radius: 2px;
  color: $white;
}
.nav-tabs > li > a:hover{
  background-color: $white;
  color: $grey;
  border:1px solid $grey;
  border-bottom: none;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover{
  background-color: $white !important;
  color:$grey;
  border:1px solid $grey;
  border-bottom: none;
}

/* PANEL STYLING */

.panel-default > .panel-heading {
  background-color: $grey;
  color: $white;
}

 .panel-title a {
  display: block;
  padding: 8px 15px;
  margin: -10px -15px;
  background-color: $grey;
  color: $white;
}

/* LIST STYLING */
span.sublist {
  margin-left: -15px;
  margin-right: 25px;
}

/* BUTTONS STYLING */

/*
$disabled-button-color: #808080;
$cancel-button-color: #F17D04;
*/

/* primary button */
  .btn-primary,
  .btn-primary:hover,
  .btn-primary:focus,
  .btn-primary:active,
  .btn-primary:visited,
  .btn-primary:active:hover, 
  .btn-primary.active:hover { 
    background-color: $grey;
    color: $white;
    border-color: $grey;
    outline: none;
    margin-top: 5px;
  }

/* primary button */
  .btn-default,
  .btn-default:hover,
  .btn-default:focus,
  .btn-default:active,
  .btn-default:visited,
  .btn-default:active:hover, 
  .btn-default.active:hover { 
    background-color: $grey;
    color: $white;
    border-color: $grey;
    outline: none;
    margin-top: 5px;
  }

/* MESSAGES */
$error-color: $red;
$error-background: #F2DEDE;

$notice-color: $gold;
$notice-background: #FCF8E3;

$tooltip-color: $white;
$tooltip-background: $grey;

/****  ---------------------------------------------------------------------------- ****/ 
/**** Main layout configuration ****/

/* For sticky footer */
main {
  margin-bottom: 100px;
  @media (max-width: 768px) {
    margin-bottom: 420px;
  }
  @media (min-width: 768px) and (max-width: 1000px) {
    margin-bottom: 200px;
  }
}

html {
  position: relative;
  min-height: 100%;
}


/* HEADER STYLING */
/*
$header-height: 165px;
$header-logo-width: 165px;
$header-background: $white;
$header-text-color: $black;
$header-background: linear-gradient(#ED6406, #F59503);
*/

#app-navbar {
  border-radius: 0px;
}

/* For org navbar custom height */
#org-navbar {
  border-radius: 0px;
  margin-top: -20px;
}
@media (min-width: 768px) {
  #org-navbar .navbar-nav li a {
    line-height: 102px;
    height: 102px;
    padding-top: 0;
  }
}
@media (min-width: 768px) {
  #admin-dropdown ul li a, #super-admin-dropdown ul li a {
    line-height: 26px !important;
    height: 26px !important;
    margin-top: 3px !important;
  }
}

/* For dark (inverse) navbars */
.inverse-dropdown {
  background-color: #222 !important;
  border-color: #080808 !important;
  & > li > a {
    color: #999 !important;
    &:hover {
      color: #fff !important;
      background-color: #000 !important;
    }
  }
  .active a {
      color: #fff !important;
      background-color: #000 !important;
  }
}

/* HEADER LOGOS */
.app-logo {
  height: 50px;
  padding-right:15px;
}
.org-logo {
  padding: 15px 10px;
}

/* FOOTER STYLING */

/* For sticky footer */
#footer-navbar {
  margin-bottom: 0px;
  position: absolute;
  bottom: 0;
  width: 100%;
  border-radius:0px;
  ul {
    padding-right:15px;
  }
}