Site.less 2.92 KB
// VARIABLES
@baseunit: 1rem;
@top-margin: @baseunit * 5;
@footer-height: 120px;

@primary-color: #2A3990;
@secondary-color: #00AF50;
@bg-color: #FBFBFB;

@white: #FFFFFF;
@black: #2C3E50;

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

body {
  color: @black;
  background-color: @bg-color;
  /* Sticky Footer: Margin bottom by footer height */
  margin-bottom: @footer-height + @baseunit * 2;
}

header {
  margin-bottom: 30px;
}

a {
  color: @secondary-color;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Sticky Footer:  Set the fixed height of the footer here */
  min-height: @footer-height;
  background-color: @primary-color;
  color: @white;
}

// Vertical resize for text areas
textarea {
  resize: vertical;
}


// Typography
h1,
h2,
h3,
h4,
h5,
h6 {
  text-shadow: 0.5px 0.5px 0.5px @black;
  color: @primary-color;
  font-weight: bold;
  line-height: 1.25;
}

.text-lg {
  font-size: 1.5rem;
}

.text-sm {
  font-size: 0.75rem;
}

.navbar-dark,
.bg-dark {
  background-color: @primary-color !important;
  .navbar-nav {
    .nav-link {
      color: @white;
    }
  }
}

// Header logo
.headerlogo {
  text-align: left;
  text-indent: -9999px;
  min-width: 32px;
  min-height: 32px;
  background-position: 0 4px;
  background-repeat: no-repeat;
  background-image: url("img/logo-32.png");
  background-image: -webkit-image-set(
          url("img/logo-32.png") 1x,
          url("img/logo-64.png") 2x
  );
}

.btn {
  background-color: @primary-color;
  color: @white;
  border-color: @primary-color;
}

// Bootstrap override - Hide drop down menu caret
.dropdown-toggle::after {
  display: none;
}

.btn-toggle {
  cursor: pointer;
}

.btn-toggle .fa {
  font-size: 1.2rem;
}

.btn-toggle-label {
  font-size: 0.8rem;
  position: relative;
  top: -2px;
}


.btn-xs,
.btn-group-xs > .btn {
  padding: 1px 5px;
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: 3px;
}


.table-cpo {
  color: #495057;
}

.table-cpo thead th {
  color: #495057;
  background-color: #f4f4f4;

  a {
    color: #0c3c80;
  }
}

.table-cpo th,
.table-cpo td,
.table-cpo thead th {
  border-color: #ddd;
}

td.datetime {
  font-family: 'Segoe UI', Calibri, Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
}

.list-group {
  margin-bottom: 1rem;
  .list-group-item {
    .col {
      line-height: 2.5rem;
      font-weight: bold;
    }
    &.list-group-item-action {
      + .collapse {
        .list-group-item {
          background-color: lighten(@secondary-color, 62%);
          .col {
            font-size: 87%;
            font-weight: normal;
          }
          &:hover {
            background-color: @white;
          }
        }
      }
    }
  }
}

.form-control {
  &:focus {
    border-color: @primary-color;
  }
}

.card.card-border {
  border: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.75);
}

.img-100 {
  width: 100%;
  max-height: 700px;
}

// Utilities
.top-padding-1 {
  padding-top: 1%;
}

.color-invert {
  filter: invert(60%);
}