Fix Cascader[disabled] background, close #4434

@import "../../style/themes/default";
@import "../../style/mixins/index";

@cascader-prefix-cls: ~"@{ant-prefix}-cascader";

.@{cascader-prefix-cls} {
  font-size: @font-size-base;
  &-input.@{ant-prefix}-input {
    background-color: transparent;
    display: block;
    cursor: pointer;
    width: 100%;
    z-index: 1;
  }
  &-picker {
    position: relative;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
    font-size: @font-size-base;
    background-color: #fff;
    border-radius: @border-radius-base;

    &-with-value &-label {
      color: transparent;
    }

    &-disabled {
      cursor: not-allowed;

      .@{cascader-prefix-cls}-input {
        cursor: not-allowed;
        background: @input-disabled-bg;
      }
    }

    &-label {
      position: absolute;
      left: 0;
      height: 20px;
      line-height: 20px;
      top: 50%;
      margin-top: -10px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      width: 100%;
      padding: 0 12px 0 8px;
    }

    &-clear {
      opacity: 0;
      position: absolute;
      right: 8px;
      z-index: 2;
      background: #fff;
      top: 50%;
      font-size: @font-size-base;
      color: #ccc;
      width: 12px;
      height: 12px;
      margin-top: -6px;
      line-height: 12px;
      cursor: pointer;
      transition: color 0.3s ease, opacity 0.15s ease;
      &:hover {
        color: @text-color-secondary;
      }
    }

    &:hover &-clear {
      opacity: 1;
    }

    // arrow
    &-arrow {
      position: absolute;
      z-index: 1;
      top: 50%;
      right: 8px;
      width: 12px;
      height: 12px;
      margin-top: -6px;
      line-height: 12px;
      color: @text-color-secondary;
      .iconfont-size-under-12px(9px);
      &:before {
        transition: transform 0.2s ease;
      }
      &&-expand {
        .ie-rotate(2);
        &:before {
          transform: rotate(180deg);
        }
      }
    }
  }
  &-menus {
    font-size: @font-size-base;
    background: #fff;
    position: absolute;
    z-index: @zindex-dropdown;
    border-radius: @border-radius-base;
    box-shadow: @box-shadow-base;
    white-space: nowrap;
    &-empty,
    &-hidden {
      display: none;
    }
    &.slide-up-enter.slide-up-enter-active&-placement-bottomLeft,
    &.slide-up-appear.slide-up-appear-active&-placement-bottomLeft {
      animation-name: antSlideUpIn;
    }

    &.slide-up-enter.slide-up-enter-active&-placement-topLeft,
    &.slide-up-appear.slide-up-appear-active&-placement-topLeft {
      animation-name: antSlideDownIn;
    }

    &.slide-up-leave.slide-up-leave-active&-placement-bottomLeft {
      animation-name: antSlideUpOut;
    }

    &.slide-up-leave.slide-up-leave-active&-placement-topLeft {
      animation-name: antSlideDownOut;
    }
  }
  &-menu {
    display: inline-block;
    vertical-align: top;
    min-width: 111px;
    height: 180px;
    list-style: none;
    margin: 0;
    padding: 0;
    border-right: 1px solid @border-color-split;
    overflow: auto;
    &:first-child {
      border-radius: @border-radius-base 0 0 @border-radius-base;
    }
    &:last-child {
      border-right-color: transparent;
      margin-right: -1px;
      border-radius: 0 @border-radius-base @border-radius-base 0;
    }
    &:only-child {
      border-radius: @border-radius-base;
    }
  }
  &-menu-item {
    padding: 7px 26px 7px 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    &:hover {
      background: tint(@primary-color, 90%);
    }
    &-disabled {
      cursor: not-allowed;
      color: #ccc;
      &:hover {
        background: transparent;
      }
    }
    &-active:not(&-disabled) {
      &,
      &:hover {
        background-color: @background-color-base;
        font-weight: bold;
      }
    }
    &-expand {
      position: relative;
      &:after {
        .iconfont-font("\e61f");
        .iconfont-size-under-12px(8px);
        color: @text-color-secondary;
        position: absolute;
        right: 15px;
      }
    }
    &-loading:after {
      .iconfont-font("\e64d");
      animation: loadingCircle 1s infinite linear;
    }

    & &-keyword {
      color: @highlight-color;
    }
  }
}

@import "../../style/themes/default";
@import "../../style/mixins/index";

@cascader-prefix-cls: ~"@{ant-prefix}-cascader";

.@{cascader-prefix-cls} {
  font-size: @font-size-base;
  &-input.@{ant-prefix}-input {
    background-color: transparent;
    display: block;
    cursor: pointer;
    width: 100%;
    z-index: 1;
  }
  &-picker {
    position: relative;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
    font-size: @font-size-base;
    background-color: #fff;
    border-radius: @border-radius-base;

    &-with-value &-label {
      color: transparent;
    }

    &-disabled {
      cursor: not-allowed;

      .@{cascader-prefix-cls}-input {
        cursor: not-allowed;
      }
    }

    &-label {
      position: absolute;
      left: 0;
      height: 20px;
      line-height: 20px;
      top: 50%;
      margin-top: -10px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      width: 100%;
      padding: 0 12px 0 8px;
    }

    &-clear {
      opacity: 0;
      position: absolute;
      right: 8px;
      z-index: 2;
      background: #fff;
      top: 50%;
      font-size: @font-size-base;
      color: #ccc;
      width: 12px;
      height: 12px;
      margin-top: -6px;
      line-height: 12px;
      cursor: pointer;
      transition: color 0.3s ease, opacity 0.15s ease;
      &:hover {
        color: @text-color-secondary;
      }
    }

    &:hover &-clear {
      opacity: 1;
    }

    // arrow
    &-arrow {
      position: absolute;
      z-index: 1;
      top: 50%;
      right: 8px;
      width: 12px;
      height: 12px;
      margin-top: -6px;
      line-height: 12px;
      color: @text-color-secondary;
      .iconfont-size-under-12px(9px);
      &:before {
        transition: transform 0.2s ease;
      }
      &&-expand {
        .ie-rotate(2);
        &:before {
          transform: rotate(180deg);
        }
      }
    }
  }
  &-menus {
    font-size: @font-size-base;
    background: #fff;
    position: absolute;
    z-index: @zindex-dropdown;
    border-radius: @border-radius-base;
    box-shadow: @box-shadow-base;
    white-space: nowrap;
    &-empty,
    &-hidden {
      display: none;
    }
    &.slide-up-enter.slide-up-enter-active&-placement-bottomLeft,
    &.slide-up-appear.slide-up-appear-active&-placement-bottomLeft {
      animation-name: antSlideUpIn;
    }

    &.slide-up-enter.slide-up-enter-active&-placement-topLeft,
    &.slide-up-appear.slide-up-appear-active&-placement-topLeft {
      animation-name: antSlideDownIn;
    }

    &.slide-up-leave.slide-up-leave-active&-placement-bottomLeft {
      animation-name: antSlideUpOut;
    }

    &.slide-up-leave.slide-up-leave-active&-placement-topLeft {
      animation-name: antSlideDownOut;
    }
  }
  &-menu {
    display: inline-block;
    vertical-align: top;
    min-width: 111px;
    height: 180px;
    list-style: none;
    margin: 0;
    padding: 0;
    border-right: 1px solid @border-color-split;
    overflow: auto;
    &:first-child {
      border-radius: @border-radius-base 0 0 @border-radius-base;
    }
    &:last-child {
      border-right-color: transparent;
      margin-right: -1px;
      border-radius: 0 @border-radius-base @border-radius-base 0;
    }
    &:only-child {
      border-radius: @border-radius-base;
    }
  }
  &-menu-item {
    padding: 7px 26px 7px 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    &:hover {
      background: tint(@primary-color, 90%);
    }
    &-disabled {
      cursor: not-allowed;
      color: #ccc;
      &:hover {
        background: transparent;
      }
    }
    &-active:not(&-disabled) {
      &,
      &:hover {
        background-color: @background-color-base;
        font-weight: bold;
      }
    }
    &-expand {
      position: relative;
      &:after {
        .iconfont-font("\e61f");
        .iconfont-size-under-12px(8px);
        color: @text-color-secondary;
        position: absolute;
        right: 15px;
      }
    }
    &-loading:after {
      .iconfont-font("\e64d");
      animation: loadingCircle 1s infinite linear;
    }

    & &-keyword {
      color: @highlight-color;
    }
  }
}


Remove jenkins-js-widgets.less

Remove jenkins-js-widgets.less

Was readded in error

@import "variables";

/*
 * Mixins
 * http://lesscss.org/features/#mixins-feature
 */
@import "layout-mixins";
@import "form/form-mixins";

/*
 * Widget styles
 */
@import "config/tabbar";

.hidden {
  display: none;
}


[Core] Added core.less which has Core CSS (atm Alerts)

.alert-top {
	position: fixed;
	top: 0;
	width: 250px;
    z-index: 1001;
}

.alert-highlight {
    border: red 1px solid;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255,0,0,.6);
}

error: pathspec 'src/Corvus/CoreBundle/Resources/public/css/core.less' did not match any file(s) known to git


Clean up the Buttons page, add the missing btn-slim class

fatal: unable to access 'https://github.com/Coveo/styleguide.git/': The requested URL returned error: 403


Create fixed-width.less

Create fixed-width.less

// Fixed Width Icons
// -------------------------
.@{fa-css-prefix}-fw {
  width: (18em / 14);
  text-align: center;
}

error: pathspec 'font-awesome/less/fixed-width.less' did not match any file(s) known to git


removed margin

removed margin

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/Digipalvelutehdas/APIKA.git/'


Remove input fields for email/CV/additional documents

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/fle-internal/fle-home.git/'


Remove CSS *margin hack*, `time` elements shouldn’t be colapsed since it’s an inline element.

More info: https://github.com/kangax/html-minifier/pull/67
So you should wait html-minifier to fix that.

// Global variables
@space: 70px;
@wrapperWidth: 750px;
@baseFontSize: 24px;
@baseLineHeight: 1.7;
@linkColor: #e34; // #2ed for invert color
@backgroundColor: #fff;
@textColor: #000;
@sansSerif: "Helvetica Neue", "Hiragino Sans GB", sans-serif;
@serif: Palatino, "Hiragino Mincho ProN", serif;

// Transition mixin
.transition(@transition) {
  -webkit-transition: @transition;
          transition: @transition;
}

// Borrowed from Bootstrap
.vertical(@startColor: #444, @endColor: #333) {
  background-color: mix(@startColor, @endColor, 60%);
  background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
  background-image: linear-gradient(to bottom, @startColor, @endColor); // Standard, IE10
  background-repeat: repeat-x;
}

// Invert color switcher for images and videos
// :root { -webkit-filter: invert(100%); }

@font-face {
  font-family: PFDTCP-M; // PFDinTextCompPro-Medium.ttf
  src: url(font.woff) format('woff');
}

.font-face {
  font-family: PFDTCP-M, "Avenir Next Condensed", "Arial Narrow", @sansSerif; // Add some narrow typefaces failback
  font-size: (@baseFontSize * 7/3);
  -webkit-font-smoothing: antialiased;
  font-weight: normal;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.helvetica {
  font-family: @sansSerif;
  font-size: (@baseFontSize / 2);
  font-weight: normal;
  line-height: (@baseLineHeight * .9);
  letter-spacing: .45em;
  color: fade(@textColor, 40%);
  text-transform: uppercase;
}

// http://nicolasgallagher.com/micro-clearfix-hack/
//
// For modern browsers
// 1. The use of `table` rather than `block` is only necessary if using `:before` to contain the top-margins of child elements.
// 2. The original space content hack is removed here. No need to support Opera on my personal site.
.cf {
  &:before, &:after {
    display: table; // 1
    content: ""; // 2
  }

  &:after {
    clear: both;
  }
}

// This fix some peformance issues in WebKit, such as transform, webkit-filter in retina displays, and more.
.webkit-fix {
  -webkit-backface-visibility: hidden;
}

// Basic reset
p, hr, pre, blockquote,
ol, ul, li, dl, dt, dd,
a, em, strong, small, s, cite, q, dfn, abbr, time, code, var, i, b, u, span, br, wbr,
h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
  font-size: 100%;
  line-height: 1;
}

:root {
  .webkit-fix;
}

body {
  padding: 0 (@space * 2)  (@space * 1.5);
  margin: 0 auto 0;
  font-family: @serif;
  font-size: @baseFontSize;
  line-height: @baseLineHeight;
  color: @textColor;
  text-rendering: optimizelegibility;
  background: @backgroundColor;
  image-rendering: optimizequality;

  // A semitranslucent bar at the top of the page
  &:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 8px;
    pointer-events: none;
    background: fade(@textColor, 2%);
    border-bottom: 1px solid fade(@textColor, 2%);
    content: "";
  }
}

// Global fixed width wrapper
.wrapper {
  max-width: 1070;
  margin: 0 0 (@space * 1.35);
}

a, button {

  &:link, &:visited {
    color: @textColor;
    text-decoration: none;
    .transition(~"color .5s ease, border-color .5s ease, background-color .5s ease, opacity 1.5s ease");

    &:focus, &:hover {
      color: @linkColor;
      .transition(~"color .1s ease, border-color .1s ease, background-color .1s ease, opacity .1s ease");
    }
  }
}

img, hr {
  border: 0;
}

ins {
  color: fade(@textColor, 40%);
}

del {
  text-decoration: line-through;
}

::selection {
  color: @linkColor;
  background: fade(@textColor, 2%);
}

// Main site logo
.logo {
  display: block;
  width: 0;
  height: 0;
  margin: -36px 0 (@space / 5);
  text-indent: -9999em;
  border-color: transparent;
  border-bottom-color: @textColor;
  border-style: solid;
  border-width: 0 26px 45px 26px;

  &:hover {
    border-bottom-color: @linkColor;
  }
}

// Global navigations font styles
nav {
  .helvetica;
}

// Main navigation
.navigation { // nav.navigation
  margin: 0 0 (@space * 1.5);
  .cf;

  li {
    display: inline-block;
    line-height: 2;
    list-style: none;

    a {
      padding: 3px 1.2em;
      font-weight: bold;
    }
  }

  &:first-child {
    margin-left: -1.2em;
  }
}

// Currently activated page or category a post it belongs to
.current { // li.current
  a {
    color: @linkColor;
  }
}

// Titles wrapper
.wrapper { // Wrap them all in .wrapper to avoid overriding site header

  header {
    padding-bottom: (@space * 1.35);

    h1 {
      margin: 0 0 .1em;
      .font-face;

      // Override margin from article img
      img {
        margin-bottom: (@baseFontSize * .6);
      }
    }

    small {
      display: block;
      .helvetica;
    }

    // TODO: performance opti.
    & + .txt :first-child { // For example, hgroup + .txt h3:first-child
      padding-top: 0;
      margin-top: 0;
    }
  }
}

// Animate latest work link
.latest{
  .transition(color .3s ease);
}

:root:hover .latest {
  color: @linkColor !important;
}

// Pserson status
.status { // h2.status

  a {

    &:before {
      @size: 9px;
      display: inline-block;
      width: @size;
      height: @size;
      margin-right: @size;
      background: fade(@textColor, 20%);
      border-radius: 50%;
      content: "";
    }
  }
}

.available {

  a {
    color: @textColor;

    &:hover {
      color: fade(green, 80%);
    }

    &:before {
      background: fade(green, 60%);
    }
  }
}
.unavailable {

  a {
    color: fade(@textColor, 50%);

    &:hover {
      color: fade(red, 60%);
    }

    &:before {
      background: fade(red, 20%);
    }
  }
}

// Article wrapper
article {
  max-width: @wrapperWidth;
  .cf; // For some specified posts in work category

  img, video, iframe {
    display: block;
    max-width: 100%;
    margin: 0 0 40px;
  }
}

// Basic staff inside article .txt
.txt {
  overflow: hidden;
  -webkit-hyphens: auto;
     -moz-hyphens: auto;
          hyphens: auto;

  a {
    border-bottom: 1px dotted fade(@textColor, 30%); // Set larger value for invert color
  }

  p {
    margin: 0 0 1.1em;
    line-height: @baseLineHeight;
  }

  h3 {
    margin: @space 0 1.6em;
    .helvetica;
  }

  ul, ol {
    margin: 0 0 1em 1.5em;

    li {
      line-height: @baseLineHeight;
    }
  }

  ol {
    margin-left: 1.75em;
  }

  blockquote {
    position: relative;
    padding-left: (@space * .75);
    font-style: italic;
    .cf;

    &:before {
      position: absolute;
      top: -16px;
      left: -8px;
      z-index: -1;
      font-family: @sansSerif;
      font-size: 120px;
      font-style: normal;
      color: fade(@textColor, 70%);
      pointer-events: none;
      content: "\201c"; // http://www.fileformat.info/info/unicode/char/201c/index.htm
    }

    cite {
      float: right;
      margin: 0 0 2em;
      font-size: 85%;
      color: fade(@textColor, 80%);

      &:before {
        content: "\2500\2500\00a0" // http://www.fileformat.info/info/unicode/char/2500/index.htm
      }
    }
  }

  sup {
    font-size: 75%;
  }

  hr {
    margin: @space 0 1.6em;
    .helvetica;

    &:before {
      content: attr(data-placeholder);
    }
  }

  abbr:after {
    content: " (" attr(title) ")";
  }

  code, pre {
    font-family: Menlo, monospace;
    color: #68a;
  }

  // Newsletter subscription form in page "store"
  form {

    label {
      display: block;
      margin-bottom: (@space * .3);
      .helvetica;
    }

    input {
      display: block;
      width: 100%;
      padding: 7px;
      margin: 0 0 (@space * .3);
      .helvetica;
      border: 1px solid fade(@textColor, 20%);
      border-radius: 0; // Remove border-radius for ios devices
      outline: none;
      box-sizing: border-box;
      -webkit-appearance: none; // Remove ios pre-defined style

      &:focus {
        border-color: @textColor;
      }
    }
  }

  // Rest form validation styles, borrowed from Bootstrap
  input, textarea, select {

    &:focus:required:invalid {

      &:focus {
        background: fade(@linkColor, 5%);
        border-color: @linkColor;
        box-shadow: none; // Override Firefox default styles
      }
    }
  }

  // Form validation message bubble, borrowed from default WebKit styles
  // More info: http://trac.webkit.org/browser/trunk/Source/WebCore/css/html.css
  ::-webkit-validation-bubble-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: auto;
    // Override default WebKit styles
    min-width: 100%;
    padding: 20px (@space * .5);
    margin: 0;
    color: @backgroundColor;
    background: fade(@linkColor, 95%);
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
  }

  ::-webkit-validation-bubble-arrow {
    display: none;
  }

  ::-webkit-validation-bubble-icon {
    display: none;
  }
}

// Posts with Chinese characters
[lang=zh] {
  text-align: justify; // Workaround solution for post with chinese
}

// Fix empty space when a paragraph starts with some asian punctuation marks
.margin-fix:first-letter {
  margin-left: -.6em;
}

// Tweet button margin fix
.tweet {
  margin-top: @space;
}

// Button styles
.btn {
  display: inline-block;
  padding: 6px 20px;
  .helvetica;
  cursor: pointer;
  background: @textColor;
  outline: none;

  // Redefine overrides here to pass recess syntax check
  &:link, &:visited {
    color: @backgroundColor;

    &:focus, &:hover {
      color: @backgroundColor;
      background: @linkColor;
    }
  }
}

// Broser frame for images in category "work"
.browser {
  position: relative;
  padding-top: 20px;
  margin: 0 0 40px;
  background: #e8e8e8;
  border-radius: 5px 5px 0 0;

  &:before {
    position: absolute;
    top: 6px;
    left: 8px;
    display: block;
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, .2);
    border-radius: 50%;
    content: "";
  }

  img {
    margin: 0;
    box-shadow: rgba(0, 0, 0, .05) 0 -1px 0 0;
  }
}

// Special paragraph with an icon
.note, .store, .download {
  @iconSize: 40px;
  padding-left: (@iconSize * 1.25);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: @iconSize @iconSize;
}

.note     { background-image: url("data:image/svg+xml,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M27,0H4v40h32V9L27,0z M31,35H9V5h15l7,7V35z'/></svg>"); }
.store    { background-image: url("data:image/svg+xml,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M20,0C8.954,0,0,8.954,0,20s8.954,20,20,20s20-8.954,20-20S31.046,0,20,0z M5,20c0-7.806,5.964-14.214,13.583-14.929 v3.574c-3.852,0.757-6.083,3.24-6.083,6.407c0,3.492,2.627,5.292,6.479,6.588c2.664,0.899,3.816,1.764,3.816,3.131 c0,1.44-1.404,2.232-3.456,2.232c-2.34,0-4.463-0.756-5.975-1.584l-1.08,4.211c1.368,0.792,3.708,1.44,6.119,1.548v3.734 C10.87,34.115,5,27.744,5,20z M21.931,34.862v-3.936c4.14-0.72,6.407-3.455,6.407-6.659c0-3.239-1.729-5.219-6.012-6.73 c-3.059-1.152-4.319-1.908-4.319-3.096c0-1.008,0.756-2.016,3.095-2.016c2.592,0,4.247,0.827,5.184,1.224l1.044-4.067 c-1.188-0.576-2.808-1.08-5.22-1.188V5.166C29.393,6.194,35,12.434,35,20C35,27.629,29.301,33.912,21.931,34.862z'/></svg>"); }
.download { background-image: url("data:image/svg+xml,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M29.982,5.825c-0.469,0-0.922,0.074-1.375,0.142C26.867,2.87,23.65,0.808,20,0.808c-3.729,0-6.948,2.093-8.661,5.14 c-0.439-0.059-0.875-0.122-1.321-0.122C4.513,5.825,0,10.468,0,16c0,5.533,4.495,10,10,10h7v6h-5l8,8l8-8h-5v-6h7 c5.508,0,10-4.467,10-10C40,10.469,35.489,5.825,29.982,5.825z M30,21H10c-2.751,0-5-2.398-5-5.167c0-2.749,2.124-5.09,5.051-5.09 c1.73-0.001,2.464,0.587,3.394,1.203c0-1.807,2.229-6.122,6.555-6.122c2.496,0,3.952,2.242,4.441,2.735 c-1.945,1.957-2.845,4.457-2.412,7.752h0.691c0.573-2.291,2.455-5.557,7.279-5.557c2.749,0,5,2.311,5,5.078 C35,18.602,32.749,21,30,21z'/></svg>"); }

// Reference notes and links in post
.reflist {
  font-size: .9em;
  font-style: italic;
}

.cite, .ref {
  border-bottom: none !important;

  &:target {
    color: @linkColor;
    text-shadow: 0 2px 15px @linkColor;
  }
}

// Post list in "note"
.list { // ul.list

  li {
    margin: 0 0 (@space * .2);
    overflow: hidden;

    h2 {
      .font-face;

      time {
        color: fade(@textColor, 30%);
      }

      time + a {
        line-height: 0; // An infinite symbol next to the post date, need line-height: 0 to make vertical-align work
        vertical-align: 3px;
      }
    }

    h2 {
      font-size: (@baseFontSize * 2);
      font-weight: normal;
    }

    .txt {
      margin: (@space / 5) 0 @space;
    }
  }

  section:last-child {
    margin-bottom: 0;
  }
}

footer {
  .helvetica;

  & {
    font-size: (@baseFontSize / 2 - 1px);
  }
}

// FlexSlider Necessary Styles
.flexslider {

  // Slides
  ul {
    list-style: none;
  }

  li {
    display: none;
    cursor: pointer;
    -webkit-backface-visibility: hidden; // Hide the slides before the JS is loaded. Avoids image jumping

    &:first-child {
      display: block; // Display the first image when scripts are not ready
    }

    .flex-caption {
      margin: -30px 0 30px;
      .helvetica;
    }
  }
}

// FlexSlider - No JavaScript fallback
.no-js .flexslider ul li:first-child { display: block; }

// Media query stack
@media (max-width: 1238px) {
  body {
    padding: 0 (@space * 1.2) (@space * 1.5);
  }
}

@media (max-width: 1018px) {
  body {
    padding: 0 (@space * .96) (@space * 1.5);
  }
}

@media (max-width: 640px) {
  body {
    padding: 0 (@space * .5) (@space * 1.5);
  }

  article .txt {
    font-size: 80%;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0 (@space * .2) (@space * 1.5);
  }

  .navigation li {
    display: block;

    a {
      display: block;
      padding-top: 1em;
      padding-bottom: 1em;
    }
  }
}

// All iOS devices, the easiest way
@media (max-device-width: 480px), (max-device-width: 1024px) {
  .wrapper {
    -webkit-text-size-adjust: none;
  }
}

// Global variables
@space: 70px;
@wrapperWidth: 750px;
@baseFontSize: 24px;
@baseLineHeight: 1.7;
@linkColor: #e34; // #2ed for invert color
@backgroundColor: #fff;
@textColor: #000;
@sansSerif: "Helvetica Neue", "Hiragino Sans GB", sans-serif;
@serif: Palatino, "Hiragino Mincho ProN", serif;

// Transition mixin
.transition(@transition) {
  -webkit-transition: @transition;
          transition: @transition;
}

// Borrowed from Bootstrap
.vertical(@startColor: #444, @endColor: #333) {
  background-color: mix(@startColor, @endColor, 60%);
  background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
  background-image: linear-gradient(to bottom, @startColor, @endColor); // Standard, IE10
  background-repeat: repeat-x;
}

// Invert color switcher for images and videos
// :root { -webkit-filter: invert(100%); }

@font-face {
  font-family: PFDTCP-M; // PFDinTextCompPro-Medium.ttf
  src: url(font.woff) format('woff');
}

.font-face {
  font-family: PFDTCP-M, "Avenir Next Condensed", "Arial Narrow", @sansSerif; // Add some narrow typefaces failback
  font-size: (@baseFontSize * 7/3);
  -webkit-font-smoothing: antialiased;
  font-weight: normal;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.helvetica {
  font-family: @sansSerif;
  font-size: (@baseFontSize / 2);
  font-weight: normal;
  line-height: (@baseLineHeight * .9);
  letter-spacing: .45em;
  color: fade(@textColor, 40%);
  text-transform: uppercase;
}

// http://nicolasgallagher.com/micro-clearfix-hack/
//
// For modern browsers
// 1. The use of `table` rather than `block` is only necessary if using `:before` to contain the top-margins of child elements.
// 2. The original space content hack is removed here. No need to support Opera on my personal site.
.cf {
  &:before, &:after {
    display: table; // 1
    content: ""; // 2
  }

  &:after {
    clear: both;
  }
}

// This fix some peformance issues in WebKit, such as transform, webkit-filter in retina displays, and more.
.webkit-fix {
  -webkit-backface-visibility: hidden;
}

// Basic reset
p, hr, pre, blockquote,
ol, ul, li, dl, dt, dd,
a, em, strong, small, s, cite, q, dfn, abbr, time, code, var, i, b, u, span, br, wbr,
h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
  font-size: 100%;
  line-height: 1;
}

:root {
  .webkit-fix;
}

body {
  padding: 0 (@space * 2)  (@space * 1.5);
  margin: 0 auto 0;
  font-family: @serif;
  font-size: @baseFontSize;
  line-height: @baseLineHeight;
  color: @textColor;
  text-rendering: optimizelegibility;
  background: @backgroundColor;
  image-rendering: optimizequality;

  // A semitranslucent bar at the top of the page
  &:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 8px;
    pointer-events: none;
    background: fade(@textColor, 2%);
    border-bottom: 1px solid fade(@textColor, 2%);
    content: "";
  }
}

// Global fixed width wrapper
.wrapper {
  max-width: 1070;
  margin: 0 0 (@space * 1.35);
}

a, button {

  &:link, &:visited {
    color: @textColor;
    text-decoration: none;
    .transition(~"color .5s ease, border-color .5s ease, background-color .5s ease, opacity 1.5s ease");

    &:focus, &:hover {
      color: @linkColor;
      .transition(~"color .1s ease, border-color .1s ease, background-color .1s ease, opacity .1s ease");
    }
  }
}

img, hr {
  border: 0;
}

ins {
  color: fade(@textColor, 40%);
}

del {
  text-decoration: line-through;
}

::selection {
  color: @linkColor;
  background: fade(@textColor, 2%);
}

// Main site logo
.logo {
  display: block;
  width: 0;
  height: 0;
  margin: -36px 0 (@space / 5);
  text-indent: -9999em;
  border-color: transparent;
  border-bottom-color: @textColor;
  border-style: solid;
  border-width: 0 26px 45px 26px;

  &:hover {
    border-bottom-color: @linkColor;
  }
}

// Global navigations font styles
nav {
  .helvetica;
}

// Main navigation
.navigation { // nav.navigation
  margin: 0 0 (@space * 1.5);
  .cf;

  li {
    display: inline-block;
    line-height: 2;
    list-style: none;

    a {
      padding: 3px 1.2em;
      font-weight: bold;
    }
  }

  &:first-child {
    margin-left: -1.2em;
  }
}

// Currently activated page or category a post it belongs to
.current { // li.current
  a {
    color: @linkColor;
  }
}

// Titles wrapper
.wrapper { // Wrap them all in .wrapper to avoid overriding site header

  header {
    padding-bottom: (@space * 1.35);

    h1 {
      margin: 0 0 .1em;
      .font-face;

      // Override margin from article img
      img {
        margin-bottom: (@baseFontSize * .6);
      }
    }

    small {
      display: block;
      .helvetica;
    }

    // TODO: performance opti.
    & + .txt :first-child { // For example, hgroup + .txt h3:first-child
      padding-top: 0;
      margin-top: 0;
    }
  }
}

// Animate latest work link
.latest{
  .transition(color .3s ease);
}

:root:hover .latest {
  color: @linkColor !important;
}

// Pserson status
.status { // h2.status

  a {

    &:before {
      @size: 9px;
      display: inline-block;
      width: @size;
      height: @size;
      margin-right: @size;
      background: fade(@textColor, 20%);
      border-radius: 50%;
      content: "";
    }
  }
}

.available {

  a {
    color: @textColor;

    &:hover {
      color: fade(green, 80%);
    }

    &:before {
      background: fade(green, 60%);
    }
  }
}
.unavailable {

  a {
    color: fade(@textColor, 50%);

    &:hover {
      color: fade(red, 60%);
    }

    &:before {
      background: fade(red, 20%);
    }
  }
}

// Article wrapper
article {
  max-width: @wrapperWidth;
  .cf; // For some specified posts in work category

  img, video, iframe {
    display: block;
    max-width: 100%;
    margin: 0 0 40px;
  }
}

// Basic staff inside article .txt
.txt {
  overflow: hidden;
  -webkit-hyphens: auto;
     -moz-hyphens: auto;
          hyphens: auto;

  a {
    border-bottom: 1px dotted fade(@textColor, 30%); // Set larger value for invert color
  }

  p {
    margin: 0 0 1.1em;
    line-height: @baseLineHeight;
  }

  h3 {
    margin: @space 0 1.6em;
    .helvetica;
  }

  ul, ol {
    margin: 0 0 1em 1.5em;

    li {
      line-height: @baseLineHeight;
    }
  }

  ol {
    margin-left: 1.75em;
  }

  blockquote {
    position: relative;
    padding-left: (@space * .75);
    font-style: italic;
    .cf;

    &:before {
      position: absolute;
      top: -16px;
      left: -8px;
      z-index: -1;
      font-family: @sansSerif;
      font-size: 120px;
      font-style: normal;
      color: fade(@textColor, 70%);
      pointer-events: none;
      content: "\201c"; // http://www.fileformat.info/info/unicode/char/201c/index.htm
    }

    cite {
      float: right;
      margin: 0 0 2em;
      font-size: 85%;
      color: fade(@textColor, 80%);

      &:before {
        content: "\2500\2500\00a0" // http://www.fileformat.info/info/unicode/char/2500/index.htm
      }
    }
  }

  sup {
    font-size: 75%;
  }

  hr {
    margin: @space 0 1.6em;
    .helvetica;

    &:before {
      content: attr(data-placeholder);
    }
  }

  abbr:after {
    content: " (" attr(title) ")";
  }

  code, pre {
    font-family: Menlo, monospace;
    color: #68a;
  }

  // Newsletter subscription form in page "store"
  form {

    label {
      display: block;
      margin-bottom: (@space * .3);
      .helvetica;
    }

    input {
      display: block;
      width: 100%;
      padding: 7px;
      margin: 0 0 (@space * .3);
      .helvetica;
      border: 1px solid fade(@textColor, 20%);
      border-radius: 0; // Remove border-radius for ios devices
      outline: none;
      box-sizing: border-box;
      -webkit-appearance: none; // Remove ios pre-defined style

      &:focus {
        border-color: @textColor;
      }
    }
  }

  // Rest form validation styles, borrowed from Bootstrap
  input, textarea, select {

    &:focus:required:invalid {

      &:focus {
        background: fade(@linkColor, 5%);
        border-color: @linkColor;
        box-shadow: none; // Override Firefox default styles
      }
    }
  }

  // Form validation message bubble, borrowed from default WebKit styles
  // More info: http://trac.webkit.org/browser/trunk/Source/WebCore/css/html.css
  ::-webkit-validation-bubble-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: auto;
    // Override default WebKit styles
    min-width: 100%;
    padding: 20px (@space * .5);
    margin: 0;
    color: @backgroundColor;
    background: fade(@linkColor, 95%);
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
  }

  ::-webkit-validation-bubble-arrow {
    display: none;
  }

  ::-webkit-validation-bubble-icon {
    display: none;
  }
}

// Posts with Chinese characters
[lang=zh] {
  text-align: justify; // Workaround solution for post with chinese
}

// Fix empty space when a paragraph starts with some asian punctuation marks
.margin-fix:first-letter {
  margin-left: -.6em;
}

// Tweet button margin fix
.tweet {
  margin-top: @space;
}

// Button styles
.btn {
  display: inline-block;
  padding: 6px 20px;
  .helvetica;
  cursor: pointer;
  background: @textColor;
  outline: none;

  // Redefine overrides here to pass recess syntax check
  &:link, &:visited {
    color: @backgroundColor;

    &:focus, &:hover {
      color: @backgroundColor;
      background: @linkColor;
    }
  }
}

// Broser frame for images in category "work"
.browser {
  position: relative;
  padding-top: 20px;
  margin: 0 0 40px;
  background: #e8e8e8;
  border-radius: 5px 5px 0 0;

  &:before {
    position: absolute;
    top: 6px;
    left: 8px;
    display: block;
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, .2);
    border-radius: 50%;
    content: "";
  }

  img {
    margin: 0;
    box-shadow: rgba(0, 0, 0, .05) 0 -1px 0 0;
  }
}

// Special paragraph with an icon
.note, .store, .download {
  @iconSize: 40px;
  padding-left: (@iconSize * 1.25);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: @iconSize @iconSize;
}

.note     { background-image: url("data:image/svg+xml,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M27,0H4v40h32V9L27,0z M31,35H9V5h15l7,7V35z'/></svg>"); }
.store    { background-image: url("data:image/svg+xml,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M20,0C8.954,0,0,8.954,0,20s8.954,20,20,20s20-8.954,20-20S31.046,0,20,0z M5,20c0-7.806,5.964-14.214,13.583-14.929 v3.574c-3.852,0.757-6.083,3.24-6.083,6.407c0,3.492,2.627,5.292,6.479,6.588c2.664,0.899,3.816,1.764,3.816,3.131 c0,1.44-1.404,2.232-3.456,2.232c-2.34,0-4.463-0.756-5.975-1.584l-1.08,4.211c1.368,0.792,3.708,1.44,6.119,1.548v3.734 C10.87,34.115,5,27.744,5,20z M21.931,34.862v-3.936c4.14-0.72,6.407-3.455,6.407-6.659c0-3.239-1.729-5.219-6.012-6.73 c-3.059-1.152-4.319-1.908-4.319-3.096c0-1.008,0.756-2.016,3.095-2.016c2.592,0,4.247,0.827,5.184,1.224l1.044-4.067 c-1.188-0.576-2.808-1.08-5.22-1.188V5.166C29.393,6.194,35,12.434,35,20C35,27.629,29.301,33.912,21.931,34.862z'/></svg>"); }
.download { background-image: url("data:image/svg+xml,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M29.982,5.825c-0.469,0-0.922,0.074-1.375,0.142C26.867,2.87,23.65,0.808,20,0.808c-3.729,0-6.948,2.093-8.661,5.14 c-0.439-0.059-0.875-0.122-1.321-0.122C4.513,5.825,0,10.468,0,16c0,5.533,4.495,10,10,10h7v6h-5l8,8l8-8h-5v-6h7 c5.508,0,10-4.467,10-10C40,10.469,35.489,5.825,29.982,5.825z M30,21H10c-2.751,0-5-2.398-5-5.167c0-2.749,2.124-5.09,5.051-5.09 c1.73-0.001,2.464,0.587,3.394,1.203c0-1.807,2.229-6.122,6.555-6.122c2.496,0,3.952,2.242,4.441,2.735 c-1.945,1.957-2.845,4.457-2.412,7.752h0.691c0.573-2.291,2.455-5.557,7.279-5.557c2.749,0,5,2.311,5,5.078 C35,18.602,32.749,21,30,21z'/></svg>"); }

// Reference notes and links in post
.reflist {
  font-size: .9em;
  font-style: italic;
}

.cite, .ref {
  border-bottom: none !important;

  &:target {
    color: @linkColor;
    text-shadow: 0 2px 15px @linkColor;
  }
}

// Post list in "note"
.list { // ul.list

  li {
    margin: 0 0 (@space * .2);
    overflow: hidden;

    h2 {
      .font-face;

      time {
        margin-left: .2em;
        color: fade(@textColor, 30%);
      }

      time + a {
        margin-left: .2em;
        line-height: 0; // An infinite symbol next to the post date, need line-height: 0 to make vertical-align work
        vertical-align: 3px;
      }
    }

    h2 {
      font-size: (@baseFontSize * 2);
      font-weight: normal;
    }

    .txt {
      margin: (@space / 5) 0 @space;
    }
  }

  section:last-child {
    margin-bottom: 0;
  }
}

footer {
  .helvetica;

  & {
    font-size: (@baseFontSize / 2 - 1px);
  }
}

// FlexSlider Necessary Styles
.flexslider {

  // Slides
  ul {
    list-style: none;
  }

  li {
    display: none;
    cursor: pointer;
    -webkit-backface-visibility: hidden; // Hide the slides before the JS is loaded. Avoids image jumping

    &:first-child {
      display: block; // Display the first image when scripts are not ready
    }

    .flex-caption {
      margin: -30px 0 30px;
      .helvetica;
    }
  }
}

// FlexSlider - No JavaScript fallback
.no-js .flexslider ul li:first-child { display: block; }

// Media query stack
@media (max-width: 1238px) {
  body {
    padding: 0 (@space * 1.2) (@space * 1.5);
  }
}

@media (max-width: 1018px) {
  body {
    padding: 0 (@space * .96) (@space * 1.5);
  }
}

@media (max-width: 640px) {
  body {
    padding: 0 (@space * .5) (@space * 1.5);
  }

  article .txt {
    font-size: 80%;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0 (@space * .2) (@space * 1.5);
  }

  .navigation li {
    display: block;

    a {
      display: block;
      padding-top: 1em;
      padding-bottom: 1em;
    }
  }
}

// All iOS devices, the easiest way
@media (max-device-width: 480px), (max-device-width: 1024px) {
  .wrapper {
    -webkit-text-size-adjust: none;
  }
}


Update static/vendors/bootstrap/less/dropdowns.less

Signed-off-by: Bernard Ojengwa <fccb4cc00c1ba7e51bf5c2b5f77130b9fe8d917e@gmail.com>

//
// Dropdown menus
// --------------------------------------------------

// Dropdown arrow/caret
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top:   @caret-width-base dashed;
  border-right: @caret-width-base solid transparent;
  border-left:  @caret-width-base solid transparent;
}

// The dropdown wrapper (div)
.dropup,
.dropdown {
  position: relative;
}

// Prevent the focus on the dropdown toggle when closing dropdowns
.dropdown-toggle:focus {
  outline: 0;
}

// The dropdown menu (ul)
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: @zindex-dropdown;
  display: none; // none by default, but block on "open" of the menu
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0; // override default ul
  list-style: none;
  font-size: @font-size-base;
  text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
  background-color: @dropdown-bg;
  border: 1px solid @dropdown-fallback-border; // IE8 fallback
  border: 1px solid @dropdown-border;
  border-radius: @border-radius-base;
  .box-shadow(0 6px 12px rgba(0,0,0,.175));
  background-clip: padding-box;

  // Aligns the dropdown menu to right
  //
  // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`
  &.pull-right {
    right: 0;
    left: auto;
  }

  // Dividers (basically an hr) within the dropdown
  .divider {
    .nav-divider(@dropdown-divider-bg);
  }

  // Links within the dropdown menu
  > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: @line-height-base;
    color: @dropdown-link-color;
    white-space: nowrap; // prevent links from randomly breaking onto new lines
  }
}

// Hover/Focus state
.dropdown-menu > li > a {
  &:hover,
  &:focus {
    text-decoration: none;
    color: @dropdown-link-hover-color;
    background-color: @dropdown-link-hover-bg;
  }
}

// Active state
.dropdown-menu > .active > a {
  &,
  &:hover,
  &:focus {
    color: @dropdown-link-active-color;
    text-decoration: none;
    outline: 0;
    background-color: @dropdown-link-active-bg;
  }
}

// Disabled state
//
// Gray out text and ensure the hover/focus state remains gray

.dropdown-menu > .disabled > a {
  &,
  &:hover,
  &:focus {
    color: @dropdown-link-disabled-color;
  }

  // Nuke hover/focus effects
  &:hover,
  &:focus {
    text-decoration: none;
    background-color: transparent;
    background-image: none; // Remove CSS gradient
    .reset-filter();
    cursor: @cursor-disabled;
  }
}

// Open state for the dropdown
.open {
  // Show the menu
  > .dropdown-menu {
    display: block;
  }

  // Remove the outline when :focus is triggered
  > a {
    outline: 0;
  }
}

// Menu positioning
//
// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
// menu with the parent.
.dropdown-menu-right {
  left: auto; // Reset the default from `.dropdown-menu`
  right: 0;
}
// With v3, we enabled auto-flipping if you have a dropdown within a right
// aligned nav component. To enable the undoing of that, we provide an override
// to restore the default dropdown menu alignment.
//
// This is only for left-aligning a dropdown menu within a `.navbar-right` or
// `.pull-right` nav component.
.dropdown-menu-left {
  left: 0;
  right: auto;
}

// Dropdown section headers
.dropdown-header {
  display: block;
  padding: 3px 20px;
  font-size: @font-size-small;
  line-height: @line-height-base;
  color: @dropdown-header-color;
  white-space: nowrap; // as with > li > a
}

// Backdrop to catch body clicks on mobile, etc.
.dropdown-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: (@zindex-dropdown - 10);
}

// Right aligned dropdowns
.pull-right > .dropdown-menu {
  right: 0;
  left: auto;
}

// Allow for dropdowns to go bottom up (aka, dropup-menu)
//
// Just add .dropup after the standard .dropdown class and you're set, bro.
// TODO: abstract this so that the navbar fixed styles are not placed here?

.dropup,
.navbar-fixed-bottom .dropdown {
  // Reverse the caret
  .caret {
    border-top: 0;
    border-bottom: @caret-width-base solid;
    content: "";
  }
  // Different positioning for bottom up menu
  .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 2px;
  }
}

// Component alignment
//
// Reiterate per navbar.less and the modified component alignment there.

@media (min-width: @grid-float-breakpoint) {
  .navbar-right {
    .dropdown-menu {
      .dropdown-menu-right();
    }
    // Necessary for overrides of the default right aligned menu.
    // Will remove come v4 in all likelihood.
    .dropdown-menu-left {
      .dropdown-menu-left();
    }
  }
}

error: pathspec 'static/vendors/bootstrap/less/dropdowns.less' did not match any file(s) known to git


Make loading spinner show next to buttons in IE

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/visallo/visallo.git/'


Moves inline styles for item caption (product title) to less files

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/hevnly/asset-bazaar.git/'


Create button.import.less

Create button.import.less

[class^="btn-"],
[class*=" btn-"] {
  // Sizing
  .font-s2;
  line-height: 20px !important; //override line-height always so we can use em's to size
  padding: 1em 1.25em; // 48px tall

  // Style
  .title-caps;
  .transition( all 200ms ease-in );
  color: @color-empty;
  display: inline-block;
  position: relative;
  text-align: center;
  text-decoration: none !important; //prevents global <a> styles from applying
  vertical-align: middle;
  white-space: nowrap;

  &[class*="primary"] {
    background-color: @color-primary;
    color: @color-empty;

    &:hover { background-color: darken(@color-primary, 5%); }
    &:active { box-shadow: rgba(0,0,0,.3) 0 1px 3px 0 inset; }
  }

  &[class*="secondary"] {
    .transition( all 300ms ease-in );
    box-shadow: lighten(#517096, 5%) 0 0 0 1px inset;
    color: @color-empty;

    &:hover{ color: @color-rare; }
    &:active,
    &.active {
      box-shadow: lighten(#517096, 25%) 0 0 0 1px inset;
    }
  }

  &[disabled] { opacity: .5; }
}

.btns-group {
  .display(flex);
  .flex-wrap(wrap);
  width: 100%;

  [class*="btn-"] {
    .ellipsized;
    .flex(1);

    & + [class*="btn-"] { margin-left: -1px; }
  }
}

error: pathspec 'client/stylesheets/globals/button.import.less' did not match any file(s) known to git


css fix

css fix

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/enginejs/skeleton.git/'


add background color classes: bg-black, bg-white...

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/redocecin/appcss.git/'


Update landing page bg image path

Update landing page bg image path


Add styling component for plan result box.

// PlanBox
// =======
// Styling for each plan in the
// plan results list.

.plan-box {
  display: block;
  .box-sizing(border-box);
  padding: 1em;
  padding: 1rem;
  border: 1px solid darken(@white, 10%);
  .border-radius(2px);
  background: @white;
  margin-bottom: 1em;
  margin-bottom: 1rem;
}

error: pathspec 'server/public/less/components/planbox.less' did not match any file(s) known to git


Add style file

Add style file

of cp-strap theme

error: pathspec 'cp-strap/src/stylesheets/style.less' did not match any file(s) known to git


Create grid.less

Create grid.less

/**
 * grid
 */

/* clearfix the containing element ---------------- */

.grid-halves {
    &:after {
        clear: both;
        content: '';
        display: block;
    }
}

/* default blocks ------------------ */

.grid-block {
    box-sizing: border-box;
    float: left;
    width: 100%;
}

/* grid widths ------------------------------ */

.grid-fixed.grid-halves .grid-block { width: 50%; }

@media screen and (min-width:36rem) {

    .grid-halves .grid-block { width: 50%; }

}

/* space between blocks -------------------- */

@halves-margin: 20px;
// margins for medium screens
@halves-margin-medium: 30px;
// margins for large screens
@halves-margin-large: 40px;

/* vertical spacing (below each block) ------------ */

.grid-halves .grid-block { padding-bottom: @halves-margin; }

@media screen and (min-width:36rem) {

    .grid-halves .grid-block { padding-bottom: @halves-margin-medium; }

}

@media screen and (min-width:50rem) {

    .grid-halves .grid-block { padding-bottom: @halves-margin-large; }

}

/* horizontal spacing for two columns ------------ */

.grid-fixed.grid-halves > :nth-child(odd) {
    padding-right: round(@halves-margin * .5, 4);
}

.grid-fixed.grid-halves > :nth-child(even) {
    padding-left: round(@halves-margin * .5, 4);
}

@media screen and (min-width:36rem) {

    .grid-halves > .grid-block:nth-child(odd),
    .grid-halves > .grid-block:nth-child(odd) {
        padding-right: round(@halves-margin-medium * .5, 4);
    }

    .grid-halves > .grid-block:nth-child(even) {
        padding-left: round(@halves-margin-medium * .5, 4);
    }

}

@media screen and (min-width:50rem) {

    .grid-halves > .grid-block:nth-child(odd) {
        padding-right: round(@halves-margin-large * .5, 4);
    }

    .grid-halves > .grid-block:nth-child(even) {
        padding-left: round(@halves-margin-large * .5, 4);
    }

}

/* remove vertical spacing from last rows -------------- */

.grid-block:last-child,
.grid-fixed.grid-halves > :nth-child(odd):nth-last-child(-n+2) {
    padding-bottom: 0;
}

@media screen and (min-width:36rem) {

    .grid-halves > :nth-child(odd):nth-last-child(-n+2) {
        padding-bottom: 0;
    }

}

/* remove spacing ------------------------- */

.grid-flush.grid-halves .grid-block {
    padding-bottom: 0;
}

.grid-flush.grid-halves > :nth-child(odd) {
    padding-right: 0;
}

.grid-flush.grid-halves > :nth-child(even) {
    padding-left: 0;
}

/* customize column widths ------------------ */

.grid-fixed .grid-block.grid-2of3 { width: 66.6667% }
.grid-fixed .grid-block.grid-1of3 { width: 33.3334% }

@media screen and (min-width:36rem) {

    .grid-block.grid-2of3 { width: 66.6667% }
    .grid-block.grid-1of3 { width: 33.3334% }

}

error: pathspec 'less/grid.less' did not match any file(s) known to git


Style checkbox radio in table

Style checkbox radio in table

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/sonatra/sonatra-theme-gluon.git/'


add playfair less file

add playfair less file

/*	Font Playfair & Playfair SC

https://www.google.com/fonts/specimen/Playfair+Display
https://www.google.com/fonts/specimen/Playfair+Display+SC
----------------------------------------------------- */
@import "../Variables.less";

// Font Import
@import url(http://fonts.googleapis.com/css?family=Playfair+Display:400,700|Playfair+Display+SC);

@font-main:						'Playfair Display', serif;
@font-secondary:				'Playfair Display SC', serif;

.vco-storymap {
	font-family: @font-main;
	font-weight:400;
	font-size: 17px;
	line-height: 25px;

	h1, h2, h3, h4, h5, h6 {
		font-family: @font-secondary;
		text-transform: none;
		font-weight:400;
		font-size:46px;
		line-height:46px;
	}

	h2.vco-headline-title {
		font-size: 58px;
		line-height: 62px;
	}

	p {
		font-family: @font-main;
		font-size: 17px;
		line-height: 25px;
	}

	ul {
		font-family: @font-main;
	}
	.vco-media .vco-media-wikipedia h4 a {
		font-family: @font-main;
		font-weight:400;
		font-size:24px;
		line-height:24px;
	}
	.vco-caption, .vco-credit {
		font-family: @font-main;
	}

	.vcard {
		font-family: @font-main;
		font-weight:400;
	}

	.vco-slidenav-next, .vco-slidenav-previous {
		font-family: 'Helvetica Neue', Helvetica, Arial, "MS Trebuchet", sans-serif;
		font-weight:400;
		text-transform: none;
		.vco-slidenav-title {
			line-height:1.3em !important;
		}
	}

	.vco-menubar {
		font-family: 'Helvetica Neue', Helvetica, Arial, "MS Trebuchet", sans-serif;
		.vco-menubar-button {

		}
	}

	blockquote, blockquote p {
		font-family: @font-main;
		font-style: italic;
	}

}

input[type="text"].editor-headline {
    font-family: @font-secondary;
    text-transform: none;
    font-weight:400;
    font-size:46px;
    line-height:46px;
}

error: pathspec 'source/less/fonts/font.playfair.less' did not match any file(s) known to git


add less

add less

// reset
html, body, div, ul, ol, li, p {
  display: block;
  margin: 0;
  padding: 0;
}
body {
  background-color: #ddd;
}
li {
  list-style: none;
}

// project-list
.project-list {
  .item {
    float: left;
    width: 300px;
    padding: 10px;
    margin: 10px;
    background-color: #fff;
    input {
      width: 100%;
      display: -webkit-box;
    }
  }
}

error: pathspec 'tapid.less' did not match any file(s) known to git


added missing import in shop.less

added missing import in shop.less

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/wooga/Pocket-Island.git/'


Change css

Change css

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/xaun/impac-angular.git/'


better display of dropdown questions

better display of dropdown questions

fixes #233

/*
  © 2013 Open Data Institute

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

*= require_self
*= require surveyor_all
*/

/* import bootstrap this way so that we can alter variables just for this app */
@import "twitter/bootstrap";

// override bootstrap variables here, see options at:
//   https://github.com/twitter/bootstrap/blob/master/less/variables.less
@iconSpritePath:          "glyphicons-halflings.png";
@iconWhiteSpritePath:     "glyphicons-halflings-white.png";

// use our own grey for the input field
@gray: @odiGrey;
@placeholderText: @odiGreyLight;
@inputBorderRadius: 2px;

// todo - use bigger size instead
@gridColumns:             12;
@gridColumnWidth:         70px;
@gridGutterWidth:         30px;
@gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));

@odiBlue: #00b7ff;
/* odiBlueLight - primarily for background of inputs in modals */
@odiBlueLight: lighten(@odiBlue, 15%);
@odiBlueLighter: lighten(@odiBlue, 36%);
@odiBlueDark: darken(@odiBlue, 5%);
@odiBlueDarker: darken(@odiBlue, 20%);

@odiRed: #ff6700;
@odiRedDark: darken(@odiRed, 3%);
@odiRedLight: lighten(@odiRed, 15%);

@odiCrimson: #d30102;
@odiCrimsonDark: darken(@odiCrimson, 6%);
@odiCrimsonLight: lighten(@odiCrimson, 53%);

@odiOrange: #f99C06;
@odiOrangeDark: darken(@odiOrange, 6%);

@odiGreen: #0DBC37;
@odiGreenDark: darken(@odiGreen, 6%);

@odiPomegranate: #dc4810;

@odiGrey: #aaa;
@odiGreyDark: darken(@odiGrey, 18%);
@odiGreyDarker: darken(@odiGrey, 40%);
@odiGreyLight: lighten(@odiGrey, 25%);
@odiGreyLighter: lighten(@odiGrey, 40%);

@btnPrimaryBackground: @odiRed;
@btnPrimaryBackgroundHighlight: @odiRed;
@btnInfoBackground:  @odiBlue;
@btnInfoBackgroundHighlight: @odiBlue;

@odiGrey: #8e8c8c;

@basic: #0dbd37;
@pilot: #ef3aab;
@standard: #2254f3;
@exemplar: #f9bc26;

// @headingsFontFamily:    'Open Sans',sans-serif;
// @headingsFontWeight:    400;

// todo - use bigger size instead
@gridColumns:             12;
@gridColumnWidth:         70px;
@gridGutterWidth:         30px;
@gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));

/*
//
// ***** Modal - Create certificate *****
//
*/
.modal {

  background: @odiBlue;
  width: 788px;
  margin-left: -394px;
  .border-radius(0);

  h1 {

    margin-top: -7px;
    margin-bottom: 40px;
    font-size: 30px;
    color: #2f2f2f;

  }

  p { color: #fff; font-size: 20px; }

  .btn-large { width: 100%; .box-sizing(border-box); margin: 12px 0; }

  form { margin-bottom: 0; }

}

.modal-header {

  border-bottom: 0;
  margin: 30px;
  padding: 0;

  h3 {

    color: #fff;
    font-size: 36px;
    font-weight: normal;

  }

}

.modal-body {

  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 40px;

}

.modal-body {

  .log-in {

    background: url(/assets/modal-divider.gif) repeat-y top right;

    label {

      color: #fff;
      font-size: 20px;

    }

    .form-field {

      margin-bottom: 10px;

      input[type=email], input[type=password] {

        margin-top: 5px;
        background: @odiBlueLight;
        border: 1px solid #fff;
        .border-radius(0);
        width: 93%;
        height: 60px;
        padding: 0 10px;
        font-size: 20px;
        color: white;

      }

      /* Making input text white loses the 'invalid' colour */
      /* Add it back */
      input[type=email]:invalid { color: #cc0000; }
      input[type=email]:valid { color: #fff; }

    }

    .form-field-inline {

      float: left;
      margin: -4px 0 0 0;

      input[type=checkbox] { margin: -3px 0 0 0; }

      label { font-size: 14px; color: #2f2f2f; display: inline; }
      label:hover { text-decoration: underline; }

      .forgot-password {

        display: block;
        font-size: 14px;
        color: #2f2f2f;
        margin-left: 17px;

      }

    }

    /* Sign in button used on many pages as orange primary button */
    /* Needs to be overridden to be blue info button in modals */
    .btn-primary {

      background: @odiBlueDark;
      height: auto;
      padding: 10px 20px;
      float: right;
      margin: -5px 22px 5px 0;
      font-size: 18px;
      font-weight: bold;

    }

    .btn-primary:active, .btn-primary:hover, .btn-primary:focus {

      background: @odiBlueDarker;

    }

    .sign_in_user_form_errors {
      width: 93%;
    }

  }

}

/************************************************
    Bootstrap --> Rails
************************************************/

// display error messages in alert block
#error_explanation {
  .alert();
  .alert-error();
  .alert-block();
}

.field_with_errors {
  .control-group.error();
}

/************************************************
    ODI Styling
************************************************/
// source https://github.com/theodi/less-rails-bootstrap/blob/master/vendor/frameworks/twitter/bootstrap/odi.less

// Global styles //

body {
  background-color: #fff;
  font-size: 18px;
}

// Typography //

h1 {
  font-weight: normal;
}

p {
  font-size: 18px;
  line-height: 24px;
}

p.lead {
  font-size: 17px;
  color: @odiGrey;
  margin-bottom: 30px;
}

dl {
  margin: 0 0 45px;
}

dt, dd {
  margin: 15px 0;
}

dd {
  margin-bottom: 30px;
}

// make grey input text read easier
input, textarea{
  -webkit-font-smoothing: antialiased;
  .box-shadow(none);
}

.btn-small {
  &, &:active, &:hover, &:focus {
    text-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
}

.btn-info {
  background: @odiBlue;

  &.btn-unstyled {
    &, &:active, &:hover, &:focus {
      font-size: 15px;
      color: @odiBlue;
      padding: 0;
      background: none;
    }
  }

  &:active, &:hover, &:focus {
    background: @odiBlueDark;
  }
}

.btn-info-modal {
  background: @odiBlueDark;
}

.btn-info-modal:active, .btn-info-modal:hover, .btn-info-modal:focus {
  background: @odiBlueDarker;
}

.btn-primary {
  background: @odiRed;
}

.btn-primary:active, .btn-primary:hover, .btn-primary:focus {
  background: @odiRedDark;
}

.btn-large {
  font-size: 18px;
  padding: 10px 20px;
}

.btn-small, .btn-small:active, .btn-small:hover {
  padding: 3px 25px;
  font-size: 13px;
  color: white;
  border: none;
  text-shadow: none;
}

// snap the header to the top when it's affixed
header.affix {
    top: 0px;
    width:100%;
    z-index:10;
}

#padd {
  .container {
    margin-top: 50px;

    h1 {
      font-size: 70px;
      line-height: 80px
    }

    h2 {
      font-size: 30px;
      line-height: 40px;
      margin-bottom: 40px;
    }
  }

  .btn {
    display: block;
    margin-bottom: 20px;
  }

  button.btn {
    width: 100%;
  }
}

.odi-bleed {
  background:#fff url("/assets/splat.png") no-repeat top left fixed;
  background-position: 0 -450px;
}

.home {
  text-align: center;

  /* Remove bottom padding so background image can hit bottom */
  padding-bottom: 0;

  h1 {
    color: @odiBlueDarker;
    font-size: 36px;
    margin-bottom: 30px;
    text-shadow: -1px -1px 0px rgba(255,255,255, 0.25);
  }

  .steps {

    /* Background stripes (image has 30px of space on left to align) */
    background: url(/assets/background-home-header.gif) repeat-y center;
    margin-bottom: 20px;

    .span4 {

      /* Make sure there's a gap between bottom of steps text and top of ODI logo/buttons */
      padding-bottom: 20px;

    }

  }

  .span4 {

    // padd in the content
    h2, p{
      padding: 0 20px;
    }
    p{
      padding-bottom:20px;
    }

    h2 {
      font-size: 70px;
      color: @odiBlueDarker;
      font-weight: bold;
      text-shadow: -1px -1px 0px rgba(255,255,255, 0.25);

      small {
        display: block;
        color: #fff;
        font-size: 30px;
        padding: 30px 0 10px;
        text-shadow: none;
      }
    }

    form {
      margin: 0;

      .btn {
        position: relative;
        top: 40px;
      }
    }
  }
}

.home-header-buttons {

  .row {

    height: 88px;

  }

  .span4 {
    text-align: center;

    .logo {

      /* Small ODI logo, hide text */
      background: url(/assets/ODI_kitemark-75x75.png) no-repeat center;
      text-indent: 100%;
      white-space: nowrap;
      overflow: hidden;
      margin: -34px auto 0 auto;
      width: 76px; height: 68px;

    }

    .btn-primary {
      margin-top: -20px;
    }
  }
}

.homepage-about-content {

  h2 {
    font-weight: normal;
  }

  h2.about-certificate { margin-top: -7px; }

  h2.about-odi {
    border-top: 1px solid #e1e1e1;
    padding-top: 20px;
    margin-top: 25px;
  }
}

h3 {
  font-size: 19px;
}

h4 {
  font-size: 16px;
  font-weight: normal;
  color: @odiGrey;
  margin-bottom: 15px;
}

hr {
  margin: 12px 0;
}

hr.heavy {
  border: 0;
  height: 5px;
  background: url(divider.png);
}

// Layout //

body {
  min-width: 1210px;
}

.container {
  padding: 0 20px;
}

.navbar-inner {
  padding: 0;
  height: 60px;
}

#topbar {
  background: #1b1b1b;

  ul {
    border-right: 1px solid #707070;

    li {
      margin: 0;
      padding:0;
      height: 60px;
      border-left: 1px solid #707070;

      a {
        color: #fff;
        padding: 20px;
      }

      a:hover, a.active {
        background-color: @odiRed;
      }
    }
  }

  .label {
    top: -15px;
    position: relative;
    padding-top: 10px;
    background-color: @odiBlue;
  }
}

#mainnav {
  margin-bottom: 0;
  position: relative;
  background-color: rgba(255,255,255,0.65);

  .navbar-inner {
    background: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-bottom: none;
    background-image: none;

    li {
      position: relative;

      a, button {
        background-color: transparent;
        border: none;
        color: #000;
        padding: 20px;
        font-size: 18px;
        text-shadow: 0 1px 0 #ffffff;
      }
      a:hover, button:hover {
        color: @odiBlue;
      }

      form {
        margin: 0;
      }
    }

    li.active a, li.active button {
      color: @odiBlue;
    }

    .arrow-down {
      width: 0;
      height: 0;
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-top: 8px solid #fff;
      margin: 0 0 0 -8px;
      position: absolute;
      left: 50%;
    }
  }
}

.navbar .nav > .active > a {
  &, &:hover, &:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
}

nav .dropdown-menu-button {
  z-index: 10;
  position: relative;
}

#login, #register {
  display: none;
  position: absolute;
  right: 0;
  width: 450px;
  padding: 30px 25px;
  background: @odiRed;
  color: white;

  label {
    font-size: 19px;
    margin-bottom: 10px;
  }

  input[type="text"], input[type="email"], input[type="password"] {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: 1px solid white;
    background: @odiRedLight;
    height: 45px;
    width: 425px;
    margin-bottom: 20px;
  }

  .form-field-inline {
    float: left;

    label {
      font-size: 15px;
      display: inline;
    }
  }

  .btn-primary {
    float: right;
    background: @odiPomegranate;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow:none;
    box-shadow: none;
    padding: 4px 15px;
  }

  &.active {
    display: block;
  }
}

header {
  background-color: @odiBlue;
  color: #fff;
  padding: 10px 0;

  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;

  .container {
    min-height: 60px;
  }

  h1,h2,h3,h4,h5,h6{
    font-weight:normal;
  }
}

.container.main {
  margin-top: 50px;
}

#footer {
  background-color: #000;
  font-size: 0.88em;
  color: #adaeaf;
  padding-top: 40px;
  padding-bottom: 52px;

  .footer-content {

    margin-left: 0;

    h1 {

      /* ODI logo, hide text */
      background: url(/assets/logo-footer.png) no-repeat top left;
      text-indent: 100%;
      white-space: nowrap;
      overflow: hidden;
      margin: 0 0 30px 0;
      width: 204px; height: 49px;

      a { display: block; }

    }

  }
  .footer-nav { margin-left: 30px; }

  a {
    color: #adaeaf;
    text-decoration: none;
  }

  a:hover { color: #fff; }

  ul {
    list-style: none outside none;
    margin: -4px 0 0 0;

    li {
      display: inline;
      margin-left: 20px;
    }
  }

  p {
    margin: 0px;
    font-size: 16px;
  }

  p.license { margin-top: 30px; }

}

section {
  //background-color: white;
  // margin: 15px 0;
  // padding: 10px 0;
}

.whiteout {
  background-color:rgba(255,255,255,0.65);

  /* Make sure there's a gap between bottom of content and top of footer */
  padding-bottom: 55px;

}

.hero-unit {
  background: none;
  padding: 0;
  margin: 0;

  .centered {
    margin-left: auto;
    margin-right: auto;
  }

  h1, h2, p, small, span {
    text-align: center;
  }

  h1 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
  }

  p {
    font-size: 23px;
  }
}

// Alert messages //

.flash {
  margin-top: 20px;
}

.alert {
  color: white;
  padding: 14px 12px;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
  vertical-align: middle;

  .icon-large {
    margin-bottom: 1px;
    margin-right: 6px;
    vertical-align: middle;
  }

  .close, .close:hover, .close:active {
    opacity: 1;
    width: 14px;
    height: 14px;
    position: static;
    background-image: url(/assets/glyphicons-halflings-white.png);
    background-position: -312px 0;
  }
}

.alert-alert {
  background: @odiCrimson;
  border: 1px solid @odiCrimsonDark;
}

.alert-warning {
  background: @odiOrange;
  border: 1px solid @odiOrangeDark;
}

.alert-notice {
  background: @odiGreen;
  border: 1px solid @odiGreenDark;
}

#topbar .alert-box {
  h3 {
    display: inline;
    line-height: 20px;
    vertical-align: middle;
  }

  ul {
    border: none;

    li {
      height: auto;
      font-size: 16px;
      border: none;
    }
  }
}

// Icons //

.icon-large {

  width: 28px;
  height: 28px;
  background-image: url(/assets/glyphicons.png);

  &.icon-white {
    background-image: url(/assets/glyphicons_white.png);
  }

  // Spacing between icons in file
  @spacing: -48px;

  // Mixin to help select correct icon
  .icon-position(@top, @left) {
    background-position: @spacing * @left (@spacing * @top) + 1;
  }

  &.icon-ok-sign { .icon-position(19, 3); }
  &.icon-info-sign { .icon-position(19, 5); }
  &.icon-exclamation-sign { .icon-position(19, 6); }
  &.icon-ban-circle { .icon-position(19, 9); }
}

// Tables //

table {
  width: 100%;
  font-size: 15px;
}

th {
  font-weight: normal;
}

// Forms //

.main-default {
  margin-top: 30px;

  .form-field {
    .clearfix;
    margin-bottom: 35px;

    &.form-field-inline {
      input {
        margin: 0 10px;
        height: 30px;
      }
      label {
        display: inline;
      }
    }
  }

  input {
    height: 60px;
    font-size: 20px;
    padding: 0 10px;
    margin: 15px 0;
  }

  input[type='submit'] {
    margin: 15px 0 30px;
  }

  label {
    font-size: 22px;
  }

  i {
    font-size: 15px;
    font-style: normal;
    color: @odiGrey;
    display: block;
  }
}

// User auth //

.user-links {
  .clearfix;
  margin-bottom: 15px;

  .btn {
    float: left;
    margin-right: 4px;
  }
}

// My certificates view //

.first-response-set {
  background: @odiBlueLighter;

  td.level {
    text-align: center;
    padding: 13px 30px 5px 15px;
    width: 48px;
  }

  td.last-updated {
    time {
      color: @odiGreyDarker;
    }
  }

  button.copy-certificate {
    padding: 8px 12px;
  }
}

.previous-response-set {

  td {
    height: 30px;
  }

  button.copy-certificate {
    text-align: left;
    position: relative;
    top: 7px;
  }
}

button.copy-certificate {
  font-size: 15px;
  line-height: 15px;
  font-weight: bold;

  span {
    display: block;
    font-size: 12px;
    font-weight: normal;
  }
}

button.copy-certificate:hover {
  font-size: 15px;
}

th.previous-title {
  font-size: 16px;
  text-align: left;
  color: @odiGreyDark;
  padding: 15px 0;
}

td.level {
  .certificate-badge {
    margin: 0 auto;
    width: 50px;
    height: 40px;
  }

  font-size: 12px;
  font-weight: bold;
  color: @odiGreyDark;
}

td.last-updated {
  width: 180px;;
  font-size: 12px;
  line-height: 17px;
  color: @odiGreyDark;

  time {
    font-size: 15px;
    display: block;
  }
}

td.status {
  width: 300px;
  font-size: 15px;

  &.published {
    color: @odiCrimson;
  }

  &.archived {
    color: @odiGreyDark;
  }

  &.editing {
    color: @odiGreyDarker;
    font-style: italic;
  }
}

td.action {
  width: 150px;

  form {
    margin: 0;
  }
}

// Questionnaire (survey) view //

#surveyor{

  padding-top:20px;

  header {
    margin:5px 0;
    h3{
      font-size: 27px;
    }
    h3, h4{
      color:@white;
      margin:0;
    }

    &.inactive{
      background-color:@odiGrey;
    }
    cursor: pointer;

    .transition(background-color 0.25s);

    // override
    .container{
      min-height: auto;
    }
  }

  .subsection-label{
    border-top:1px solid @odiGreyLighter;
    color:@odiBlue;
    font-weight: normal;
    padding:20px 0;
  }

  ol,ul{
    margin:auto;
  }

  // brought in from main styles
  label {
    font-size: 22px;
  }

  .choice input{
    margin-right:10px;
  }
  .choice label{
    font-size:16px;
    color:@gray;
    -webkit-font-smoothing: antialiased;
  }

  input.string{
    height: 60px;
    font-size: 23px;
    padding: 0 10px;
    margin: 15px 0;
  }

  // custom
  input.string{
    width:100%;
  }

  // this is our label replacement (for the question of multiple answers)
  .group_label{
    font-size: 22px
  }

  label small
  .group_label small{
    color:@odiGrey;
    font-size: 65%;
  }

  // dropdowns
  fieldset.q_dropdown{
    legend{
      display: none;
    }
    > ol > label {
      display: block;
    }
  }

  // repeated sections
  fieldset.g_repeater{
    legend {
      display: none;
    }
    ol fieldset.row {
      display: block;
    }
  }

  fieldset.requirement_basic li {
    background: @odiRed;
    color: white;
    padding: 20px 20px 10px;
  }

  fieldset.requirement_pilot,
  fieldset.requirement_standard,
  fieldset.requirement_exemplar {
    display: none;
    position: relative;

    img{
      position: absolute;
      left: -70px;
      top: 10px;
    }
  }

  fieldset.question-row{
    position: relative;
    padding-top: 10px;
    aside{
      display:none;
      position:absolute;
      right:0;
      background-color:@odiBlueLighter;
      padding:20px;
      width:330px;

      &.answer-meta {
        top: 10px;
      }
    }
  }

  .question-meta{

  }

  // focussed elements
  fieldset.question-row.active{
    // hard to do the odd outline

    // outline: 1px solid @odiBlueLight;
    background-color: @odiBlueLighter;
  }

  &.highlight-mandatory{
    .mandatory{
      background-color:@odiCrimsonLight;
      &.has-response{
        background-color:@white;
      }
    }
  }

}

#status_panel{
  .transition(right 0.5s);
  background-color:@odiGreyLighter;
  position: absolute;
  right:0;
  width:280px;
  padding:20px;
  height:100%;
  z-index:5;

  right:-320px;

  // also .hover for oldie fallback
  &:hover, &.hover{
    right:0px;
  };

  &.affix, &.affix-bottom{
    position: fixed;
    top:130px;
  }

  #panel_handle{
    background-image:url(/assets/panel-handle.png);
    width:78px;
    height:72px;
    position: absolute;
    left:-78px;
  }

  h3 {
    margin-bottom: 0;
    display: inline;
    width: 50%;
  }

  img {
    display: inline;
    float: right;
  }

  .progress {
    margin-bottom: 10px;
    clear: both;
  }
}

// Certificate view //

.certificate-data {
  ul {
    .clearfix;
    margin-left: 0;
  }

  li {
    list-style-type: none;
    margin: 5px 0;
    width: 50%;
    float: left;

    p {
      font-size: 19px;
      margin-right: 20px;
    }
  }
}

.certificate.hero-unit {
  margin: -50px auto 30px;
  padding: 0 15px;

  .btn-info {
    font-size: 14px;
    line-height: 15px;
    padding: 8px 12px;
    width: 80px;
    margin-top: 80px;
  }
}

.certificate-summary {
  padding: 0 90px;
}

.certificate-badge {
  width: 160px;
  height: 140px;
  background: #bbb;
  margin-bottom: 10px;
}

.certificate-level {
  font-weight: bold;
  font-size: 24px;
  color: #888;
  margin-bottom: 30px;

  small {
    display: block;
    font-weight: normal;
    font-size: 17px;
    line-height: 16px;
  }
}

strong.certificate-level {
  font-weight: normal;
}

.basic-level {
  .certificate-badge {
    background: @basic;
  }
  .certificate-level {
    color: @basic;
  }
}

.pilot-level {
  .certificate-badge {
    background: @pilot;
  }
  .certificate-level {
    color: @pilot;
  }
}

.standard-level {
  .certificate-badge {
    background: @standard;
  }
  .certificate-level {
    color: @standard;
  }
}

.exemplar-level {
  .certificate-badge {
    background: @exemplar;
  }
  .certificate-level {
    color: @exemplar;
  }
}

.footer {
    border-top: 1px solid #E5E5E5;
    margin-top: 70px;
    padding: 30px 0;
    text-align: center;
}

// Embedded certificate //

#embedded-certificate {
  margin: 30px;
  .certificate.hero-unit {
    width: auto;
    margin-top: 30px;
  }
}

.embed-code {
  textarea {
    box-sizing: border-box;
    width: 100%;
  }
}

/*
//
// ***** About Page *****
//
*/
.container.about {

  .span8 {

    margin-left: 0;

    h1 {

      color: #8e8c8c;
      font-size: 30px;
      margin-top: 15px;

    }

    h2 {

      color: #8e8c8c;
      font-size: 22px;
      font-weight: normal;
      line-height: 26px;
      margin: 15px 0 20px 0;

    }

    ul { margin-top: 10px; }

    li { margin-bottom: 5px; line-height: 24px; }

    ul.kitemarks {

      margin: 20px 0 10px 0;

      li {

        list-style: none;
        padding-left: 141px;
        padding-top: 16px;
        min-height: 117px;
        margin-bottom: 10px;

      }

      li.kitemark1 { background: url(/assets/badges/no_level_badge.png) no-repeat top left; }
      li.kitemark2 { background: url(/assets/badges/pilot_level_badge.png) no-repeat top left; }
      li.kitemark3 { background: url(/assets/badges/standard_level_badge.png) no-repeat top left; }
      li.kitemark4 { background: url(/assets/badges/exemplar_level_badge.png) no-repeat top left; }

    }

  }

}

/*
//
// ***** Terms Page, Contact (Get in touch) Page *****
//
*/
.container.terms, .container.contact {

  .span8 {

    margin-left: 0;

    h2 {

      color: #8e8c8c;
      font-size: 30px;
      margin-top: 15px;
      font-weight: normal;

    }

    h4 {

      color: #000;
      font-size: 18px;

    }

    li { margin-bottom: 5px; line-height: 24px; }

  }

}

/*
  © 2013 Open Data Institute

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

*= require_self
*= require surveyor_all
*/

/* import bootstrap this way so that we can alter variables just for this app */
@import "twitter/bootstrap";

// override bootstrap variables here, see options at:
//   https://github.com/twitter/bootstrap/blob/master/less/variables.less
@iconSpritePath:          "glyphicons-halflings.png";
@iconWhiteSpritePath:     "glyphicons-halflings-white.png";

// use our own grey for the input field
@gray: @odiGrey;
@placeholderText: @odiGreyLight;
@inputBorderRadius: 2px;

// todo - use bigger size instead
@gridColumns:             12;
@gridColumnWidth:         70px;
@gridGutterWidth:         30px;
@gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));

@odiBlue: #00b7ff;
/* odiBlueLight - primarily for background of inputs in modals */
@odiBlueLight: lighten(@odiBlue, 15%);
@odiBlueLighter: lighten(@odiBlue, 36%);
@odiBlueDark: darken(@odiBlue, 5%);
@odiBlueDarker: darken(@odiBlue, 20%);

@odiRed: #ff6700;
@odiRedDark: darken(@odiRed, 3%);
@odiRedLight: lighten(@odiRed, 15%);

@odiCrimson: #d30102;
@odiCrimsonDark: darken(@odiCrimson, 6%);
@odiCrimsonLight: lighten(@odiCrimson, 53%);

@odiOrange: #f99C06;
@odiOrangeDark: darken(@odiOrange, 6%);

@odiGreen: #0DBC37;
@odiGreenDark: darken(@odiGreen, 6%);

@odiPomegranate: #dc4810;

@odiGrey: #aaa;
@odiGreyDark: darken(@odiGrey, 18%);
@odiGreyDarker: darken(@odiGrey, 40%);
@odiGreyLight: lighten(@odiGrey, 25%);
@odiGreyLighter: lighten(@odiGrey, 40%);

@btnPrimaryBackground: @odiRed;
@btnPrimaryBackgroundHighlight: @odiRed;
@btnInfoBackground:  @odiBlue;
@btnInfoBackgroundHighlight: @odiBlue;

@odiGrey: #8e8c8c;

@basic: #0dbd37;
@pilot: #ef3aab;
@standard: #2254f3;
@exemplar: #f9bc26;

// @headingsFontFamily:    'Open Sans',sans-serif;
// @headingsFontWeight:    400;

// todo - use bigger size instead
@gridColumns:             12;
@gridColumnWidth:         70px;
@gridGutterWidth:         30px;
@gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));

/*
//
// ***** Modal - Create certificate *****
//
*/
.modal {

  background: @odiBlue;
  width: 788px;
  margin-left: -394px;
  .border-radius(0);

  h1 {

    margin-top: -7px;
    margin-bottom: 40px;
    font-size: 30px;
    color: #2f2f2f;

  }

  p { color: #fff; font-size: 20px; }

  .btn-large { width: 100%; .box-sizing(border-box); margin: 12px 0; }

  form { margin-bottom: 0; }

}

.modal-header {

  border-bottom: 0;
  margin: 30px;
  padding: 0;

  h3 {

    color: #fff;
    font-size: 36px;
    font-weight: normal;

  }

}

.modal-body {

  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 40px;

}

.modal-body {

  .log-in {

    background: url(/assets/modal-divider.gif) repeat-y top right;

    label {

      color: #fff;
      font-size: 20px;

    }

    .form-field {

      margin-bottom: 10px;

      input[type=email], input[type=password] {

        margin-top: 5px;
        background: @odiBlueLight;
        border: 1px solid #fff;
        .border-radius(0);
        width: 93%;
        height: 60px;
        padding: 0 10px;
        font-size: 20px;
        color: white;

      }

      /* Making input text white loses the 'invalid' colour */
      /* Add it back */
      input[type=email]:invalid { color: #cc0000; }
      input[type=email]:valid { color: #fff; }

    }

    .form-field-inline {

      float: left;
      margin: -4px 0 0 0;

      input[type=checkbox] { margin: -3px 0 0 0; }

      label { font-size: 14px; color: #2f2f2f; display: inline; }
      label:hover { text-decoration: underline; }

      .forgot-password {

        display: block;
        font-size: 14px;
        color: #2f2f2f;
        margin-left: 17px;

      }

    }

    /* Sign in button used on many pages as orange primary button */
    /* Needs to be overridden to be blue info button in modals */
    .btn-primary {

      background: @odiBlueDark;
      height: auto;
      padding: 10px 20px;
      float: right;
      margin: -5px 22px 5px 0;
      font-size: 18px;
      font-weight: bold;

    }

    .btn-primary:active, .btn-primary:hover, .btn-primary:focus {

      background: @odiBlueDarker;

    }

    .sign_in_user_form_errors {
      width: 93%;
    }

  }

}

/************************************************
    Bootstrap --> Rails
************************************************/

// display error messages in alert block
#error_explanation {
  .alert();
  .alert-error();
  .alert-block();
}

.field_with_errors {
  .control-group.error();
}

/************************************************
    ODI Styling
************************************************/
// source https://github.com/theodi/less-rails-bootstrap/blob/master/vendor/frameworks/twitter/bootstrap/odi.less

// Global styles //

body {
  background-color: #fff;
  font-size: 18px;
}

// Typography //

h1 {
  font-weight: normal;
}

p {
  font-size: 18px;
  line-height: 24px;
}

p.lead {
  font-size: 17px;
  color: @odiGrey;
  margin-bottom: 30px;
}

dl {
  margin: 0 0 45px;
}

dt, dd {
  margin: 15px 0;
}

dd {
  margin-bottom: 30px;
}

// make grey input text read easier
input, textarea{
  -webkit-font-smoothing: antialiased;
  .box-shadow(none);
}

.btn-small {
  &, &:active, &:hover, &:focus {
    text-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
}

.btn-info {
  background: @odiBlue;

  &.btn-unstyled {
    &, &:active, &:hover, &:focus {
      font-size: 15px;
      color: @odiBlue;
      padding: 0;
      background: none;
    }
  }

  &:active, &:hover, &:focus {
    background: @odiBlueDark;
  }
}

.btn-info-modal {
  background: @odiBlueDark;
}

.btn-info-modal:active, .btn-info-modal:hover, .btn-info-modal:focus {
  background: @odiBlueDarker;
}

.btn-primary {
  background: @odiRed;
}

.btn-primary:active, .btn-primary:hover, .btn-primary:focus {
  background: @odiRedDark;
}

.btn-large {
  font-size: 18px;
  padding: 10px 20px;
}

.btn-small, .btn-small:active, .btn-small:hover {
  padding: 3px 25px;
  font-size: 13px;
  color: white;
  border: none;
  text-shadow: none;
}

// snap the header to the top when it's affixed
header.affix {
    top: 0px;
    width:100%;
    z-index:10;
}

#padd {
  .container {
    margin-top: 50px;

    h1 {
      font-size: 70px;
      line-height: 80px
    }

    h2 {
      font-size: 30px;
      line-height: 40px;
      margin-bottom: 40px;
    }
  }

  .btn {
    display: block;
    margin-bottom: 20px;
  }

  button.btn {
    width: 100%;
  }
}

.odi-bleed {
  background:#fff url("/assets/splat.png") no-repeat top left fixed;
  background-position: 0 -450px;
}

.home {
  text-align: center;

  /* Remove bottom padding so background image can hit bottom */
  padding-bottom: 0;

  h1 {
    color: @odiBlueDarker;
    font-size: 36px;
    margin-bottom: 30px;
    text-shadow: -1px -1px 0px rgba(255,255,255, 0.25);
  }

  .steps {

    /* Background stripes (image has 30px of space on left to align) */
    background: url(/assets/background-home-header.gif) repeat-y center;
    margin-bottom: 20px;

    .span4 {

      /* Make sure there's a gap between bottom of steps text and top of ODI logo/buttons */
      padding-bottom: 20px;

    }

  }

  .span4 {

    // padd in the content
    h2, p{
      padding: 0 20px;
    }
    p{
      padding-bottom:20px;
    }

    h2 {
      font-size: 70px;
      color: @odiBlueDarker;
      font-weight: bold;
      text-shadow: -1px -1px 0px rgba(255,255,255, 0.25);

      small {
        display: block;
        color: #fff;
        font-size: 30px;
        padding: 30px 0 10px;
        text-shadow: none;
      }
    }

    form {
      margin: 0;

      .btn {
        position: relative;
        top: 40px;
      }
    }
  }
}

.home-header-buttons {

  .row {

    height: 88px;

  }

  .span4 {
    text-align: center;

    .logo {

      /* Small ODI logo, hide text */
      background: url(/assets/ODI_kitemark-75x75.png) no-repeat center;
      text-indent: 100%;
      white-space: nowrap;
      overflow: hidden;
      margin: -34px auto 0 auto;
      width: 76px; height: 68px;

    }

    .btn-primary {
      margin-top: -20px;
    }
  }
}

.homepage-about-content {

  h2 {
    font-weight: normal;
  }

  h2.about-certificate { margin-top: -7px; }

  h2.about-odi {
    border-top: 1px solid #e1e1e1;
    padding-top: 20px;
    margin-top: 25px;
  }
}

h3 {
  font-size: 19px;
}

h4 {
  font-size: 16px;
  font-weight: normal;
  color: @odiGrey;
  margin-bottom: 15px;
}

hr {
  margin: 12px 0;
}

hr.heavy {
  border: 0;
  height: 5px;
  background: url(divider.png);
}

// Layout //

body {
  min-width: 1210px;
}

.container {
  padding: 0 20px;
}

.navbar-inner {
  padding: 0;
  height: 60px;
}

#topbar {
  background: #1b1b1b;

  ul {
    border-right: 1px solid #707070;

    li {
      margin: 0;
      padding:0;
      height: 60px;
      border-left: 1px solid #707070;

      a {
        color: #fff;
        padding: 20px;
      }

      a:hover, a.active {
        background-color: @odiRed;
      }
    }
  }

  .label {
    top: -15px;
    position: relative;
    padding-top: 10px;
    background-color: @odiBlue;
  }
}

#mainnav {
  margin-bottom: 0;
  position: relative;
  background-color: rgba(255,255,255,0.65);

  .navbar-inner {
    background: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-bottom: none;
    background-image: none;

    li {
      position: relative;

      a, button {
        background-color: transparent;
        border: none;
        color: #000;
        padding: 20px;
        font-size: 18px;
        text-shadow: 0 1px 0 #ffffff;
      }
      a:hover, button:hover {
        color: @odiBlue;
      }

      form {
        margin: 0;
      }
    }

    li.active a, li.active button {
      color: @odiBlue;
    }

    .arrow-down {
      width: 0;
      height: 0;
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-top: 8px solid #fff;
      margin: 0 0 0 -8px;
      position: absolute;
      left: 50%;
    }
  }
}

.navbar .nav > .active > a {
  &, &:hover, &:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
}

nav .dropdown-menu-button {
  z-index: 10;
  position: relative;
}

#login, #register {
  display: none;
  position: absolute;
  right: 0;
  width: 450px;
  padding: 30px 25px;
  background: @odiRed;
  color: white;

  label {
    font-size: 19px;
    margin-bottom: 10px;
  }

  input[type="text"], input[type="email"], input[type="password"] {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: 1px solid white;
    background: @odiRedLight;
    height: 45px;
    width: 425px;
    margin-bottom: 20px;
  }

  .form-field-inline {
    float: left;

    label {
      font-size: 15px;
      display: inline;
    }
  }

  .btn-primary {
    float: right;
    background: @odiPomegranate;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow:none;
    box-shadow: none;
    padding: 4px 15px;
  }

  &.active {
    display: block;
  }
}

header {
  background-color: @odiBlue;
  color: #fff;
  padding: 10px 0;

  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;

  .container {
    min-height: 60px;
  }

  h1,h2,h3,h4,h5,h6{
    font-weight:normal;
  }
}

.container.main {
  margin-top: 50px;
}

#footer {
  background-color: #000;
  font-size: 0.88em;
  color: #adaeaf;
  padding-top: 40px;
  padding-bottom: 52px;

  .footer-content {

    margin-left: 0;

    h1 {

      /* ODI logo, hide text */
      background: url(/assets/logo-footer.png) no-repeat top left;
      text-indent: 100%;
      white-space: nowrap;
      overflow: hidden;
      margin: 0 0 30px 0;
      width: 204px; height: 49px;

      a { display: block; }

    }

  }
  .footer-nav { margin-left: 30px; }

  a {
    color: #adaeaf;
    text-decoration: none;
  }

  a:hover { color: #fff; }

  ul {
    list-style: none outside none;
    margin: -4px 0 0 0;

    li {
      display: inline;
      margin-left: 20px;
    }
  }

  p {
    margin: 0px;
    font-size: 16px;
  }

  p.license { margin-top: 30px; }

}

section {
  //background-color: white;
  // margin: 15px 0;
  // padding: 10px 0;
}

.whiteout {
  background-color:rgba(255,255,255,0.65);

  /* Make sure there's a gap between bottom of content and top of footer */
  padding-bottom: 55px;

}

.hero-unit {
  background: none;
  padding: 0;
  margin: 0;

  .centered {
    margin-left: auto;
    margin-right: auto;
  }

  h1, h2, p, small, span {
    text-align: center;
  }

  h1 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
  }

  p {
    font-size: 23px;
  }
}

// Alert messages //

.flash {
  margin-top: 20px;
}

.alert {
  color: white;
  padding: 14px 12px;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
  vertical-align: middle;

  .icon-large {
    margin-bottom: 1px;
    margin-right: 6px;
    vertical-align: middle;
  }

  .close, .close:hover, .close:active {
    opacity: 1;
    width: 14px;
    height: 14px;
    position: static;
    background-image: url(/assets/glyphicons-halflings-white.png);
    background-position: -312px 0;
  }
}

.alert-alert {
  background: @odiCrimson;
  border: 1px solid @odiCrimsonDark;
}

.alert-warning {
  background: @odiOrange;
  border: 1px solid @odiOrangeDark;
}

.alert-notice {
  background: @odiGreen;
  border: 1px solid @odiGreenDark;
}

#topbar .alert-box {
  h3 {
    display: inline;
    line-height: 20px;
    vertical-align: middle;
  }

  ul {
    border: none;

    li {
      height: auto;
      font-size: 16px;
      border: none;
    }
  }
}

// Icons //

.icon-large {

  width: 28px;
  height: 28px;
  background-image: url(/assets/glyphicons.png);

  &.icon-white {
    background-image: url(/assets/glyphicons_white.png);
  }

  // Spacing between icons in file
  @spacing: -48px;

  // Mixin to help select correct icon
  .icon-position(@top, @left) {
    background-position: @spacing * @left (@spacing * @top) + 1;
  }

  &.icon-ok-sign { .icon-position(19, 3); }
  &.icon-info-sign { .icon-position(19, 5); }
  &.icon-exclamation-sign { .icon-position(19, 6); }
  &.icon-ban-circle { .icon-position(19, 9); }
}

// Tables //

table {
  width: 100%;
  font-size: 15px;
}

th {
  font-weight: normal;
}

// Forms //

.main-default {
  margin-top: 30px;

  .form-field {
    .clearfix;
    margin-bottom: 35px;

    &.form-field-inline {
      input {
        margin: 0 10px;
        height: 30px;
      }
      label {
        display: inline;
      }
    }
  }

  input {
    height: 60px;
    font-size: 20px;
    padding: 0 10px;
    margin: 15px 0;
  }

  input[type='submit'] {
    margin: 15px 0 30px;
  }

  label {
    font-size: 22px;
  }

  i {
    font-size: 15px;
    font-style: normal;
    color: @odiGrey;
    display: block;
  }
}

// User auth //

.user-links {
  .clearfix;
  margin-bottom: 15px;

  .btn {
    float: left;
    margin-right: 4px;
  }
}

// My certificates view //

.first-response-set {
  background: @odiBlueLighter;

  td.level {
    text-align: center;
    padding: 13px 30px 5px 15px;
    width: 48px;
  }

  td.last-updated {
    time {
      color: @odiGreyDarker;
    }
  }

  button.copy-certificate {
    padding: 8px 12px;
  }
}

.previous-response-set {

  td {
    height: 30px;
  }

  button.copy-certificate {
    text-align: left;
    position: relative;
    top: 7px;
  }
}

button.copy-certificate {
  font-size: 15px;
  line-height: 15px;
  font-weight: bold;

  span {
    display: block;
    font-size: 12px;
    font-weight: normal;
  }
}

button.copy-certificate:hover {
  font-size: 15px;
}

th.previous-title {
  font-size: 16px;
  text-align: left;
  color: @odiGreyDark;
  padding: 15px 0;
}

td.level {
  .certificate-badge {
    margin: 0 auto;
    width: 50px;
    height: 40px;
  }

  font-size: 12px;
  font-weight: bold;
  color: @odiGreyDark;
}

td.last-updated {
  width: 180px;;
  font-size: 12px;
  line-height: 17px;
  color: @odiGreyDark;

  time {
    font-size: 15px;
    display: block;
  }
}

td.status {
  width: 300px;
  font-size: 15px;

  &.published {
    color: @odiCrimson;
  }

  &.archived {
    color: @odiGreyDark;
  }

  &.editing {
    color: @odiGreyDarker;
    font-style: italic;
  }
}

td.action {
  width: 150px;

  form {
    margin: 0;
  }
}

// Questionnaire (survey) view //

#surveyor{

  padding-top:20px;

  header {
    margin:5px 0;
    h3{
      font-size: 27px;
    }
    h3, h4{
      color:@white;
      margin:0;
    }

    &.inactive{
      background-color:@odiGrey;
    }
    cursor: pointer;

    .transition(background-color 0.25s);

    // override
    .container{
      min-height: auto;
    }
  }

  .subsection-label{
    border-top:1px solid @odiGreyLighter;
    color:@odiBlue;
    font-weight: normal;
    padding:20px 0;
  }

  ol,ul{
    margin:auto;
  }

  // brought in from main styles
  label {
    font-size: 22px;
  }

  .choice input{
    margin-right:10px;
  }
  .choice label{
    font-size:16px;
    color:@gray;
    -webkit-font-smoothing: antialiased;
  }

  input.string{
    height: 60px;
    font-size: 23px;
    padding: 0 10px;
    margin: 15px 0;
  }

  // custom
  input.string{
    width:100%;
  }

  // this is our label replacement (for the question of multiple answers)
  .group_label{
    font-size: 22px
  }

  label small
  .group_label small{
    color:@odiGrey;
    font-size: 65%;
  }

  // repeated sections
  fieldset.g_repeater{
    legend {
      display: none;
    }
    ol fieldset.row {
      display: block;
    }
  }

  fieldset.requirement_basic li {
    background: @odiRed;
    color: white;
    padding: 20px 20px 10px;
  }

  fieldset.requirement_pilot,
  fieldset.requirement_standard,
  fieldset.requirement_exemplar {
    display: none;
    position: relative;

    img{
      position: absolute;
      left: -70px;
      top: 10px;
    }
  }

  fieldset.question-row{
    position: relative;
    padding-top: 10px;
    aside{
      display:none;
      position:absolute;
      right:0;
      background-color:@odiBlueLighter;
      padding:20px;
      width:330px;

      &.answer-meta {
        top: 10px;
      }
    }
  }

  .question-meta{

  }

  // focussed elements
  fieldset.question-row.active{
    // hard to do the odd outline

    // outline: 1px solid @odiBlueLight;
    background-color: @odiBlueLighter;
  }

  &.highlight-mandatory{
    .mandatory{
      background-color:@odiCrimsonLight;
      &.has-response{
        background-color:@white;
      }
    }
  }

}

#status_panel{
  .transition(right 0.5s);
  background-color:@odiGreyLighter;
  position: absolute;
  right:0;
  width:280px;
  padding:20px;
  height:100%;
  z-index:5;

  right:-320px;

  // also .hover for oldie fallback
  &:hover, &.hover{
    right:0px;
  };

  &.affix, &.affix-bottom{
    position: fixed;
    top:130px;
  }

  #panel_handle{
    background-image:url(/assets/panel-handle.png);
    width:78px;
    height:72px;
    position: absolute;
    left:-78px;
  }

  h3 {
    margin-bottom: 0;
    display: inline;
    width: 50%;
  }

  img {
    display: inline;
    float: right;
  }

  .progress {
    margin-bottom: 10px;
    clear: both;
  }
}

// Certificate view //

.certificate-data {
  ul {
    .clearfix;
    margin-left: 0;
  }

  li {
    list-style-type: none;
    margin: 5px 0;
    width: 50%;
    float: left;

    p {
      font-size: 19px;
      margin-right: 20px;
    }
  }
}

.certificate.hero-unit {
  margin: -50px auto 30px;
  padding: 0 15px;

  .btn-info {
    font-size: 14px;
    line-height: 15px;
    padding: 8px 12px;
    width: 80px;
    margin-top: 80px;
  }
}

.certificate-summary {
  padding: 0 90px;
}

.certificate-badge {
  width: 160px;
  height: 140px;
  background: #bbb;
  margin-bottom: 10px;
}

.certificate-level {
  font-weight: bold;
  font-size: 24px;
  color: #888;
  margin-bottom: 30px;

  small {
    display: block;
    font-weight: normal;
    font-size: 17px;
    line-height: 16px;
  }
}

strong.certificate-level {
  font-weight: normal;
}

.basic-level {
  .certificate-badge {
    background: @basic;
  }
  .certificate-level {
    color: @basic;
  }
}

.pilot-level {
  .certificate-badge {
    background: @pilot;
  }
  .certificate-level {
    color: @pilot;
  }
}

.standard-level {
  .certificate-badge {
    background: @standard;
  }
  .certificate-level {
    color: @standard;
  }
}

.exemplar-level {
  .certificate-badge {
    background: @exemplar;
  }
  .certificate-level {
    color: @exemplar;
  }
}

.footer {
    border-top: 1px solid #E5E5E5;
    margin-top: 70px;
    padding: 30px 0;
    text-align: center;
}

// Embedded certificate //

#embedded-certificate {
  margin: 30px;
  .certificate.hero-unit {
    width: auto;
    margin-top: 30px;
  }
}

.embed-code {
  textarea {
    box-sizing: border-box;
    width: 100%;
  }
}

/*
//
// ***** About Page *****
//
*/
.container.about {

  .span8 {

    margin-left: 0;

    h1 {

      color: #8e8c8c;
      font-size: 30px;
      margin-top: 15px;

    }

    h2 {

      color: #8e8c8c;
      font-size: 22px;
      font-weight: normal;
      line-height: 26px;
      margin: 15px 0 20px 0;

    }

    ul { margin-top: 10px; }

    li { margin-bottom: 5px; line-height: 24px; }

    ul.kitemarks {

      margin: 20px 0 10px 0;

      li {

        list-style: none;
        padding-left: 141px;
        padding-top: 16px;
        min-height: 117px;
        margin-bottom: 10px;

      }

      li.kitemark1 { background: url(/assets/badges/no_level_badge.png) no-repeat top left; }
      li.kitemark2 { background: url(/assets/badges/pilot_level_badge.png) no-repeat top left; }
      li.kitemark3 { background: url(/assets/badges/standard_level_badge.png) no-repeat top left; }
      li.kitemark4 { background: url(/assets/badges/exemplar_level_badge.png) no-repeat top left; }

    }

  }

}

/*
//
// ***** Terms Page, Contact (Get in touch) Page *****
//
*/
.container.terms, .container.contact {

  .span8 {

    margin-left: 0;

    h2 {

      color: #8e8c8c;
      font-size: 30px;
      margin-top: 15px;
      font-weight: normal;

    }

    h4 {

      color: #000;
      font-size: 18px;

    }

    li { margin-bottom: 5px; line-height: 24px; }

  }

}