diff --git a/lib/assets/javascripts/new_plan.js b/lib/assets/javascripts/new_plan.js new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/assets/javascripts/new_plan.js diff --git a/lib/assets/stylesheets/application.css b/lib/assets/stylesheets/application.css index 8635967..8abb6aa 100644 --- a/lib/assets/stylesheets/application.css +++ b/lib/assets/stylesheets/application.css @@ -14,4 +14,5 @@ *= require bootstrap.css *= require select2.css *= require bootstrap_and_overrides.css.less + *= require dmproadmap.scss */ \ No newline at end of file diff --git a/lib/assets/stylesheets/dmproadmap.scss b/lib/assets/stylesheets/dmproadmap.scss new file mode 100644 index 0000000..bc11679 --- /dev/null +++ b/lib/assets/stylesheets/dmproadmap.scss @@ -0,0 +1,110 @@ +$white: #FFF; +$primary-color: #F49700; +$reverse-text: #FFF; + +h1 { + +} + +h4 { + +} + +.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 { + margin-left: 15px; + } + + input[type="text"] { + width: 350px; + 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; + } + + } + +} + +/* 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; +} + +.combobox-suggestions { + position: absolute; + left: 0; + width: 250px; + background: #fff; +} +.combobox-suggestion { + color: #666; + border-bottom: 1px solid #000; + border-left: 1px solid #000; + border-right: 1px solid #000; + cursor: pointer; + text-align: left; +} +.combobox-suggestion:first-child { + border-top: 1px solid #000; +} +.combobox-suggestion:hover, +.combobox-suggestion:focus { + color: #000; +} + +.combobox-clear-button { + position: absolute; + right: 1px; + font-family: inherit; + font-size: 0.9em; + padding: .3em; + background: transparent +} + +/* 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; } \ No newline at end of file