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;
}

/* ADD a BORDER */
.bordered {
  border: 1px solid $grey;
  padding: 5px 20px 15px 20px;
}

/* 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;
	margin-bottom: 10px;
}
.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;
}

/* FONTAWESOME STYLING */
.fa {
  font-size: 2rem;
}
.fa-reverse {
  color: $grey;
}

/* RADIO BUTTONS */
.radio label {
  margin-right: 15px;
}

/* 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;
  margin-bottom: 10px;
}

/* 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;
  margin-bottom: 10px;
}

/* 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;
  }
}

/* JQuery Autocomplete Styling */
/* ---------------------------------------------------- */
.invisible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.combobox-container {
  position: relative;
}

.combobox-suggestions {
  position: absolute;
  left: 0;
  width: 100%;
  background: $white;
  z-index: 99;
}
.combobox-suggestion {
  color: #grey;
  border-bottom: 1px solid $grey;
  border-left: 1px solid $grey;
  border-right: 1px solid $grey;
  padding: 5px 10px 5px 10px;
  cursor: pointer;
  text-align: left;
}
.combobox-suggestion:first-child {
  border-top: 1px solid $grey;
}
.combobox-suggestion:hover,
.combobox-suggestion:focus {
  color: $white;
  background-color: $grey;
}

.combobox-clear-button, .combobox-clear-button:hover, .combobox-clear-button:focus {
  cursor: pointer;
  display: inline;
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 2px;
  margin-right: -35px;
  border: none;
  background: transparent;
  color: $grey;
  padding-top: 3px;
  font-size: 16pt;
}

/* http://geektnt.com/how-to-remove-x-from-search-input-field-on-chrome-and-ie.html */
.js-combobox[type=text]::-ms-clear { display: none; width: 0; height: 0; }
.js-combobox[type=text]::-ms-reveal { display: none; width: 0; height: 0; }


/* PAGE SPECIFIC SETTINGS */
/* ---------------------------------------------*/
/* Org details page */
.remove-org-link i {
  margin-left: -15px;
  margin-top: 30px;
}
.org-logo-controls {
  display: inline-block;
  margin-left: 15px;
  input { display: inline-block; }
  strong { margin: 0 10px; }
}