From 69fe0be381608428a46e7a1eec91638e103b810a Mon Sep 17 00:00:00 2001 From: zurbchris Date: Thu, 28 Feb 2013 11:55:49 -0800 Subject: [PATCH] updated compass path --- templates/project/scss/app.scss | 2 +- test/stylesheets/styles.css | 955 -------------------------------- 2 files changed, 1 insertion(+), 956 deletions(-) delete mode 100644 test/stylesheets/styles.css diff --git a/templates/project/scss/app.scss b/templates/project/scss/app.scss index e3d453628..599e16a06 100644 --- a/templates/project/scss/app.scss +++ b/templates/project/scss/app.scss @@ -1,5 +1,5 @@ // Global Foundation Settings -@import "foundation/foundation-global"; +@import "settings"; // Comment out this import if you are customizing you imports below @import "foundation"; diff --git a/test/stylesheets/styles.css b/test/stylesheets/styles.css deleted file mode 100644 index 6d652ba9d..000000000 --- a/test/stylesheets/styles.css +++ /dev/null @@ -1,955 +0,0 @@ -/* Requires: normalize.css */ -/* Global Reset & Standards ---------------------- */ -*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } - -html { font-size: 100%; } - -body { margin: 0; padding: 0; background: white; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; font-size: 1.25em; line-height: 1; color: #222222; position: relative; -webkit-font-smoothing: antialiased; } - -@media only screen and (min-width: 48em) { body { font-size: 1em; } } -/* Links ---------------------- */ -a img { border: none; } - -a { color: #2ba6cb; text-decoration: none; line-height: inherit; } - -a:hover { color: #2795b6; } - -a:focus { color: #2795b6; } - -p a, p a:visited { line-height: inherit; } - -/* Misc ---------------------- */ -.left { float: left; } - -.right { float: right; } - -.text-left { text-align: left; } - -.text-right { text-align: right; } - -.text-center { text-align: center; } - -.hide { display: none; } - -.hide-override { display: none !important; } - -.highlight { background: #ffff99; } - -/* Reset for strange margins by default on
elements */ -figure { margin: 0; } - -/* Base Type Styles Using Modular Scale ---------------------- */ -body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td { margin: 0; padding: 0; font-size: 1em; direction: ltr; } - -p { font-family: inherit; font-weight: normal; font-size: 1em; line-height: 1.6; margin-bottom: 1.05041em; } -p.lead { font-size: 1.25em; line-height: 1.6; margin-bottom: 1.05041em; } - -aside p { font-size: 0em; line-height: 1.35; font-style: italic; } - -h1, h2, h3, h4, h5, h6 { font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; color: #222222; text-rendering: optimizeLegibility; line-height: 1.1; margin-bottom: 1em; margin-top: 1em; } -h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-size: 60%; color: #6f6f6f; line-height: 0; } - -h1 { font-size: 2.75em; } - -h2 { font-size: 2.61803em; } - -h3 { font-size: 1.69959em; } - -h4 { font-size: 1.61803em; } - -h5 { font-size: 1.05041em; } - -h6 { font-size: 1em; } - -hr { border: solid #dddddd; border-width: 1px 0 0; clear: both; margin: 22px 0 21px; height: 0; } - -.subheader { line-height: 1.3; color: #6f6f6f; font-weight: 300; margin-bottom: 1.05041em; } - -em, i { font-style: italic; line-height: inherit; } - -strong, b { font-weight: bold; line-height: inherit; } - -small { font-size: 60%; line-height: inherit; } - -code { font-weight: bold; background: #ffff99; } - -/* Lists ---------------------- */ -ul, ol, dl { font-size: 1em; line-height: 1.6; margin-bottom: 1.05041em; list-style-position: inside; } - -ul li ul, ul li ol { margin-left: 20px; margin-bottom: 0; } -ul.square, ul.circle, ul.disc { margin-left: 1.05041em; } -ul.square { list-style-type: square; } -ul.square li ul { list-style: inherit; } -ul.circle { list-style-type: circle; } -ul.circle li ul { list-style: inherit; } -ul.disc { list-style-type: disc; } -ul.disc li ul { list-style: inherit; } -ul.no-bullet { list-style: none; } -ul.large li { line-height: 21px; } - -ol { margin-left: 20px; } -ol li ul, ol li ol { margin-left: 20px; margin-bottom: 0; } - -/* Blockquotes ---------------------- */ -blockquote, blockquote p { line-height: 1.5; color: #6f6f6f; } - -blockquote { margin: 0 0 1.05041em; padding: 9px 20px 0 19px; border-left: 1px solid #dddddd; } -blockquote cite { display: block; font-size: 0em; color: #555555; } -blockquote cite:before { content: "\2014 \0020"; } -blockquote cite a, blockquote cite a:visited { color: #555555; } - -abbr, acronym { text-transform: uppercase; font-size: 90%; color: #222222; border-bottom: 1px solid #dddddd; cursor: help; } - -abbr { text-transform: none; } - -/* Print styles. Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/ Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com) -*/ -.print-only { display: none !important; } - -@media print { * { background: transparent !important; color: black !important; box-shadow: none !important; text-shadow: none !important; filter: none !important; -ms-filter: none !important; } - /* Black prints faster: h5bp.com/s */ - a, a:visited { text-decoration: underline; } - a[href]:after { content: " (" attr(href) ")"; } - abbr[title]:after { content: " (" attr(title) ")"; } - .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } - /* Don't show links for images, or javascript/internal links */ - pre, blockquote { border: 1px solid #999999; page-break-inside: avoid; } - thead { display: table-header-group; } - /* h5bp.com/t */ - tr, img { page-break-inside: avoid; } - img { max-width: 100% !important; } - @page { margin: 0.5cm; } - p, h2, h3 { orphans: 3; widows: 3; } - h2, h3 { page-break-after: avoid; } - .hide-on-print { display: none !important; } - .print-only { display: block !important; } - .hide-for-print { display: none !important; } - .show-for-print { display: inherit !important; } } -/* Requires globals.css */ -/* Standard Forms ---------------------- */ -form { margin: 0 0 1.21353em; } - -.row form .row { margin: 0 -0.375em; } -.row form .row .column, .row form .row .columns { padding: 0 0.375em; } -.row form .row.collapse { margin: 0; } -.row form .row.collapse .column, .row form .row.collapse .columns { padding: 0; } - -label { font-size: 1em; color: #4d4d4d; cursor: pointer; display: block; font-weight: 500; margin-bottom: 3px; } -label.right { float: none; text-align: right; } -label.inline { line-height: 2.125em; margin: 0 0 0.75em 0; } - -.prefix, .postfix { display: block; position: relative; z-index: 2; text-align: center; width: 100%; padding-top: 0; padding-bottom: 0; height: 2.125em; line-height: 1.125em; } - -a.button.prefix, a.button.postfix { padding-left: 0; padding-right: 0; text-align: center; } - -span.prefix, span.postfix { background: #f2f2f2; border: 1px solid #cccccc; } - -.prefix { left: 2px; -moz-border-radius-topleft: 2px; -webkit-border-top-left-radius: 2px; border-top-left-radius: 2px; -moz-border-radius-bottomleft: 2px; -webkit-border-bottom-left-radius: 2px; border-bottom-left-radius: 2px; overflow: hidden; } - -.postfix { right: 2px; -moz-border-radius-topright: 2px; -webkit-border-top-right-radius: 2px; border-top-right-radius: 2px; -moz-border-radius-bottomright: 2px; -webkit-border-bottom-right-radius: 2px; border-bottom-right-radius: 2px; } - -input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea { background-color: white; font-family: inherit; border: 1px solid #cccccc; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); color: rgba(0, 0, 0, 0.75); display: block; font-size: 14px; margin: 0 0 0.75em 0; padding: 0.375em; height: 2.125em; width: 100%; -webkit-transition: all 0.15s linear; -moz-transition: all 0.15s linear; -o-transition: all 0.15s linear; transition: all 0.15s linear; } -input[type="text"].oversize, input[type="password"].oversize, input[type="date"].oversize, input[type="datetime"].oversize, input[type="email"].oversize, input[type="number"].oversize, input[type="search"].oversize, input[type="tel"].oversize, input[type="time"].oversize, input[type="url"].oversize, textarea.oversize { font-size: 1.05041em; padding: -1.625em 0.375em; } -input[type="text"]:focus, input[type="password"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="time"]:focus, input[type="url"]:focus, textarea:focus { background: #fafafa; border-color: #b3b3b3; } -input[type="text"][disabled], input[type="password"][disabled], input[type="date"][disabled], input[type="datetime"][disabled], input[type="email"][disabled], input[type="number"][disabled], input[type="search"][disabled], input[type="tel"][disabled], input[type="time"][disabled], input[type="url"][disabled], textarea[disabled] { background-color: #ddd; } - -textarea { height: auto; } - -select { width: 100%; } - -/* Fieldsets */ -fieldset { border: solid 1px #dddddd; -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; padding: 12px 12px 0; margin: 18px 0; } -fieldset legend { font-weight: bold; background: white; padding: 0 3px; margin: 0; margin-left: -3px; } - -/* Errors */ -.error input, input.error, .error textarea, textarea.error { border-color: #c60f13; background-color: rgba(198, 15, 19, 0.1); } - -.error label, label.error { color: #c60f13; } - -.error small, small.error { display: block; padding: 6px 4px; margin-top: -1.75em; margin-bottom: 0.75em; background: #c60f13; color: #fff; font-size: -1em; font-weight: bold; -moz-border-radius-bottomleft: 2px; -webkit-border-bottom-left-radius: 2px; border-bottom-left-radius: 2px; -moz-border-radius-bottomright: 2px; -webkit-border-bottom-right-radius: 2px; border-bottom-right-radius: 2px; } - -.error textarea:focus, textarea.error:focus { background: #fafafa; border-color: #b3b3b3; } - -/* Custom Forms ---------------------- */ -form.custom { /* Custom input, disabled */ } -form.custom span.custom { display: inline-block; width: 16px; height: 16px; position: relative; top: 2px; border: solid 1px #cccccc; background: white; } -form.custom span.custom.radio { -webkit-border-radius: 100px; -moz-border-radius: 100px; -ms-border-radius: 100px; -o-border-radius: 100px; border-radius: 100px; } -form.custom span.custom.checkbox:before { content: ""; display: block; line-height: 0.8; height: 14px; width: 14px; text-align: center; position: absolute; top: 0; left: 0; font-size: 14px; color: #fff; } -form.custom span.custom.radio.checked:before { content: ""; display: block; width: 8px; height: 8px; -webkit-border-radius: 100px; -moz-border-radius: 100px; -ms-border-radius: 100px; -o-border-radius: 100px; border-radius: 100px; background: #222222; position: relative; top: 3px; left: 3px; } -form.custom span.custom.checkbox.checked:before { content: "\00d7"; color: #222222; } -form.custom div.custom.dropdown { display: block; position: relative; width: auto; height: 28px; margin-bottom: 9px; margin-top: 2px; } -form.custom div.custom.dropdown ul { overflow-y: auto; max-height: 200px; } -form.custom div.custom.dropdown a.current { display: block; width: auto; line-height: 26px; min-height: 28px; padding: 0; padding-left: 6px; padding-right: 38px; border: solid 1px #dddddd; color: #141414; background-color: white; white-space: nowrap; } -form.custom div.custom.dropdown a.selector { position: absolute; width: 27px; height: 28px; display: block; right: 0; top: 0; border: solid 1px #dddddd; } -form.custom div.custom.dropdown a.selector:after { content: ""; display: block; content: ""; display: block; width: 0; height: 0; border: solid 5px; border-color: #aaaaaa transparent transparent transparent; position: absolute; left: 50%; top: 50%; margin-top: -2px; margin-left: -5px; } -form.custom div.custom.dropdown:hover a.selector:after, form.custom div.custom.dropdown.open a.selector:after { content: ""; display: block; width: 0; height: 0; border: solid 5px; border-color: #222222 transparent transparent transparent; } -form.custom div.custom.dropdown.open ul { display: block; z-index: 10; } -form.custom div.custom.dropdown.small { width: 134px !important; } -form.custom div.custom.dropdown.medium { width: 254px !important; } -form.custom div.custom.dropdown.large { width: 434px !important; } -form.custom div.custom.dropdown.expand { width: 100% !important; } -form.custom div.custom.dropdown.open.small ul { width: 134px !important; } -form.custom div.custom.dropdown.open.medium ul { width: 254px !important; } -form.custom div.custom.dropdown.open.large ul { width: 434px !important; } -form.custom div.custom.dropdown.open.expand ul { width: 100% !important; } -form.custom div.custom.dropdown ul { position: absolute; width: auto; display: none; margin: 0; left: 0; top: 27px; margin: 0; padding: 0; background: white; background: rgba(255, 255, 255, 0.95); border: solid 1px #cccccc; } -form.custom div.custom.dropdown ul li { color: #555555; font-size: 0em; cursor: pointer; padding: 3px; padding-left: 6px; padding-right: 38px; min-height: 18px; line-height: 18px; margin: 0; white-space: nowrap; list-style: none; } -form.custom div.custom.dropdown ul li.selected { background: #cdebf5; color: black; } -form.custom div.custom.dropdown ul li.selected:after { content: "\2013"; position: absolute; right: 10px; } -form.custom div.custom.dropdown ul li:hover { background-color: #cdebf5; color: black; } -form.custom div.custom.dropdown ul li:hover:after { content: "\2013"; position: absolute; right: 10px; color: #a3dbec; } -form.custom div.custom.dropdown ul li.selected:hover { background: #cdebf5; cursor: default; color: black; } -form.custom div.custom.dropdown ul li.selected:hover:after { color: black; } -form.custom div.custom.dropdown ul.show { display: block; } -form.custom .custom.disabled { background-color: #dddddd; } - -/* Correct FF custom dropdown height */ -@-moz-document url-prefix() { form.custom div.custom.dropdown a.selector { height: 30px; } } - -.lt-ie9 form.custom div.custom.dropdown a.selector { height: 30px; } - -/* The Grid */ -/* -------- */ -/* Row styles: default, nested, collapse, centered */ -.row { width: 100%; margin: 0 auto; max-width: 62.5em; *zoom: 1; } -.row [class*="large-"], .row [class*="small-"] { width: 100%; padding-left: 0.9375em; padding-right: 0.9375em; position: relative; } -.row .row { width: auto; max-width: none; min-width: 0; margin: 0 -0.9375em; } -.row .row.collapse { margin: 0; } -.row:before, .row:after { content: " "; display: table; } -.row:after { clear: both; } - -/* Make sure images don't break the grid */ -img, object, embed { max-width: 100%; height: auto; } - -object, embed { height: 100%; } - -img { -ms-interpolation-mode: bicubic; } - -#map_canvas img, #map_canvas embed, #map_canvas object, .map_canvas img, .map_canvas embed, .map_canvas object { max-width: none !important; } - -/* Mobile Grid for small devices that can handle media queries */ -@media only screen and (min-width: 0.0625em) { /* Shared column styles */ - .row { display: -webkit-flex; } - .row.stacked { -webkit-flex-direction: column; } - .row.stacked.flip { -webkit-flex-direction: column-reverse; } - .row.flip { -webkit-flex-direction: row-reverse; } - .row.collapse [class*="small-"] { padding: 0; } - /* Centered small rows */ - .small-centered { -webkit-justify-content: center; } - /* Small column widths */ - .row .small-1 { width: 8.33333%; } - .row .small-2 { width: 16.66667%; } - .row .small-3 { width: 25%; } - .row .small-4 { width: 33.33333%; } - .row .small-5 { width: 41.66667%; } - .row .small-6 { width: 50%; } - .row .small-7 { width: 58.33333%; } - .row .small-8 { width: 66.66667%; } - .row .small-9 { width: 75%; } - .row .small-10 { width: 83.33333%; } - .row .small-11 { width: 91.66667%; } - .row .small-12 { width: 100%; } - /* Offset columns */ - .row .small-offset-1 { margin-left: 8.33333%; } - .row .small-offset-2 { margin-left: 16.66667%; } - .row .small-offset-3 { margin-left: 25%; } - .row .small-offset-4 { margin-left: 33.33333%; } - .row .small-offset-5 { margin-left: 41.66667%; } - .row .small-offset-6 { margin-left: 50%; } - .row .small-offset-7 { margin-left: 58.33333%; } - .row .small-offset-8 { margin-left: 66.66667%; } - .row .small-offset-9 { margin-left: 75%; } - .row .small-offset-10 { margin-left: 83.33333%; } - /* Push/Pull columns */ - .small-push-2 { left: 16.66667%; } - .small-pull-2 { right: 16.66667%; } - .small-push-3 { left: 25%; } - .small-pull-3 { right: 25%; } - .small-push-4 { left: 33.33333%; } - .small-pull-4 { right: 33.33333%; } - .small-push-5 { left: 41.66667%; } - .small-pull-5 { right: 41.66667%; } - .small-push-6 { left: 50%; } - .small-pull-6 { right: 50%; } - .small-push-7 { left: 58.33333%; } - .small-pull-7 { right: 58.33333%; } - .small-push-8 { left: 66.66667%; } - .small-pull-8 { right: 66.66667%; } - .small-push-9 { left: 75%; } - .small-pull-9 { right: 75%; } - .small-push-10 { left: 83.33333%; } - .small-pull-10 { right: 83.33333%; } } -/* Normal Buttons ---------------------- */ -a { border-width: 1px; border-style: solid; cursor: pointer; font-family: inherit; font-weight: bold; line-height: 1; margin: 0; position: relative; text-decoration: none; width: auto; -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; -webkit-transition: background-color 0.15s ease-in-out; -moz-transition: background-color 0.15s ease-in-out; -o-transition: background-color 0.15s ease-in-out; transition: background-color 0.15s ease-in-out; } -a:active { -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset; -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset; } - -a { background-color: #2ba6cb; font-size: 1em; padding-top: 10px 20px 11px; padding-right: 10px 20px 11px; padding-bottom: 10px 20px 11px; padding-left: 10px 20px 11px; text-align: center; } - -.button { /* Hovers */ /* Sizes */ /* Colors */ /* Layout */ /* Disabled ---------- */ } -.button.disabled, .button[disabled] { opacity: 0.6; cursor: default; background: #2ba6cb; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; } -.button.disabled:hover, .button[disabled]:hover { background: #2ba6cb; } -.button.disabled.success, .button[disabled].success { background-color: #5da423; } -.button.disabled.success:hover, .button.disabled.success:focus, .button[disabled].success:hover, .button[disabled].success:focus { background-color: #5da423; outline: none; } -.button.disabled.alert, .button[disabled].alert { background-color: #c60f13; } -.button.disabled.alert:hover, .button.disabled.alert:focus, .button[disabled].alert:hover, .button[disabled].alert:focus { background-color: #c60f13; outline: none; } -.button.disabled.secondary, .button[disabled].secondary { background-color: #e9e9e9; } -.button.disabled.secondary:hover, .button.disabled.secondary:focus, .button[disabled].secondary:hover, .button[disabled].secondary:focus { background-color: #e9e9e9; outline: none; } - -/* Don't use native buttons on iOS */ -input[type=submit].button, button.button { -webkit-appearance: none; } - -/* Correct FF button padding */ -@-moz-document url-prefix() { button::-moz-focus-inner, input[type="reset"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="file"] > input[type="button"]::-moz-focus-inner { border: none; padding: 0; } - input[type="submit"].tiny.button { padding: 3px 10px 4px; } - input[type="submit"].small.button { padding: 5px 14px 6px; } - input[type="submit"].button, input[type=submit].medium.button { padding: 8px 20px 9px; } - input[type="submit"].large.button { padding: 13px 30px 14px; } } - -/* Buttons with Dropdowns ---------------------- */ -.button.dropdown { position: relative; padding-right: 44px; /* Sizes */ /* Triangles */ /* Flyout List */ /* Split Dropdown Buttons */ } -.button.dropdown.large { padding-right: 60px; } -.button.dropdown.small { padding-right: 28px; } -.button.dropdown.tiny { padding-right: 20px; } -.button.dropdown:after { content: ""; display: block; width: 0; height: 0; border: solid 6px; border-color: white transparent transparent transparent; position: absolute; top: 50%; right: 20px; margin-top: -2px; } -.button.dropdown.large:after { content: ""; display: block; width: 0; height: 0; border: solid 7px; border-color: white transparent transparent transparent; margin-top: -3px; right: 30px; } -.button.dropdown.small:after { content: ""; display: block; width: 0; height: 0; border: solid 5px; border-color: white transparent transparent transparent; margin-top: -2px; right: 14px; } -.button.dropdown.tiny:after { content: ""; display: block; width: 0; height: 0; border: solid 4px; border-color: white transparent transparent transparent; margin-top: -1px; right: 10px; } -.button.dropdown > ul { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; display: none; position: absolute; left: -1px; background: #fff; background: rgba(255, 255, 255, 0.95); list-style: none; margin: 0; padding: 0; border: 1px solid #cccccc; border-top: none; min-width: 100%; z-index: 40; } -.button.dropdown > ul li { width: 100%; cursor: pointer; padding: 0; min-height: 18px; line-height: 18px; margin: 0; white-space: nowrap; list-style: none; } -.button.dropdown > ul li a, .button.dropdown > ul li button { display: block; color: #555; font-size: 0em; font-weight: normal; padding: 6px 14px; text-align: left; } -.button.dropdown > ul li button { width: 100%; border: inherit; background: inherit; font-family: inherit; margin: inherit; -webkit-font-smoothing: antialiased; } -.button.dropdown > ul li:hover, .button.dropdown > ul li:focus { background-color: #e3f4f9; color: #222; } -.button.dropdown > ul li.divider { min-height: 0; padding: 0; height: 1px; margin: 4px 0; background: #ededed; } -.button.dropdown.up > ul { border-top: 1px solid #cccccc; border-bottom: none; } -.button.dropdown ul.no-hover.show-dropdown { display: block !important; } -.button.dropdown:hover > ul.no-hover { display: none; } -.button.dropdown.split { padding: 0; position: relative; /* Sizes */ /* Triangle Spans */ /* Colors */ } -.button.dropdown.split:after { display: none; } -.button.dropdown.split:hover, .button.dropdown.split:focus { background-color: #2ba6cb; } -.button.dropdown.split.alert:hover, .button.dropdown.split.alert:focus { background-color: #c60f13; } -.button.dropdown.split.success:hover, .button.dropdown.split.success:focus { background-color: #5da423; } -.button.dropdown.split.secondary:hover, .button.dropdown.split.secondary:focus { background-color: #e9e9e9; } -.button.dropdown.split > a { color: white; display: block; padding: 10px 50px 11px 20px; padding-left: 20px; padding-right: 50px; -webkit-transition: background-color 0.15s ease-in-out; -moz-transition: background-color 0.15s ease-in-out; -o-transition: background-color 0.15s ease-in-out; transition: background-color 0.15s ease-in-out; } -.button.dropdown.split > a:hover, .button.dropdown.split > a:focus { background-color: #2284a1; -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; } -.button.dropdown.split.large > a { padding: 15px 75px 16px 30px; padding-left: 30px; padding-right: 75px; } -.button.dropdown.split.small > a { padding: 7px 35px 8px 14px; padding-left: 14px; padding-right: 35px; } -.button.dropdown.split.tiny > a { padding: 5px 25px 6px 10px; padding-left: 10px; padding-right: 25px; } -.button.dropdown.split > span { background-color: #2ba6cb; position: absolute; right: 0; top: 0; height: 100%; width: 30px; border-left: 1px solid #1e728c; -webkit-box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5) inset; -webkit-transition: background-color 0.15s ease-in-out; -moz-transition: background-color 0.15s ease-in-out; -o-transition: background-color 0.15s ease-in-out; transition: background-color 0.15s ease-in-out; } -.button.dropdown.split > span:hover, .button.dropdown.split > span:focus { background-color: #2284a1; } -.button.dropdown.split > span:after { content: ""; display: block; width: 0; height: 0; border: solid 6px; border-color: white transparent transparent transparent; position: absolute; top: 50%; left: 50%; margin-left: -6px; margin-top: -2px; } -.button.dropdown.split.secondary > span:after { content: ""; display: block; width: 0; height: 0; border: solid 6px; border-color: #1d1d1d transparent transparent transparent; } -.button.dropdown.split.large span { width: 45px; } -.button.dropdown.split.small span { width: 21px; } -.button.dropdown.split.tiny span { width: 15px; } -.button.dropdown.split.large span:after { content: ""; display: block; width: 0; height: 0; border: solid 7px; border-color: white transparent transparent transparent; margin-top: -3px; margin-left: -7px; } -.button.dropdown.split.small span:after { content: ""; display: block; width: 0; height: 0; border: solid 4px; border-color: white transparent transparent transparent; margin-top: -1px; margin-left: -4px; } -.button.dropdown.split.tiny span:after { content: ""; display: block; width: 0; height: 0; border: solid 3px; border-color: white transparent transparent transparent; margin-top: -1px; margin-left: -3px; } -.button.dropdown.split.alert > span { background-color: #c60f13; border-left-color: #7f0a0c; } -.button.dropdown.split.success > span { background-color: #5da423; border-left-color: #396516; } -.button.dropdown.split.secondary > span { background-color: #e9e9e9; border-left-color: #c3c3c3; } -.button.dropdown.split.secondary > a { color: #1d1d1d; } -.button.dropdown.split.alert > a:hover, .button.dropdown.split.alert > span:hover, .button.dropdown.split.alert > a:focus, .button.dropdown.split.alert > span:focus { background-color: #970b0e; } -.button.dropdown.split.success > a:hover, .button.dropdown.split.success > span:hover, .button.dropdown.split.success > a:focus, .button.dropdown.split.success > span:focus { background-color: #457a1a; } -.button.dropdown.split.secondary > a:hover, .button.dropdown.split.secondary > span:hover, .button.dropdown.split.secondary > a:focus, .button.dropdown.split.secondary > span:focus { background-color: #d0d0d0; } - -/* Button Groups ---------------------- */ -ul.button-group { list-style: none; padding: 0; margin: 0 0 12px; *zoom: 1; } -ul.button-group:before, ul.button-group:after { content: " "; display: table; } -ul.button-group:after { clear: both; } -ul.button-group li { padding: 0; margin: 0 0 0 -1px; float: left; } -ul.button-group li:first-child { margin-left: 0; } -ul.button-group.radius li .button, ul.button-group.radius li .button.radius, ul.button-group.radius li .button-rounded { -webkit-border-radius: 0px; -moz-border-radius: 0px; -ms-border-radius: 0px; -o-border-radius: 0px; border-radius: 0px; } -ul.button-group.radius li:first-child .button, ul.button-group.radius li:first-child .button.radius { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; } -ul.button-group.radius li:first-child .button.rounded { -moz-border-radius-topleft: 1000px; -webkit-border-top-left-radius: 1000px; border-top-left-radius: 1000px; -moz-border-radius-bottomleft: 1000px; -webkit-border-bottom-left-radius: 1000px; border-bottom-left-radius: 1000px; } -ul.button-group.radius li:last-child .button, ul.button-group.radius li:last-child .button.radius { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; } -ul.button-group.radius li:last-child .button.rounded { -moz-border-radius-topright: 1000px; -webkit-border-top-right-radius: 1000px; border-top-right-radius: 1000px; -moz-border-radius-bottomright: 1000px; -webkit-border-bottom-right-radius: 1000px; border-bottom-right-radius: 1000px; } -ul.button-group.even .button { width: 100%; } -ul.button-group.even.two-up li { width: 50%; } -ul.button-group.even.three-up li { width: 33.3%; } -ul.button-group.even.three-up li:first-child { width: 33.4%; } -ul.button-group.even.four-up li { width: 25%; } -ul.button-group.even.five-up li { width: 20%; } - -div.button-bar { overflow: hidden; } -div.button-bar ul.button-group { float: left; margin-right: 8px; } -div.button-bar ul.button-group:last-child { margin-left: 0; } - -.nav-bar { height: 40px; background: #4d4d4d; margin-left: 0; margin-top: 20px; padding: 0; } -.nav-bar > li { float: left; display: block; position: relative; padding: 0; margin: 0; border: 1px solid #333333; border-right: none; line-height: 38px; -webkit-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset; -moz-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset; box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset; } -.nav-bar > li:first-child { -webkit-box-shadow: 0 0 0; -moz-box-shadow: 0 0 0; box-shadow: 0 0 0; } -.nav-bar > li:last-child { border-right: solid 1px #333333; -webkit-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset, 1px 0 0 rgba(255, 255, 255, 0.2); -moz-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset, 1px 0 0 rgba(255, 255, 255, 0.2); box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2) inset, 1px 0 0 rgba(255, 255, 255, 0.2); } -.nav-bar > li.active { background: #2ba6cb; border-color: #2284a1; } -.nav-bar > li.active > a { color: white; cursor: default; } -.nav-bar > li.active:hover { background: #2ba6cb; cursor: default; } -.nav-bar > li:hover { background: #333333; } -.nav-bar > li > a { color: #e6e6e6; } -.nav-bar > li ul { margin-bottom: 0; } -.nav-bar > li .flyout { display: none; } -.nav-bar > li.has-flyout > a:first-child { padding-right: 40px; position: relative; } -.nav-bar > li.has-flyout > a:first-child:after { content: ""; display: block; width: 0; height: 0; border: solid 4px; border-color: #e6e6e6 transparent transparent transparent; position: absolute; right: 20px; top: 17px; } -.nav-bar > li.has-flyout > a.flyout-toggle { border-left: 0 !important; position: absolute; right: 0; top: 0; padding: 20px; z-index: 2; display: block; } -.nav-bar > li.has-flyout.is-touch > a:first-child { padding-right: 55px; } -.nav-bar > li.has-flyout.is-touch > a.flyout-toggle { border-left: 1px dashed #666666; } -.nav-bar > li > a:first-child { position: relative; padding: 0 20px; display: block; text-decoration: none; font-size: 1em; } -.nav-bar > li > input { margin: 0 10px; } -.nav-bar.vertical { height: auto; margin-top: 0; } -.nav-bar.vertical > li { float: none; border-bottom: none; border-right: solid 1px #333333; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; } -.nav-bar.vertical > li.has-flyout > a:first-child:after { content: ""; display: block; width: 0; height: 0; border: solid 4px; border-color: transparent transparent transparent #e6e6e6; } -.nav-bar.vertical > li .flyout { left: 100%; top: -1px; } -.nav-bar.vertical > li .flyout.right { left: auto; right: 100%; } -.nav-bar.vertical > li.active { border-right: solid 1px #2284a1; } -.nav-bar.vertical > li:last-child { border-bottom: solid 1px #333333; } - -.flyout { position: relative; width: 100% !important; top: auto; margin-right: -2px; border-width: 1px 1px 0 1px; background: #f2f2f2; padding: 20px; z-index: 40; -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); /* remove margin on any first-child element */ /* remove margin on last element */ } -.flyout.right { float: none; right: auto; left: -1px; } -.flyout.small, .flyout.large { width: 100% !important; } -.flyout p { line-height: 1.2; font-size: 0em; } -.flyout *:first-child { margin-top: 0; } -.flyout *:last-child { margin-bottom: 0; } -.flyout p:last-child { margin-bottom: 18px; } -.flyout.left { right: auto; left: -2px; } -.flyout.up { top: auto; bottom: 39px; } - -ul.flyout, .nav-bar li ul { padding: 0; list-style: none; } -ul.flyout li, .nav-bar li ul li { border-left: solid 3px #cccccc; } -ul.flyout li a, .nav-bar li ul li a { background: #f2f2f2; border: 1px solid #e6e6e6; border-width: 1px 1px 0 0; color: #555; display: block; font-size: 1em; height: auto; line-height: 1; padding: 15px 20px; -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; } -ul.flyout li a:hover, ul.flyout li a:focus, .nav-bar li ul li a:hover, .nav-bar li ul li a:focus { background: #ebebeb; color: #333; } -ul.flyout li.active, .nav-bar li ul li.active { margin-top: 0; border-top: 1px solid #4d4d4d; border-left: 4px solid #1a1a1a; } -ul.flyout li.active a, .nav-bar li ul li.active a { background: #4d4d4d; border: none; color: #fff; height: auto; margin: 0; position: static; top: 0; -webkit-box-shadow: 0 0 0; -moz-box-shadow: 0 0 0; box-shadow: 0 0 0; } - -.nav-bar { height: auto; } -.nav-bar > li { float: none; display: block; border-right: none; } -.nav-bar > li > a.main { text-align: left; border-top: 1px solid #dddddd; border-right: none; } -.nav-bar > li:first-child > a.main { border-top: none; } -.nav-bar > li.has-flyout > a.flyout-toggle { position: absolute; right: 0; top: 0; padding: 22px; z-index: 2; display: block; } -.nav-bar > li.has-flyout.is-touch > a.flyout-toggle span { content: ""; width: 0; height: 0; display: block; } -.nav-bar > li.has-flyout > a.flyout-toggle:hover span { border-top-color: #141414; } -.nav-bar.vertical > li.has-flyout > .flyout { left: 0; } - -/* Between Medium and Small */ -@media only screen and (max-width: 1279px) and (min-width: 768px) { .touch .nav-bar li a { font-size: 0em; } - .touch .nav-bar li.has-flyout > a.flyout-toggle { padding: 20px !important; } - .touch .nav-bar li.has-flyout > a { padding-right: 36px !important; } } -/* 1280 tablet ------------ */ -@media only screen and (max-device-width: 1280px) { .touch .nav-bar li.has-flyout > a { padding-right: 36px !important; } } -/* Foundation Top Bar - Requires: -jquery.foundation.topbar.js - Notes: -