Newer
Older
dmpopidor / lib / assets / stylesheets / dmproadmap.scss
@Brian Riley Brian Riley on 5 May 2017 2 KB finalized initial create plan js
@import "font-awesome";

$font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;

$white: #FFF;

$primary-color: #F49700;
$disabled-button-color: #CCC;
$reverse-text: #FFF;

/* See `.combobox-clear-button` for an example of this mixin in use */
@mixin icon($icon) {
  @extend .fa;
  @extend .fa-#{$icon}:before;
}

.main_header {
  margin-bottom: 20px;
}

.main {
  
  form {
    
    .white-fieldset {
      background-color: $white;
      padding: 0 25px 25px 25px;
      margin-bottom: 25px;
      
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
      
      label, 
      input[type="checkbox"], 
      .combobox-container, 
      .combobox-like {
        margin-left: 15px;
      }
      
      input[type="text"] {
        width: 550px;
        margin-bottom: 15px;
      }
      
      input[type="checkbox"] {
        vertical-align: top;
      }
    }
    
    input.form-submit {
      background-color: $primary-color;
      color: $reverse-text;
      padding: 10px 30px;
      font-size: 12pt;
      
      -webkit-border-radius: 10px;
      -moz-border-radius: 10px;
      border-radius: 10px;
    }
    input.form-submit:disabled {
      background-color: $disabled-button-color;
    }
    
  }
  
}

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

.combobox-container {
  position: relative;
  max-width: 385px;
  
  font-family: $font-family;
}

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

.combobox-clear-button {
  @include icon(times-circle);
  display: inline;
  position: absolute;
  border: none;
  background: transparent;
  padding-top: 3px;
  font-size: 16pt;
}

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