diff --git a/.gitignore b/.gitignore index 72942700..a093f40f 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ Desktop.ini $RECYCLE.BIN/ codekit-config.json + +.sass-cache/ diff --git a/config.rb b/config.rb new file mode 100644 index 00000000..e6030be5 --- /dev/null +++ b/config.rb @@ -0,0 +1,24 @@ +# Require any additional compass plugins here. + +# Set this to the root of your project when deployed: +http_path = "/" +css_dir = "library/css" +sass_dir = "library/scss" +images_dir = "library/img" +javascripts_dir = "library/js" + +# You can select your preferred output style here (can be overridden via the command line): +# output_style = :expanded or :nested or :compact or :compressed + +# To enable relative paths to assets via compass helper functions. Uncomment: +# relative_assets = true + +# To disable debugging comments that display the original location of your selectors. Uncomment: +line_comments = false + + +# If you prefer the indented syntax, you might want to regenerate this +# project again passing --syntax sass, or you can uncomment this: +# preferred_syntax = :sass +# and then run: +# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass diff --git a/library/css/bootstrap.css b/library/css/bootstrap.css index 0f7ebf2a..cb623386 100644 --- a/library/css/bootstrap.css +++ b/library/css/bootstrap.css @@ -1,4 +1,14 @@ -/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ +/*! normalize.css v3.0.0 | MIT License | git.io/normalize */ +html { + font-family: sans-serif; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; +} + +body { + margin: 0; +} + article, aside, details, @@ -13,76 +23,61 @@ section, summary { display: block; } + audio, canvas, +progress, video { display: inline-block; + vertical-align: baseline; } + audio:not([controls]) { display: none; height: 0; } + [hidden], template { display: none; } -html { - font-family: sans-serif; - -ms-text-size-adjust: 100%; - -webkit-text-size-adjust: 100%; -} -body { - margin: 0; -} + a { background: transparent; } -a:focus { - outline: thin dotted; -} + a:active, a:hover { outline: 0; } -h1 { - font-size: 2em; - margin: 0.67em 0; -} + abbr[title] { border-bottom: 1px dotted; } + b, strong { font-weight: bold; } + dfn { font-style: italic; } -hr { - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; + +h1 { + font-size: 2em; + margin: 0.67em 0; } + mark { background: #ff0; color: #000; } -code, -kbd, -pre, -samp { - font-family: monospace, serif; - font-size: 1em; -} -pre { - white-space: pre-wrap; -} -q { - quotes: "\201C" "\201D" "\2018" "\2019"; -} + small { font-size: 80%; } + sub, sup { font-size: 75%; @@ -90,46 +85,64 @@ sup { position: relative; vertical-align: baseline; } + sup { top: -0.5em; } + sub { bottom: -0.25em; } + img { border: 0; } + svg:not(:root) { overflow: hidden; } + figure { - margin: 0; + margin: 1em 40px; } -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; } -legend { - border: 0; - padding: 0; + +pre { + overflow: auto; +} + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; } + button, input, +optgroup, select, textarea { - font-family: inherit; - font-size: 100%; + color: inherit; + font: inherit; margin: 0; } -button, -input { - line-height: normal; + +button { + overflow: visible; } + button, select { text-transform: none; } + button, html input[type="button"], input[type="reset"], @@ -137,38 +150,74 @@ input[type="submit"] { -webkit-appearance: button; cursor: pointer; } + button[disabled], html input[disabled] { cursor: default; } + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +input { + line-height: normal; +} + input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; } + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; } + input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } -button::-moz-focus-inner, -input::-moz-focus-inner { + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +legend { border: 0; padding: 0; } + textarea { overflow: auto; - vertical-align: top; } + +optgroup { + font-weight: bold; +} + table { border-collapse: collapse; border-spacing: 0; } + +td, +th { + padding: 0; +} + @media print { * { text-shadow: none !important; @@ -176,91 +225,116 @@ table { background: transparent !important; box-shadow: none !important; } + a, a:visited { text-decoration: underline; } + a[href]:after { content: " (" attr(href) ")"; } + abbr[title]:after { content: " (" attr(title) ")"; } + a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } + pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } + thead { display: table-header-group; } + tr, img { page-break-inside: avoid; } + img { max-width: 100% !important; } - @page { - margin: 2cm .5cm; - } + p, h2, h3 { orphans: 3; widows: 3; } + h2, h3 { page-break-after: avoid; } + select { background: #fff !important; } + .navbar { display: none; } + .table td, .table th { background-color: #fff !important; } - .btn > .caret, - .dropup > .btn > .caret { + + .btn > .caret, a.comment-reply-link > .caret, #cancel-comment-reply-link > .caret, .form-submit input[type='submit'] > .caret, + .dropup > .btn > .caret, + .dropup > a.comment-reply-link > .caret, + .dropup > #cancel-comment-reply-link > .caret, + .form-submit .dropup > input[type='submit'] > .caret { border-top-color: #000 !important; } - .label { + + .label, .tags a { border: 1px solid #000; } + .table { border-collapse: collapse !important; } + .table-bordered th, .table-bordered td { border: 1px solid #ddd !important; } } -*, +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } + html { font-size: 62.5%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } + body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; - line-height: 1.428571429; + line-height: 1.42857; color: #333333; - background-color: #ffffff; + background-color: white; } + input, button, select, @@ -269,12 +343,12 @@ textarea { font-size: inherit; line-height: inherit; } + a { color: #428bca; text-decoration: none; } -a:hover, -a:focus { +a:hover, a:focus { color: #2a6496; text-decoration: underline; } @@ -283,21 +357,29 @@ a:focus { outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } + +figure { + margin: 0; +} + img { vertical-align: middle; } + .img-responsive { display: block; max-width: 100%; height: auto; } + .img-rounded { border-radius: 6px; } + .img-thumbnail { padding: 4px; - line-height: 1.428571429; - background-color: #ffffff; + line-height: 1.42857; + background-color: white; border: 1px solid #dddddd; border-radius: 4px; -webkit-transition: all 0.2s ease-in-out; @@ -306,15 +388,18 @@ img { max-width: 100%; height: auto; } + .img-circle { border-radius: 50%; } + hr { margin-top: 20px; margin-bottom: 20px; border: 0; border-top: 1px solid #eeeeee; } + .sr-only { position: absolute; width: 1px; @@ -325,106 +410,97 @@ hr { clip: rect(0, 0, 0, 0); border: 0; } -h1, -h2, -h3, -h4, -h5, -h6, -.h1, -.h2, -.h3, -.h4, -.h5, -.h6 { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + +h1, h2, h3, h4, h5, h6, +.h1, .h2, .h3, .h4, .h5, .h6 { + font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit; } h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small, -.h1 small, -.h2 small, -.h3 small, -.h4 small, -.h5 small, -.h6 small, -h1 .small, -h2 .small, -h3 .small, -h4 .small, -h5 .small, +h1 .small, h2 small, +h2 .small, h3 small, +h3 .small, h4 small, +h4 .small, h5 small, +h5 .small, h6 small, h6 .small, -.h1 .small, -.h2 .small, -.h3 .small, -.h4 .small, -.h5 .small, +.h1 small, +.h1 .small, .h2 small, +.h2 .small, .h3 small, +.h3 .small, .h4 small, +.h4 .small, .h5 small, +.h5 .small, .h6 small, .h6 .small { font-weight: normal; line-height: 1; color: #999999; } -h1, -h2, -h3 { + +h1, .h1, +h2, .h2, +h3, .h3 { margin-top: 20px; margin-bottom: 10px; } h1 small, +h1 .small, .h1 small, +.h1 .small, h2 small, +h2 .small, .h2 small, +.h2 .small, h3 small, -h1 .small, -h2 .small, -h3 .small { +h3 .small, .h3 small, +.h3 .small { font-size: 65%; } -h4, -h5, -h6 { + +h4, .h4, +h5, .h5, +h6, .h6 { margin-top: 10px; margin-bottom: 10px; } h4 small, +h4 .small, .h4 small, +.h4 .small, h5 small, +h5 .small, .h5 small, +.h5 .small, h6 small, -h4 .small, -h5 .small, -h6 .small { +h6 .small, .h6 small, +.h6 .small { font-size: 75%; } -h1, -.h1 { + +h1, .h1 { font-size: 36px; } -h2, -.h2 { + +h2, .h2 { font-size: 30px; } -h3, -.h3 { + +h3, .h3 { font-size: 24px; } -h4, -.h4 { + +h4, .h4 { font-size: 18px; } -h5, -.h5 { + +h5, .h5 { font-size: 14px; } -h6, -.h6 { + +h6, .h6 { font-size: 12px; } + p { margin: 0 0 10px; } + .lead { margin-bottom: 20px; font-size: 16px; @@ -436,79 +512,143 @@ p { font-size: 21px; } } + small, .small { font-size: 85%; } + cite { font-style: normal; } + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + +.text-center { + text-align: center; +} + +.text-justify { + text-align: justify; +} + .text-muted { color: #999999; } + .text-primary { color: #428bca; } -.text-primary:hover { + +a.text-primary:hover { color: #3071a9; } + +.text-success { + color: #3c763d; +} + +a.text-success:hover { + color: #2b542c; +} + +.text-info { + color: #31708f; +} + +a.text-info:hover { + color: #245269; +} + .text-warning { color: #8a6d3b; } -.text-warning:hover { + +a.text-warning:hover { color: #66512c; } + .text-danger { color: #a94442; } -.text-danger:hover { + +a.text-danger:hover { color: #843534; } -.text-success { - color: #3c763d; + +.bg-primary { + color: #fff; } -.text-success:hover { - color: #2b542c; + +.bg-primary { + background-color: #428bca; } -.text-info { - color: #31708f; + +a.bg-primary:hover { + background-color: #3071a9; } -.text-info:hover { - color: #245269; + +.bg-success { + background-color: #dff0d8; } -.text-left { - text-align: left; + +a.bg-success:hover { + background-color: #c1e2b3; } -.text-right { - text-align: right; + +.bg-info { + background-color: #d9edf7; } -.text-center { - text-align: center; + +a.bg-info:hover { + background-color: #afd9ee; +} + +.bg-warning { + background-color: #fcf8e3; +} + +a.bg-warning:hover { + background-color: #f7ecb5; +} + +.bg-danger { + background-color: #f2dede; +} + +a.bg-danger:hover { + background-color: #e4b9b9; } + .page-header { padding-bottom: 9px; margin: 40px 0 20px; border-bottom: 1px solid #eeeeee; } + ul, ol { margin-top: 0; margin-bottom: 10px; } ul ul, -ol ul, ul ol, +ol ul, ol ol { margin-bottom: 0; } -.list-unstyled { - padding-left: 0; - list-style: none; -} -.list-inline { + +.list-unstyled, .list-inline { padding-left: 0; list-style: none; } + .list-inline > li { display: inline-block; padding-left: 5px; @@ -517,20 +657,25 @@ ol ol { .list-inline > li:first-child { padding-left: 0; } + dl { margin-top: 0; margin-bottom: 20px; } + dt, dd { - line-height: 1.428571429; + line-height: 1.42857; } + dt { font-weight: bold; } + dd { margin-left: 0; } + @media (min-width: 768px) { .dl-horizontal dt { float: left; @@ -543,18 +688,8 @@ dd { } .dl-horizontal dd { margin-left: 180px; - zoom: 1; - } - .dl-horizontal dd:before, - .dl-horizontal dd:after { - content: " "; - display: table; - } - .dl-horizontal dd:after { - clear: both; } - .dl-horizontal dd:before, - .dl-horizontal dd:after { + .dl-horizontal dd:before, .dl-horizontal dd:after { content: " "; display: table; } @@ -567,67 +702,80 @@ abbr[data-original-title] { cursor: help; border-bottom: 1px dotted #999999; } + .initialism { font-size: 90%; text-transform: uppercase; } + blockquote { padding: 10px 20px; margin: 0 0 20px; - border-left: 5px solid #eeeeee; -} -blockquote p { font-size: 17.5px; - font-weight: 300; - line-height: 1.25; + border-left: 5px solid #eeeeee; } -blockquote p:last-child { +blockquote p:last-child, +blockquote ul:last-child, +blockquote ol:last-child { margin-bottom: 0; } +blockquote footer, blockquote small, blockquote .small { display: block; - line-height: 1.428571429; + font-size: 80%; + line-height: 1.42857; color: #999999; } +blockquote footer:before, blockquote small:before, blockquote .small:before { content: '\2014 \00A0'; } + +.blockquote-reverse, blockquote.pull-right { padding-right: 15px; padding-left: 0; border-right: 5px solid #eeeeee; border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small, -blockquote.pull-right .small { text-align: right; } +.blockquote-reverse footer:before, +.blockquote-reverse small:before, +.blockquote-reverse .small:before, +blockquote.pull-right footer:before, blockquote.pull-right small:before, blockquote.pull-right .small:before { content: ''; } +.blockquote-reverse footer:after, +.blockquote-reverse small:after, +.blockquote-reverse .small:after, +blockquote.pull-right footer:after, blockquote.pull-right small:after, blockquote.pull-right .small:after { content: '\00A0 \2014'; } + blockquote:before, blockquote:after { content: ""; } + address { margin-bottom: 20px; font-style: normal; - line-height: 1.428571429; + line-height: 1.42857; } + code, kbd, pre, samp { font-family: Menlo, Monaco, Consolas, "Courier New", monospace; } + code { padding: 2px 4px; font-size: 90%; @@ -636,16 +784,26 @@ code { white-space: nowrap; border-radius: 4px; } + +kbd { + padding: 2px 4px; + font-size: 90%; + color: white; + background-color: #333333; + border-radius: 3px; + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25); +} + pre { display: block; padding: 9.5px; margin: 0 0 10px; font-size: 13px; - line-height: 1.428571429; + line-height: 1.42857; word-break: break-all; word-wrap: break-word; color: #333333; - background-color: #f5f5f5; + background-color: whitesmoke; border: 1px solid #cccccc; border-radius: 4px; } @@ -657,27 +815,19 @@ pre code { background-color: transparent; border-radius: 0; } + .pre-scrollable { max-height: 340px; overflow-y: scroll; } + .container { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; - zoom: 1; } -.container:before, -.container:after { - content: " "; - display: table; -} -.container:after { - clear: both; -} -.container:before, -.container:after { +.container:before, .container:after { content: " "; display: table; } @@ -699,682 +849,896 @@ pre code { width: 1170px; } } -.row { - margin-left: -15px; - margin-right: -15px; - zoom: 1; + +.container-fluid { + margin-right: auto; + margin-left: auto; + padding-left: 15px; + padding-right: 15px; } -.row:before, -.row:after { +.container-fluid:before, .container-fluid:after { content: " "; display: table; } -.row:after { +.container-fluid:after { clear: both; } -.row:before, -.row:after { + +.row { + margin-left: -15px; + margin-right: -15px; +} +.row:before, .row:after { content: " "; display: table; } .row:after { clear: both; } -.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { + +.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1 { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; } -.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { + +.col-xs-12, .col-xs-11, .col-xs-10, .col-xs-9, .col-xs-8, .col-xs-7, .col-xs-6, .col-xs-5, .col-xs-4, .col-xs-3, .col-xs-2, .col-xs-1 { float: left; } -.col-xs-12 { - width: 100%; -} -.col-xs-11 { - width: 91.66666666666666%; + +.col-xs-1 { + width: 8.33333%; } -.col-xs-10 { - width: 83.33333333333334%; + +.col-xs-2 { + width: 16.66667%; } -.col-xs-9 { - width: 75%; + +.col-xs-3 { + width: 25%; } -.col-xs-8 { - width: 66.66666666666666%; + +.col-xs-4 { + width: 33.33333%; } -.col-xs-7 { - width: 58.333333333333336%; + +.col-xs-5 { + width: 41.66667%; } + .col-xs-6 { width: 50%; } -.col-xs-5 { - width: 41.66666666666667%; + +.col-xs-7 { + width: 58.33333%; } -.col-xs-4 { - width: 33.33333333333333%; + +.col-xs-8 { + width: 66.66667%; } -.col-xs-3 { - width: 25%; + +.col-xs-9 { + width: 75%; } -.col-xs-2 { - width: 16.666666666666664%; + +.col-xs-10 { + width: 83.33333%; } -.col-xs-1 { - width: 8.333333333333332%; + +.col-xs-11 { + width: 91.66667%; } -.col-xs-pull-12 { - right: 100%; + +.col-xs-12 { + width: 100%; } -.col-xs-pull-11 { - right: 91.66666666666666%; + +.col-xs-pull-0 { + right: 0%; } -.col-xs-pull-10 { - right: 83.33333333333334%; + +.col-xs-pull-1 { + right: 8.33333%; } -.col-xs-pull-9 { - right: 75%; + +.col-xs-pull-2 { + right: 16.66667%; } -.col-xs-pull-8 { - right: 66.66666666666666%; + +.col-xs-pull-3 { + right: 25%; } -.col-xs-pull-7 { - right: 58.333333333333336%; + +.col-xs-pull-4 { + right: 33.33333%; } + +.col-xs-pull-5 { + right: 41.66667%; +} + .col-xs-pull-6 { right: 50%; } -.col-xs-pull-5 { - right: 41.66666666666667%; + +.col-xs-pull-7 { + right: 58.33333%; } -.col-xs-pull-4 { - right: 33.33333333333333%; + +.col-xs-pull-8 { + right: 66.66667%; } -.col-xs-pull-3 { - right: 25%; + +.col-xs-pull-9 { + right: 75%; } -.col-xs-pull-2 { - right: 16.666666666666664%; + +.col-xs-pull-10 { + right: 83.33333%; } -.col-xs-pull-1 { - right: 8.333333333333332%; + +.col-xs-pull-11 { + right: 91.66667%; } -.col-xs-pull-0 { - right: 0%; + +.col-xs-pull-12 { + right: 100%; } -.col-xs-push-12 { - left: 100%; + +.col-xs-push-0 { + left: 0%; } -.col-xs-push-11 { - left: 91.66666666666666%; + +.col-xs-push-1 { + left: 8.33333%; } -.col-xs-push-10 { - left: 83.33333333333334%; + +.col-xs-push-2 { + left: 16.66667%; } -.col-xs-push-9 { - left: 75%; + +.col-xs-push-3 { + left: 25%; } -.col-xs-push-8 { - left: 66.66666666666666%; + +.col-xs-push-4 { + left: 33.33333%; } -.col-xs-push-7 { - left: 58.333333333333336%; + +.col-xs-push-5 { + left: 41.66667%; } + .col-xs-push-6 { left: 50%; } -.col-xs-push-5 { - left: 41.66666666666667%; + +.col-xs-push-7 { + left: 58.33333%; } -.col-xs-push-4 { - left: 33.33333333333333%; + +.col-xs-push-8 { + left: 66.66667%; } -.col-xs-push-3 { - left: 25%; + +.col-xs-push-9 { + left: 75%; } -.col-xs-push-2 { - left: 16.666666666666664%; + +.col-xs-push-10 { + left: 83.33333%; } -.col-xs-push-1 { - left: 8.333333333333332%; + +.col-xs-push-11 { + left: 91.66667%; } -.col-xs-push-0 { - left: 0%; + +.col-xs-push-12 { + left: 100%; } -.col-xs-offset-12 { - margin-left: 100%; + +.col-xs-offset-0 { + margin-left: 0%; } -.col-xs-offset-11 { - margin-left: 91.66666666666666%; + +.col-xs-offset-1 { + margin-left: 8.33333%; } -.col-xs-offset-10 { - margin-left: 83.33333333333334%; + +.col-xs-offset-2 { + margin-left: 16.66667%; } -.col-xs-offset-9 { - margin-left: 75%; + +.col-xs-offset-3 { + margin-left: 25%; } -.col-xs-offset-8 { - margin-left: 66.66666666666666%; + +.col-xs-offset-4 { + margin-left: 33.33333%; } -.col-xs-offset-7 { - margin-left: 58.333333333333336%; + +.col-xs-offset-5 { + margin-left: 41.66667%; } + .col-xs-offset-6 { margin-left: 50%; } -.col-xs-offset-5 { - margin-left: 41.66666666666667%; + +.col-xs-offset-7 { + margin-left: 58.33333%; } -.col-xs-offset-4 { - margin-left: 33.33333333333333%; + +.col-xs-offset-8 { + margin-left: 66.66667%; } -.col-xs-offset-3 { - margin-left: 25%; + +.col-xs-offset-9 { + margin-left: 75%; } -.col-xs-offset-2 { - margin-left: 16.666666666666664%; + +.col-xs-offset-10 { + margin-left: 83.33333%; } -.col-xs-offset-1 { - margin-left: 8.333333333333332%; + +.col-xs-offset-11 { + margin-left: 91.66667%; } -.col-xs-offset-0 { - margin-left: 0%; + +.col-xs-offset-12 { + margin-left: 100%; } + @media (min-width: 768px) { - .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { + .col-sm-12, .col-sm-11, .col-sm-10, .col-sm-9, .col-sm-8, .col-sm-7, .col-sm-6, .col-sm-5, .col-sm-4, .col-sm-3, .col-sm-2, .col-sm-1 { float: left; } - .col-sm-12 { - width: 100%; - } - .col-sm-11 { - width: 91.66666666666666%; + + .col-sm-1 { + width: 8.33333%; } - .col-sm-10 { - width: 83.33333333333334%; + + .col-sm-2 { + width: 16.66667%; } - .col-sm-9 { - width: 75%; + + .col-sm-3 { + width: 25%; } - .col-sm-8 { - width: 66.66666666666666%; + + .col-sm-4 { + width: 33.33333%; } - .col-sm-7 { - width: 58.333333333333336%; + + .col-sm-5 { + width: 41.66667%; } + .col-sm-6 { width: 50%; } - .col-sm-5 { - width: 41.66666666666667%; + + .col-sm-7 { + width: 58.33333%; } - .col-sm-4 { - width: 33.33333333333333%; + + .col-sm-8 { + width: 66.66667%; } - .col-sm-3 { - width: 25%; + + .col-sm-9 { + width: 75%; } - .col-sm-2 { - width: 16.666666666666664%; + + .col-sm-10 { + width: 83.33333%; } - .col-sm-1 { - width: 8.333333333333332%; + + .col-sm-11 { + width: 91.66667%; } - .col-sm-pull-12 { - right: 100%; + + .col-sm-12 { + width: 100%; } - .col-sm-pull-11 { - right: 91.66666666666666%; + + .col-sm-pull-0 { + right: 0%; } - .col-sm-pull-10 { - right: 83.33333333333334%; + + .col-sm-pull-1 { + right: 8.33333%; } - .col-sm-pull-9 { - right: 75%; + + .col-sm-pull-2 { + right: 16.66667%; } - .col-sm-pull-8 { - right: 66.66666666666666%; + + .col-sm-pull-3 { + right: 25%; } - .col-sm-pull-7 { - right: 58.333333333333336%; + + .col-sm-pull-4 { + right: 33.33333%; } + + .col-sm-pull-5 { + right: 41.66667%; + } + .col-sm-pull-6 { right: 50%; } - .col-sm-pull-5 { - right: 41.66666666666667%; + + .col-sm-pull-7 { + right: 58.33333%; } - .col-sm-pull-4 { - right: 33.33333333333333%; + + .col-sm-pull-8 { + right: 66.66667%; } - .col-sm-pull-3 { - right: 25%; + + .col-sm-pull-9 { + right: 75%; } - .col-sm-pull-2 { - right: 16.666666666666664%; + + .col-sm-pull-10 { + right: 83.33333%; } - .col-sm-pull-1 { - right: 8.333333333333332%; + + .col-sm-pull-11 { + right: 91.66667%; } - .col-sm-pull-0 { - right: 0%; + + .col-sm-pull-12 { + right: 100%; } - .col-sm-push-12 { - left: 100%; + + .col-sm-push-0 { + left: 0%; } - .col-sm-push-11 { - left: 91.66666666666666%; + + .col-sm-push-1 { + left: 8.33333%; } - .col-sm-push-10 { - left: 83.33333333333334%; + + .col-sm-push-2 { + left: 16.66667%; } - .col-sm-push-9 { - left: 75%; + + .col-sm-push-3 { + left: 25%; } - .col-sm-push-8 { - left: 66.66666666666666%; + + .col-sm-push-4 { + left: 33.33333%; } - .col-sm-push-7 { - left: 58.333333333333336%; + + .col-sm-push-5 { + left: 41.66667%; } + .col-sm-push-6 { left: 50%; } - .col-sm-push-5 { - left: 41.66666666666667%; + + .col-sm-push-7 { + left: 58.33333%; } - .col-sm-push-4 { - left: 33.33333333333333%; + + .col-sm-push-8 { + left: 66.66667%; } - .col-sm-push-3 { - left: 25%; + + .col-sm-push-9 { + left: 75%; } - .col-sm-push-2 { - left: 16.666666666666664%; + + .col-sm-push-10 { + left: 83.33333%; } - .col-sm-push-1 { - left: 8.333333333333332%; + + .col-sm-push-11 { + left: 91.66667%; } - .col-sm-push-0 { - left: 0%; + + .col-sm-push-12 { + left: 100%; } - .col-sm-offset-12 { - margin-left: 100%; + + .col-sm-offset-0 { + margin-left: 0%; } - .col-sm-offset-11 { - margin-left: 91.66666666666666%; + + .col-sm-offset-1 { + margin-left: 8.33333%; } - .col-sm-offset-10 { - margin-left: 83.33333333333334%; + + .col-sm-offset-2 { + margin-left: 16.66667%; } - .col-sm-offset-9 { - margin-left: 75%; + + .col-sm-offset-3 { + margin-left: 25%; } - .col-sm-offset-8 { - margin-left: 66.66666666666666%; + + .col-sm-offset-4 { + margin-left: 33.33333%; } - .col-sm-offset-7 { - margin-left: 58.333333333333336%; + + .col-sm-offset-5 { + margin-left: 41.66667%; } + .col-sm-offset-6 { margin-left: 50%; } - .col-sm-offset-5 { - margin-left: 41.66666666666667%; + + .col-sm-offset-7 { + margin-left: 58.33333%; } - .col-sm-offset-4 { - margin-left: 33.33333333333333%; + + .col-sm-offset-8 { + margin-left: 66.66667%; } - .col-sm-offset-3 { - margin-left: 25%; + + .col-sm-offset-9 { + margin-left: 75%; } - .col-sm-offset-2 { - margin-left: 16.666666666666664%; + + .col-sm-offset-10 { + margin-left: 83.33333%; } - .col-sm-offset-1 { - margin-left: 8.333333333333332%; + + .col-sm-offset-11 { + margin-left: 91.66667%; } - .col-sm-offset-0 { - margin-left: 0%; + + .col-sm-offset-12 { + margin-left: 100%; } } @media (min-width: 992px) { - .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { + .col-md-12, .col-md-11, .col-md-10, .col-md-9, .col-md-8, .col-md-7, .col-md-6, .col-md-5, .col-md-4, .col-md-3, .col-md-2, .col-md-1 { float: left; } - .col-md-12 { - width: 100%; - } - .col-md-11 { - width: 91.66666666666666%; + + .col-md-1 { + width: 8.33333%; } - .col-md-10 { - width: 83.33333333333334%; + + .col-md-2 { + width: 16.66667%; } - .col-md-9 { - width: 75%; + + .col-md-3 { + width: 25%; } - .col-md-8 { - width: 66.66666666666666%; + + .col-md-4 { + width: 33.33333%; } - .col-md-7 { - width: 58.333333333333336%; + + .col-md-5 { + width: 41.66667%; } + .col-md-6 { width: 50%; } - .col-md-5 { - width: 41.66666666666667%; + + .col-md-7 { + width: 58.33333%; } - .col-md-4 { - width: 33.33333333333333%; + + .col-md-8 { + width: 66.66667%; } - .col-md-3 { - width: 25%; + + .col-md-9 { + width: 75%; } - .col-md-2 { - width: 16.666666666666664%; + + .col-md-10 { + width: 83.33333%; } - .col-md-1 { - width: 8.333333333333332%; + + .col-md-11 { + width: 91.66667%; } - .col-md-pull-12 { - right: 100%; + + .col-md-12 { + width: 100%; } - .col-md-pull-11 { - right: 91.66666666666666%; + + .col-md-pull-0 { + right: 0%; } - .col-md-pull-10 { - right: 83.33333333333334%; + + .col-md-pull-1 { + right: 8.33333%; } - .col-md-pull-9 { - right: 75%; + + .col-md-pull-2 { + right: 16.66667%; } - .col-md-pull-8 { - right: 66.66666666666666%; + + .col-md-pull-3 { + right: 25%; } - .col-md-pull-7 { - right: 58.333333333333336%; + + .col-md-pull-4 { + right: 33.33333%; + } + + .col-md-pull-5 { + right: 41.66667%; } + .col-md-pull-6 { right: 50%; } - .col-md-pull-5 { - right: 41.66666666666667%; + + .col-md-pull-7 { + right: 58.33333%; } - .col-md-pull-4 { - right: 33.33333333333333%; + + .col-md-pull-8 { + right: 66.66667%; } - .col-md-pull-3 { - right: 25%; + + .col-md-pull-9 { + right: 75%; } - .col-md-pull-2 { - right: 16.666666666666664%; + + .col-md-pull-10 { + right: 83.33333%; } - .col-md-pull-1 { - right: 8.333333333333332%; + + .col-md-pull-11 { + right: 91.66667%; } - .col-md-pull-0 { - right: 0%; + + .col-md-pull-12 { + right: 100%; } - .col-md-push-12 { - left: 100%; + + .col-md-push-0 { + left: 0%; } - .col-md-push-11 { - left: 91.66666666666666%; + + .col-md-push-1 { + left: 8.33333%; } - .col-md-push-10 { - left: 83.33333333333334%; + + .col-md-push-2 { + left: 16.66667%; } - .col-md-push-9 { - left: 75%; + + .col-md-push-3 { + left: 25%; } - .col-md-push-8 { - left: 66.66666666666666%; + + .col-md-push-4 { + left: 33.33333%; } - .col-md-push-7 { - left: 58.333333333333336%; + + .col-md-push-5 { + left: 41.66667%; } + .col-md-push-6 { left: 50%; } - .col-md-push-5 { - left: 41.66666666666667%; + + .col-md-push-7 { + left: 58.33333%; } - .col-md-push-4 { - left: 33.33333333333333%; + + .col-md-push-8 { + left: 66.66667%; } - .col-md-push-3 { - left: 25%; + + .col-md-push-9 { + left: 75%; } - .col-md-push-2 { - left: 16.666666666666664%; + + .col-md-push-10 { + left: 83.33333%; } - .col-md-push-1 { - left: 8.333333333333332%; + + .col-md-push-11 { + left: 91.66667%; } - .col-md-push-0 { - left: 0%; + + .col-md-push-12 { + left: 100%; } - .col-md-offset-12 { - margin-left: 100%; + + .col-md-offset-0 { + margin-left: 0%; } - .col-md-offset-11 { - margin-left: 91.66666666666666%; + + .col-md-offset-1 { + margin-left: 8.33333%; } - .col-md-offset-10 { - margin-left: 83.33333333333334%; + + .col-md-offset-2 { + margin-left: 16.66667%; } - .col-md-offset-9 { - margin-left: 75%; + + .col-md-offset-3 { + margin-left: 25%; } - .col-md-offset-8 { - margin-left: 66.66666666666666%; + + .col-md-offset-4 { + margin-left: 33.33333%; } - .col-md-offset-7 { - margin-left: 58.333333333333336%; + + .col-md-offset-5 { + margin-left: 41.66667%; } + .col-md-offset-6 { margin-left: 50%; } - .col-md-offset-5 { - margin-left: 41.66666666666667%; + + .col-md-offset-7 { + margin-left: 58.33333%; } - .col-md-offset-4 { - margin-left: 33.33333333333333%; + + .col-md-offset-8 { + margin-left: 66.66667%; } - .col-md-offset-3 { - margin-left: 25%; + + .col-md-offset-9 { + margin-left: 75%; } - .col-md-offset-2 { - margin-left: 16.666666666666664%; + + .col-md-offset-10 { + margin-left: 83.33333%; } - .col-md-offset-1 { - margin-left: 8.333333333333332%; + + .col-md-offset-11 { + margin-left: 91.66667%; } - .col-md-offset-0 { - margin-left: 0%; + + .col-md-offset-12 { + margin-left: 100%; } } @media (min-width: 1200px) { - .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { + .col-lg-12, .col-lg-11, .col-lg-10, .col-lg-9, .col-lg-8, .col-lg-7, .col-lg-6, .col-lg-5, .col-lg-4, .col-lg-3, .col-lg-2, .col-lg-1 { float: left; } - .col-lg-12 { - width: 100%; - } - .col-lg-11 { - width: 91.66666666666666%; + + .col-lg-1 { + width: 8.33333%; } - .col-lg-10 { - width: 83.33333333333334%; + + .col-lg-2 { + width: 16.66667%; } - .col-lg-9 { - width: 75%; + + .col-lg-3 { + width: 25%; } - .col-lg-8 { - width: 66.66666666666666%; + + .col-lg-4 { + width: 33.33333%; } - .col-lg-7 { - width: 58.333333333333336%; + + .col-lg-5 { + width: 41.66667%; } + .col-lg-6 { width: 50%; } - .col-lg-5 { - width: 41.66666666666667%; + + .col-lg-7 { + width: 58.33333%; } - .col-lg-4 { - width: 33.33333333333333%; + + .col-lg-8 { + width: 66.66667%; } - .col-lg-3 { - width: 25%; + + .col-lg-9 { + width: 75%; } - .col-lg-2 { - width: 16.666666666666664%; + + .col-lg-10 { + width: 83.33333%; } - .col-lg-1 { - width: 8.333333333333332%; + + .col-lg-11 { + width: 91.66667%; } - .col-lg-pull-12 { - right: 100%; + + .col-lg-12 { + width: 100%; } - .col-lg-pull-11 { - right: 91.66666666666666%; + + .col-lg-pull-0 { + right: 0%; } - .col-lg-pull-10 { - right: 83.33333333333334%; + + .col-lg-pull-1 { + right: 8.33333%; } - .col-lg-pull-9 { - right: 75%; + + .col-lg-pull-2 { + right: 16.66667%; } - .col-lg-pull-8 { - right: 66.66666666666666%; + + .col-lg-pull-3 { + right: 25%; } - .col-lg-pull-7 { - right: 58.333333333333336%; + + .col-lg-pull-4 { + right: 33.33333%; + } + + .col-lg-pull-5 { + right: 41.66667%; } + .col-lg-pull-6 { right: 50%; } - .col-lg-pull-5 { - right: 41.66666666666667%; + + .col-lg-pull-7 { + right: 58.33333%; } - .col-lg-pull-4 { - right: 33.33333333333333%; + + .col-lg-pull-8 { + right: 66.66667%; } - .col-lg-pull-3 { - right: 25%; + + .col-lg-pull-9 { + right: 75%; } - .col-lg-pull-2 { - right: 16.666666666666664%; + + .col-lg-pull-10 { + right: 83.33333%; } - .col-lg-pull-1 { - right: 8.333333333333332%; + + .col-lg-pull-11 { + right: 91.66667%; } - .col-lg-pull-0 { - right: 0%; + + .col-lg-pull-12 { + right: 100%; } - .col-lg-push-12 { - left: 100%; + + .col-lg-push-0 { + left: 0%; } - .col-lg-push-11 { - left: 91.66666666666666%; + + .col-lg-push-1 { + left: 8.33333%; } - .col-lg-push-10 { - left: 83.33333333333334%; + + .col-lg-push-2 { + left: 16.66667%; } - .col-lg-push-9 { - left: 75%; + + .col-lg-push-3 { + left: 25%; } - .col-lg-push-8 { - left: 66.66666666666666%; + + .col-lg-push-4 { + left: 33.33333%; } - .col-lg-push-7 { - left: 58.333333333333336%; + + .col-lg-push-5 { + left: 41.66667%; } + .col-lg-push-6 { left: 50%; } - .col-lg-push-5 { - left: 41.66666666666667%; + + .col-lg-push-7 { + left: 58.33333%; } - .col-lg-push-4 { - left: 33.33333333333333%; + + .col-lg-push-8 { + left: 66.66667%; } - .col-lg-push-3 { - left: 25%; + + .col-lg-push-9 { + left: 75%; } - .col-lg-push-2 { - left: 16.666666666666664%; + + .col-lg-push-10 { + left: 83.33333%; } - .col-lg-push-1 { - left: 8.333333333333332%; + + .col-lg-push-11 { + left: 91.66667%; } - .col-lg-push-0 { - left: 0%; + + .col-lg-push-12 { + left: 100%; } - .col-lg-offset-12 { - margin-left: 100%; + + .col-lg-offset-0 { + margin-left: 0%; } - .col-lg-offset-11 { - margin-left: 91.66666666666666%; + + .col-lg-offset-1 { + margin-left: 8.33333%; } - .col-lg-offset-10 { - margin-left: 83.33333333333334%; + + .col-lg-offset-2 { + margin-left: 16.66667%; } - .col-lg-offset-9 { - margin-left: 75%; + + .col-lg-offset-3 { + margin-left: 25%; } - .col-lg-offset-8 { - margin-left: 66.66666666666666%; + + .col-lg-offset-4 { + margin-left: 33.33333%; } - .col-lg-offset-7 { - margin-left: 58.333333333333336%; + + .col-lg-offset-5 { + margin-left: 41.66667%; } + .col-lg-offset-6 { margin-left: 50%; } - .col-lg-offset-5 { - margin-left: 41.66666666666667%; + + .col-lg-offset-7 { + margin-left: 58.33333%; } - .col-lg-offset-4 { - margin-left: 33.33333333333333%; + + .col-lg-offset-8 { + margin-left: 66.66667%; } - .col-lg-offset-3 { - margin-left: 25%; + + .col-lg-offset-9 { + margin-left: 75%; } - .col-lg-offset-2 { - margin-left: 16.666666666666664%; + + .col-lg-offset-10 { + margin-left: 83.33333%; } - .col-lg-offset-1 { - margin-left: 8.333333333333332%; + + .col-lg-offset-11 { + margin-left: 91.66667%; } - .col-lg-offset-0 { - margin-left: 0%; + + .col-lg-offset-12 { + margin-left: 100%; } } table { max-width: 100%; background-color: transparent; } + th { text-align: left; } + .table { width: 100%; margin-bottom: 20px; } .table > thead > tr > th, -.table > tbody > tr > th, -.table > tfoot > tr > th, .table > thead > tr > td, +.table > tbody > tr > th, .table > tbody > tr > td, +.table > tfoot > tr > th, .table > tfoot > tr > td { padding: 8px; - line-height: 1.428571429; + line-height: 1.42857; vertical-align: top; border-top: 1px solid #dddddd; } @@ -1383,10 +1747,10 @@ th { border-bottom: 2px solid #dddddd; } .table > caption + thead > tr:first-child > th, -.table > colgroup + thead > tr:first-child > th, -.table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > th, .table > thead:first-child > tr:first-child > td { border-top: 0; } @@ -1394,24 +1758,26 @@ th { border-top: 2px solid #dddddd; } .table .table { - background-color: #ffffff; + background-color: white; } + .table-condensed > thead > tr > th, -.table-condensed > tbody > tr > th, -.table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, +.table-condensed > tbody > tr > th, .table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > th, .table-condensed > tfoot > tr > td { padding: 5px; } + .table-bordered { border: 1px solid #dddddd; } .table-bordered > thead > tr > th, -.table-bordered > tbody > tr > th, -.table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, +.table-bordered > tbody > tr > th, .table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > th, .table-bordered > tfoot > tr > td { border: 1px solid #dddddd; } @@ -1419,88 +1785,120 @@ th { .table-bordered > thead > tr > td { border-bottom-width: 2px; } + .table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th { background-color: #f9f9f9; } + .table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th { - background-color: #f5f5f5; + background-color: whitesmoke; } + table col[class*="col-"] { position: static; float: none; display: table-column; } + table td[class*="col-"], table th[class*="col-"] { + position: static; float: none; display: table-cell; } -.table > thead > tr > .active, -.table > tbody > tr > .active, -.table > tfoot > tr > .active, -.table > thead > .active > td, -.table > tbody > .active > td, -.table > tfoot > .active > td, -.table > thead > .active > th, -.table > tbody > .active > th, -.table > tfoot > .active > th { - background-color: #f5f5f5; -} -.table-hover > tbody > tr > .active:hover, -.table-hover > tbody > .active:hover > td, -.table-hover > tbody > .active:hover > th { + +.table > thead > tr > td.active, +.table > thead > tr > th.active, .table > thead > tr.active > td, .table > thead > tr.active > th, +.table > tbody > tr > td.active, +.table > tbody > tr > th.active, +.table > tbody > tr.active > td, +.table > tbody > tr.active > th, +.table > tfoot > tr > td.active, +.table > tfoot > tr > th.active, +.table > tfoot > tr.active > td, +.table > tfoot > tr.active > th { + background-color: whitesmoke; +} + +.table-hover > tbody > tr > td.active:hover, +.table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr.active:hover > th { background-color: #e8e8e8; } -.table > thead > tr > .success, -.table > tbody > tr > .success, -.table > tfoot > tr > .success, -.table > thead > .success > td, -.table > tbody > .success > td, -.table > tfoot > .success > td, -.table > thead > .success > th, -.table > tbody > .success > th, -.table > tfoot > .success > th { + +.table > thead > tr > td.success, +.table > thead > tr > th.success, .table > thead > tr.success > td, .table > thead > tr.success > th, +.table > tbody > tr > td.success, +.table > tbody > tr > th.success, +.table > tbody > tr.success > td, +.table > tbody > tr.success > th, +.table > tfoot > tr > td.success, +.table > tfoot > tr > th.success, +.table > tfoot > tr.success > td, +.table > tfoot > tr.success > th { background-color: #dff0d8; } -.table-hover > tbody > tr > .success:hover, -.table-hover > tbody > .success:hover > td, -.table-hover > tbody > .success:hover > th { + +.table-hover > tbody > tr > td.success:hover, +.table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr.success:hover > th { background-color: #d0e9c6; } -.table > thead > tr > .danger, -.table > tbody > tr > .danger, -.table > tfoot > tr > .danger, -.table > thead > .danger > td, -.table > tbody > .danger > td, -.table > tfoot > .danger > td, -.table > thead > .danger > th, -.table > tbody > .danger > th, -.table > tfoot > .danger > th { - background-color: #f2dede; + +.table > thead > tr > td.info, +.table > thead > tr > th.info, .table > thead > tr.info > td, .table > thead > tr.info > th, +.table > tbody > tr > td.info, +.table > tbody > tr > th.info, +.table > tbody > tr.info > td, +.table > tbody > tr.info > th, +.table > tfoot > tr > td.info, +.table > tfoot > tr > th.info, +.table > tfoot > tr.info > td, +.table > tfoot > tr.info > th { + background-color: #d9edf7; } -.table-hover > tbody > tr > .danger:hover, -.table-hover > tbody > .danger:hover > td, -.table-hover > tbody > .danger:hover > th { - background-color: #ebcccc; + +.table-hover > tbody > tr > td.info:hover, +.table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr.info:hover > th { + background-color: #c4e3f3; } -.table > thead > tr > .warning, -.table > tbody > tr > .warning, -.table > tfoot > tr > .warning, -.table > thead > .warning > td, -.table > tbody > .warning > td, -.table > tfoot > .warning > td, -.table > thead > .warning > th, -.table > tbody > .warning > th, -.table > tfoot > .warning > th { + +.table > thead > tr > td.warning, +.table > thead > tr > th.warning, .table > thead > tr.warning > td, .table > thead > tr.warning > th, +.table > tbody > tr > td.warning, +.table > tbody > tr > th.warning, +.table > tbody > tr.warning > td, +.table > tbody > tr.warning > th, +.table > tfoot > tr > td.warning, +.table > tfoot > tr > th.warning, +.table > tfoot > tr.warning > td, +.table > tfoot > tr.warning > th { background-color: #fcf8e3; } -.table-hover > tbody > tr > .warning:hover, -.table-hover > tbody > .warning:hover > td, -.table-hover > tbody > .warning:hover > th { + +.table-hover > tbody > tr > td.warning:hover, +.table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr.warning:hover > th { background-color: #faf2cc; } + +.table > thead > tr > td.danger, +.table > thead > tr > th.danger, .table > thead > tr.danger > td, .table > thead > tr.danger > th, +.table > tbody > tr > td.danger, +.table > tbody > tr > th.danger, +.table > tbody > tr.danger > td, +.table > tbody > tr.danger > th, +.table > tfoot > tr > td.danger, +.table > tfoot > tr > th.danger, +.table > tfoot > tr.danger > td, +.table > tfoot > tr.danger > th { + background-color: #f2dede; +} + +.table-hover > tbody > tr > td.danger:hover, +.table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr.danger:hover > th { + background-color: #ebcccc; +} + @media (max-width: 767px) { .table-responsive { width: 100%; @@ -1515,10 +1913,10 @@ table th[class*="col-"] { margin-bottom: 0; } .table-responsive > .table > thead > tr > th, - .table-responsive > .table > tbody > tr > th, - .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > tfoot > tr > td { white-space: nowrap; } @@ -1526,24 +1924,24 @@ table th[class*="col-"] { border: 0; } .table-responsive > .table-bordered > thead > tr > th:first-child, - .table-responsive > .table-bordered > tbody > tr > th:first-child, - .table-responsive > .table-bordered > tfoot > tr > th:first-child, .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, .table-responsive > .table-bordered > tfoot > tr > td:first-child { border-left: 0; } .table-responsive > .table-bordered > thead > tr > th:last-child, - .table-responsive > .table-bordered > tbody > tr > th:last-child, - .table-responsive > .table-bordered > tfoot > tr > th:last-child, .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, .table-responsive > .table-bordered > tfoot > tr > td:last-child { border-right: 0; } .table-responsive > .table-bordered > tbody > tr:last-child > th, - .table-responsive > .table-bordered > tfoot > tr:last-child > th, .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, .table-responsive > .table-bordered > tfoot > tr:last-child > td { border-bottom: 0; } @@ -1552,7 +1950,9 @@ fieldset { padding: 0; margin: 0; border: 0; + min-width: 0; } + legend { display: block; width: 100%; @@ -1564,36 +1964,41 @@ legend { border: 0; border-bottom: 1px solid #e5e5e5; } + label { display: inline-block; margin-bottom: 5px; font-weight: bold; } + input[type="search"] { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } + input[type="radio"], input[type="checkbox"] { margin: 4px 0 0; margin-top: 1px \9; /* IE8-9 */ - line-height: normal; } + input[type="file"] { display: block; } + +input[type="range"] { + display: block; + width: 100%; +} + select[multiple], select[size] { height: auto; } -select optgroup { - font-size: inherit; - font-style: inherit; - font-family: inherit; -} + input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus { @@ -1601,67 +2006,146 @@ input[type="checkbox"]:focus { outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } -input[type="number"]::-webkit-outer-spin-button, -input[type="number"]::-webkit-inner-spin-button { - height: auto; -} + output { display: block; padding-top: 7px; font-size: 14px; - line-height: 1.428571429; + line-height: 1.42857; color: #555555; - vertical-align: middle; } -.form-control { + +.form-control, .comment-form-author input, +.comment-form-author textarea, +.comment-form-email input, +.comment-form-email textarea, +.comment-form-url input, +.comment-form-url textarea, +.comment-form-comment input, +.comment-form-comment textarea { display: block; width: 100%; height: 34px; padding: 6px 12px; font-size: 14px; - line-height: 1.428571429; + line-height: 1.42857; color: #555555; - vertical-align: middle; - background-color: #ffffff; + background-color: white; background-image: none; border: 1px solid #cccccc; border-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; } -.form-control:focus { +.form-control:focus, .comment-form-author input:focus, +.comment-form-author textarea:focus, +.comment-form-email input:focus, +.comment-form-email textarea:focus, +.comment-form-url input:focus, +.comment-form-url textarea:focus, +.comment-form-comment input:focus, +.comment-form-comment textarea:focus { border-color: #66afe9; outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); } -.form-control:-moz-placeholder { +.form-control:-moz-placeholder, .comment-form-author input:-moz-placeholder, +.comment-form-author textarea:-moz-placeholder, +.comment-form-email input:-moz-placeholder, +.comment-form-email textarea:-moz-placeholder, +.comment-form-url input:-moz-placeholder, +.comment-form-url textarea:-moz-placeholder, +.comment-form-comment input:-moz-placeholder, +.comment-form-comment textarea:-moz-placeholder { color: #999999; } -.form-control::-moz-placeholder { +.form-control::-moz-placeholder, .comment-form-author input::-moz-placeholder, +.comment-form-author textarea::-moz-placeholder, +.comment-form-email input::-moz-placeholder, +.comment-form-email textarea::-moz-placeholder, +.comment-form-url input::-moz-placeholder, +.comment-form-url textarea::-moz-placeholder, +.comment-form-comment input::-moz-placeholder, +.comment-form-comment textarea::-moz-placeholder { color: #999999; opacity: 1; } -.form-control:-ms-input-placeholder { +.form-control:-ms-input-placeholder, .comment-form-author input:-ms-input-placeholder, +.comment-form-author textarea:-ms-input-placeholder, +.comment-form-email input:-ms-input-placeholder, +.comment-form-email textarea:-ms-input-placeholder, +.comment-form-url input:-ms-input-placeholder, +.comment-form-url textarea:-ms-input-placeholder, +.comment-form-comment input:-ms-input-placeholder, +.comment-form-comment textarea:-ms-input-placeholder { color: #999999; } -.form-control::-webkit-input-placeholder { +.form-control::-webkit-input-placeholder, .comment-form-author input::-webkit-input-placeholder, +.comment-form-author textarea::-webkit-input-placeholder, +.comment-form-email input::-webkit-input-placeholder, +.comment-form-email textarea::-webkit-input-placeholder, +.comment-form-url input::-webkit-input-placeholder, +.comment-form-url textarea::-webkit-input-placeholder, +.comment-form-comment input::-webkit-input-placeholder, +.comment-form-comment textarea::-webkit-input-placeholder { color: #999999; } -.form-control[disabled], -.form-control[readonly], -fieldset[disabled] .form-control { +.form-control[disabled], .comment-form-author input[disabled], +.comment-form-author textarea[disabled], +.comment-form-email input[disabled], +.comment-form-email textarea[disabled], +.comment-form-url input[disabled], +.comment-form-url textarea[disabled], +.comment-form-comment input[disabled], +.comment-form-comment textarea[disabled], .form-control[readonly], .comment-form-author input[readonly], +.comment-form-author textarea[readonly], +.comment-form-email input[readonly], +.comment-form-email textarea[readonly], +.comment-form-url input[readonly], +.comment-form-url textarea[readonly], +.comment-form-comment input[readonly], +.comment-form-comment textarea[readonly], fieldset[disabled] .form-control, fieldset[disabled] .comment-form-author input, .comment-form-author fieldset[disabled] input, +fieldset[disabled] .comment-form-author textarea, +.comment-form-author fieldset[disabled] textarea, +fieldset[disabled] .comment-form-email input, +.comment-form-email fieldset[disabled] input, +fieldset[disabled] .comment-form-email textarea, +.comment-form-email fieldset[disabled] textarea, +fieldset[disabled] .comment-form-url input, +.comment-form-url fieldset[disabled] input, +fieldset[disabled] .comment-form-url textarea, +.comment-form-url fieldset[disabled] textarea, +fieldset[disabled] .comment-form-comment input, +.comment-form-comment fieldset[disabled] input, +fieldset[disabled] .comment-form-comment textarea, +.comment-form-comment fieldset[disabled] textarea { cursor: not-allowed; background-color: #eeeeee; + opacity: 1; } -textarea.form-control { + +textarea.form-control, +.comment-form-author textarea, +.comment-form-email textarea, +.comment-form-url textarea, +.comment-form-comment textarea { height: auto; } -.form-group { + +input[type="date"] { + line-height: 34px; +} + +.form-group, .comment-form-author, +.comment-form-email, +.comment-form-url, +.comment-form-comment { margin-bottom: 15px; } + .radio, .checkbox { display: block; @@ -1669,15 +2153,14 @@ textarea.form-control { margin-top: 10px; margin-bottom: 10px; padding-left: 20px; - vertical-align: middle; } .radio label, .checkbox label { display: inline; - margin-bottom: 0; font-weight: normal; cursor: pointer; } + .radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], @@ -1685,10 +2168,12 @@ textarea.form-control { float: left; margin-left: -20px; } + .radio + .radio, .checkbox + .checkbox { margin-top: -5px; } + .radio-inline, .checkbox-inline { display: inline-block; @@ -1698,53 +2183,201 @@ textarea.form-control { font-weight: normal; cursor: pointer; } + .radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline { margin-top: 0; margin-left: 10px; } -input[type="radio"][disabled], -input[type="checkbox"][disabled], -.radio[disabled], -.radio-inline[disabled], -.checkbox[disabled], -.checkbox-inline[disabled], -fieldset[disabled] input[type="radio"], -fieldset[disabled] input[type="checkbox"], -fieldset[disabled] .radio, -fieldset[disabled] .radio-inline, -fieldset[disabled] .checkbox, -fieldset[disabled] .checkbox-inline { + +input[type="radio"][disabled], fieldset[disabled] input[type="radio"], +input[type="checkbox"][disabled], fieldset[disabled] +input[type="checkbox"], +.radio[disabled], fieldset[disabled] +.radio, +.radio-inline[disabled], fieldset[disabled] +.radio-inline, +.checkbox[disabled], fieldset[disabled] +.checkbox, +.checkbox-inline[disabled], fieldset[disabled] +.checkbox-inline { cursor: not-allowed; } -.input-sm { + +.input-sm, .input-group-sm > .form-control, .comment-form-author .input-group-sm > input, +.comment-form-author .input-group-sm > textarea, +.comment-form-email .input-group-sm > input, +.comment-form-email .input-group-sm > textarea, +.comment-form-url .input-group-sm > input, +.comment-form-url .input-group-sm > textarea, +.comment-form-comment .input-group-sm > input, +.comment-form-comment .input-group-sm > textarea, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn, +.input-group-sm > .input-group-btn > a.comment-reply-link, +.input-group-sm > .input-group-btn > #cancel-comment-reply-link, +.form-submit .input-group-sm > .input-group-btn > input[type='submit'] { height: 30px; padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 3px; } -select.input-sm { + +select.input-sm, .input-group-sm > select.form-control, +.input-group-sm > select.input-group-addon, +.input-group-sm > .input-group-btn > select.btn, +.input-group-sm > .input-group-btn > select#cancel-comment-reply-link { height: 30px; line-height: 30px; } -textarea.input-sm { + +textarea.input-sm, .input-group-sm > textarea.form-control, +.comment-form-author .input-group-sm > textarea, +.comment-form-email .input-group-sm > textarea, +.comment-form-url .input-group-sm > textarea, +.comment-form-comment .input-group-sm > textarea, +.input-group-sm > textarea.input-group-addon, +.input-group-sm > .input-group-btn > textarea.btn, +.input-group-sm > .input-group-btn > textarea#cancel-comment-reply-link, +select[multiple].input-sm, +.input-group-sm > select[multiple].form-control, +.input-group-sm > select[multiple].input-group-addon, +.input-group-sm > .input-group-btn > select[multiple].btn, +.input-group-sm > .input-group-btn > select[multiple]#cancel-comment-reply-link { height: auto; } -.input-lg { + +.input-lg, .input-group-lg > .form-control, .comment-form-author .input-group-lg > input, +.comment-form-author .input-group-lg > textarea, +.comment-form-email .input-group-lg > input, +.comment-form-email .input-group-lg > textarea, +.comment-form-url .input-group-lg > input, +.comment-form-url .input-group-lg > textarea, +.comment-form-comment .input-group-lg > input, +.comment-form-comment .input-group-lg > textarea, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn, +.input-group-lg > .input-group-btn > a.comment-reply-link, +.input-group-lg > .input-group-btn > #cancel-comment-reply-link, +.form-submit .input-group-lg > .input-group-btn > input[type='submit'] { height: 46px; padding: 10px 16px; font-size: 18px; line-height: 1.33; border-radius: 6px; } -select.input-lg { + +select.input-lg, .input-group-lg > select.form-control, +.input-group-lg > select.input-group-addon, +.input-group-lg > .input-group-btn > select.btn, +.input-group-lg > .input-group-btn > select#cancel-comment-reply-link { height: 46px; line-height: 46px; } -textarea.input-lg { + +textarea.input-lg, .input-group-lg > textarea.form-control, +.comment-form-author .input-group-lg > textarea, +.comment-form-email .input-group-lg > textarea, +.comment-form-url .input-group-lg > textarea, +.comment-form-comment .input-group-lg > textarea, +.input-group-lg > textarea.input-group-addon, +.input-group-lg > .input-group-btn > textarea.btn, +.input-group-lg > .input-group-btn > textarea#cancel-comment-reply-link, +select[multiple].input-lg, +.input-group-lg > select[multiple].form-control, +.input-group-lg > select[multiple].input-group-addon, +.input-group-lg > .input-group-btn > select[multiple].btn, +.input-group-lg > .input-group-btn > select[multiple]#cancel-comment-reply-link { height: auto; } + +.has-feedback { + position: relative; +} +.has-feedback .form-control, .has-feedback .comment-form-author input, .comment-form-author .has-feedback input, +.has-feedback .comment-form-author textarea, +.comment-form-author .has-feedback textarea, +.has-feedback .comment-form-email input, +.comment-form-email .has-feedback input, +.has-feedback .comment-form-email textarea, +.comment-form-email .has-feedback textarea, +.has-feedback .comment-form-url input, +.comment-form-url .has-feedback input, +.has-feedback .comment-form-url textarea, +.comment-form-url .has-feedback textarea, +.has-feedback .comment-form-comment input, +.comment-form-comment .has-feedback input, +.has-feedback .comment-form-comment textarea, +.comment-form-comment .has-feedback textarea { + padding-right: 42.5px; +} +.has-feedback .form-control-feedback { + position: absolute; + top: 25px; + right: 0; + display: block; + width: 34px; + height: 34px; + line-height: 34px; + text-align: center; +} + +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline { + color: #3c763d; +} +.has-success .form-control, .has-success .comment-form-author input, .comment-form-author .has-success input, +.has-success .comment-form-author textarea, +.comment-form-author .has-success textarea, +.has-success .comment-form-email input, +.comment-form-email .has-success input, +.has-success .comment-form-email textarea, +.comment-form-email .has-success textarea, +.has-success .comment-form-url input, +.comment-form-url .has-success input, +.has-success .comment-form-url textarea, +.comment-form-url .has-success textarea, +.has-success .comment-form-comment input, +.comment-form-comment .has-success input, +.has-success .comment-form-comment textarea, +.comment-form-comment .has-success textarea { + border-color: #3c763d; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); +} +.has-success .form-control:focus, .has-success .comment-form-author input:focus, .comment-form-author .has-success input:focus, +.has-success .comment-form-author textarea:focus, +.comment-form-author .has-success textarea:focus, +.has-success .comment-form-email input:focus, +.comment-form-email .has-success input:focus, +.has-success .comment-form-email textarea:focus, +.comment-form-email .has-success textarea:focus, +.has-success .comment-form-url input:focus, +.comment-form-url .has-success input:focus, +.has-success .comment-form-url textarea:focus, +.comment-form-url .has-success textarea:focus, +.has-success .comment-form-comment input:focus, +.comment-form-comment .has-success input:focus, +.has-success .comment-form-comment textarea:focus, +.comment-form-comment .has-success textarea:focus { + border-color: #2b542c; + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; +} +.has-success .input-group-addon { + color: #3c763d; + border-color: #3c763d; + background-color: #dff0d8; +} +.has-success .form-control-feedback { + color: #3c763d; +} + .has-warning .help-block, .has-warning .control-label, .has-warning .radio, @@ -1753,12 +2386,40 @@ textarea.input-lg { .has-warning .checkbox-inline { color: #8a6d3b; } -.has-warning .form-control { +.has-warning .form-control, .has-warning .comment-form-author input, .comment-form-author .has-warning input, +.has-warning .comment-form-author textarea, +.comment-form-author .has-warning textarea, +.has-warning .comment-form-email input, +.comment-form-email .has-warning input, +.has-warning .comment-form-email textarea, +.comment-form-email .has-warning textarea, +.has-warning .comment-form-url input, +.comment-form-url .has-warning input, +.has-warning .comment-form-url textarea, +.comment-form-url .has-warning textarea, +.has-warning .comment-form-comment input, +.comment-form-comment .has-warning input, +.has-warning .comment-form-comment textarea, +.comment-form-comment .has-warning textarea { border-color: #8a6d3b; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } -.has-warning .form-control:focus { +.has-warning .form-control:focus, .has-warning .comment-form-author input:focus, .comment-form-author .has-warning input:focus, +.has-warning .comment-form-author textarea:focus, +.comment-form-author .has-warning textarea:focus, +.has-warning .comment-form-email input:focus, +.comment-form-email .has-warning input:focus, +.has-warning .comment-form-email textarea:focus, +.comment-form-email .has-warning textarea:focus, +.has-warning .comment-form-url input:focus, +.comment-form-url .has-warning input:focus, +.has-warning .comment-form-url textarea:focus, +.comment-form-url .has-warning textarea:focus, +.has-warning .comment-form-comment input:focus, +.comment-form-comment .has-warning input:focus, +.has-warning .comment-form-comment textarea:focus, +.comment-form-comment .has-warning textarea:focus { border-color: #66512c; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; @@ -1768,6 +2429,10 @@ textarea.input-lg { border-color: #8a6d3b; background-color: #fcf8e3; } +.has-warning .form-control-feedback { + color: #8a6d3b; +} + .has-error .help-block, .has-error .control-label, .has-error .radio, @@ -1776,12 +2441,40 @@ textarea.input-lg { .has-error .checkbox-inline { color: #a94442; } -.has-error .form-control { +.has-error .form-control, .has-error .comment-form-author input, .comment-form-author .has-error input, +.has-error .comment-form-author textarea, +.comment-form-author .has-error textarea, +.has-error .comment-form-email input, +.comment-form-email .has-error input, +.has-error .comment-form-email textarea, +.comment-form-email .has-error textarea, +.has-error .comment-form-url input, +.comment-form-url .has-error input, +.has-error .comment-form-url textarea, +.comment-form-url .has-error textarea, +.has-error .comment-form-comment input, +.comment-form-comment .has-error input, +.has-error .comment-form-comment textarea, +.comment-form-comment .has-error textarea { border-color: #a94442; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } -.has-error .form-control:focus { +.has-error .form-control:focus, .has-error .comment-form-author input:focus, .comment-form-author .has-error input:focus, +.has-error .comment-form-author textarea:focus, +.comment-form-author .has-error textarea:focus, +.has-error .comment-form-email input:focus, +.comment-form-email .has-error input:focus, +.has-error .comment-form-email textarea:focus, +.comment-form-email .has-error textarea:focus, +.has-error .comment-form-url input:focus, +.comment-form-url .has-error input:focus, +.has-error .comment-form-url textarea:focus, +.comment-form-url .has-error textarea:focus, +.has-error .comment-form-comment input:focus, +.comment-form-comment .has-error input:focus, +.has-error .comment-form-comment textarea:focus, +.comment-form-comment .has-error textarea:focus { border-color: #843534; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; @@ -1791,63 +2484,90 @@ textarea.input-lg { border-color: #a94442; background-color: #f2dede; } -.has-success .help-block, -.has-success .control-label, -.has-success .radio, -.has-success .checkbox, -.has-success .radio-inline, -.has-success .checkbox-inline { - color: #3c763d; -} -.has-success .form-control { - border-color: #3c763d; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.has-success .form-control:focus { - border-color: #2b542c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; -} -.has-success .input-group-addon { - color: #3c763d; - border-color: #3c763d; - background-color: #dff0d8; +.has-error .form-control-feedback { + color: #a94442; } + .form-control-static { margin-bottom: 0; } + .help-block { display: block; margin-top: 5px; margin-bottom: 10px; color: #737373; } + @media (min-width: 768px) { - .form-inline .form-group { + .form-inline .form-group, .navbar-form .form-group, .form-inline .comment-form-author, .navbar-form .comment-form-author, + .form-inline .comment-form-email, + .navbar-form .comment-form-email, + .form-inline .comment-form-url, + .navbar-form .comment-form-url, + .form-inline .comment-form-comment, + .navbar-form .comment-form-comment { display: inline-block; margin-bottom: 0; vertical-align: middle; } - .form-inline .form-control { + .form-inline .form-control, .navbar-form .form-control, .form-inline .comment-form-author input, .comment-form-author .form-inline input, .navbar-form .comment-form-author input, .comment-form-author .navbar-form input, + .form-inline .comment-form-author textarea, + .comment-form-author .form-inline textarea, + .navbar-form .comment-form-author textarea, + .comment-form-author .navbar-form textarea, + .form-inline .comment-form-email input, + .comment-form-email .form-inline input, + .navbar-form .comment-form-email input, + .comment-form-email .navbar-form input, + .form-inline .comment-form-email textarea, + .comment-form-email .form-inline textarea, + .navbar-form .comment-form-email textarea, + .comment-form-email .navbar-form textarea, + .form-inline .comment-form-url input, + .comment-form-url .form-inline input, + .navbar-form .comment-form-url input, + .comment-form-url .navbar-form input, + .form-inline .comment-form-url textarea, + .comment-form-url .form-inline textarea, + .navbar-form .comment-form-url textarea, + .comment-form-url .navbar-form textarea, + .form-inline .comment-form-comment input, + .comment-form-comment .form-inline input, + .navbar-form .comment-form-comment input, + .comment-form-comment .navbar-form input, + .form-inline .comment-form-comment textarea, + .comment-form-comment .form-inline textarea, + .navbar-form .comment-form-comment textarea, + .comment-form-comment .navbar-form textarea { display: inline-block; - } - .form-inline select.form-control { width: auto; + vertical-align: middle; + } + .form-inline .control-label, .navbar-form .control-label { + margin-bottom: 0; + vertical-align: middle; } - .form-inline .radio, - .form-inline .checkbox { + .form-inline .radio, .navbar-form .radio, + .form-inline .checkbox, + .navbar-form .checkbox { display: inline-block; margin-top: 0; margin-bottom: 0; padding-left: 0; + vertical-align: middle; } - .form-inline .radio input[type="radio"], - .form-inline .checkbox input[type="checkbox"] { + .form-inline .radio input[type="radio"], .navbar-form .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"], + .navbar-form .checkbox input[type="checkbox"] { float: none; margin-left: 0; } + .form-inline .has-feedback .form-control-feedback, .navbar-form .has-feedback .form-control-feedback { + top: 0; + } } + .form-horizontal .control-label, .form-horizontal .radio, .form-horizontal .checkbox, @@ -1861,25 +2581,27 @@ textarea.input-lg { .form-horizontal .checkbox { min-height: 27px; } -.form-horizontal .form-group { +.form-horizontal .form-group, .form-horizontal .comment-form-author, +.form-horizontal .comment-form-email, +.form-horizontal .comment-form-url, +.form-horizontal .comment-form-comment { margin-left: -15px; margin-right: -15px; - zoom: 1; -} -.form-horizontal .form-group:before, -.form-horizontal .form-group:after { - content: " "; - display: table; -} -.form-horizontal .form-group:after { - clear: both; } -.form-horizontal .form-group:before, -.form-horizontal .form-group:after { +.form-horizontal .form-group:before, .form-horizontal .comment-form-author:before, +.form-horizontal .comment-form-email:before, +.form-horizontal .comment-form-url:before, +.form-horizontal .comment-form-comment:before, .form-horizontal .form-group:after, .form-horizontal .comment-form-author:after, +.form-horizontal .comment-form-email:after, +.form-horizontal .comment-form-url:after, +.form-horizontal .comment-form-comment:after { content: " "; display: table; } -.form-horizontal .form-group:after { +.form-horizontal .form-group:after, .form-horizontal .comment-form-author:after, +.form-horizontal .comment-form-email:after, +.form-horizontal .comment-form-url:after, +.form-horizontal .comment-form-comment:after { clear: both; } .form-horizontal .form-control-static { @@ -1890,7 +2612,12 @@ textarea.input-lg { text-align: right; } } -.btn { +.form-horizontal .has-feedback .form-control-feedback { + top: 0; + right: 15px; +} + +.btn, a.comment-reply-link, #cancel-comment-reply-link, .form-submit input[type='submit'] { display: inline-block; margin-bottom: 0; font-weight: normal; @@ -1902,7 +2629,7 @@ textarea.input-lg { white-space: nowrap; padding: 6px 12px; font-size: 14px; - line-height: 1.428571429; + line-height: 1.42857; border-radius: 4px; -webkit-user-select: none; -moz-user-select: none; @@ -1910,26 +2637,22 @@ textarea.input-lg { -o-user-select: none; user-select: none; } -.btn:focus { +.btn:focus, a.comment-reply-link:focus, #cancel-comment-reply-link:focus, .form-submit input[type='submit']:focus { outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } -.btn:hover, -.btn:focus { +.btn:hover, a.comment-reply-link:hover, #cancel-comment-reply-link:hover, .form-submit input[type='submit']:hover, .btn:focus, a.comment-reply-link:focus, #cancel-comment-reply-link:focus, .form-submit input[type='submit']:focus { color: #333333; text-decoration: none; } -.btn:active, -.btn.active { +.btn:active, a.comment-reply-link:active, #cancel-comment-reply-link:active, .form-submit input[type='submit']:active, .btn.active, a.active.comment-reply-link, .active#cancel-comment-reply-link, .form-submit input.active[type='submit'] { outline: 0; background-image: none; -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); } -.btn.disabled, -.btn[disabled], -fieldset[disabled] .btn { +.btn.disabled, a.disabled.comment-reply-link, .disabled#cancel-comment-reply-link, .form-submit input.disabled[type='submit'], .btn[disabled], a[disabled].comment-reply-link, [disabled]#cancel-comment-reply-link, .form-submit input[disabled][type='submit'], fieldset[disabled] .btn, fieldset[disabled] a.comment-reply-link, fieldset[disabled] #cancel-comment-reply-link, fieldset[disabled] .form-submit input[type='submit'], .form-submit fieldset[disabled] input[type='submit'] { cursor: not-allowed; pointer-events: none; opacity: 0.65; @@ -1937,317 +2660,249 @@ fieldset[disabled] .btn { -webkit-box-shadow: none; box-shadow: none; } + .btn-default { color: #333333; - background-color: #ffffff; + background-color: white; + border-color: #cccccc; +} +.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} +.open .btn-default.dropdown-toggle { + color: #333333; + background-color: #ebebeb; + border-color: #adadad; +} +.btn-default:active, .btn-default.active { + background-image: none; +} +.open .btn-default.dropdown-toggle { + background-image: none; +} +.btn-default.disabled, .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled:active, .btn-default.disabled.active, .btn-default[disabled], .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled]:active, .btn-default[disabled].active, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default.active { + background-color: white; border-color: #cccccc; } -.btn-default:hover, -.btn-default:focus, -.btn-default:active, -.btn-default.active, -.open .dropdown-toggle.btn-default { - color: #333333; - background-color: #ebebeb; - border-color: #adadad; +.btn-default .badge { + color: white; + background-color: #333333; +} + +.btn-primary, .form-submit input[type='submit'] { + color: white; + background-color: #428bca; + border-color: #357ebd; +} +.btn-primary:hover, .form-submit input[type='submit']:hover, .btn-primary:focus, .form-submit input[type='submit']:focus, .btn-primary:active, .form-submit input[type='submit']:active, .btn-primary.active, .form-submit input.active[type='submit'] { + color: white; + background-color: #3276b1; + border-color: #285e8e; +} +.open .btn-primary.dropdown-toggle, .open .form-submit input.dropdown-toggle[type='submit'], .form-submit .open input.dropdown-toggle[type='submit'] { + color: white; + background-color: #3276b1; + border-color: #285e8e; +} +.btn-primary:active, .form-submit input[type='submit']:active, .btn-primary.active, .form-submit input.active[type='submit'] { + background-image: none; +} +.open .btn-primary.dropdown-toggle, .open .form-submit input.dropdown-toggle[type='submit'], .form-submit .open input.dropdown-toggle[type='submit'] { + background-image: none; +} +.btn-primary.disabled, .form-submit input.disabled[type='submit'], .btn-primary.disabled:hover, .form-submit input.disabled[type='submit']:hover, .btn-primary.disabled:focus, .form-submit input.disabled[type='submit']:focus, .btn-primary.disabled:active, .form-submit input.disabled[type='submit']:active, .btn-primary.disabled.active, .form-submit input.disabled.active[type='submit'], .btn-primary[disabled], .form-submit input[disabled][type='submit'], .btn-primary[disabled]:hover, .form-submit input[disabled][type='submit']:hover, .btn-primary[disabled]:focus, .form-submit input[disabled][type='submit']:focus, .btn-primary[disabled]:active, .form-submit input[disabled][type='submit']:active, .btn-primary[disabled].active, .form-submit input[disabled].active[type='submit'], fieldset[disabled] .btn-primary, fieldset[disabled] .form-submit input[type='submit'], .form-submit fieldset[disabled] input[type='submit'], fieldset[disabled] .btn-primary:hover, fieldset[disabled] .form-submit input[type='submit']:hover, .form-submit fieldset[disabled] input[type='submit']:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .form-submit input[type='submit']:focus, .form-submit fieldset[disabled] input[type='submit']:focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .form-submit input[type='submit']:active, .form-submit fieldset[disabled] input[type='submit']:active, fieldset[disabled] .btn-primary.active, fieldset[disabled] .form-submit input.active[type='submit'], .form-submit fieldset[disabled] input.active[type='submit'] { + background-color: #428bca; + border-color: #357ebd; +} +.btn-primary .badge, .form-submit input[type='submit'] .badge { + color: #428bca; + background-color: white; +} + +.btn-success, a.comment-reply-link { + color: white; + background-color: #5cb85c; + border-color: #4cae4c; +} +.btn-success:hover, a.comment-reply-link:hover, .btn-success:focus, a.comment-reply-link:focus, .btn-success:active, a.comment-reply-link:active, .btn-success.active, a.active.comment-reply-link { + color: white; + background-color: #47a447; + border-color: #398439; +} +.open .btn-success.dropdown-toggle, .open a.dropdown-toggle.comment-reply-link { + color: white; + background-color: #47a447; + border-color: #398439; +} +.btn-success:active, a.comment-reply-link:active, .btn-success.active, a.active.comment-reply-link { + background-image: none; } -.btn-default:active, -.btn-default.active, -.open .dropdown-toggle.btn-default { +.open .btn-success.dropdown-toggle, .open a.dropdown-toggle.comment-reply-link { background-image: none; } -.btn-default.disabled, -.btn-default[disabled], -fieldset[disabled] .btn-default, -.btn-default.disabled:hover, -.btn-default[disabled]:hover, -fieldset[disabled] .btn-default:hover, -.btn-default.disabled:focus, -.btn-default[disabled]:focus, -fieldset[disabled] .btn-default:focus, -.btn-default.disabled:active, -.btn-default[disabled]:active, -fieldset[disabled] .btn-default:active, -.btn-default.disabled.active, -.btn-default[disabled].active, -fieldset[disabled] .btn-default.active { - background-color: #ffffff; - border-color: #cccccc; +.btn-success.disabled, a.disabled.comment-reply-link, .btn-success.disabled:hover, a.disabled.comment-reply-link:hover, .btn-success.disabled:focus, a.disabled.comment-reply-link:focus, .btn-success.disabled:active, a.disabled.comment-reply-link:active, .btn-success.disabled.active, a.disabled.active.comment-reply-link, .btn-success[disabled], a[disabled].comment-reply-link, .btn-success[disabled]:hover, a[disabled].comment-reply-link:hover, .btn-success[disabled]:focus, a[disabled].comment-reply-link:focus, .btn-success[disabled]:active, a[disabled].comment-reply-link:active, .btn-success[disabled].active, a[disabled].active.comment-reply-link, fieldset[disabled] .btn-success, fieldset[disabled] a.comment-reply-link, fieldset[disabled] .btn-success:hover, fieldset[disabled] a.comment-reply-link:hover, fieldset[disabled] .btn-success:focus, fieldset[disabled] a.comment-reply-link:focus, fieldset[disabled] .btn-success:active, fieldset[disabled] a.comment-reply-link:active, fieldset[disabled] .btn-success.active, fieldset[disabled] a.active.comment-reply-link { + background-color: #5cb85c; + border-color: #4cae4c; } -.btn-default .badge { - color: #ffffff; - background-color: #fff; +.btn-success .badge, a.comment-reply-link .badge { + color: #5cb85c; + background-color: white; } -.btn-primary { - color: #ffffff; - background-color: #428bca; - border-color: #357ebd; + +.btn-info { + color: white; + background-color: #5bc0de; + border-color: #46b8da; } -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.open .dropdown-toggle.btn-primary { - color: #ffffff; - background-color: #3276b1; - border-color: #285e8e; +.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active { + color: white; + background-color: #39b3d7; + border-color: #269abc; +} +.open .btn-info.dropdown-toggle { + color: white; + background-color: #39b3d7; + border-color: #269abc; } -.btn-primary:active, -.btn-primary.active, -.open .dropdown-toggle.btn-primary { +.btn-info:active, .btn-info.active { background-image: none; } -.btn-primary.disabled, -.btn-primary[disabled], -fieldset[disabled] .btn-primary, -.btn-primary.disabled:hover, -.btn-primary[disabled]:hover, -fieldset[disabled] .btn-primary:hover, -.btn-primary.disabled:focus, -.btn-primary[disabled]:focus, -fieldset[disabled] .btn-primary:focus, -.btn-primary.disabled:active, -.btn-primary[disabled]:active, -fieldset[disabled] .btn-primary:active, -.btn-primary.disabled.active, -.btn-primary[disabled].active, -fieldset[disabled] .btn-primary.active { - background-color: #428bca; - border-color: #357ebd; +.open .btn-info.dropdown-toggle { + background-image: none; } -.btn-primary .badge { - color: #428bca; - background-color: #fff; +.btn-info.disabled, .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled:active, .btn-info.disabled.active, .btn-info[disabled], .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled]:active, .btn-info[disabled].active, fieldset[disabled] .btn-info, fieldset[disabled] .btn-info:hover, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da; } -.btn-warning { - color: #ffffff; +.btn-info .badge { + color: #5bc0de; + background-color: white; +} + +.btn-warning, #cancel-comment-reply-link { + color: white; background-color: #f0ad4e; border-color: #eea236; } -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.open .dropdown-toggle.btn-warning { - color: #ffffff; +.btn-warning:hover, #cancel-comment-reply-link:hover, .btn-warning:focus, #cancel-comment-reply-link:focus, .btn-warning:active, #cancel-comment-reply-link:active, .btn-warning.active, .active#cancel-comment-reply-link { + color: white; + background-color: #ed9c28; + border-color: #d58512; +} +.open .btn-warning.dropdown-toggle, .open .dropdown-toggle#cancel-comment-reply-link { + color: white; background-color: #ed9c28; border-color: #d58512; } -.btn-warning:active, -.btn-warning.active, -.open .dropdown-toggle.btn-warning { +.btn-warning:active, #cancel-comment-reply-link:active, .btn-warning.active, .active#cancel-comment-reply-link { + background-image: none; +} +.open .btn-warning.dropdown-toggle, .open .dropdown-toggle#cancel-comment-reply-link { background-image: none; } -.btn-warning.disabled, -.btn-warning[disabled], -fieldset[disabled] .btn-warning, -.btn-warning.disabled:hover, -.btn-warning[disabled]:hover, -fieldset[disabled] .btn-warning:hover, -.btn-warning.disabled:focus, -.btn-warning[disabled]:focus, -fieldset[disabled] .btn-warning:focus, -.btn-warning.disabled:active, -.btn-warning[disabled]:active, -fieldset[disabled] .btn-warning:active, -.btn-warning.disabled.active, -.btn-warning[disabled].active, -fieldset[disabled] .btn-warning.active { +.btn-warning.disabled, .disabled#cancel-comment-reply-link, .btn-warning.disabled:hover, .disabled#cancel-comment-reply-link:hover, .btn-warning.disabled:focus, .disabled#cancel-comment-reply-link:focus, .btn-warning.disabled:active, .disabled#cancel-comment-reply-link:active, .btn-warning.disabled.active, .disabled.active#cancel-comment-reply-link, .btn-warning[disabled], [disabled]#cancel-comment-reply-link, .btn-warning[disabled]:hover, [disabled]#cancel-comment-reply-link:hover, .btn-warning[disabled]:focus, [disabled]#cancel-comment-reply-link:focus, .btn-warning[disabled]:active, [disabled]#cancel-comment-reply-link:active, .btn-warning[disabled].active, [disabled].active#cancel-comment-reply-link, fieldset[disabled] .btn-warning, fieldset[disabled] #cancel-comment-reply-link, fieldset[disabled] .btn-warning:hover, fieldset[disabled] #cancel-comment-reply-link:hover, fieldset[disabled] .btn-warning:focus, fieldset[disabled] #cancel-comment-reply-link:focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] #cancel-comment-reply-link:active, fieldset[disabled] .btn-warning.active, fieldset[disabled] .active#cancel-comment-reply-link { background-color: #f0ad4e; border-color: #eea236; } -.btn-warning .badge { +.btn-warning .badge, #cancel-comment-reply-link .badge { color: #f0ad4e; - background-color: #fff; + background-color: white; } + .btn-danger { - color: #ffffff; + color: white; background-color: #d9534f; border-color: #d43f3a; } -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.open .dropdown-toggle.btn-danger { - color: #ffffff; +.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active { + color: white; + background-color: #d2322d; + border-color: #ac2925; +} +.open .btn-danger.dropdown-toggle { + color: white; background-color: #d2322d; border-color: #ac2925; } -.btn-danger:active, -.btn-danger.active, -.open .dropdown-toggle.btn-danger { +.btn-danger:active, .btn-danger.active { + background-image: none; +} +.open .btn-danger.dropdown-toggle { background-image: none; } -.btn-danger.disabled, -.btn-danger[disabled], -fieldset[disabled] .btn-danger, -.btn-danger.disabled:hover, -.btn-danger[disabled]:hover, -fieldset[disabled] .btn-danger:hover, -.btn-danger.disabled:focus, -.btn-danger[disabled]:focus, -fieldset[disabled] .btn-danger:focus, -.btn-danger.disabled:active, -.btn-danger[disabled]:active, -fieldset[disabled] .btn-danger:active, -.btn-danger.disabled.active, -.btn-danger[disabled].active, -fieldset[disabled] .btn-danger.active { +.btn-danger.disabled, .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled:active, .btn-danger.disabled.active, .btn-danger[disabled], .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled]:active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger, fieldset[disabled] .btn-danger:hover, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger:active, fieldset[disabled] .btn-danger.active { background-color: #d9534f; border-color: #d43f3a; } .btn-danger .badge { color: #d9534f; - background-color: #fff; -} -.btn-success { - color: #ffffff; - background-color: #5cb85c; - border-color: #4cae4c; -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.open .dropdown-toggle.btn-success { - color: #ffffff; - background-color: #47a447; - border-color: #398439; -} -.btn-success:active, -.btn-success.active, -.open .dropdown-toggle.btn-success { - background-image: none; -} -.btn-success.disabled, -.btn-success[disabled], -fieldset[disabled] .btn-success, -.btn-success.disabled:hover, -.btn-success[disabled]:hover, -fieldset[disabled] .btn-success:hover, -.btn-success.disabled:focus, -.btn-success[disabled]:focus, -fieldset[disabled] .btn-success:focus, -.btn-success.disabled:active, -.btn-success[disabled]:active, -fieldset[disabled] .btn-success:active, -.btn-success.disabled.active, -.btn-success[disabled].active, -fieldset[disabled] .btn-success.active { - background-color: #5cb85c; - border-color: #4cae4c; -} -.btn-success .badge { - color: #5cb85c; - background-color: #fff; -} -.btn-info { - color: #ffffff; - background-color: #5bc0de; - border-color: #46b8da; -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.open .dropdown-toggle.btn-info { - color: #ffffff; - background-color: #39b3d7; - border-color: #269abc; -} -.btn-info:active, -.btn-info.active, -.open .dropdown-toggle.btn-info { - background-image: none; -} -.btn-info.disabled, -.btn-info[disabled], -fieldset[disabled] .btn-info, -.btn-info.disabled:hover, -.btn-info[disabled]:hover, -fieldset[disabled] .btn-info:hover, -.btn-info.disabled:focus, -.btn-info[disabled]:focus, -fieldset[disabled] .btn-info:focus, -.btn-info.disabled:active, -.btn-info[disabled]:active, -fieldset[disabled] .btn-info:active, -.btn-info.disabled.active, -.btn-info[disabled].active, -fieldset[disabled] .btn-info.active { - background-color: #5bc0de; - border-color: #46b8da; -} -.btn-info .badge { - color: #5bc0de; - background-color: #fff; + background-color: white; } + .btn-link { color: #428bca; font-weight: normal; cursor: pointer; border-radius: 0; } -.btn-link, -.btn-link:active, -.btn-link[disabled], -fieldset[disabled] .btn-link { +.btn-link, .btn-link:active, .btn-link[disabled], fieldset[disabled] .btn-link { background-color: transparent; -webkit-box-shadow: none; box-shadow: none; } -.btn-link, -.btn-link:hover, -.btn-link:focus, -.btn-link:active { +.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active { border-color: transparent; } -.btn-link:hover, -.btn-link:focus { +.btn-link:hover, .btn-link:focus { color: #2a6496; text-decoration: underline; background-color: transparent; } -.btn-link[disabled]:hover, -fieldset[disabled] .btn-link:hover, -.btn-link[disabled]:focus, -fieldset[disabled] .btn-link:focus { +.btn-link[disabled]:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:hover, fieldset[disabled] .btn-link:focus { color: #999999; text-decoration: none; } -.btn-lg { + +.btn-lg, .btn-group-lg > .btn, .btn-group-lg > a.comment-reply-link, .btn-group-lg > #cancel-comment-reply-link, .form-submit .btn-group-lg > input[type='submit'] { padding: 10px 16px; font-size: 18px; line-height: 1.33; border-radius: 6px; } -.btn-sm { + +.btn-sm, .btn-group-sm > .btn, .btn-group-sm > a.comment-reply-link, .btn-group-sm > #cancel-comment-reply-link, .form-submit .btn-group-sm > input[type='submit'], a.comment-reply-link { padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 3px; } -.btn-xs { + +.btn-xs, .btn-group-xs > .btn, .btn-group-xs > a.comment-reply-link, .form-submit .btn-group-xs > input[type='submit'], #cancel-comment-reply-link { padding: 1px 5px; font-size: 12px; line-height: 1.5; border-radius: 3px; } + .btn-block { display: block; width: 100%; padding-left: 0; padding-right: 0; } + .btn-block + .btn-block { margin-top: 5px; } + input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="button"].btn-block { width: 100%; } + .fade { opacity: 0; -webkit-transition: opacity 0.15s linear; @@ -2256,12 +2911,14 @@ input[type="button"].btn-block { .fade.in { opacity: 1; } + .collapse { display: none; } .collapse.in { display: block; } + .collapsing { position: relative; height: 0; @@ -2269,11 +2926,13 @@ input[type="button"].btn-block { -webkit-transition: height 0.35s ease; transition: height 0.35s ease; } + @font-face { font-family: 'Glyphicons Halflings'; - src: url('../fonts/glyphicons-halflings-regular.eot'); - src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); + src: url("../fonts/glyphiconshalflings-regular.eot"); + src: url("../fonts/glyphiconshalflings-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/glyphiconshalflings-regular.woff") format("woff"), url("../fonts/glyphiconshalflings-regular.ttf") format("truetype"), url("../fonts/glyphiconshalflings-regular.svg#glyphicons-halflingsregular") format("svg"); } + .glyphicon { position: relative; top: 1px; @@ -2285,609 +2944,807 @@ input[type="button"].btn-block { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } -.glyphicon:empty { - width: 1em; -} + .glyphicon-asterisk:before { content: "\2a"; } + .glyphicon-plus:before { content: "\2b"; } + .glyphicon-euro:before { content: "\20ac"; } + .glyphicon-minus:before { content: "\2212"; } + .glyphicon-cloud:before { content: "\2601"; } + .glyphicon-envelope:before { content: "\2709"; } + .glyphicon-pencil:before { content: "\270f"; } + .glyphicon-glass:before { content: "\e001"; } + .glyphicon-music:before { content: "\e002"; } + .glyphicon-search:before { content: "\e003"; } + .glyphicon-heart:before { content: "\e005"; } + .glyphicon-star:before { content: "\e006"; } + .glyphicon-star-empty:before { content: "\e007"; } + .glyphicon-user:before { content: "\e008"; } + .glyphicon-film:before { content: "\e009"; } + .glyphicon-th-large:before { content: "\e010"; } + .glyphicon-th:before { content: "\e011"; } + .glyphicon-th-list:before { content: "\e012"; } + .glyphicon-ok:before { content: "\e013"; } + .glyphicon-remove:before { content: "\e014"; } + .glyphicon-zoom-in:before { content: "\e015"; } + .glyphicon-zoom-out:before { content: "\e016"; } + .glyphicon-off:before { content: "\e017"; } + .glyphicon-signal:before { content: "\e018"; } + .glyphicon-cog:before { content: "\e019"; } + .glyphicon-trash:before { content: "\e020"; } + .glyphicon-home:before { content: "\e021"; } + .glyphicon-file:before { content: "\e022"; } + .glyphicon-time:before { content: "\e023"; } + .glyphicon-road:before { content: "\e024"; } + .glyphicon-download-alt:before { content: "\e025"; } + .glyphicon-download:before { content: "\e026"; } + .glyphicon-upload:before { content: "\e027"; } + .glyphicon-inbox:before { content: "\e028"; } + .glyphicon-play-circle:before { content: "\e029"; } + .glyphicon-repeat:before { content: "\e030"; } + .glyphicon-refresh:before { content: "\e031"; } + .glyphicon-list-alt:before { content: "\e032"; } + .glyphicon-lock:before { content: "\e033"; } + .glyphicon-flag:before { content: "\e034"; } + .glyphicon-headphones:before { content: "\e035"; } + .glyphicon-volume-off:before { content: "\e036"; } + .glyphicon-volume-down:before { content: "\e037"; } + .glyphicon-volume-up:before { content: "\e038"; } + .glyphicon-qrcode:before { content: "\e039"; } + .glyphicon-barcode:before { content: "\e040"; } + .glyphicon-tag:before { content: "\e041"; } + .glyphicon-tags:before { content: "\e042"; } + .glyphicon-book:before { content: "\e043"; } + .glyphicon-bookmark:before { content: "\e044"; } + .glyphicon-print:before { content: "\e045"; } + .glyphicon-camera:before { content: "\e046"; } + .glyphicon-font:before { content: "\e047"; } + .glyphicon-bold:before { content: "\e048"; } + .glyphicon-italic:before { content: "\e049"; } + .glyphicon-text-height:before { content: "\e050"; } + .glyphicon-text-width:before { content: "\e051"; } + .glyphicon-align-left:before { content: "\e052"; } + .glyphicon-align-center:before { content: "\e053"; } + .glyphicon-align-right:before { content: "\e054"; } + .glyphicon-align-justify:before { content: "\e055"; } + .glyphicon-list:before { content: "\e056"; } + .glyphicon-indent-left:before { content: "\e057"; } + .glyphicon-indent-right:before { content: "\e058"; } + .glyphicon-facetime-video:before { content: "\e059"; } + .glyphicon-picture:before { content: "\e060"; } + .glyphicon-map-marker:before { content: "\e062"; } + .glyphicon-adjust:before { content: "\e063"; } + .glyphicon-tint:before { content: "\e064"; } + .glyphicon-edit:before { content: "\e065"; } + .glyphicon-share:before { content: "\e066"; } + .glyphicon-check:before { content: "\e067"; } + .glyphicon-move:before { content: "\e068"; } + .glyphicon-step-backward:before { content: "\e069"; } + .glyphicon-fast-backward:before { content: "\e070"; } + .glyphicon-backward:before { content: "\e071"; } + .glyphicon-play:before { content: "\e072"; } + .glyphicon-pause:before { content: "\e073"; } + .glyphicon-stop:before { content: "\e074"; } + .glyphicon-forward:before { content: "\e075"; } + .glyphicon-fast-forward:before { content: "\e076"; } + .glyphicon-step-forward:before { content: "\e077"; } + .glyphicon-eject:before { content: "\e078"; } + .glyphicon-chevron-left:before { content: "\e079"; } + .glyphicon-chevron-right:before { content: "\e080"; } + .glyphicon-plus-sign:before { content: "\e081"; } + .glyphicon-minus-sign:before { content: "\e082"; } + .glyphicon-remove-sign:before { content: "\e083"; } + .glyphicon-ok-sign:before { content: "\e084"; } + .glyphicon-question-sign:before { content: "\e085"; } + .glyphicon-info-sign:before { content: "\e086"; } + .glyphicon-screenshot:before { content: "\e087"; } + .glyphicon-remove-circle:before { content: "\e088"; } + .glyphicon-ok-circle:before { content: "\e089"; } + .glyphicon-ban-circle:before { content: "\e090"; } + .glyphicon-arrow-left:before { content: "\e091"; } + .glyphicon-arrow-right:before { content: "\e092"; } + .glyphicon-arrow-up:before { content: "\e093"; } + .glyphicon-arrow-down:before { content: "\e094"; } + .glyphicon-share-alt:before { content: "\e095"; } + .glyphicon-resize-full:before { content: "\e096"; } + .glyphicon-resize-small:before { content: "\e097"; } + .glyphicon-exclamation-sign:before { content: "\e101"; } + .glyphicon-gift:before { content: "\e102"; } + .glyphicon-leaf:before { content: "\e103"; } + .glyphicon-fire:before { content: "\e104"; } + .glyphicon-eye-open:before { content: "\e105"; } + .glyphicon-eye-close:before { content: "\e106"; } + .glyphicon-warning-sign:before { content: "\e107"; } + .glyphicon-plane:before { content: "\e108"; } + .glyphicon-calendar:before { content: "\e109"; } + .glyphicon-random:before { content: "\e110"; } + .glyphicon-comment:before { content: "\e111"; } + .glyphicon-magnet:before { content: "\e112"; } + .glyphicon-chevron-up:before { content: "\e113"; } + .glyphicon-chevron-down:before { content: "\e114"; } + .glyphicon-retweet:before { content: "\e115"; } + .glyphicon-shopping-cart:before { content: "\e116"; } + .glyphicon-folder-close:before { content: "\e117"; } + .glyphicon-folder-open:before { content: "\e118"; } + .glyphicon-resize-vertical:before { content: "\e119"; } + .glyphicon-resize-horizontal:before { content: "\e120"; } + .glyphicon-hdd:before { content: "\e121"; } + .glyphicon-bullhorn:before { content: "\e122"; } + .glyphicon-bell:before { content: "\e123"; } + .glyphicon-certificate:before { content: "\e124"; } + .glyphicon-thumbs-up:before { content: "\e125"; } + .glyphicon-thumbs-down:before { content: "\e126"; } + .glyphicon-hand-right:before { content: "\e127"; } + .glyphicon-hand-left:before { content: "\e128"; } + .glyphicon-hand-up:before { content: "\e129"; } + .glyphicon-hand-down:before { content: "\e130"; } + .glyphicon-circle-arrow-right:before { content: "\e131"; } + .glyphicon-circle-arrow-left:before { content: "\e132"; } + .glyphicon-circle-arrow-up:before { content: "\e133"; } + .glyphicon-circle-arrow-down:before { content: "\e134"; } + .glyphicon-globe:before { content: "\e135"; } + .glyphicon-wrench:before { content: "\e136"; } + .glyphicon-tasks:before { content: "\e137"; } + .glyphicon-filter:before { content: "\e138"; } + .glyphicon-briefcase:before { content: "\e139"; } + .glyphicon-fullscreen:before { content: "\e140"; } + .glyphicon-dashboard:before { content: "\e141"; } + .glyphicon-paperclip:before { content: "\e142"; } + .glyphicon-heart-empty:before { content: "\e143"; } + .glyphicon-link:before { content: "\e144"; } + .glyphicon-phone:before { content: "\e145"; } + .glyphicon-pushpin:before { content: "\e146"; } + .glyphicon-usd:before { content: "\e148"; } + .glyphicon-gbp:before { content: "\e149"; } + .glyphicon-sort:before { content: "\e150"; } + .glyphicon-sort-by-alphabet:before { content: "\e151"; } + .glyphicon-sort-by-alphabet-alt:before { content: "\e152"; } + .glyphicon-sort-by-order:before { content: "\e153"; } + .glyphicon-sort-by-order-alt:before { content: "\e154"; } + .glyphicon-sort-by-attributes:before { content: "\e155"; } + .glyphicon-sort-by-attributes-alt:before { content: "\e156"; } + .glyphicon-unchecked:before { content: "\e157"; } + .glyphicon-expand:before { content: "\e158"; } + .glyphicon-collapse-down:before { content: "\e159"; } + .glyphicon-collapse-up:before { content: "\e160"; } + .glyphicon-log-in:before { content: "\e161"; } + .glyphicon-flash:before { content: "\e162"; } + .glyphicon-log-out:before { content: "\e163"; } + .glyphicon-new-window:before { content: "\e164"; } + .glyphicon-record:before { content: "\e165"; } + .glyphicon-save:before { content: "\e166"; } + .glyphicon-open:before { content: "\e167"; } + .glyphicon-saved:before { content: "\e168"; } + .glyphicon-import:before { content: "\e169"; } + .glyphicon-export:before { content: "\e170"; } + .glyphicon-send:before { content: "\e171"; } + .glyphicon-floppy-disk:before { content: "\e172"; } + .glyphicon-floppy-saved:before { content: "\e173"; } + .glyphicon-floppy-remove:before { content: "\e174"; } + .glyphicon-floppy-save:before { content: "\e175"; } + .glyphicon-floppy-open:before { content: "\e176"; } + .glyphicon-credit-card:before { content: "\e177"; } + .glyphicon-transfer:before { content: "\e178"; } + .glyphicon-cutlery:before { content: "\e179"; } + .glyphicon-header:before { content: "\e180"; } + .glyphicon-compressed:before { content: "\e181"; } + .glyphicon-earphone:before { content: "\e182"; } + .glyphicon-phone-alt:before { content: "\e183"; } + .glyphicon-tower:before { content: "\e184"; } + .glyphicon-stats:before { content: "\e185"; } + .glyphicon-sd-video:before { content: "\e186"; } + .glyphicon-hd-video:before { content: "\e187"; } + .glyphicon-subtitles:before { content: "\e188"; } + .glyphicon-sound-stereo:before { content: "\e189"; } + .glyphicon-sound-dolby:before { content: "\e190"; } + .glyphicon-sound-5-1:before { content: "\e191"; } + .glyphicon-sound-6-1:before { content: "\e192"; } + .glyphicon-sound-7-1:before { content: "\e193"; } + .glyphicon-copyright-mark:before { content: "\e194"; } + .glyphicon-registration-mark:before { content: "\e195"; } + .glyphicon-cloud-download:before { content: "\e197"; } + .glyphicon-cloud-upload:before { content: "\e198"; } + .glyphicon-tree-conifer:before { content: "\e199"; } + .glyphicon-tree-deciduous:before { content: "\e200"; } + .caret { display: inline-block; width: 0; @@ -2898,12 +3755,15 @@ input[type="button"].btn-block { border-right: 4px solid transparent; border-left: 4px solid transparent; } + .dropdown { position: relative; } + .dropdown-toggle:focus { outline: 0; } + .dropdown-menu { position: absolute; top: 100%; @@ -2916,7 +3776,7 @@ input[type="button"].btn-block { margin: 2px 0 0; list-style: none; font-size: 14px; - background-color: #ffffff; + background-color: white; border: 1px solid #cccccc; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 4px; @@ -2939,50 +3799,61 @@ input[type="button"].btn-block { padding: 3px 20px; clear: both; font-weight: normal; - line-height: 1.428571429; + line-height: 1.42857; color: #333333; white-space: nowrap; } -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus { + +.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { text-decoration: none; color: #262626; - background-color: #f5f5f5; + background-color: whitesmoke; } -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; + +.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus { + color: white; text-decoration: none; outline: 0; background-color: #428bca; } -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { + +.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { color: #999999; } -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { + +.dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { text-decoration: none; background-color: transparent; background-image: none; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); cursor: not-allowed; } + .open > .dropdown-menu { display: block; } .open > a { outline: 0; } + +.dropdown-menu-right { + left: auto; + right: 0; +} + +.dropdown-menu-left { + left: 0; + right: auto; +} + .dropdown-header { display: block; padding: 3px 20px; font-size: 12px; - line-height: 1.428571429; + line-height: 1.42857; color: #999999; } + .dropdown-backdrop { position: fixed; left: 0; @@ -2991,10 +3862,12 @@ input[type="button"].btn-block { top: 0; z-index: 990; } + .pull-right > .dropdown-menu { right: 0; left: auto; } + .dropup .caret, .navbar-fixed-bottom .dropdown .caret { border-top: 0; @@ -3007,11 +3880,16 @@ input[type="button"].btn-block { bottom: 100%; margin-bottom: 1px; } + @media (min-width: 768px) { .navbar-right .dropdown-menu { right: 0; left: auto; } + .navbar-right .dropdown-menu-left { + left: 0; + right: auto; + } } .btn-group, .btn-group-vertical { @@ -3019,119 +3897,128 @@ input[type="button"].btn-block { display: inline-block; vertical-align: middle; } -.btn-group > .btn, -.btn-group-vertical > .btn { +.btn-group > .btn, .btn-group > a.comment-reply-link, .btn-group > #cancel-comment-reply-link, .form-submit .btn-group > input[type='submit'], +.btn-group-vertical > .btn, +.btn-group-vertical > a.comment-reply-link, +.btn-group-vertical > #cancel-comment-reply-link, +.form-submit .btn-group-vertical > input[type='submit'] { position: relative; float: left; } -.btn-group > .btn:hover, +.btn-group > .btn:hover, .btn-group > a.comment-reply-link:hover, .btn-group > #cancel-comment-reply-link:hover, .form-submit .btn-group > input[type='submit']:hover, .btn-group > .btn:focus, .btn-group > a.comment-reply-link:focus, .btn-group > #cancel-comment-reply-link:focus, .form-submit .btn-group > input[type='submit']:focus, .btn-group > .btn:active, .btn-group > a.comment-reply-link:active, .btn-group > #cancel-comment-reply-link:active, .form-submit .btn-group > input[type='submit']:active, .btn-group > .btn.active, .btn-group > a.active.comment-reply-link, .btn-group > .active#cancel-comment-reply-link, .form-submit .btn-group > input.active[type='submit'], .btn-group-vertical > .btn:hover, -.btn-group > .btn:focus, +.btn-group-vertical > a.comment-reply-link:hover, +.btn-group-vertical > #cancel-comment-reply-link:hover, +.form-submit .btn-group-vertical > input[type='submit']:hover, .btn-group-vertical > .btn:focus, -.btn-group > .btn:active, +.btn-group-vertical > a.comment-reply-link:focus, +.btn-group-vertical > #cancel-comment-reply-link:focus, +.form-submit .btn-group-vertical > input[type='submit']:focus, .btn-group-vertical > .btn:active, -.btn-group > .btn.active, -.btn-group-vertical > .btn.active { +.btn-group-vertical > a.comment-reply-link:active, +.btn-group-vertical > #cancel-comment-reply-link:active, +.form-submit .btn-group-vertical > input[type='submit']:active, +.btn-group-vertical > .btn.active, +.btn-group-vertical > a.active.comment-reply-link, +.btn-group-vertical > .active#cancel-comment-reply-link, +.form-submit .btn-group-vertical > input.active[type='submit'] { z-index: 2; } -.btn-group > .btn:focus, -.btn-group-vertical > .btn:focus { +.btn-group > .btn:focus, .btn-group > a.comment-reply-link:focus, .btn-group > #cancel-comment-reply-link:focus, .form-submit .btn-group > input[type='submit']:focus, +.btn-group-vertical > .btn:focus, +.btn-group-vertical > a.comment-reply-link:focus, +.btn-group-vertical > #cancel-comment-reply-link:focus, +.form-submit .btn-group-vertical > input[type='submit']:focus { outline: none; } -.btn-group .btn + .btn, + +.btn-group .btn + .btn, .btn-group a.comment-reply-link + .btn, .btn-group #cancel-comment-reply-link + .btn, .btn-group .form-submit input[type='submit'] + .btn, .form-submit .btn-group input[type='submit'] + .btn, .btn-group .btn + a.comment-reply-link, .btn-group a.comment-reply-link + a.comment-reply-link, .btn-group #cancel-comment-reply-link + a.comment-reply-link, .btn-group .form-submit input[type='submit'] + a.comment-reply-link, .form-submit .btn-group input[type='submit'] + a.comment-reply-link, .btn-group .btn + #cancel-comment-reply-link, .btn-group a.comment-reply-link + #cancel-comment-reply-link, .btn-group #cancel-comment-reply-link + #cancel-comment-reply-link, .btn-group .form-submit input[type='submit'] + #cancel-comment-reply-link, .form-submit .btn-group input[type='submit'] + #cancel-comment-reply-link, .btn-group .form-submit .btn + input[type='submit'], .form-submit .btn-group .btn + input[type='submit'], .btn-group .form-submit a.comment-reply-link + input[type='submit'], .form-submit .btn-group a.comment-reply-link + input[type='submit'], .btn-group .form-submit #cancel-comment-reply-link + input[type='submit'], .form-submit .btn-group #cancel-comment-reply-link + input[type='submit'], .btn-group .form-submit input[type='submit'] + input[type='submit'], .form-submit .btn-group input[type='submit'] + input[type='submit'], .btn-group .btn + .btn-group, +.btn-group a.comment-reply-link + .btn-group, +.btn-group #cancel-comment-reply-link + .btn-group, +.btn-group .form-submit input[type='submit'] + .btn-group, +.form-submit .btn-group input[type='submit'] + .btn-group, .btn-group .btn-group + .btn, +.btn-group .btn-group + a.comment-reply-link, +.btn-group .btn-group + #cancel-comment-reply-link, +.btn-group .form-submit .btn-group + input[type='submit'], +.form-submit .btn-group .btn-group + input[type='submit'], .btn-group .btn-group + .btn-group { margin-left: -1px; } + .btn-toolbar { - zoom: 1; -} -.btn-toolbar:before, -.btn-toolbar:after { - content: " "; - display: table; -} -.btn-toolbar:after { - clear: both; + margin-left: -5px; } -.btn-toolbar:before, -.btn-toolbar:after { +.btn-toolbar:before, .btn-toolbar:after { content: " "; display: table; } .btn-toolbar:after { clear: both; } -.btn-toolbar .btn-group { +.btn-toolbar .btn-group, +.btn-toolbar .input-group { float: left; } -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group, -.btn-toolbar > .btn-group + .btn-group { +.btn-toolbar > .btn, .btn-toolbar > a.comment-reply-link, .btn-toolbar > #cancel-comment-reply-link, .form-submit .btn-toolbar > input[type='submit'], +.btn-toolbar > .btn-group, +.btn-toolbar > .input-group { margin-left: 5px; } -.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle), .btn-group > a.comment-reply-link:not(:first-child):not(:last-child):not(.dropdown-toggle), .btn-group > #cancel-comment-reply-link:not(:first-child):not(:last-child):not(.dropdown-toggle), .form-submit .btn-group > input[type='submit']:not(:first-child):not(:last-child):not(.dropdown-toggle) { border-radius: 0; } -.btn-group > .btn:first-child { + +.btn-group > .btn:first-child, .btn-group > a.comment-reply-link:first-child, .btn-group > #cancel-comment-reply-link:first-child, .form-submit .btn-group > input[type='submit']:first-child { margin-left: 0; } -.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle), .btn-group > a.comment-reply-link:first-child:not(:last-child):not(.dropdown-toggle), .btn-group > #cancel-comment-reply-link:first-child:not(:last-child):not(.dropdown-toggle), .form-submit .btn-group > input[type='submit']:first-child:not(:last-child):not(.dropdown-toggle) { border-bottom-right-radius: 0; border-top-right-radius: 0; } -.btn-group > .btn:last-child:not(:first-child), + +.btn-group > .btn:last-child:not(:first-child), .btn-group > a.comment-reply-link:last-child:not(:first-child), .btn-group > #cancel-comment-reply-link:last-child:not(:first-child), .form-submit .btn-group > input[type='submit']:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) { border-bottom-left-radius: 0; border-top-left-radius: 0; } + .btn-group > .btn-group { float: left; } -.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn, .btn-group > .btn-group:not(:first-child):not(:last-child) > a.comment-reply-link, .btn-group > .btn-group:not(:first-child):not(:last-child) > #cancel-comment-reply-link, .form-submit .btn-group > .btn-group:not(:first-child):not(:last-child) > input[type='submit'] { border-radius: 0; } -.btn-group > .btn-group:first-child > .btn:last-child, + +.btn-group > .btn-group:first-child > .btn:last-child, .btn-group > .btn-group:first-child > a.comment-reply-link:last-child, .btn-group > .btn-group:first-child > #cancel-comment-reply-link:last-child, .form-submit .btn-group > .btn-group:first-child > input[type='submit']:last-child, .btn-group > .btn-group:first-child > .dropdown-toggle { border-bottom-right-radius: 0; border-top-right-radius: 0; } -.btn-group > .btn-group:last-child > .btn:first-child { + +.btn-group > .btn-group:last-child > .btn:first-child, .btn-group > .btn-group:last-child > a.comment-reply-link:first-child, .btn-group > .btn-group:last-child > #cancel-comment-reply-link:first-child, .form-submit .btn-group > .btn-group:last-child > input[type='submit']:first-child { border-bottom-left-radius: 0; border-top-left-radius: 0; } + .btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle { outline: 0; } -.btn-group-xs > .btn { - padding: 1px 5px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.btn-group-sm > .btn { - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.btn-group-lg > .btn { - padding: 10px 16px; - font-size: 18px; - line-height: 1.33; - border-radius: 6px; -} -.btn-group > .btn + .dropdown-toggle { + +.btn-group > .btn + .dropdown-toggle, .btn-group > a.comment-reply-link + .dropdown-toggle, .btn-group > #cancel-comment-reply-link + .dropdown-toggle, .form-submit .btn-group > input[type='submit'] + .dropdown-toggle { padding-left: 8px; padding-right: 8px; } -.btn-group > .btn-lg + .dropdown-toggle { + +.btn-group > .btn-lg + .dropdown-toggle, .btn-group-lg.btn-group > .btn + .dropdown-toggle, .btn-group-lg.btn-group > a.comment-reply-link + .dropdown-toggle, .btn-group-lg.btn-group > #cancel-comment-reply-link + .dropdown-toggle, .form-submit .btn-group-lg.btn-group > input[type='submit'] + .dropdown-toggle { padding-left: 12px; padding-right: 12px; } + .btn-group.open .dropdown-toggle { -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); @@ -3140,97 +4027,108 @@ input[type="button"].btn-block { -webkit-box-shadow: none; box-shadow: none; } -.btn .caret { + +.btn .caret, a.comment-reply-link .caret, #cancel-comment-reply-link .caret, .form-submit input[type='submit'] .caret { margin-left: 0; } -.btn-lg .caret { + +.btn-lg .caret, .btn-group-lg > .btn .caret, .btn-group-lg > a.comment-reply-link .caret, .btn-group-lg > #cancel-comment-reply-link .caret, .form-submit .btn-group-lg > input[type='submit'] .caret { border-width: 5px 5px 0; border-bottom-width: 0; } -.dropup .btn-lg .caret { + +.dropup .btn-lg .caret, .dropup .btn-group-lg > .btn .caret, .dropup .btn-group-lg > a.comment-reply-link .caret, .dropup .btn-group-lg > #cancel-comment-reply-link .caret, .dropup .form-submit .btn-group-lg > input[type='submit'] .caret, .form-submit .dropup .btn-group-lg > input[type='submit'] .caret { border-width: 0 5px 5px; } -.btn-group-vertical > .btn, + +.btn-group-vertical > .btn, .btn-group-vertical > a.comment-reply-link, .btn-group-vertical > #cancel-comment-reply-link, .form-submit .btn-group-vertical > input[type='submit'], .btn-group-vertical > .btn-group, -.btn-group-vertical > .btn-group > .btn { +.btn-group-vertical > .btn-group > .btn, +.btn-group-vertical > .btn-group > a.comment-reply-link, +.btn-group-vertical > .btn-group > #cancel-comment-reply-link, +.form-submit .btn-group-vertical > .btn-group > input[type='submit'] { display: block; float: none; width: 100%; max-width: 100%; } -.btn-group-vertical > .btn-group { - zoom: 1; -} -.btn-group-vertical > .btn-group:before, -.btn-group-vertical > .btn-group:after { - content: " "; - display: table; -} -.btn-group-vertical > .btn-group:after { - clear: both; -} -.btn-group-vertical > .btn-group:before, -.btn-group-vertical > .btn-group:after { +.btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after { content: " "; display: table; } .btn-group-vertical > .btn-group:after { clear: both; } -.btn-group-vertical > .btn-group > .btn { +.btn-group-vertical > .btn-group > .btn, .btn-group-vertical > .btn-group > a.comment-reply-link, .btn-group-vertical > .btn-group > #cancel-comment-reply-link, .form-submit .btn-group-vertical > .btn-group > input[type='submit'] { float: none; } -.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn, .btn-group-vertical > a.comment-reply-link + .btn, .btn-group-vertical > #cancel-comment-reply-link + .btn, .form-submit .btn-group-vertical > input[type='submit'] + .btn, .btn-group-vertical > .btn + a.comment-reply-link, .btn-group-vertical > a.comment-reply-link + a.comment-reply-link, .btn-group-vertical > #cancel-comment-reply-link + a.comment-reply-link, .form-submit .btn-group-vertical > input[type='submit'] + a.comment-reply-link, .btn-group-vertical > .btn + #cancel-comment-reply-link, .btn-group-vertical > a.comment-reply-link + #cancel-comment-reply-link, .btn-group-vertical > #cancel-comment-reply-link + #cancel-comment-reply-link, .form-submit .btn-group-vertical > input[type='submit'] + #cancel-comment-reply-link, .form-submit .btn-group-vertical > .btn + input[type='submit'], .form-submit .btn-group-vertical > a.comment-reply-link + input[type='submit'], .form-submit .btn-group-vertical > #cancel-comment-reply-link + input[type='submit'], .form-submit .btn-group-vertical > input[type='submit'] + input[type='submit'], .btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > a.comment-reply-link + .btn-group, +.btn-group-vertical > #cancel-comment-reply-link + .btn-group, +.form-submit .btn-group-vertical > input[type='submit'] + .btn-group, .btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + a.comment-reply-link, +.btn-group-vertical > .btn-group + #cancel-comment-reply-link, +.form-submit .btn-group-vertical > .btn-group + input[type='submit'], .btn-group-vertical > .btn-group + .btn-group { margin-top: -1px; margin-left: 0; } -.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + +.btn-group-vertical > .btn:not(:first-child):not(:last-child), .btn-group-vertical > a.comment-reply-link:not(:first-child):not(:last-child), .btn-group-vertical > #cancel-comment-reply-link:not(:first-child):not(:last-child), .form-submit .btn-group-vertical > input[type='submit']:not(:first-child):not(:last-child) { border-radius: 0; } -.btn-group-vertical > .btn:first-child:not(:last-child) { +.btn-group-vertical > .btn:first-child:not(:last-child), .btn-group-vertical > a.comment-reply-link:first-child:not(:last-child), .btn-group-vertical > #cancel-comment-reply-link:first-child:not(:last-child), .form-submit .btn-group-vertical > input[type='submit']:first-child:not(:last-child) { border-top-right-radius: 4px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } -.btn-group-vertical > .btn:last-child:not(:first-child) { +.btn-group-vertical > .btn:last-child:not(:first-child), .btn-group-vertical > a.comment-reply-link:last-child:not(:first-child), .btn-group-vertical > #cancel-comment-reply-link:last-child:not(:first-child), .form-submit .btn-group-vertical > input[type='submit']:last-child:not(:first-child) { border-bottom-left-radius: 4px; border-top-right-radius: 0; border-top-left-radius: 0; } -.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn, .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > a.comment-reply-link, .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > #cancel-comment-reply-link, .form-submit .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > input[type='submit'] { border-radius: 0; } -.btn-group-vertical > .btn-group:first-child > .btn:last-child, -.btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group-vertical > .btn-group:first-child:not(:last-child) > a.comment-reply-link:last-child, .btn-group-vertical > .btn-group:first-child:not(:last-child) > #cancel-comment-reply-link:last-child, .form-submit .btn-group-vertical > .btn-group:first-child:not(:last-child) > input[type='submit']:last-child, +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } -.btn-group-vertical > .btn-group:last-child > .btn:first-child { + +.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child, .btn-group-vertical > .btn-group:last-child:not(:first-child) > a.comment-reply-link:first-child, .btn-group-vertical > .btn-group:last-child:not(:first-child) > #cancel-comment-reply-link:first-child, .form-submit .btn-group-vertical > .btn-group:last-child:not(:first-child) > input[type='submit']:first-child { border-top-right-radius: 0; border-top-left-radius: 0; } + .btn-group-justified { display: table; width: 100%; table-layout: fixed; border-collapse: separate; } -.btn-group-justified > .btn, +.btn-group-justified > .btn, .btn-group-justified > a.comment-reply-link, .btn-group-justified > #cancel-comment-reply-link, .form-submit .btn-group-justified > input[type='submit'], .btn-group-justified > .btn-group { float: none; display: table-cell; width: 1%; } -.btn-group-justified > .btn-group .btn { +.btn-group-justified > .btn-group .btn, .btn-group-justified > .btn-group a.comment-reply-link, .btn-group-justified > .btn-group #cancel-comment-reply-link, .btn-group-justified > .btn-group .form-submit input[type='submit'], .form-submit .btn-group-justified > .btn-group input[type='submit'] { width: 100%; } -[data-toggle="buttons"] > .btn > input[type="radio"], -[data-toggle="buttons"] > .btn > input[type="checkbox"] { + +[data-toggle="buttons"] > .btn > input[type="radio"], [data-toggle="buttons"] > a.comment-reply-link > input[type="radio"], [data-toggle="buttons"] > #cancel-comment-reply-link > input[type="radio"], .form-submit [data-toggle="buttons"] > input[type='submit'] > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"], +[data-toggle="buttons"] > a.comment-reply-link > input[type="checkbox"], +[data-toggle="buttons"] > #cancel-comment-reply-link > input[type="checkbox"], +.form-submit [data-toggle="buttons"] > input[type='submit'] > input[type="checkbox"] { display: none; } + .input-group { position: relative; display: table; @@ -3241,66 +4139,76 @@ input[type="button"].btn-block { padding-left: 0; padding-right: 0; } -.input-group .form-control { +.input-group .form-control, .input-group .comment-form-author input, .comment-form-author .input-group input, +.input-group .comment-form-author textarea, +.comment-form-author .input-group textarea, +.input-group .comment-form-email input, +.comment-form-email .input-group input, +.input-group .comment-form-email textarea, +.comment-form-email .input-group textarea, +.input-group .comment-form-url input, +.comment-form-url .input-group input, +.input-group .comment-form-url textarea, +.comment-form-url .input-group textarea, +.input-group .comment-form-comment input, +.comment-form-comment .input-group input, +.input-group .comment-form-comment textarea, +.comment-form-comment .input-group textarea { + float: left; width: 100%; margin-bottom: 0; } -.input-group-lg > .form-control, -.input-group-lg > .input-group-addon, -.input-group-lg > .input-group-btn > .btn { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.33; - border-radius: 6px; -} -select.input-group-lg > .form-control, -select.input-group-lg > .input-group-addon, -select.input-group-lg > .input-group-btn > .btn { - height: 46px; - line-height: 46px; -} -textarea.input-group-lg > .form-control, -textarea.input-group-lg > .input-group-addon, -textarea.input-group-lg > .input-group-btn > .btn { - height: auto; -} -.input-group-sm > .form-control, -.input-group-sm > .input-group-addon, -.input-group-sm > .input-group-btn > .btn { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.input-group-sm > .form-control, -select.input-group-sm > .input-group-addon, -select.input-group-sm > .input-group-btn > .btn { - height: 30px; - line-height: 30px; -} -textarea.input-group-sm > .form-control, -textarea.input-group-sm > .input-group-addon, -textarea.input-group-sm > .input-group-btn > .btn { - height: auto; -} + .input-group-addon, .input-group-btn, -.input-group .form-control { +.input-group .form-control, +.input-group .comment-form-author input, +.comment-form-author .input-group input, +.input-group .comment-form-author textarea, +.comment-form-author .input-group textarea, +.input-group .comment-form-email input, +.comment-form-email .input-group input, +.input-group .comment-form-email textarea, +.comment-form-email .input-group textarea, +.input-group .comment-form-url input, +.comment-form-url .input-group input, +.input-group .comment-form-url textarea, +.comment-form-url .input-group textarea, +.input-group .comment-form-comment input, +.comment-form-comment .input-group input, +.input-group .comment-form-comment textarea, +.comment-form-comment .input-group textarea { display: table-cell; } .input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child), -.input-group .form-control:not(:first-child):not(:last-child) { +.input-group .form-control:not(:first-child):not(:last-child), +.input-group .comment-form-author input:not(:first-child):not(:last-child), +.comment-form-author .input-group input:not(:first-child):not(:last-child), +.input-group .comment-form-author textarea:not(:first-child):not(:last-child), +.comment-form-author .input-group textarea:not(:first-child):not(:last-child), +.input-group .comment-form-email input:not(:first-child):not(:last-child), +.comment-form-email .input-group input:not(:first-child):not(:last-child), +.input-group .comment-form-email textarea:not(:first-child):not(:last-child), +.comment-form-email .input-group textarea:not(:first-child):not(:last-child), +.input-group .comment-form-url input:not(:first-child):not(:last-child), +.comment-form-url .input-group input:not(:first-child):not(:last-child), +.input-group .comment-form-url textarea:not(:first-child):not(:last-child), +.comment-form-url .input-group textarea:not(:first-child):not(:last-child), +.input-group .comment-form-comment input:not(:first-child):not(:last-child), +.comment-form-comment .input-group input:not(:first-child):not(:last-child), +.input-group .comment-form-comment textarea:not(:first-child):not(:last-child), +.comment-form-comment .input-group textarea:not(:first-child):not(:last-child) { border-radius: 0; } + .input-group-addon, .input-group-btn { width: 1%; white-space: nowrap; vertical-align: middle; } + .input-group-addon { padding: 6px 12px; font-size: 14px; @@ -3312,12 +4220,22 @@ textarea.input-group-sm > .input-group-btn > .btn { border: 1px solid #cccccc; border-radius: 4px; } -.input-group-addon.input-sm { +.input-group-addon.input-sm, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .input-group-addon.btn, +.input-group-sm > .input-group-btn > a.input-group-addon.comment-reply-link, +.input-group-sm > .input-group-btn > .input-group-addon#cancel-comment-reply-link, +.form-submit .input-group-sm > .input-group-btn > input.input-group-addon[type='submit'] { padding: 5px 10px; font-size: 12px; border-radius: 3px; } -.input-group-addon.input-lg { +.input-group-addon.input-lg, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .input-group-addon.btn, +.input-group-lg > .input-group-btn > a.input-group-addon.comment-reply-link, +.input-group-lg > .input-group-btn > .input-group-addon#cancel-comment-reply-link, +.form-submit .input-group-lg > .input-group-btn > input.input-group-addon[type='submit'] { padding: 10px 16px; font-size: 18px; border-radius: 6px; @@ -3326,64 +4244,118 @@ textarea.input-group-sm > .input-group-btn > .btn { .input-group-addon input[type="checkbox"] { margin-top: 0; } -.input-group .form-control:first-child, + +.input-group .form-control:first-child, .input-group .comment-form-author input:first-child, .comment-form-author .input-group input:first-child, +.input-group .comment-form-author textarea:first-child, +.comment-form-author .input-group textarea:first-child, +.input-group .comment-form-email input:first-child, +.comment-form-email .input-group input:first-child, +.input-group .comment-form-email textarea:first-child, +.comment-form-email .input-group textarea:first-child, +.input-group .comment-form-url input:first-child, +.comment-form-url .input-group input:first-child, +.input-group .comment-form-url textarea:first-child, +.comment-form-url .input-group textarea:first-child, +.input-group .comment-form-comment input:first-child, +.comment-form-comment .input-group input:first-child, +.input-group .comment-form-comment textarea:first-child, +.comment-form-comment .input-group textarea:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, +.input-group-btn:first-child > a.comment-reply-link, +.input-group-btn:first-child > #cancel-comment-reply-link, +.form-submit .input-group-btn:first-child > input[type='submit'], +.input-group-btn:first-child > .btn-group > .btn, +.input-group-btn:first-child > .btn-group > a.comment-reply-link, +.input-group-btn:first-child > .btn-group > #cancel-comment-reply-link, +.form-submit .input-group-btn:first-child > .btn-group > input[type='submit'], .input-group-btn:first-child > .dropdown-toggle, -.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group-btn:last-child > a.comment-reply-link:not(:last-child):not(.dropdown-toggle), +.input-group-btn:last-child > #cancel-comment-reply-link:not(:last-child):not(.dropdown-toggle), +.form-submit .input-group-btn:last-child > input[type='submit']:not(:last-child):not(.dropdown-toggle), +.input-group-btn:last-child > .btn-group:not(:last-child) > .btn, +.input-group-btn:last-child > .btn-group:not(:last-child) > a.comment-reply-link, +.input-group-btn:last-child > .btn-group:not(:last-child) > #cancel-comment-reply-link, +.form-submit .input-group-btn:last-child > .btn-group:not(:last-child) > input[type='submit'] { border-bottom-right-radius: 0; border-top-right-radius: 0; } + .input-group-addon:first-child { border-right: 0; } -.input-group .form-control:last-child, + +.input-group .form-control:last-child, .input-group .comment-form-author input:last-child, .comment-form-author .input-group input:last-child, +.input-group .comment-form-author textarea:last-child, +.comment-form-author .input-group textarea:last-child, +.input-group .comment-form-email input:last-child, +.comment-form-email .input-group input:last-child, +.input-group .comment-form-email textarea:last-child, +.comment-form-email .input-group textarea:last-child, +.input-group .comment-form-url input:last-child, +.comment-form-url .input-group input:last-child, +.input-group .comment-form-url textarea:last-child, +.comment-form-url .input-group textarea:last-child, +.input-group .comment-form-comment input:last-child, +.comment-form-comment .input-group input:last-child, +.input-group .comment-form-comment textarea:last-child, +.comment-form-comment .input-group textarea:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, +.input-group-btn:last-child > a.comment-reply-link, +.input-group-btn:last-child > #cancel-comment-reply-link, +.form-submit .input-group-btn:last-child > input[type='submit'], +.input-group-btn:last-child > .btn-group > .btn, +.input-group-btn:last-child > .btn-group > a.comment-reply-link, +.input-group-btn:last-child > .btn-group > #cancel-comment-reply-link, +.form-submit .input-group-btn:last-child > .btn-group > input[type='submit'], .input-group-btn:last-child > .dropdown-toggle, -.input-group-btn:first-child > .btn:not(:first-child) { +.input-group-btn:first-child > .btn:not(:first-child), +.input-group-btn:first-child > a.comment-reply-link:not(:first-child), +.input-group-btn:first-child > #cancel-comment-reply-link:not(:first-child), +.form-submit .input-group-btn:first-child > input[type='submit']:not(:first-child), +.input-group-btn:first-child > .btn-group:not(:first-child) > .btn, +.input-group-btn:first-child > .btn-group:not(:first-child) > a.comment-reply-link, +.input-group-btn:first-child > .btn-group:not(:first-child) > #cancel-comment-reply-link, +.form-submit .input-group-btn:first-child > .btn-group:not(:first-child) > input[type='submit'] { border-bottom-left-radius: 0; border-top-left-radius: 0; } + .input-group-addon:last-child { border-left: 0; } + .input-group-btn { position: relative; + font-size: 0; white-space: nowrap; } -.input-group-btn:first-child > .btn { - margin-right: -1px; +.input-group-btn > .btn, .input-group-btn > a.comment-reply-link, .input-group-btn > #cancel-comment-reply-link, .form-submit .input-group-btn > input[type='submit'] { + position: relative; } -.input-group-btn:last-child > .btn { +.input-group-btn > .btn + .btn, .input-group-btn > a.comment-reply-link + .btn, .input-group-btn > #cancel-comment-reply-link + .btn, .form-submit .input-group-btn > input[type='submit'] + .btn, .input-group-btn > .btn + a.comment-reply-link, .input-group-btn > a.comment-reply-link + a.comment-reply-link, .input-group-btn > #cancel-comment-reply-link + a.comment-reply-link, .form-submit .input-group-btn > input[type='submit'] + a.comment-reply-link, .input-group-btn > .btn + #cancel-comment-reply-link, .input-group-btn > a.comment-reply-link + #cancel-comment-reply-link, .input-group-btn > #cancel-comment-reply-link + #cancel-comment-reply-link, .form-submit .input-group-btn > input[type='submit'] + #cancel-comment-reply-link, .form-submit .input-group-btn > .btn + input[type='submit'], .form-submit .input-group-btn > a.comment-reply-link + input[type='submit'], .form-submit .input-group-btn > #cancel-comment-reply-link + input[type='submit'], .form-submit .input-group-btn > input[type='submit'] + input[type='submit'] { margin-left: -1px; } -.input-group-btn > .btn { - position: relative; +.input-group-btn > .btn:hover, .input-group-btn > a.comment-reply-link:hover, .input-group-btn > #cancel-comment-reply-link:hover, .form-submit .input-group-btn > input[type='submit']:hover, .input-group-btn > .btn:focus, .input-group-btn > a.comment-reply-link:focus, .input-group-btn > #cancel-comment-reply-link:focus, .form-submit .input-group-btn > input[type='submit']:focus, .input-group-btn > .btn:active, .input-group-btn > a.comment-reply-link:active, .input-group-btn > #cancel-comment-reply-link:active, .form-submit .input-group-btn > input[type='submit']:active { + z-index: 2; } -.input-group-btn > .btn + .btn { - margin-left: -4px; +.input-group-btn:first-child > .btn, .input-group-btn:first-child > a.comment-reply-link, .input-group-btn:first-child > #cancel-comment-reply-link, .form-submit .input-group-btn:first-child > input[type='submit'], +.input-group-btn:first-child > .btn-group { + margin-right: -1px; } -.input-group-btn > .btn:hover, -.input-group-btn > .btn:active { - z-index: 2; +.input-group-btn:last-child > .btn, .input-group-btn:last-child > a.comment-reply-link, .input-group-btn:last-child > #cancel-comment-reply-link, .form-submit .input-group-btn:last-child > input[type='submit'], +.input-group-btn:last-child > .btn-group { + margin-left: -1px; } + .nav { margin-bottom: 0; padding-left: 0; list-style: none; - zoom: 1; -} -.nav:before, -.nav:after { - content: " "; - display: table; -} -.nav:after { - clear: both; } -.nav:before, -.nav:after { +.nav:before, .nav:after { content: " "; display: table; } @@ -3399,24 +4371,20 @@ textarea.input-group-sm > .input-group-btn > .btn { display: block; padding: 10px 15px; } -.nav > li > a:hover, -.nav > li > a:focus { +.nav > li > a:hover, .nav > li > a:focus { text-decoration: none; background-color: #eeeeee; } .nav > li.disabled > a { color: #999999; } -.nav > li.disabled > a:hover, -.nav > li.disabled > a:focus { +.nav > li.disabled > a:hover, .nav > li.disabled > a:focus { color: #999999; text-decoration: none; background-color: transparent; cursor: not-allowed; } -.nav .open > a, -.nav .open > a:hover, -.nav .open > a:focus { +.nav .open > a, .nav .open > a:hover, .nav .open > a:focus { background-color: #eeeeee; border-color: #428bca; } @@ -3429,6 +4397,7 @@ textarea.input-group-sm > .input-group-btn > .btn { .nav > li > a > img { max-width: none; } + .nav-tabs { border-bottom: 1px solid #dddddd; } @@ -3438,66 +4407,21 @@ textarea.input-group-sm > .input-group-btn > .btn { } .nav-tabs > li > a { margin-right: 2px; - line-height: 1.428571429; + line-height: 1.42857; border: 1px solid transparent; border-radius: 4px 4px 0 0; } .nav-tabs > li > a:hover { border-color: #eeeeee #eeeeee #dddddd; } -.nav-tabs > li.active > a, -.nav-tabs > li.active > a:hover, -.nav-tabs > li.active > a:focus { +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { color: #555555; - background-color: #ffffff; + background-color: white; border: 1px solid #dddddd; border-bottom-color: transparent; cursor: default; } -.nav-tabs.nav-justified { - width: 100%; - border-bottom: 0; -} -.nav-tabs.nav-justified > li { - float: none; -} -.nav-tabs.nav-justified > li > a { - text-align: center; - margin-bottom: 5px; -} -.nav-tabs.nav-justified > .dropdown .dropdown-menu { - top: auto; - left: auto; -} -@media (min-width: 768px) { - .nav-tabs.nav-justified > li { - display: table-cell; - width: 1%; - } - .nav-tabs.nav-justified > li > a { - margin-bottom: 0; - } -} -.nav-tabs.nav-justified > li > a { - margin-right: 0; - border-radius: 4px; -} -.nav-tabs.nav-justified > .active > a, -.nav-tabs.nav-justified > .active > a:hover, -.nav-tabs.nav-justified > .active > a:focus { - border: 1px solid #dddddd; -} -@media (min-width: 768px) { - .nav-tabs.nav-justified > li > a { - border-bottom: 1px solid #dddddd; - border-radius: 4px 4px 0 0; - } - .nav-tabs.nav-justified > .active > a, - .nav-tabs.nav-justified > .active > a:hover, - .nav-tabs.nav-justified > .active > a:focus { - border-bottom-color: #ffffff; - } -} + .nav-pills > li { float: left; } @@ -3507,12 +4431,11 @@ textarea.input-group-sm > .input-group-btn > .btn { .nav-pills > li + li { margin-left: 2px; } -.nav-pills > li.active > a, -.nav-pills > li.active > a:hover, -.nav-pills > li.active > a:focus { - color: #ffffff; +.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus { + color: white; background-color: #428bca; } + .nav-stacked > li { float: none; } @@ -3520,13 +4443,14 @@ textarea.input-group-sm > .input-group-btn > .btn { margin-top: 2px; margin-left: 0; } -.nav-justified { + +.nav-justified, .nav-tabs.nav-justified { width: 100%; } -.nav-justified > li { +.nav-justified > li, .nav-tabs.nav-justified > li { float: none; } -.nav-justified > li > a { +.nav-justified > li > a, .nav-tabs.nav-justified > li > a { text-align: center; margin-bottom: 5px; } @@ -3535,65 +4459,63 @@ textarea.input-group-sm > .input-group-btn > .btn { left: auto; } @media (min-width: 768px) { - .nav-justified > li { + .nav-justified > li, .nav-tabs.nav-justified > li { display: table-cell; width: 1%; } - .nav-justified > li > a { + .nav-justified > li > a, .nav-tabs.nav-justified > li > a { margin-bottom: 0; } } -.nav-tabs-justified { + +.nav-tabs-justified, .nav-tabs.nav-justified { border-bottom: 0; } -.nav-tabs-justified > li > a { +.nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a { margin-right: 0; border-radius: 4px; } -.nav-tabs-justified > .active > a, +.nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a, .nav-tabs-justified > .active > a:hover, -.nav-tabs-justified > .active > a:focus { +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus, +.nav-tabs.nav-justified > .active > a:focus { border: 1px solid #dddddd; } @media (min-width: 768px) { - .nav-tabs-justified > li > a { + .nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a { border-bottom: 1px solid #dddddd; border-radius: 4px 4px 0 0; } - .nav-tabs-justified > .active > a, + .nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a, .nav-tabs-justified > .active > a:hover, - .nav-tabs-justified > .active > a:focus { - border-bottom-color: #ffffff; + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: white; } } + .tab-content > .tab-pane { display: none; } .tab-content > .active { display: block; } + .nav-tabs .dropdown-menu { margin-top: -1px; border-top-right-radius: 0; border-top-left-radius: 0; } + .navbar { position: relative; min-height: 50px; margin-bottom: 20px; border: 1px solid transparent; - zoom: 1; } -.navbar:before, -.navbar:after { - content: " "; - display: table; -} -.navbar:after { - clear: both; -} -.navbar:before, -.navbar:after { +.navbar:before, .navbar:after { content: " "; display: table; } @@ -3605,19 +4527,8 @@ textarea.input-group-sm > .input-group-btn > .btn { border-radius: 4px; } } -.navbar-header { - zoom: 1; -} -.navbar-header:before, -.navbar-header:after { - content: " "; - display: table; -} -.navbar-header:after { - clear: both; -} -.navbar-header:before, -.navbar-header:after { + +.navbar-header:before, .navbar-header:after { content: " "; display: table; } @@ -3629,6 +4540,7 @@ textarea.input-group-sm > .input-group-btn > .btn { float: left; } } + .navbar-collapse { max-height: 340px; overflow-x: visible; @@ -3636,19 +4548,9 @@ textarea.input-group-sm > .input-group-btn > .btn { padding-left: 15px; border-top: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); - zoom: 1; -webkit-overflow-scrolling: touch; } -.navbar-collapse:before, -.navbar-collapse:after { - content: " "; - display: table; -} -.navbar-collapse:after { - clear: both; -} -.navbar-collapse:before, -.navbar-collapse:after { +.navbar-collapse:before, .navbar-collapse:after { content: " "; display: table; } @@ -3673,25 +4575,29 @@ textarea.input-group-sm > .input-group-btn > .btn { .navbar-collapse.in { overflow-y: visible; } - .navbar-fixed-top .navbar-collapse, - .navbar-static-top .navbar-collapse, - .navbar-fixed-bottom .navbar-collapse { + .navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { padding-left: 0; padding-right: 0; } } + .container > .navbar-header, -.container > .navbar-collapse { +.container > .navbar-collapse, +.container-fluid > .navbar-header, +.container-fluid > .navbar-collapse { margin-right: -15px; margin-left: -15px; } @media (min-width: 768px) { .container > .navbar-header, - .container > .navbar-collapse { + .container > .navbar-collapse, + .container-fluid > .navbar-header, + .container-fluid > .navbar-collapse { margin-right: 0; margin-left: 0; } } + .navbar-static-top { z-index: 1000; border-width: 0 0 1px; @@ -3701,6 +4607,7 @@ textarea.input-group-sm > .input-group-btn > .btn { border-radius: 0; } } + .navbar-fixed-top, .navbar-fixed-bottom { position: fixed; @@ -3714,30 +4621,34 @@ textarea.input-group-sm > .input-group-btn > .btn { border-radius: 0; } } + .navbar-fixed-top { top: 0; border-width: 0 0 1px; } + .navbar-fixed-bottom { bottom: 0; margin-bottom: 0; border-width: 1px 0 0; } + .navbar-brand { float: left; padding: 15px 15px; font-size: 18px; line-height: 20px; + height: 50px; } -.navbar-brand:hover, -.navbar-brand:focus { +.navbar-brand:hover, .navbar-brand:focus { text-decoration: none; } @media (min-width: 768px) { - .navbar > .container .navbar-brand { + .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand { margin-left: -15px; } } + .navbar-toggle { position: relative; float: right; @@ -3750,6 +4661,9 @@ textarea.input-group-sm > .input-group-btn > .btn { border: 1px solid transparent; border-radius: 4px; } +.navbar-toggle:focus { + outline: none; +} .navbar-toggle .icon-bar { display: block; width: 22px; @@ -3764,6 +4678,7 @@ textarea.input-group-sm > .input-group-btn > .btn { display: none; } } + .navbar-nav { margin: 7.5px -15px; } @@ -3789,8 +4704,7 @@ textarea.input-group-sm > .input-group-btn > .btn { .navbar-nav .open .dropdown-menu > li > a { line-height: 20px; } - .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-nav .open .dropdown-menu > li > a:focus { + .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus { background-image: none; } } @@ -3810,10 +4724,12 @@ textarea.input-group-sm > .input-group-btn > .btn { margin-right: -15px; } } + @media (min-width: 768px) { .navbar-left { float: left !important; } + .navbar-right { float: right !important; } @@ -3829,33 +4745,11 @@ textarea.input-group-sm > .input-group-btn > .btn { margin-top: 8px; margin-bottom: 8px; } -@media (min-width: 768px) { - .navbar-form .form-group { - display: inline-block; - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .form-control { - display: inline-block; - } - .navbar-form select.form-control { - width: auto; - } - .navbar-form .radio, - .navbar-form .checkbox { - display: inline-block; - margin-top: 0; - margin-bottom: 0; - padding-left: 0; - } - .navbar-form .radio input[type="radio"], - .navbar-form .checkbox input[type="checkbox"] { - float: none; - margin-left: 0; - } -} @media (max-width: 767px) { - .navbar-form .form-group { + .navbar-form .form-group, .navbar-form .comment-form-author, + .navbar-form .comment-form-email, + .navbar-form .comment-form-url, + .navbar-form .comment-form-comment { margin-bottom: 5px; } } @@ -3874,32 +4768,31 @@ textarea.input-group-sm > .input-group-btn > .btn { margin-right: -15px; } } + .navbar-nav > li > .dropdown-menu { margin-top: 0; border-top-right-radius: 0; border-top-left-radius: 0; } + .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } -.navbar-nav.pull-right > li > .dropdown-menu, -.navbar-nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} + .navbar-btn { margin-top: 8px; margin-bottom: 8px; } -.navbar-btn.btn-sm { +.navbar-btn.btn-sm, .btn-group-sm > .navbar-btn.btn, .btn-group-sm > .navbar-btn#cancel-comment-reply-link, .form-submit .btn-group-sm > input.navbar-btn[type='submit'], a.navbar-btn.comment-reply-link { margin-top: 10px; margin-bottom: 10px; } -.navbar-btn.btn-xs { +.navbar-btn.btn-xs, .btn-group-xs > .navbar-btn.btn, .btn-group-xs > a.navbar-btn.comment-reply-link, .form-submit .btn-group-xs > input.navbar-btn[type='submit'], .navbar-btn#cancel-comment-reply-link { margin-top: 14px; margin-bottom: 14px; } + .navbar-text { margin-top: 15px; margin-bottom: 15px; @@ -3914,6 +4807,7 @@ textarea.input-group-sm > .input-group-btn > .btn { margin-right: 0; } } + .navbar-default { background-color: #f8f8f8; border-color: #e7e7e7; @@ -3921,8 +4815,7 @@ textarea.input-group-sm > .input-group-btn > .btn { .navbar-default .navbar-brand { color: #777777; } -.navbar-default .navbar-brand:hover, -.navbar-default .navbar-brand:focus { +.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus { color: #5e5e5e; background-color: transparent; } @@ -3932,40 +4825,32 @@ textarea.input-group-sm > .input-group-btn > .btn { .navbar-default .navbar-nav > li > a { color: #777777; } -.navbar-default .navbar-nav > li > a:hover, -.navbar-default .navbar-nav > li > a:focus { +.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { color: #333333; background-color: transparent; } -.navbar-default .navbar-nav > .active > a, -.navbar-default .navbar-nav > .active > a:hover, -.navbar-default .navbar-nav > .active > a:focus { +.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus { color: #555555; background-color: #e7e7e7; } -.navbar-default .navbar-nav > .disabled > a, -.navbar-default .navbar-nav > .disabled > a:hover, -.navbar-default .navbar-nav > .disabled > a:focus { +.navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus { color: #cccccc; background-color: transparent; } .navbar-default .navbar-toggle { border-color: #dddddd; } -.navbar-default .navbar-toggle:hover, -.navbar-default .navbar-toggle:focus { +.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background-color: #dddddd; } .navbar-default .navbar-toggle .icon-bar { - background-color: #cccccc; + background-color: #888888; } .navbar-default .navbar-collapse, .navbar-default .navbar-form { border-color: #e7e7e7; } -.navbar-default .navbar-nav > .open > a, -.navbar-default .navbar-nav > .open > a:hover, -.navbar-default .navbar-nav > .open > a:focus { +.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus { background-color: #e7e7e7; color: #555555; } @@ -3973,20 +4858,15 @@ textarea.input-group-sm > .input-group-btn > .btn { .navbar-default .navbar-nav .open .dropdown-menu > li > a { color: #777777; } - .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { color: #333333; background-color: transparent; } - .navbar-default .navbar-nav .open .dropdown-menu > .active > a, - .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { color: #555555; background-color: #e7e7e7; } - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: #cccccc; background-color: transparent; } @@ -3997,16 +4877,16 @@ textarea.input-group-sm > .input-group-btn > .btn { .navbar-default .navbar-link:hover { color: #333333; } + .navbar-inverse { background-color: #222222; - border-color: #080808; + border-color: #090909; } .navbar-inverse .navbar-brand { color: #999999; } -.navbar-inverse .navbar-brand:hover, -.navbar-inverse .navbar-brand:focus { - color: #ffffff; +.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus { + color: white; background-color: transparent; } .navbar-inverse .navbar-text { @@ -4015,67 +4895,54 @@ textarea.input-group-sm > .input-group-btn > .btn { .navbar-inverse .navbar-nav > li > a { color: #999999; } -.navbar-inverse .navbar-nav > li > a:hover, -.navbar-inverse .navbar-nav > li > a:focus { - color: #ffffff; +.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus { + color: white; background-color: transparent; } -.navbar-inverse .navbar-nav > .active > a, -.navbar-inverse .navbar-nav > .active > a:hover, -.navbar-inverse .navbar-nav > .active > a:focus { - color: #ffffff; - background-color: #080808; +.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus { + color: white; + background-color: #090909; } -.navbar-inverse .navbar-nav > .disabled > a, -.navbar-inverse .navbar-nav > .disabled > a:hover, -.navbar-inverse .navbar-nav > .disabled > a:focus { +.navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus { color: #444444; background-color: transparent; } .navbar-inverse .navbar-toggle { border-color: #333333; } -.navbar-inverse .navbar-toggle:hover, -.navbar-inverse .navbar-toggle:focus { +.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus { background-color: #333333; } .navbar-inverse .navbar-toggle .icon-bar { - background-color: #ffffff; + background-color: white; } .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form { border-color: #101010; } -.navbar-inverse .navbar-nav > .open > a, -.navbar-inverse .navbar-nav > .open > a:hover, -.navbar-inverse .navbar-nav > .open > a:focus { - background-color: #080808; - color: #ffffff; +.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus { + background-color: #090909; + color: white; } @media (max-width: 767px) { .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { - border-color: #080808; + border-color: #090909; } .navbar-inverse .navbar-nav .open .dropdown-menu .divider { - background-color: #080808; + background-color: #090909; } .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { color: #999999; } - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { - color: #ffffff; + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: white; background-color: transparent; } - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { - color: #ffffff; - background-color: #080808; + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: white; + background-color: #090909; } - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: #444444; background-color: transparent; } @@ -4084,13 +4951,14 @@ textarea.input-group-sm > .input-group-btn > .btn { color: #999999; } .navbar-inverse .navbar-link:hover { - color: #ffffff; + color: white; } + .breadcrumb { padding: 8px 15px; margin-bottom: 20px; list-style: none; - background-color: #f5f5f5; + background-color: whitesmoke; border-radius: 4px; } .breadcrumb > li { @@ -4104,6 +4972,7 @@ textarea.input-group-sm > .input-group-btn > .btn { .breadcrumb > .active { color: #999999; } + .pagination { display: inline-block; padding-left: 0; @@ -4118,9 +4987,10 @@ textarea.input-group-sm > .input-group-btn > .btn { position: relative; float: left; padding: 6px 12px; - line-height: 1.428571429; + line-height: 1.42857; text-decoration: none; - background-color: #ffffff; + color: #428bca; + background-color: white; border: 1px solid #dddddd; margin-left: -1px; } @@ -4135,20 +5005,19 @@ textarea.input-group-sm > .input-group-btn > .btn { border-bottom-right-radius: 4px; border-top-right-radius: 4px; } -.pagination > li > a:hover, +.pagination > li > a:hover, .pagination > li > a:focus, .pagination > li > span:hover, -.pagination > li > a:focus, .pagination > li > span:focus { + color: #2a6496; background-color: #eeeeee; + border-color: #dddddd; } -.pagination > .active > a, +.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, -.pagination > .active > a:hover, .pagination > .active > span:hover, -.pagination > .active > a:focus, .pagination > .active > span:focus { z-index: 2; - color: #ffffff; + color: white; background-color: #428bca; border-color: #428bca; cursor: default; @@ -4160,10 +5029,11 @@ textarea.input-group-sm > .input-group-btn > .btn { .pagination > .disabled > a:hover, .pagination > .disabled > a:focus { color: #999999; - background-color: #ffffff; + background-color: white; border-color: #dddddd; cursor: not-allowed; } + .pagination-lg > li > a, .pagination-lg > li > span { padding: 10px 16px; @@ -4179,6 +5049,7 @@ textarea.input-group-sm > .input-group-btn > .btn { border-bottom-right-radius: 6px; border-top-right-radius: 6px; } + .pagination-sm > li > a, .pagination-sm > li > span { padding: 5px 10px; @@ -4194,23 +5065,14 @@ textarea.input-group-sm > .input-group-btn > .btn { border-bottom-right-radius: 3px; border-top-right-radius: 3px; } + .pager { padding-left: 0; margin: 20px 0; list-style: none; text-align: center; - zoom: 1; -} -.pager:before, -.pager:after { - content: " "; - display: table; -} -.pager:after { - clear: both; } -.pager:before, -.pager:after { +.pager:before, .pager:after { content: " "; display: table; } @@ -4224,7 +5086,7 @@ textarea.input-group-sm > .input-group-btn > .btn { .pager li > span { display: inline-block; padding: 5px 14px; - background-color: #ffffff; + background-color: white; border: 1px solid #dddddd; border-radius: 15px; } @@ -4246,83 +5108,84 @@ textarea.input-group-sm > .input-group-btn > .btn { .pager .disabled > a:focus, .pager .disabled > span { color: #999999; - background-color: #ffffff; + background-color: white; cursor: not-allowed; } -.label { + +.label, .tags a { display: inline; padding: .2em .6em .3em; font-size: 75%; font-weight: bold; line-height: 1; - color: #ffffff; + color: white; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: .25em; } -.label[href]:hover, -.label[href]:focus { - color: #ffffff; +.label[href]:hover, .tags a[href]:hover, .label[href]:focus, .tags a[href]:focus { + color: white; text-decoration: none; cursor: pointer; } -.label:empty { +.label:empty, .tags a:empty { display: none; } -.btn .label { +.btn .label, a.comment-reply-link .label, #cancel-comment-reply-link .label, .form-submit input[type='submit'] .label, .btn .tags a, .tags .btn a, a.comment-reply-link .tags a, .tags a.comment-reply-link a, #cancel-comment-reply-link .tags a, .tags #cancel-comment-reply-link a, .form-submit input[type='submit'] .tags a, .tags .form-submit input[type='submit'] a { position: relative; top: -1px; } -.label-default { + +.label-default, .tags a { background-color: #999999; } -.label-default[href]:hover, -.label-default[href]:focus { - background-color: #808080; +.label-default[href]:hover, .tags a[href]:hover, .label-default[href]:focus, .tags a[href]:focus { + background-color: gray; } + .label-primary { background-color: #428bca; } -.label-primary[href]:hover, -.label-primary[href]:focus { +.label-primary[href]:hover, .label-primary[href]:focus { background-color: #3071a9; } + .label-success { background-color: #5cb85c; } -.label-success[href]:hover, -.label-success[href]:focus { +.label-success[href]:hover, .label-success[href]:focus { background-color: #449d44; } + .label-info { background-color: #5bc0de; } -.label-info[href]:hover, -.label-info[href]:focus { +.label-info[href]:hover, .label-info[href]:focus { background-color: #31b0d5; } + .label-warning { background-color: #f0ad4e; } -.label-warning[href]:hover, -.label-warning[href]:focus { +.label-warning[href]:hover, .label-warning[href]:focus { background-color: #ec971f; } + .label-danger { background-color: #d9534f; } -.label-danger[href]:hover, -.label-danger[href]:focus { +.label-danger[href]:hover, .label-danger[href]:focus { background-color: #c9302c; } + .badge { display: inline-block; min-width: 10px; padding: 3px 7px; font-size: 12px; font-weight: bold; - color: #ffffff; + color: white; line-height: 1; vertical-align: baseline; white-space: nowrap; @@ -4333,40 +5196,45 @@ textarea.input-group-sm > .input-group-btn > .btn { .badge:empty { display: none; } -.btn .badge { +.btn .badge, a.comment-reply-link .badge, #cancel-comment-reply-link .badge, .form-submit input[type='submit'] .badge { position: relative; top: -1px; } -a.badge:hover, -a.badge:focus { - color: #ffffff; +.btn-xs .badge, .btn-group-xs > .btn .badge, .btn-group-xs > a.comment-reply-link .badge, .form-submit .btn-group-xs > input[type='submit'] .badge, #cancel-comment-reply-link .badge { + top: 0; + padding: 1px 5px; +} + +a.badge:hover, a.badge:focus { + color: white; text-decoration: none; cursor: pointer; } + a.list-group-item.active > .badge, .nav-pills > .active > a > .badge { color: #428bca; - background-color: #ffffff; + background-color: white; } + .nav-pills > li > a > .badge { margin-left: 3px; } + .jumbotron { padding: 30px; margin-bottom: 30px; - font-size: 21px; - font-weight: 200; - line-height: 2.1428571435; color: inherit; background-color: #eeeeee; } .jumbotron h1, .jumbotron .h1 { - line-height: 1; color: inherit; } .jumbotron p { - line-height: 1.4; + margin-bottom: 15px; + font-size: 21px; + font-weight: 200; } .container .jumbotron { border-radius: 6px; @@ -4388,12 +5256,13 @@ a.list-group-item.active > .badge, font-size: 63px; } } + .thumbnail { display: block; padding: 4px; margin-bottom: 20px; - line-height: 1.428571429; - background-color: #ffffff; + line-height: 1.42857; + background-color: white; border: 1px solid #dddddd; border-radius: 4px; -webkit-transition: all 0.2s ease-in-out; @@ -4407,15 +5276,17 @@ a.list-group-item.active > .badge, margin-left: auto; margin-right: auto; } +.thumbnail .caption { + padding: 9px; + color: #333333; +} + a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active { border-color: #428bca; } -.thumbnail .caption { - padding: 9px; - color: #333333; -} + .alert { padding: 15px; margin-bottom: 20px; @@ -4436,6 +5307,7 @@ a.thumbnail.active { .alert > p + p { margin-top: 5px; } + .alert-dismissable { padding-right: 35px; } @@ -4445,6 +5317,7 @@ a.thumbnail.active { right: -21px; color: inherit; } + .alert-success { background-color: #dff0d8; border-color: #d6e9c6; @@ -4456,6 +5329,7 @@ a.thumbnail.active { .alert-success .alert-link { color: #2b542c; } + .alert-info { background-color: #d9edf7; border-color: #bce8f1; @@ -4467,6 +5341,7 @@ a.thumbnail.active { .alert-info .alert-link { color: #245269; } + .alert-warning { background-color: #fcf8e3; border-color: #faebcc; @@ -4478,6 +5353,7 @@ a.thumbnail.active { .alert-warning .alert-link { color: #66512c; } + .alert-danger { background-color: #f2dede; border-color: #ebccd1; @@ -4489,38 +5365,44 @@ a.thumbnail.active { .alert-danger .alert-link { color: #843534; } + @-webkit-keyframes progress-bar-stripes { from { background-position: 40px 0; } + to { background-position: 0 0; } } + @keyframes progress-bar-stripes { from { background-position: 40px 0; } + to { background-position: 0 0; } } + .progress { overflow: hidden; height: 20px; margin-bottom: 20px; - background-color: #f5f5f5; + background-color: whitesmoke; border-radius: 4px; -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); } + .progress-bar { float: left; width: 0%; height: 100%; font-size: 12px; line-height: 20px; - color: #ffffff; + color: white; text-align: center; background-color: #428bca; -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); @@ -4528,15 +5410,18 @@ a.thumbnail.active { -webkit-transition: width 0.6s ease; transition: width 0.6s ease; } + .progress-striped .progress-bar { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-size: 40px 40px; } + .progress.active .progress-bar { -webkit-animation: progress-bar-stripes 2s linear infinite; animation: progress-bar-stripes 2s linear infinite; } + .progress-bar-success { background-color: #5cb85c; } @@ -4544,6 +5429,7 @@ a.thumbnail.active { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } + .progress-bar-info { background-color: #5bc0de; } @@ -4551,6 +5437,7 @@ a.thumbnail.active { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } + .progress-bar-warning { background-color: #f0ad4e; } @@ -4558,6 +5445,7 @@ a.thumbnail.active { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } + .progress-bar-danger { background-color: #d9534f; } @@ -4565,44 +5453,53 @@ a.thumbnail.active { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } + .media, .media-body { overflow: hidden; zoom: 1; } + .media, .media .media { margin-top: 15px; } + .media:first-child { margin-top: 0; } + .media-object { display: block; } + .media-heading { margin: 0 0 5px; } + .media > .pull-left { margin-right: 10px; } .media > .pull-right { margin-left: 10px; } + .media-list { padding-left: 0; list-style: none; } + .list-group { margin-bottom: 20px; padding-left: 0; } + .list-group-item { position: relative; display: block; padding: 10px 15px; margin-bottom: -1px; - background-color: #ffffff; + background-color: white; border: 1px solid #dddddd; } .list-group-item:first-child { @@ -4620,97 +5517,220 @@ a.thumbnail.active { .list-group-item > .badge + .badge { margin-right: 5px; } + a.list-group-item { color: #555555; } a.list-group-item .list-group-item-heading { color: #333333; } -a.list-group-item:hover, -a.list-group-item:focus { +a.list-group-item:hover, a.list-group-item:focus { text-decoration: none; - background-color: #f5f5f5; + background-color: whitesmoke; } -a.list-group-item.active, -a.list-group-item.active:hover, -a.list-group-item.active:focus { +a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus { z-index: 2; - color: #ffffff; + color: white; background-color: #428bca; border-color: #428bca; } -a.list-group-item.active .list-group-item-heading, -a.list-group-item.active:hover .list-group-item-heading, -a.list-group-item.active:focus .list-group-item-heading { +a.list-group-item.active .list-group-item-heading, a.list-group-item.active:hover .list-group-item-heading, a.list-group-item.active:focus .list-group-item-heading { color: inherit; } -a.list-group-item.active .list-group-item-text, -a.list-group-item.active:hover .list-group-item-text, -a.list-group-item.active:focus .list-group-item-text { +a.list-group-item.active .list-group-item-text, a.list-group-item.active:hover .list-group-item-text, a.list-group-item.active:focus .list-group-item-text { color: #e1edf7; } + +.list-group-item-success { + color: #3c763d; + background-color: #dff0d8; +} + +a.list-group-item-success { + color: #3c763d; +} +a.list-group-item-success .list-group-item-heading { + color: inherit; +} +a.list-group-item-success:hover, a.list-group-item-success:focus { + color: #3c763d; + background-color: #d0e9c6; +} +a.list-group-item-success.active, a.list-group-item-success.active:hover, a.list-group-item-success.active:focus { + color: #fff; + background-color: #3c763d; + border-color: #3c763d; +} + +.list-group-item-info { + color: #31708f; + background-color: #d9edf7; +} + +a.list-group-item-info { + color: #31708f; +} +a.list-group-item-info .list-group-item-heading { + color: inherit; +} +a.list-group-item-info:hover, a.list-group-item-info:focus { + color: #31708f; + background-color: #c4e3f3; +} +a.list-group-item-info.active, a.list-group-item-info.active:hover, a.list-group-item-info.active:focus { + color: #fff; + background-color: #31708f; + border-color: #31708f; +} + +.list-group-item-warning { + color: #8a6d3b; + background-color: #fcf8e3; +} + +a.list-group-item-warning { + color: #8a6d3b; +} +a.list-group-item-warning .list-group-item-heading { + color: inherit; +} +a.list-group-item-warning:hover, a.list-group-item-warning:focus { + color: #8a6d3b; + background-color: #faf2cc; +} +a.list-group-item-warning.active, a.list-group-item-warning.active:hover, a.list-group-item-warning.active:focus { + color: #fff; + background-color: #8a6d3b; + border-color: #8a6d3b; +} + +.list-group-item-danger { + color: #a94442; + background-color: #f2dede; +} + +a.list-group-item-danger { + color: #a94442; +} +a.list-group-item-danger .list-group-item-heading { + color: inherit; +} +a.list-group-item-danger:hover, a.list-group-item-danger:focus { + color: #a94442; + background-color: #ebcccc; +} +a.list-group-item-danger.active, a.list-group-item-danger.active:hover, a.list-group-item-danger.active:focus { + color: #fff; + background-color: #a94442; + border-color: #a94442; +} + .list-group-item-heading { margin-top: 0; margin-bottom: 5px; } + .list-group-item-text { margin-bottom: 0; line-height: 1.3; } + .panel { margin-bottom: 20px; - background-color: #ffffff; + background-color: white; border: 1px solid transparent; border-radius: 4px; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); } + .panel-body { padding: 15px; - zoom: 1; -} -.panel-body:before, -.panel-body:after { - content: " "; - display: table; -} -.panel-body:after { - clear: both; } -.panel-body:before, -.panel-body:after { +.panel-body:before, .panel-body:after { content: " "; display: table; } .panel-body:after { clear: both; } + .panel > .list-group { margin-bottom: 0; } .panel > .list-group .list-group-item { border-width: 1px 0; + border-radius: 0; } .panel > .list-group .list-group-item:first-child { - border-top-right-radius: 0; - border-top-left-radius: 0; + border-top: 0; } .panel > .list-group .list-group-item:last-child { border-bottom: 0; } +.panel > .list-group:first-child .list-group-item:first-child { + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} +.panel > .list-group:last-child .list-group-item:last-child { + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} + .panel-heading + .list-group .list-group-item:first-child { border-top-width: 0; } + .panel > .table, .panel > .table-responsive > .table { margin-bottom: 0; } +.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { + border-top-left-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { + border-top-right-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { + border-bottom-right-radius: 3px; +} .panel > .panel-body + .table, .panel > .panel-body + .table-responsive { border-top: 1px solid #dddddd; } -.panel > .table > tbody:first-child th, -.panel > .table > tbody:first-child td { +.panel > .table > tbody:first-child > tr:first-child th, +.panel > .table > tbody:first-child > tr:first-child td { border-top: 0; } .panel > .table-bordered, @@ -4718,44 +5738,56 @@ a.list-group-item.active:focus .list-group-item-text { border: 0; } .panel > .table-bordered > thead > tr > th:first-child, -.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, .panel > .table-bordered > tbody > tr > th:first-child, -.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, .panel > .table-bordered > tfoot > tr > th:first-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, -.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, -.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, -.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { border-left: 0; } .panel > .table-bordered > thead > tr > th:last-child, -.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, .panel > .table-bordered > tbody > tr > th:last-child, -.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, .panel > .table-bordered > tfoot > tr > th:last-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, -.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, -.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, -.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { border-right: 0; } -.panel > .table-bordered > thead > tr:last-child > th, -.panel > .table-responsive > .table-bordered > thead > tr:last-child > th, +.panel > .table-bordered > thead > tr:first-child > th, .panel > .table-bordered > thead > tr:first-child > td, +.panel > .table-bordered > tbody > tr:first-child > th, +.panel > .table-bordered > tbody > tr:first-child > td, +.panel > .table-bordered > tfoot > tr:first-child > th, +.panel > .table-bordered > tfoot > tr:first-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:first-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:first-child > td { + border-top: 0; +} +.panel > .table-bordered > thead > tr:last-child > th, .panel > .table-bordered > thead > tr:last-child > td, .panel > .table-bordered > tbody > tr:last-child > th, -.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tbody > tr:last-child > td, .panel > .table-bordered > tfoot > tr:last-child > th, -.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th, -.panel > .table-bordered > thead > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:last-child > th, .panel > .table-responsive > .table-bordered > thead > tr:last-child > td, -.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, -.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td { border-bottom: 0; } @@ -4763,6 +5795,7 @@ a.list-group-item.active:focus .list-group-item-text { border: 0; margin-bottom: 0; } + .panel-heading { padding: 10px 15px; border-bottom: 1px solid transparent; @@ -4772,6 +5805,7 @@ a.list-group-item.active:focus .list-group-item-text { .panel-heading > .dropdown .dropdown-toggle { color: inherit; } + .panel-title { margin-top: 0; margin-bottom: 0; @@ -4781,13 +5815,18 @@ a.list-group-item.active:focus .list-group-item-text { .panel-title > a { color: inherit; } + .panel-footer { padding: 10px 15px; - background-color: #f5f5f5; + background-color: whitesmoke; border-top: 1px solid #dddddd; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } + +.panel-group { + margin-bottom: 20px; +} .panel-group .panel { margin-bottom: 0; border-radius: 4px; @@ -4808,12 +5847,13 @@ a.list-group-item.active:focus .list-group-item-text { .panel-group .panel-footer + .panel-collapse .panel-body { border-bottom: 1px solid #dddddd; } + .panel-default { border-color: #dddddd; } .panel-default > .panel-heading { color: #333333; - background-color: #f5f5f5; + background-color: whitesmoke; border-color: #dddddd; } .panel-default > .panel-heading + .panel-collapse .panel-body { @@ -4822,11 +5862,12 @@ a.list-group-item.active:focus .list-group-item-text { .panel-default > .panel-footer + .panel-collapse .panel-body { border-bottom-color: #dddddd; } + .panel-primary { border-color: #428bca; } .panel-primary > .panel-heading { - color: #ffffff; + color: white; background-color: #428bca; border-color: #428bca; } @@ -4836,6 +5877,7 @@ a.list-group-item.active:focus .list-group-item-text { .panel-primary > .panel-footer + .panel-collapse .panel-body { border-bottom-color: #428bca; } + .panel-success { border-color: #d6e9c6; } @@ -4850,6 +5892,22 @@ a.list-group-item.active:focus .list-group-item-text { .panel-success > .panel-footer + .panel-collapse .panel-body { border-bottom-color: #d6e9c6; } + +.panel-info { + border-color: #bce8f1; +} +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bce8f1; +} +.panel-info > .panel-heading + .panel-collapse .panel-body { + border-top-color: #bce8f1; +} +.panel-info > .panel-footer + .panel-collapse .panel-body { + border-bottom-color: #bce8f1; +} + .panel-warning { border-color: #faebcc; } @@ -4864,6 +5922,7 @@ a.list-group-item.active:focus .list-group-item-text { .panel-warning > .panel-footer + .panel-collapse .panel-body { border-bottom-color: #faebcc; } + .panel-danger { border-color: #ebccd1; } @@ -4878,25 +5937,12 @@ a.list-group-item.active:focus .list-group-item-text { .panel-danger > .panel-footer + .panel-collapse .panel-body { border-bottom-color: #ebccd1; } -.panel-info { - border-color: #bce8f1; -} -.panel-info > .panel-heading { - color: #31708f; - background-color: #d9edf7; - border-color: #bce8f1; -} -.panel-info > .panel-heading + .panel-collapse .panel-body { - border-top-color: #bce8f1; -} -.panel-info > .panel-footer + .panel-collapse .panel-body { - border-bottom-color: #bce8f1; -} + .well { min-height: 20px; padding: 19px; margin-bottom: 20px; - background-color: #f5f5f5; + background-color: whitesmoke; border: 1px solid #e3e3e3; border-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); @@ -4906,32 +5952,35 @@ a.list-group-item.active:focus .list-group-item-text { border-color: #ddd; border-color: rgba(0, 0, 0, 0.15); } + .well-lg { padding: 24px; border-radius: 6px; } + .well-sm { padding: 9px; border-radius: 3px; } + .close { float: right; font-size: 21px; font-weight: bold; line-height: 1; - color: #000000; - text-shadow: 0 1px 0 #ffffff; + color: black; + text-shadow: 0 1px 0 white; opacity: 0.2; filter: alpha(opacity=20); } -.close:hover, -.close:focus { - color: #000000; +.close:hover, .close:focus { + color: black; text-decoration: none; cursor: pointer; opacity: 0.5; filter: alpha(opacity=50); } + button.close { padding: 0; cursor: pointer; @@ -4939,9 +5988,11 @@ button.close { border: 0; -webkit-appearance: none; } + .modal-open { overflow: hidden; } + .modal { display: none; overflow: auto; @@ -4951,7 +6002,9 @@ button.close { right: 0; bottom: 0; left: 0; - z-index: 1040; + z-index: 1050; + -webkit-overflow-scrolling: touch; + outline: 0; } .modal.fade .modal-dialog { -webkit-transform: translate(0, -25%); @@ -4967,15 +6020,16 @@ button.close { -ms-transform: translate(0, 0); transform: translate(0, 0); } + .modal-dialog { position: relative; width: auto; margin: 10px; - z-index: 1050; } + .modal-content { position: relative; - background-color: #ffffff; + background-color: white; border: 1px solid #999999; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; @@ -4984,14 +6038,15 @@ button.close { background-clip: padding-box; outline: none; } + .modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; - z-index: 1030; - background-color: #000000; + z-index: 1040; + background-color: black; } .modal-backdrop.fade { opacity: 0; @@ -5001,64 +6056,70 @@ button.close { opacity: 0.5; filter: alpha(opacity=50); } + .modal-header { padding: 15px; border-bottom: 1px solid #e5e5e5; - min-height: 16.428571429px; + min-height: 16.42857px; } + .modal-header .close { margin-top: -2px; } + .modal-title { margin: 0; - line-height: 1.428571429; + line-height: 1.42857; } + .modal-body { position: relative; padding: 20px; } + .modal-footer { margin-top: 15px; padding: 19px 20px 20px; text-align: right; border-top: 1px solid #e5e5e5; - zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - content: " "; - display: table; } -.modal-footer:after { - clear: both; -} -.modal-footer:before, -.modal-footer:after { +.modal-footer:before, .modal-footer:after { content: " "; display: table; } .modal-footer:after { clear: both; } -.modal-footer .btn + .btn { +.modal-footer .btn + .btn, .modal-footer a.comment-reply-link + .btn, .modal-footer #cancel-comment-reply-link + .btn, .modal-footer .form-submit input[type='submit'] + .btn, .form-submit .modal-footer input[type='submit'] + .btn, .modal-footer .btn + a.comment-reply-link, .modal-footer a.comment-reply-link + a.comment-reply-link, .modal-footer #cancel-comment-reply-link + a.comment-reply-link, .modal-footer .form-submit input[type='submit'] + a.comment-reply-link, .form-submit .modal-footer input[type='submit'] + a.comment-reply-link, .modal-footer .btn + #cancel-comment-reply-link, .modal-footer a.comment-reply-link + #cancel-comment-reply-link, .modal-footer #cancel-comment-reply-link + #cancel-comment-reply-link, .modal-footer .form-submit input[type='submit'] + #cancel-comment-reply-link, .form-submit .modal-footer input[type='submit'] + #cancel-comment-reply-link, .modal-footer .form-submit .btn + input[type='submit'], .form-submit .modal-footer .btn + input[type='submit'], .modal-footer .form-submit a.comment-reply-link + input[type='submit'], .form-submit .modal-footer a.comment-reply-link + input[type='submit'], .modal-footer .form-submit #cancel-comment-reply-link + input[type='submit'], .form-submit .modal-footer #cancel-comment-reply-link + input[type='submit'], .modal-footer .form-submit input[type='submit'] + input[type='submit'], .form-submit .modal-footer input[type='submit'] + input[type='submit'] { margin-left: 5px; margin-bottom: 0; } -.modal-footer .btn-group .btn + .btn { +.modal-footer .btn-group .btn + .btn, .modal-footer .btn-group a.comment-reply-link + .btn, .modal-footer .btn-group #cancel-comment-reply-link + .btn, .modal-footer .btn-group .form-submit input[type='submit'] + .btn, .form-submit .modal-footer .btn-group input[type='submit'] + .btn, .modal-footer .btn-group .btn + a.comment-reply-link, .modal-footer .btn-group a.comment-reply-link + a.comment-reply-link, .modal-footer .btn-group #cancel-comment-reply-link + a.comment-reply-link, .modal-footer .btn-group .form-submit input[type='submit'] + a.comment-reply-link, .form-submit .modal-footer .btn-group input[type='submit'] + a.comment-reply-link, .modal-footer .btn-group .btn + #cancel-comment-reply-link, .modal-footer .btn-group a.comment-reply-link + #cancel-comment-reply-link, .modal-footer .btn-group #cancel-comment-reply-link + #cancel-comment-reply-link, .modal-footer .btn-group .form-submit input[type='submit'] + #cancel-comment-reply-link, .form-submit .modal-footer .btn-group input[type='submit'] + #cancel-comment-reply-link, .modal-footer .btn-group .form-submit .btn + input[type='submit'], .form-submit .modal-footer .btn-group .btn + input[type='submit'], .modal-footer .btn-group .form-submit a.comment-reply-link + input[type='submit'], .form-submit .modal-footer .btn-group a.comment-reply-link + input[type='submit'], .modal-footer .btn-group .form-submit #cancel-comment-reply-link + input[type='submit'], .form-submit .modal-footer .btn-group #cancel-comment-reply-link + input[type='submit'], .modal-footer .btn-group .form-submit input[type='submit'] + input[type='submit'], .form-submit .modal-footer .btn-group input[type='submit'] + input[type='submit'] { margin-left: -1px; } .modal-footer .btn-block + .btn-block { margin-left: 0; } -@media screen and (min-width: 768px) { + +@media (min-width: 768px) { .modal-dialog { width: 600px; margin: 30px auto; } + .modal-content { -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); } + + .modal-sm { + width: 300px; + } +} +@media (min-width: 992px) { + .modal-lg { + width: 900px; + } } .tooltip { position: absolute; @@ -5090,15 +6151,17 @@ button.close { margin-left: -3px; padding: 0 5px; } + .tooltip-inner { max-width: 200px; padding: 3px 8px; - color: #ffffff; + color: white; text-align: center; text-decoration: none; - background-color: #000000; + background-color: black; border-radius: 4px; } + .tooltip-arrow { position: absolute; width: 0; @@ -5106,58 +6169,60 @@ button.close { border-color: transparent; border-style: solid; } + .tooltip.top .tooltip-arrow { bottom: 0; left: 50%; margin-left: -5px; border-width: 5px 5px 0; - border-top-color: #000000; + border-top-color: black; } .tooltip.top-left .tooltip-arrow { bottom: 0; left: 5px; border-width: 5px 5px 0; - border-top-color: #000000; + border-top-color: black; } .tooltip.top-right .tooltip-arrow { bottom: 0; right: 5px; border-width: 5px 5px 0; - border-top-color: #000000; + border-top-color: black; } .tooltip.right .tooltip-arrow { top: 50%; left: 0; margin-top: -5px; border-width: 5px 5px 5px 0; - border-right-color: #000000; + border-right-color: black; } .tooltip.left .tooltip-arrow { top: 50%; right: 0; margin-top: -5px; border-width: 5px 0 5px 5px; - border-left-color: #000000; + border-left-color: black; } .tooltip.bottom .tooltip-arrow { top: 0; left: 50%; margin-left: -5px; border-width: 0 5px 5px; - border-bottom-color: #000000; + border-bottom-color: black; } .tooltip.bottom-left .tooltip-arrow { top: 0; left: 5px; border-width: 0 5px 5px; - border-bottom-color: #000000; + border-bottom-color: black; } .tooltip.bottom-right .tooltip-arrow { top: 0; right: 5px; border-width: 0 5px 5px; - border-bottom-color: #000000; + border-bottom-color: black; } + .popover { position: absolute; top: 0; @@ -5167,7 +6232,7 @@ button.close { max-width: 276px; padding: 1px; text-align: left; - background-color: #ffffff; + background-color: white; background-clip: padding-box; border: 1px solid #cccccc; border: 1px solid rgba(0, 0, 0, 0.2); @@ -5188,6 +6253,7 @@ button.close { .popover.left { margin-left: -10px; } + .popover-title { margin: 0; padding: 8px 14px; @@ -5198,11 +6264,12 @@ button.close { border-bottom: 1px solid #ebebeb; border-radius: 5px 5px 0 0; } + .popover-content { padding: 9px 14px; } -.popover .arrow, -.popover .arrow:after { + +.popover > .arrow, .popover > .arrow:after { position: absolute; display: block; width: 0; @@ -5210,14 +6277,17 @@ button.close { border-color: transparent; border-style: solid; } -.popover .arrow { + +.popover > .arrow { border-width: 11px; } -.popover .arrow:after { + +.popover > .arrow:after { border-width: 10px; content: ""; } -.popover.top .arrow { + +.popover.top > .arrow { left: 50%; margin-left: -11px; border-bottom-width: 0; @@ -5225,14 +6295,14 @@ button.close { border-top-color: rgba(0, 0, 0, 0.25); bottom: -11px; } -.popover.top .arrow:after { +.popover.top > .arrow:after { content: " "; bottom: 1px; margin-left: -10px; border-bottom-width: 0; - border-top-color: #ffffff; + border-top-color: white; } -.popover.right .arrow { +.popover.right > .arrow { top: 50%; left: -11px; margin-top: -11px; @@ -5240,14 +6310,14 @@ button.close { border-right-color: #999999; border-right-color: rgba(0, 0, 0, 0.25); } -.popover.right .arrow:after { +.popover.right > .arrow:after { content: " "; left: 1px; bottom: -10px; border-left-width: 0; - border-right-color: #ffffff; + border-right-color: white; } -.popover.bottom .arrow { +.popover.bottom > .arrow { left: 50%; margin-left: -11px; border-top-width: 0; @@ -5255,14 +6325,14 @@ button.close { border-bottom-color: rgba(0, 0, 0, 0.25); top: -11px; } -.popover.bottom .arrow:after { +.popover.bottom > .arrow:after { content: " "; top: 1px; margin-left: -10px; border-top-width: 0; - border-bottom-color: #ffffff; + border-bottom-color: white; } -.popover.left .arrow { +.popover.left > .arrow { top: 50%; right: -11px; margin-top: -11px; @@ -5270,16 +6340,18 @@ button.close { border-left-color: #999999; border-left-color: rgba(0, 0, 0, 0.25); } -.popover.left .arrow:after { +.popover.left > .arrow:after { content: " "; right: 1px; border-right-width: 0; - border-left-color: #ffffff; + border-left-color: white; bottom: -10px; } + .carousel { position: relative; } + .carousel-inner { position: relative; overflow: hidden; @@ -5328,6 +6400,7 @@ button.close { .carousel-inner > .active.right { left: 100%; } + .carousel-control { position: absolute; top: 0; @@ -5337,7 +6410,7 @@ button.close { opacity: 0.5; filter: alpha(opacity=50); font-size: 20px; - color: #ffffff; + color: white; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } @@ -5355,10 +6428,9 @@ button.close { background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); } -.carousel-control:hover, -.carousel-control:focus { +.carousel-control:hover, .carousel-control:focus { outline: none; - color: #ffffff; + color: white; text-decoration: none; opacity: 0.9; filter: alpha(opacity=90); @@ -5394,6 +6466,7 @@ button.close { .carousel-control .icon-next:before { content: '\203a'; } + .carousel-indicators { position: absolute; bottom: 10px; @@ -5411,7 +6484,7 @@ button.close { height: 10px; margin: 1px; text-indent: -999px; - border: 1px solid #ffffff; + border: 1px solid white; border-radius: 10px; cursor: pointer; background-color: #000 \9; @@ -5421,8 +6494,9 @@ button.close { margin: 0; width: 12px; height: 12px; - background-color: #ffffff; + background-color: white; } + .carousel-caption { position: absolute; left: 15%; @@ -5431,13 +6505,14 @@ button.close { z-index: 10; padding-top: 20px; padding-bottom: 20px; - color: #ffffff; + color: white; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } -.carousel-caption .btn { +.carousel-caption .btn, .carousel-caption a.comment-reply-link, .carousel-caption #cancel-comment-reply-link, .carousel-caption .form-submit input[type='submit'], .form-submit .carousel-caption input[type='submit'] { text-shadow: none; } + @media screen and (min-width: 768px) { .carousel-control .glyphicons-chevron-left, .carousel-control .glyphicons-chevron-right, @@ -5449,46 +6524,51 @@ button.close { margin-left: -15px; font-size: 30px; } + .carousel-caption { left: 20%; right: 20%; padding-bottom: 30px; } + .carousel-indicators { bottom: 20px; } } -.clearfix { - zoom: 1; -} -.clearfix:before, -.clearfix:after { +.clearfix:before, .clearfix:after { content: " "; display: table; } .clearfix:after { clear: both; } + .center-block { display: block; margin-left: auto; margin-right: auto; } + .pull-right { float: right !important; } + .pull-left { float: left !important; } + .hide { display: none !important; } + .show { display: block !important; } + .invisible { visibility: hidden; } + .text-hide { font: 0/0 a; color: transparent; @@ -5496,262 +6576,75 @@ button.close { background-color: transparent; border: 0; } + .hidden { display: none !important; visibility: hidden !important; } + .affix { position: fixed; } + @-ms-viewport { width: device-width; } -.visible-xs, -tr.visible-xs, -th.visible-xs, -td.visible-xs { + +.visible-xs, .visible-sm, .visible-md, .visible-lg { display: none !important; } + @media (max-width: 767px) { .visible-xs { display: block !important; } - table.visible-xs { - display: table; - } - tr.visible-xs { - display: table-row !important; - } - th.visible-xs, - td.visible-xs { - display: table-cell !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-xs.visible-sm { - display: block !important; - } - table.visible-xs.visible-sm { - display: table; - } - tr.visible-xs.visible-sm { - display: table-row !important; - } - th.visible-xs.visible-sm, - td.visible-xs.visible-sm { - display: table-cell !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-xs.visible-md { - display: block !important; - } - table.visible-xs.visible-md { - display: table; - } - tr.visible-xs.visible-md { - display: table-row !important; - } - th.visible-xs.visible-md, - td.visible-xs.visible-md { - display: table-cell !important; - } -} -@media (min-width: 1200px) { - .visible-xs.visible-lg { - display: block !important; - } - table.visible-xs.visible-lg { - display: table; - } - tr.visible-xs.visible-lg { - display: table-row !important; - } - th.visible-xs.visible-lg, - td.visible-xs.visible-lg { - display: table-cell !important; - } -} -.visible-sm, -tr.visible-sm, -th.visible-sm, -td.visible-sm { - display: none !important; -} -@media (max-width: 767px) { - .visible-sm.visible-xs { - display: block !important; - } - table.visible-sm.visible-xs { - display: table; - } - tr.visible-sm.visible-xs { - display: table-row !important; - } - th.visible-sm.visible-xs, - td.visible-sm.visible-xs { - display: table-cell !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm { - display: block !important; - } - table.visible-sm { - display: table; - } - tr.visible-sm { - display: table-row !important; - } - th.visible-sm, - td.visible-sm { - display: table-cell !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-sm.visible-md { - display: block !important; - } - table.visible-sm.visible-md { - display: table; - } - tr.visible-sm.visible-md { - display: table-row !important; - } - th.visible-sm.visible-md, - td.visible-sm.visible-md { - display: table-cell !important; - } -} -@media (min-width: 1200px) { - .visible-sm.visible-lg { - display: block !important; - } - table.visible-sm.visible-lg { - display: table; - } - tr.visible-sm.visible-lg { - display: table-row !important; - } - th.visible-sm.visible-lg, - td.visible-sm.visible-lg { - display: table-cell !important; - } -} -.visible-md, -tr.visible-md, -th.visible-md, -td.visible-md { - display: none !important; -} -@media (max-width: 767px) { - .visible-md.visible-xs { - display: block !important; - } - table.visible-md.visible-xs { - display: table; - } - tr.visible-md.visible-xs { - display: table-row !important; - } - th.visible-md.visible-xs, - td.visible-md.visible-xs { - display: table-cell !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-md.visible-sm { - display: block !important; - } - table.visible-md.visible-sm { - display: table; - } - tr.visible-md.visible-sm { - display: table-row !important; - } - th.visible-md.visible-sm, - td.visible-md.visible-sm { - display: table-cell !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md { - display: block !important; - } - table.visible-md { - display: table; - } - tr.visible-md { - display: table-row !important; - } - th.visible-md, - td.visible-md { - display: table-cell !important; - } -} -@media (min-width: 1200px) { - .visible-md.visible-lg { - display: block !important; - } - table.visible-md.visible-lg { - display: table; - } - tr.visible-md.visible-lg { - display: table-row !important; - } - th.visible-md.visible-lg, - td.visible-md.visible-lg { - display: table-cell !important; - } -} -.visible-lg, -tr.visible-lg, -th.visible-lg, -td.visible-lg { - display: none !important; -} -@media (max-width: 767px) { - .visible-lg.visible-xs { - display: block !important; - } - table.visible-lg.visible-xs { + + table.visible-xs { display: table; } - tr.visible-lg.visible-xs { + + tr.visible-xs { display: table-row !important; } - th.visible-lg.visible-xs, - td.visible-lg.visible-xs { + + th.visible-xs, + td.visible-xs { display: table-cell !important; } } @media (min-width: 768px) and (max-width: 991px) { - .visible-lg.visible-sm { + .visible-sm { display: block !important; } - table.visible-lg.visible-sm { + + table.visible-sm { display: table; } - tr.visible-lg.visible-sm { + + tr.visible-sm { display: table-row !important; } - th.visible-lg.visible-sm, - td.visible-lg.visible-sm { + + th.visible-sm, + td.visible-sm { display: table-cell !important; } } @media (min-width: 992px) and (max-width: 1199px) { - .visible-lg.visible-md { + .visible-md { display: block !important; } - table.visible-lg.visible-md { + + table.visible-md { display: table; } - tr.visible-lg.visible-md { + + tr.visible-md { display: table-row !important; } - th.visible-lg.visible-md, - td.visible-lg.visible-md { + + th.visible-md, + td.visible-md { display: table-cell !important; } } @@ -5759,221 +6652,64 @@ td.visible-lg { .visible-lg { display: block !important; } + table.visible-lg { display: table; } + tr.visible-lg { display: table-row !important; } + th.visible-lg, td.visible-lg { display: table-cell !important; } } -.hidden-xs { - display: block !important; -} -table.hidden-xs { - display: table; -} -tr.hidden-xs { - display: table-row !important; -} -th.hidden-xs, -td.hidden-xs { - display: table-cell !important; -} -@media (max-width: 767px) { - .hidden-xs, - tr.hidden-xs, - th.hidden-xs, - td.hidden-xs { - display: none !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .hidden-xs.hidden-sm, - tr.hidden-xs.hidden-sm, - th.hidden-xs.hidden-sm, - td.hidden-xs.hidden-sm { - display: none !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .hidden-xs.hidden-md, - tr.hidden-xs.hidden-md, - th.hidden-xs.hidden-md, - td.hidden-xs.hidden-md { - display: none !important; - } -} -@media (min-width: 1200px) { - .hidden-xs.hidden-lg, - tr.hidden-xs.hidden-lg, - th.hidden-xs.hidden-lg, - td.hidden-xs.hidden-lg { - display: none !important; - } -} -.hidden-sm { - display: block !important; -} -table.hidden-sm { - display: table; -} -tr.hidden-sm { - display: table-row !important; -} -th.hidden-sm, -td.hidden-sm { - display: table-cell !important; -} -@media (max-width: 767px) { - .hidden-sm.hidden-xs, - tr.hidden-sm.hidden-xs, - th.hidden-sm.hidden-xs, - td.hidden-sm.hidden-xs { - display: none !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .hidden-sm, - tr.hidden-sm, - th.hidden-sm, - td.hidden-sm { - display: none !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .hidden-sm.hidden-md, - tr.hidden-sm.hidden-md, - th.hidden-sm.hidden-md, - td.hidden-sm.hidden-md { - display: none !important; - } -} -@media (min-width: 1200px) { - .hidden-sm.hidden-lg, - tr.hidden-sm.hidden-lg, - th.hidden-sm.hidden-lg, - td.hidden-sm.hidden-lg { - display: none !important; - } -} -.hidden-md { - display: block !important; -} -table.hidden-md { - display: table; -} -tr.hidden-md { - display: table-row !important; -} -th.hidden-md, -td.hidden-md { - display: table-cell !important; -} -@media (max-width: 767px) { - .hidden-md.hidden-xs, - tr.hidden-md.hidden-xs, - th.hidden-md.hidden-xs, - td.hidden-md.hidden-xs { - display: none !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .hidden-md.hidden-sm, - tr.hidden-md.hidden-sm, - th.hidden-md.hidden-sm, - td.hidden-md.hidden-sm { - display: none !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .hidden-md, - tr.hidden-md, - th.hidden-md, - td.hidden-md { - display: none !important; - } -} -@media (min-width: 1200px) { - .hidden-md.hidden-lg, - tr.hidden-md.hidden-lg, - th.hidden-md.hidden-lg, - td.hidden-md.hidden-lg { - display: none !important; - } -} -.hidden-lg { - display: block !important; -} -table.hidden-lg { - display: table; -} -tr.hidden-lg { - display: table-row !important; -} -th.hidden-lg, -td.hidden-lg { - display: table-cell !important; -} @media (max-width: 767px) { - .hidden-lg.hidden-xs, - tr.hidden-lg.hidden-xs, - th.hidden-lg.hidden-xs, - td.hidden-lg.hidden-xs { + .hidden-xs { display: none !important; } } @media (min-width: 768px) and (max-width: 991px) { - .hidden-lg.hidden-sm, - tr.hidden-lg.hidden-sm, - th.hidden-lg.hidden-sm, - td.hidden-lg.hidden-sm { + .hidden-sm { display: none !important; } } @media (min-width: 992px) and (max-width: 1199px) { - .hidden-lg.hidden-md, - tr.hidden-lg.hidden-md, - th.hidden-lg.hidden-md, - td.hidden-lg.hidden-md { + .hidden-md { display: none !important; } } @media (min-width: 1200px) { - .hidden-lg, - tr.hidden-lg, - th.hidden-lg, - td.hidden-lg { + .hidden-lg { display: none !important; } } -.visible-print, -tr.visible-print, -th.visible-print, -td.visible-print { +.visible-print { display: none !important; } + @media print { .visible-print { display: block !important; } + table.visible-print { display: table; } + tr.visible-print { display: table-row !important; } + th.visible-print, td.visible-print { display: table-cell !important; } - .hidden-print, - tr.hidden-print, - th.hidden-print, - td.hidden-print { +} +@media print { + .hidden-print { display: none !important; } } @@ -5985,61 +6721,73 @@ td.visible-print { content: ""; display: table; } + .clearfix:after { clear: both; } + /* For IE 6/7 (trigger hasLayout) */ .clearfix { zoom: 1; } + /* wp-specific classes */ /* layout */ body { padding-top: 60px; } + /* Admin Top Navigation fixes */ body.admin-bar .navbar-fixed-top { top: 28px; } + .navbar .brand { color: #000; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.125); font-weight: bold !important; } + .nav-container { padding-left: 0; padding-right: 0; } + #inner-header { width: 100%; } -input, -textarea, -select, -.uneditable-input { + +input, textarea, select, .uneditable-input { margin-bottom: 0; } + .navbar-search { padding-left: 0; } + #content { padding: 10px 0 0; } + .more-link { white-space: nowrap; } + .footer-links { float: right; margin-bottom: 18px; } + .footer-links .menu { list-style-type: none; margin-left: 0; } + .footer-links .menu li { float: left; margin-left: 10px; } + /* navbar */ ul.nav li.dropdown:hover > ul.dropdown-menu { display: block; @@ -6059,16 +6807,19 @@ ul.nav .dropdown > .dropdown-menu .caret { border-bottom: 4px solid transparent; border-right-width: 0; } + /* post styling */ #main p.meta { font-style: italic; color: #808080; } + #main article { margin-bottom: 18px; border-bottom: 1px solid #eeeeee; padding: 0 0 9px; } + #main article footer { border-top: none; margin-top: 0; @@ -6076,49 +6827,61 @@ ul.nav .dropdown > .dropdown-menu .caret { position: relative; min-height: 20px; } + #main article footer a.edit-post { position: absolute; right: 0; top: 0; display: none; } + .post:hover a.edit-post { display: inline; } + p.tags { line-height: 20px; } + div[id*='attachment_'] { max-width: 100%; height: 100%; } + #main .hero-unit img { margin-bottom: 1em; } + #main article img { height: auto; max-width: 100%; } + img.alignleft { margin-right: 10px; float: left; } + img.alignright { margin-left: 10px; float: right; } + img.aligncenter { display: block; margin: 0 auto; } + .archive #main .post h3 { line-height: 24px; margin-bottom: 10px; } + video { max-width: 100%; height: auto; } + .video-container { position: relative; padding-bottom: 56.25%; @@ -6126,6 +6889,7 @@ video { height: 0; overflow: hidden; } + .video-container iframe, .video-container object, .video-container embed { @@ -6135,534 +6899,187 @@ video { width: 100%; height: 100%; } + .video-wrapper { width: 630px; max-width: 100%; margin-bottom: 18px; } + /* page styling */ #featured-carousel .item { width: 970px; height: 600px; } + .carousel-caption p { display: none; } + .page-template-page-homepage-php #main article { border-bottom: none; } + .page-template-page-homepage-php .hero-unit, .blog .hero-unit { padding: 1em; } + .hero-unit h1 { font-size: 3em; } + /* comments */ #comments { line-height: 24px; margin-bottom: 18px; } + ol.commentlist, ol.commentlist ul.children { list-style-type: none; padding-left: 0; } + .comment .vcard > div { margin-top: 8px; padding: 0 10px; } + ol.commentlist time { font-size: .8em; color: #eeeeee; } + ol.commentlist div.comment-author { position: relative; } + ol.commentlist a.comment-edit-link { color: #ffffff; text-decoration: none; padding-left: 5px; } + ol.commentlist span.edit-comment { position: absolute; right: 0; - top: 8px; -} -ol.commentlist li.bypostauthor { - background-color: #dddddd; -} -ol.commentlist ul.children li { - background-color: #cccccc; -} -ol.commentlist ul.children li ul.children li { - background-color: #bbbbbb; -} -ol.commentlist ul.children li ul.children li ul.children li { - background-color: #aaaaaa; -} -ol.commentlist article { - border-bottom: none !important; -} -a.comment-reply-link { - position: absolute; - right: 0; - bottom: 0; - display: inline-block; - margin-bottom: 0; - font-weight: normal; - text-align: center; - vertical-align: middle; - cursor: pointer; - background-image: none; - border: 1px solid transparent; - white-space: nowrap; - padding: 6px 12px; - font-size: 14px; - line-height: 1.428571429; - border-radius: 4px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - -o-user-select: none; - user-select: none; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; - color: #ffffff; - background-color: #5cb85c; - border-color: #4cae4c; -} -a.comment-reply-link:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a.comment-reply-link:hover, -a.comment-reply-link:focus { - color: #333333; - text-decoration: none; -} -a.comment-reply-link:active, -a.comment-reply-link.active { - outline: 0; - background-image: none; - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); -} -a.comment-reply-link.disabled, -a.comment-reply-link[disabled], -fieldset[disabled] a.comment-reply-link { - cursor: not-allowed; - pointer-events: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - box-shadow: none; -} -a.comment-reply-link:hover, -a.comment-reply-link:focus, -a.comment-reply-link:active, -a.comment-reply-link.active, -.open .dropdown-togglea.comment-reply-link { - color: #ffffff; - background-color: #47a447; - border-color: #398439; -} -a.comment-reply-link:active, -a.comment-reply-link.active, -.open .dropdown-togglea.comment-reply-link { - background-image: none; -} -a.comment-reply-link.disabled, -a.comment-reply-link[disabled], -fieldset[disabled] a.comment-reply-link, -a.comment-reply-link.disabled:hover, -a.comment-reply-link[disabled]:hover, -fieldset[disabled] a.comment-reply-link:hover, -a.comment-reply-link.disabled:focus, -a.comment-reply-link[disabled]:focus, -fieldset[disabled] a.comment-reply-link:focus, -a.comment-reply-link.disabled:active, -a.comment-reply-link[disabled]:active, -fieldset[disabled] a.comment-reply-link:active, -a.comment-reply-link.disabled.active, -a.comment-reply-link[disabled].active, -fieldset[disabled] a.comment-reply-link.active { - background-color: #5cb85c; - border-color: #4cae4c; -} -a.comment-reply-link .badge { - color: #5cb85c; - background-color: #fff; -} -#cancel-comment-reply-link { - display: inline-block; - margin-bottom: 0; - font-weight: normal; - text-align: center; - vertical-align: middle; - cursor: pointer; - background-image: none; - border: 1px solid transparent; - white-space: nowrap; - padding: 6px 12px; - font-size: 14px; - line-height: 1.428571429; - border-radius: 4px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - -o-user-select: none; - user-select: none; - padding: 1px 5px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; - color: #ffffff; - background-color: #f0ad4e; - border-color: #eea236; - margin-left: 1em; -} -#cancel-comment-reply-link:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; + top: 8px; } -#cancel-comment-reply-link:hover, -#cancel-comment-reply-link:focus { - color: #333333; - text-decoration: none; + +ol.commentlist li.bypostauthor { + background-color: #dddddd; } -#cancel-comment-reply-link:active, -#cancel-comment-reply-link.active { - outline: 0; - background-image: none; - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + +ol.commentlist ul.children li { + background-color: #cccccc; } -#cancel-comment-reply-link.disabled, -#cancel-comment-reply-link[disabled], -fieldset[disabled] #cancel-comment-reply-link { - cursor: not-allowed; - pointer-events: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - box-shadow: none; + +ol.commentlist ul.children li ul.children li { + background-color: #bbbbbb; } -#cancel-comment-reply-link:hover, -#cancel-comment-reply-link:focus, -#cancel-comment-reply-link:active, -#cancel-comment-reply-link.active, -.open .dropdown-toggle#cancel-comment-reply-link { - color: #ffffff; - background-color: #ed9c28; - border-color: #d58512; + +ol.commentlist ul.children li ul.children li ul.children li { + background-color: #aaaaaa; } -#cancel-comment-reply-link:active, -#cancel-comment-reply-link.active, -.open .dropdown-toggle#cancel-comment-reply-link { - background-image: none; + +ol.commentlist article { + border-bottom: none !important; } -#cancel-comment-reply-link.disabled, -#cancel-comment-reply-link[disabled], -fieldset[disabled] #cancel-comment-reply-link, -#cancel-comment-reply-link.disabled:hover, -#cancel-comment-reply-link[disabled]:hover, -fieldset[disabled] #cancel-comment-reply-link:hover, -#cancel-comment-reply-link.disabled:focus, -#cancel-comment-reply-link[disabled]:focus, -fieldset[disabled] #cancel-comment-reply-link:focus, -#cancel-comment-reply-link.disabled:active, -#cancel-comment-reply-link[disabled]:active, -fieldset[disabled] #cancel-comment-reply-link:active, -#cancel-comment-reply-link.disabled.active, -#cancel-comment-reply-link[disabled].active, -fieldset[disabled] #cancel-comment-reply-link.active { - background-color: #f0ad4e; - border-color: #eea236; + +a.comment-reply-link { + position: absolute; + right: 0; + bottom: 0; } -#cancel-comment-reply-link .badge { - color: #f0ad4e; - background-color: #fff; + +#cancel-comment-reply-link { + margin-left: 1em; } + #comment-nav ul { list-style-type: none; margin: 0; } + #comment-form-elements { list-style-type: none; margin: 0; } -.comment-form-author, -.comment-form-email, -.comment-form-url, -.comment-form-comment { - margin-bottom: 15px; -} -.comment-form-author input, -.comment-form-email input, -.comment-form-url input, -.comment-form-comment input, -.comment-form-author textarea, -.comment-form-email textarea, -.comment-form-url textarea, -.comment-form-comment textarea { - display: block; - width: 100%; - height: 34px; - padding: 6px 12px; - font-size: 14px; - line-height: 1.428571429; - color: #555555; - vertical-align: middle; - background-color: #ffffff; - background-image: none; - border: 1px solid #cccccc; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -} -.comment-form-author input:focus, -.comment-form-email input:focus, -.comment-form-url input:focus, -.comment-form-comment input:focus, -.comment-form-author textarea:focus, -.comment-form-email textarea:focus, -.comment-form-url textarea:focus, -.comment-form-comment textarea:focus { - border-color: #66afe9; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); -} -.comment-form-author input:-moz-placeholder, -.comment-form-email input:-moz-placeholder, -.comment-form-url input:-moz-placeholder, -.comment-form-comment input:-moz-placeholder, -.comment-form-author textarea:-moz-placeholder, -.comment-form-email textarea:-moz-placeholder, -.comment-form-url textarea:-moz-placeholder, -.comment-form-comment textarea:-moz-placeholder { - color: #999999; -} -.comment-form-author input::-moz-placeholder, -.comment-form-email input::-moz-placeholder, -.comment-form-url input::-moz-placeholder, -.comment-form-comment input::-moz-placeholder, -.comment-form-author textarea::-moz-placeholder, -.comment-form-email textarea::-moz-placeholder, -.comment-form-url textarea::-moz-placeholder, -.comment-form-comment textarea::-moz-placeholder { - color: #999999; - opacity: 1; -} -.comment-form-author input:-ms-input-placeholder, -.comment-form-email input:-ms-input-placeholder, -.comment-form-url input:-ms-input-placeholder, -.comment-form-comment input:-ms-input-placeholder, -.comment-form-author textarea:-ms-input-placeholder, -.comment-form-email textarea:-ms-input-placeholder, -.comment-form-url textarea:-ms-input-placeholder, -.comment-form-comment textarea:-ms-input-placeholder { - color: #999999; -} -.comment-form-author input::-webkit-input-placeholder, -.comment-form-email input::-webkit-input-placeholder, -.comment-form-url input::-webkit-input-placeholder, -.comment-form-comment input::-webkit-input-placeholder, -.comment-form-author textarea::-webkit-input-placeholder, -.comment-form-email textarea::-webkit-input-placeholder, -.comment-form-url textarea::-webkit-input-placeholder, -.comment-form-comment textarea::-webkit-input-placeholder { - color: #999999; -} -.comment-form-author input[disabled], -.comment-form-email input[disabled], -.comment-form-url input[disabled], -.comment-form-comment input[disabled], -.comment-form-author textarea[disabled], -.comment-form-email textarea[disabled], -.comment-form-url textarea[disabled], -.comment-form-comment textarea[disabled], -.comment-form-author input[readonly], -.comment-form-email input[readonly], -.comment-form-url input[readonly], -.comment-form-comment input[readonly], -.comment-form-author textarea[readonly], -.comment-form-email textarea[readonly], -.comment-form-url textarea[readonly], -.comment-form-comment textarea[readonly], -fieldset[disabled] .comment-form-author input, -fieldset[disabled] .comment-form-email input, -fieldset[disabled] .comment-form-url input, -fieldset[disabled] .comment-form-comment input, -fieldset[disabled] .comment-form-author textarea, -fieldset[disabled] .comment-form-email textarea, -fieldset[disabled] .comment-form-url textarea, -fieldset[disabled] .comment-form-comment textarea { - cursor: not-allowed; - background-color: #eeeeee; -} -textarea.comment-form-author input, -textarea.comment-form-email input, -textarea.comment-form-url input, -textarea.comment-form-comment input, -textarea.comment-form-author textarea, -textarea.comment-form-email textarea, -textarea.comment-form-url textarea, -textarea.comment-form-comment textarea { - height: auto; -} + .comment-form-author textarea, .comment-form-email textarea, .comment-form-url textarea, .comment-form-comment textarea { height: auto; } + .form-allowed-tags code { white-space: normal; } -.form-submit input[type='submit'] { - display: inline-block; - margin-bottom: 0; - font-weight: normal; - text-align: center; - vertical-align: middle; - cursor: pointer; - background-image: none; - border: 1px solid transparent; - white-space: nowrap; - padding: 6px 12px; - font-size: 14px; - line-height: 1.428571429; - border-radius: 4px; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - -o-user-select: none; - user-select: none; - color: #ffffff; - background-color: #428bca; - border-color: #357ebd; -} -.form-submit input[type='submit']:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.form-submit input[type='submit']:hover, -.form-submit input[type='submit']:focus { - color: #333333; - text-decoration: none; -} -.form-submit input[type='submit']:active, -.form-submit input[type='submit'].active { - outline: 0; - background-image: none; - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); -} -.form-submit input[type='submit'].disabled, -.form-submit input[type='submit'][disabled], -fieldset[disabled] .form-submit input[type='submit'] { - cursor: not-allowed; - pointer-events: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - box-shadow: none; -} -.form-submit input[type='submit']:hover, -.form-submit input[type='submit']:focus, -.form-submit input[type='submit']:active, -.form-submit input[type='submit'].active, -.open .dropdown-toggle.form-submit input[type='submit'] { - color: #ffffff; - background-color: #3276b1; - border-color: #285e8e; -} -.form-submit input[type='submit']:active, -.form-submit input[type='submit'].active, -.open .dropdown-toggle.form-submit input[type='submit'] { - background-image: none; -} -.form-submit input[type='submit'].disabled, -.form-submit input[type='submit'][disabled], -fieldset[disabled] .form-submit input[type='submit'], -.form-submit input[type='submit'].disabled:hover, -.form-submit input[type='submit'][disabled]:hover, -fieldset[disabled] .form-submit input[type='submit']:hover, -.form-submit input[type='submit'].disabled:focus, -.form-submit input[type='submit'][disabled]:focus, -fieldset[disabled] .form-submit input[type='submit']:focus, -.form-submit input[type='submit'].disabled:active, -.form-submit input[type='submit'][disabled]:active, -fieldset[disabled] .form-submit input[type='submit']:active, -.form-submit input[type='submit'].disabled.active, -.form-submit input[type='submit'][disabled].active, -fieldset[disabled] .form-submit input[type='submit'].active { - background-color: #428bca; - border-color: #357ebd; -} -.form-submit input[type='submit'] .badge { - color: #428bca; - background-color: #fff; -} + .comment .vcard .avatar { padding-right: 0; } + .comment .vcard .comment-text { margin-left: 0; } + img.avatar { border-top: 1px solid #ddd; border-bottom: 1px solid #dedede; border-right: 1px solid #dedede; border-left: 1px solid #ddd; } + ol.commentlist li { padding-right: 10px; background-color: #F0F0F0; } + #pings { margin-bottom: 9px; } + ol.pinglist { list-style-type: none; margin: 0 0 9px 0; } + ol.commentlist #respond { padding: 5px 10px; } + /* specific post-type styles */ /* image attachment */ .attachment #main .post_content img { max-width: 100%; } + .ie8 #main .media-grid img { max-height: none !important; max-width: none !important; } + .attachment-img { margin-bottom: 18px; } + .metadata p.alert-message { margin-right: 0; margin-bottom: 18px; } + #gallery-nav { list-style-type: none; margin-left: 0; } -li.next a, -li.previous a { + +li.next a, li.previous a { position: relative; } + li.next a:hover:before { content: "\2190"; position: absolute; @@ -6677,6 +7094,7 @@ li.next a:hover:before { text-decoration: none; box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); } + li.previous a:hover:before { content: "\2192"; position: absolute; @@ -6691,61 +7109,38 @@ li.previous a:hover:before { text-decoration: none; box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); } + /* widget styles */ .widget { margin-bottom: 18px; } + .widgettitle { margin-bottom: 9px; } + #tag-cloud { margin-bottom: 18px; line-height: 160%; } -.tags a { - display: inline; - padding: .2em .6em .3em; - font-size: 75%; - font-weight: bold; - line-height: 1; - color: #ffffff; - text-align: center; - white-space: nowrap; - vertical-align: baseline; - border-radius: .25em; - background-color: #999999; -} -.tags a[href]:hover, -.tags a[href]:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.tags a:empty { - display: none; -} -.btn .tags a { - position: relative; - top: -1px; -} -.tags a[href]:hover, -.tags a[href]:focus { - background-color: #808080; -} + /* override standard link hover for the tag cloud widget */ #tag-cloud a:hover, .tags a:hover { color: #ffffff; text-decoration: none; } + #tag-cloud a { white-space: pre; text-transform: uppercase; } + /* change default form padding for search */ .widget_search form { padding-left: 0; } + /* calendar widget */ #calendar_wrap { border: 1px solid #ddd; @@ -6754,27 +7149,34 @@ li.previous a:hover:before { border-radius: 3px; padding: 5px; } + #wp-calendar { width: 100%; } + #wp-calendar caption { font-weight: bold; padding: 8px; } + #wp-calendar tr { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } + #wp-calendar tr:last-child { border-bottom: none; } + #wp-calendar td { text-align: center; padding: 8px 0; } + blockquote.pull-left { padding-right: 15px; } + @media only screen and (min-width: 768px) { .carousel-caption p { display: block; @@ -6784,45 +7186,57 @@ blockquote.pull-left { body { padding-top: 60px; } + .container-fluid { max-width: 970px; margin: 0 auto; padding-left: 20px; padding-right: 20px; } + #inner-footer { padding: 0; } + #content { padding-left: 0; padding-right: 0; } + .topbar-inner { padding: 0; } + .topbar form.pull-right { float: right; } + .navbar-search { padding-left: 0; } + .blog .hero-unit { margin-top: 10px; } + .page-template-page-homepage-php .hero-unit, .blog .hero-unit { padding: 60px; } + .hero-unit h1 { font-size: 60px; } + /* hide edit comment button and show on hover on desktop version */ .edit-comment { display: none; } + .vcard:hover .edit-comment { display: inline-block; } + .comment .vcard .comment-text { padding-left: 0; padding-right: 0; diff --git a/library/scss/_alerts.scss b/library/scss/_alerts.scss new file mode 100644 index 00000000..4685ac3a --- /dev/null +++ b/library/scss/_alerts.scss @@ -0,0 +1,67 @@ +// +// Alerts +// -------------------------------------------------- + + +// Base styles +// ------------------------- + +.alert { + padding: $alert-padding; + margin-bottom: $line-height-computed; + border: 1px solid transparent; + border-radius: $alert-border-radius; + + // Headings for larger alerts + h4 { + margin-top: 0; + // Specified for the h4 to prevent conflicts of changing $headings-color + color: inherit; + } + // Provide class for links that match alerts + .alert-link { + font-weight: $alert-link-font-weight; + } + + // Improve alignment and spacing of inner content + > p, + > ul { + margin-bottom: 0; + } + > p + p { + margin-top: 5px; + } +} + +// Dismissable alerts +// +// Expand the right padding and account for the close button's positioning. + +.alert-dismissable { + padding-right: ($alert-padding + 20); + + // Adjust close link position + .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; + } +} + +// Alternate styles +// +// Generate contextual modifier classes for colorizing the alert. + +.alert-success { + @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text); +} +.alert-info { + @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text); +} +.alert-warning { + @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text); +} +.alert-danger { + @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text); +} diff --git a/library/scss/_badges.scss b/library/scss/_badges.scss new file mode 100644 index 00000000..4014a80b --- /dev/null +++ b/library/scss/_badges.scss @@ -0,0 +1,55 @@ +// +// Badges +// -------------------------------------------------- + + +// Base classes +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: $font-size-small; + font-weight: $badge-font-weight; + color: $badge-color; + line-height: $badge-line-height; + vertical-align: baseline; + white-space: nowrap; + text-align: center; + background-color: $badge-bg; + border-radius: $badge-border-radius; + + // Empty badges collapse automatically (not available in IE8) + &:empty { + display: none; + } + + // Quick fix for badges in buttons + .btn & { + position: relative; + top: -1px; + } + .btn-xs & { + top: 0; + padding: 1px 5px; + } +} + +// Hover state, but only for links +a.badge { + &:hover, + &:focus { + color: $badge-link-hover-color; + text-decoration: none; + cursor: pointer; + } +} + +// Account for counters in navs +a.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: $badge-active-color; + background-color: $badge-active-bg; +} +.nav-pills > li > a > .badge { + margin-left: 3px; +} diff --git a/library/scss/_breadcrumbs.scss b/library/scss/_breadcrumbs.scss new file mode 100644 index 00000000..3641e333 --- /dev/null +++ b/library/scss/_breadcrumbs.scss @@ -0,0 +1,26 @@ +// +// Breadcrumbs +// -------------------------------------------------- + + +.breadcrumb { + padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal; + margin-bottom: $line-height-computed; + list-style: none; + background-color: $breadcrumb-bg; + border-radius: $border-radius-base; + + > li { + display: inline-block; + + + li:before { + content: "#{$breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space + padding: 0 5px; + color: $breadcrumb-color; + } + } + + > .active { + color: $breadcrumb-active-color; + } +} diff --git a/library/scss/_button-groups.scss b/library/scss/_button-groups.scss new file mode 100644 index 00000000..066b4d77 --- /dev/null +++ b/library/scss/_button-groups.scss @@ -0,0 +1,226 @@ +// +// Button groups +// -------------------------------------------------- + +// Make the div behave like a button +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; // match .btn alignment given font-size hack above + > .btn { + position: relative; + float: left; + // Bring the "active" button to the front + &:hover, + &:focus, + &:active, + &.active { + z-index: 2; + } + &:focus { + // Remove focus outline when dropdown JS adds it after closing the menu + outline: none; + } + } +} + +// Prevent double borders when buttons are next to each other +.btn-group { + .btn + .btn, + .btn + .btn-group, + .btn-group + .btn, + .btn-group + .btn-group { + margin-left: -1px; + } +} + +// Optional: Group multiple button groups together for a toolbar +.btn-toolbar { + margin-left: -5px; // Offset the first child's margin + @include clearfix(); + + .btn-group, + .input-group { + float: left; + } + > .btn, + > .btn-group, + > .input-group { + margin-left: 5px; + } +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} + +// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match +.btn-group > .btn:first-child { + margin-left: 0; + &:not(:last-child):not(.dropdown-toggle) { + @include border-right-radius(0); + } +} +// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + @include border-left-radius(0); +} + +// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group) +.btn-group > .btn-group { + float: left; +} +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group > .btn-group:first-child { + > .btn:last-child, + > .dropdown-toggle { + @include border-right-radius(0); + } +} +.btn-group > .btn-group:last-child > .btn:first-child { + @include border-left-radius(0); +} + +// On active and open, don't show outline +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} + + +// Sizing +// +// Remix the default button sizing classes into new ones for easier manipulation. + +.btn-group-xs > .btn { @extend .btn-xs; } +.btn-group-sm > .btn { @extend .btn-sm; } +.btn-group-lg > .btn { @extend .btn-lg; } + + +// Split button dropdowns +// ---------------------- + +// Give the line between buttons some depth +.btn-group > .btn + .dropdown-toggle { + padding-left: 8px; + padding-right: 8px; +} +.btn-group > .btn-lg + .dropdown-toggle { + padding-left: 12px; + padding-right: 12px; +} + +// The clickable button for toggling the menu +// Remove the gradient and set the same inset shadow as the :active state +.btn-group.open .dropdown-toggle { + @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); + + // Show no shadow for `.btn-link` since it has no other button styles. + &.btn-link { + @include box-shadow(none); + } +} + + +// Reposition the caret +.btn .caret { + margin-left: 0; +} +// Carets in other button sizes +.btn-lg .caret { + border-width: $caret-width-large $caret-width-large 0; + border-bottom-width: 0; +} +// Upside down carets for .dropup +.dropup .btn-lg .caret { + border-width: 0 $caret-width-large $caret-width-large; +} + + +// Vertical button groups +// ---------------------- + +.btn-group-vertical { + > .btn, + > .btn-group, + > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; + } + + // Clear floats so dropdown menus can be properly placed + > .btn-group { + @include clearfix(); + > .btn { + float: none; + } + } + + > .btn + .btn, + > .btn + .btn-group, + > .btn-group + .btn, + > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; + } +} + +.btn-group-vertical > .btn { + &:not(:first-child):not(:last-child) { + border-radius: 0; + } + &:first-child:not(:last-child) { + border-top-right-radius: $border-radius-base; + @include border-bottom-radius(0); + } + &:last-child:not(:first-child) { + border-bottom-left-radius: $border-radius-base; + @include border-top-radius(0); + } +} +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group-vertical > .btn-group:first-child:not(:last-child) { + > .btn:last-child, + > .dropdown-toggle { + @include border-bottom-radius(0); + } +} +.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { + @include border-top-radius(0); +} + + + +// Justified button groups +// ---------------------- + +.btn-group-justified { + display: table; + width: 100%; + table-layout: fixed; + border-collapse: separate; + > .btn, + > .btn-group { + float: none; + display: table-cell; + width: 1%; + } + > .btn-group .btn { + width: 100%; + } +} + + +// Checkbox and radio options +[data-toggle="buttons"] > .btn > input[type="radio"], +[data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none; +} diff --git a/library/scss/_buttons.scss b/library/scss/_buttons.scss new file mode 100644 index 00000000..cf0af099 --- /dev/null +++ b/library/scss/_buttons.scss @@ -0,0 +1,155 @@ +// +// Buttons +// -------------------------------------------------- + + +// Base styles +// -------------------------------------------------- + +.btn { + display: inline-block; + margin-bottom: 0; // For input.btn + font-weight: $btn-font-weight; + text-align: center; + vertical-align: middle; + cursor: pointer; + background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214 + border: 1px solid transparent; + white-space: nowrap; + @include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $border-radius-base); + @include user-select(none); + + &:focus { + @include tab-focus(); + } + + &:hover, + &:focus { + color: $btn-default-color; + text-decoration: none; + } + + &:active, + &.active { + outline: 0; + background-image: none; + @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125)); + } + + &.disabled, + &[disabled], + fieldset[disabled] & { + cursor: not-allowed; + pointer-events: none; // Future-proof disabling of clicks + @include opacity(.65); + @include box-shadow(none); + } +} + + +// Alternate buttons +// -------------------------------------------------- + +.btn-default { + @include button-variant($btn-default-color, $btn-default-bg, $btn-default-border); +} +.btn-primary { + @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border); +} +// Success appears as green +.btn-success { + @include button-variant($btn-success-color, $btn-success-bg, $btn-success-border); +} +// Info appears as blue-green +.btn-info { + @include button-variant($btn-info-color, $btn-info-bg, $btn-info-border); +} +// Warning appears as orange +.btn-warning { + @include button-variant($btn-warning-color, $btn-warning-bg, $btn-warning-border); +} +// Danger and error appear as red +.btn-danger { + @include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border); +} + + +// Link buttons +// ------------------------- + +// Make a button look and behave like a link +.btn-link { + color: $link-color; + font-weight: normal; + cursor: pointer; + border-radius: 0; + + &, + &:active, + &[disabled], + fieldset[disabled] & { + background-color: transparent; + @include box-shadow(none); + } + &, + &:hover, + &:focus, + &:active { + border-color: transparent; + } + &:hover, + &:focus { + color: $link-hover-color; + text-decoration: underline; + background-color: transparent; + } + &[disabled], + fieldset[disabled] & { + &:hover, + &:focus { + color: $btn-link-disabled-color; + text-decoration: none; + } + } +} + + +// Button Sizes +// -------------------------------------------------- + +.btn-lg { + // line-height: ensure even-numbered height of button next to large input + @include button-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large); +} +.btn-sm { + // line-height: ensure proper height of button next to small input + @include button-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small); +} +.btn-xs { + @include button-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-small, $line-height-small, $border-radius-small); +} + + +// Block button +// -------------------------------------------------- + +.btn-block { + display: block; + width: 100%; + padding-left: 0; + padding-right: 0; +} + +// Vertically space out multiple block buttons +.btn-block + .btn-block { + margin-top: 5px; +} + +// Specificity overrides +input[type="submit"], +input[type="reset"], +input[type="button"] { + &.btn-block { + width: 100%; + } +} diff --git a/library/scss/_carousel.scss b/library/scss/_carousel.scss new file mode 100644 index 00000000..1134a8e2 --- /dev/null +++ b/library/scss/_carousel.scss @@ -0,0 +1,232 @@ +// +// Carousel +// -------------------------------------------------- + + +// Wrapper for the slide container and indicators +.carousel { + position: relative; +} + +.carousel-inner { + position: relative; + overflow: hidden; + width: 100%; + + > .item { + display: none; + position: relative; + @include transition(.6s ease-in-out left); + + // Account for jankitude on images + > img, + > a > img { + @include img-responsive(); + line-height: 1; + } + } + + > .active, + > .next, + > .prev { display: block; } + + > .active { + left: 0; + } + + > .next, + > .prev { + position: absolute; + top: 0; + width: 100%; + } + + > .next { + left: 100%; + } + > .prev { + left: -100%; + } + > .next.left, + > .prev.right { + left: 0; + } + + > .active.left { + left: -100%; + } + > .active.right { + left: 100%; + } + +} + +// Left/right controls for nav +// --------------------------- + +.carousel-control { + position: absolute; + top: 0; + left: 0; + bottom: 0; + width: $carousel-control-width; + @include opacity($carousel-control-opacity); + font-size: $carousel-control-font-size; + color: $carousel-control-color; + text-align: center; + text-shadow: $carousel-text-shadow; + // We can't have this transition here because WebKit cancels the carousel + // animation if you trip this while in the middle of another animation. + + // Set gradients for backgrounds + &.left { + @include gradient-horizontal($start-color: rgba(0,0,0,.5), $end-color: rgba(0,0,0,.0001)); + } + &.right { + left: auto; + right: 0; + @include gradient-horizontal($start-color: rgba(0,0,0,.0001), $end-color: rgba(0,0,0,.5)); + } + + // Hover/focus state + &:hover, + &:focus { + outline: none; + color: $carousel-control-color; + text-decoration: none; + @include opacity(.9); + } + + // Toggles + .icon-prev, + .icon-next, + .glyphicon-chevron-left, + .glyphicon-chevron-right { + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; + } + .icon-prev, + .glyphicon-chevron-left { + left: 50%; + } + .icon-next, + .glyphicon-chevron-right { + right: 50%; + } + .icon-prev, + .icon-next { + width: 20px; + height: 20px; + margin-top: -10px; + margin-left: -10px; + font-family: serif; + } + + .icon-prev { + &:before { + content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039) + } + } + .icon-next { + &:before { + content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A) + } + } +} + +// Optional indicator pips +// +// Add an unordered list with the following class and add a list item for each +// slide your carousel holds. + +.carousel-indicators { + position: absolute; + bottom: 10px; + left: 50%; + z-index: 15; + width: 60%; + margin-left: -30%; + padding-left: 0; + list-style: none; + text-align: center; + + li { + display: inline-block; + width: 10px; + height: 10px; + margin: 1px; + text-indent: -999px; + border: 1px solid $carousel-indicator-border-color; + border-radius: 10px; + cursor: pointer; + + // IE8-9 hack for event handling + // + // Internet Explorer 8-9 does not support clicks on elements without a set + // `background-color`. We cannot use `filter` since that's not viewed as a + // background color by the browser. Thus, a hack is needed. + // + // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we + // set alpha transparency for the best results possible. + background-color: #000 \9; // IE8 + background-color: rgba(0,0,0,0); // IE9 + } + .active { + margin: 0; + width: 12px; + height: 12px; + background-color: $carousel-indicator-active-bg; + } +} + +// Optional captions +// ----------------------------- +// Hidden by default for smaller viewports +.carousel-caption { + position: absolute; + left: 15%; + right: 15%; + bottom: 20px; + z-index: 10; + padding-top: 20px; + padding-bottom: 20px; + color: $carousel-caption-color; + text-align: center; + text-shadow: $carousel-text-shadow; + & .btn { + text-shadow: none; // No shadow for button elements in carousel-caption + } +} + + +// Scale up controls for tablets and up +@media screen and (min-width: $screen-sm-min) { + + // Scale up the controls a smidge + .carousel-control { + .glyphicons-chevron-left, + .glyphicons-chevron-right, + .icon-prev, + .icon-next { + width: 30px; + height: 30px; + margin-top: -15px; + margin-left: -15px; + font-size: 30px; + } + } + + // Show and left align the captions + .carousel-caption { + left: 20%; + right: 20%; + padding-bottom: 30px; + } + + // Move up the indicators + .carousel-indicators { + bottom: 20px; + } +} diff --git a/library/scss/_close.scss b/library/scss/_close.scss new file mode 100644 index 00000000..62ce30fa --- /dev/null +++ b/library/scss/_close.scss @@ -0,0 +1,35 @@ +// +// Close icons +// -------------------------------------------------- + + +.close { + float: right; + font-size: ($font-size-base * 1.5); + font-weight: $close-font-weight; + line-height: 1; + color: $close-color; + text-shadow: $close-text-shadow; + @include opacity(.2); + + &:hover, + &:focus { + color: $close-color; + text-decoration: none; + cursor: pointer; + @include opacity(.5); + } + + // [converter] extracted button& to button.close +} + +// Additional properties for button version +// iOS requires the button element instead of an anchor tag. +// If you want the anchor version, it requires `href="#"`. +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} diff --git a/library/scss/_code.scss b/library/scss/_code.scss new file mode 100644 index 00000000..89536160 --- /dev/null +++ b/library/scss/_code.scss @@ -0,0 +1,63 @@ +// +// Code (inline and block) +// -------------------------------------------------- + + +// Inline and block code styles +code, +kbd, +pre, +samp { + font-family: $font-family-monospace; +} + +// Inline code +code { + padding: 2px 4px; + font-size: 90%; + color: $code-color; + background-color: $code-bg; + white-space: nowrap; + border-radius: $border-radius-base; +} + +// User input typically entered via keyboard +kbd { + padding: 2px 4px; + font-size: 90%; + color: $kbd-color; + background-color: $kbd-bg; + border-radius: $border-radius-small; + box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); +} + +// Blocks of code +pre { + display: block; + padding: (($line-height-computed - 1) / 2); + margin: 0 0 ($line-height-computed / 2); + font-size: ($font-size-base - 1); // 14px to 13px + line-height: $line-height-base; + word-break: break-all; + word-wrap: break-word; + color: $pre-color; + background-color: $pre-bg; + border: 1px solid $pre-border-color; + border-radius: $border-radius-base; + + // Account for some code outputs that place code tags in pre tags + code { + padding: 0; + font-size: inherit; + color: inherit; + white-space: pre-wrap; + background-color: transparent; + border-radius: 0; + } +} + +// Enable scrollable blocks of code +.pre-scrollable { + max-height: $pre-scrollable-max-height; + overflow-y: scroll; +} diff --git a/library/scss/_component-animations.scss b/library/scss/_component-animations.scss new file mode 100644 index 00000000..86632fd3 --- /dev/null +++ b/library/scss/_component-animations.scss @@ -0,0 +1,29 @@ +// +// Component animations +// -------------------------------------------------- + +// Heads up! +// +// We don't use the `.opacity()` mixin here since it causes a bug with text +// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552. + +.fade { + opacity: 0; + @include transition(opacity .15s linear); + &.in { + opacity: 1; + } +} + +.collapse { + display: none; + &.in { + display: block; + } +} +.collapsing { + position: relative; + height: 0; + overflow: hidden; + @include transition(height .35s ease); +} diff --git a/library/scss/_dropdowns.scss b/library/scss/_dropdowns.scss new file mode 100644 index 00000000..526be5b8 --- /dev/null +++ b/library/scss/_dropdowns.scss @@ -0,0 +1,213 @@ +// +// Dropdown menus +// -------------------------------------------------- + + +// Dropdown arrow/caret +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: $caret-width-base solid; + border-right: $caret-width-base solid transparent; + border-left: $caret-width-base solid transparent; +} + +// The dropdown wrapper (div) +.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; + background-color: $dropdown-bg; + border: 1px solid $dropdown-fallback-border; // IE8 fallback + border: 1px solid $dropdown-border; + border-radius: $border-radius-base; + @include 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 { + @include 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 +.dropdown-menu > .disabled > a { + &:hover, + &:focus { + text-decoration: none; + background-color: transparent; + background-image: none; // Remove CSS gradient + @include reset-filter(); + cursor: not-allowed; + } +} + +// 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; +} + +// 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: 1px; + } +} + + +// Component alignment +// +// Reiterate per navbar.less and the modified component alignment there. + +@media (min-width: $grid-float-breakpoint) { + .navbar-right { + .dropdown-menu { + right: 0; left: auto; + } + // Necessary for overrides of the default right aligned menu. + // Will remove come v4 in all likelihood. + .dropdown-menu-left { + left: 0; right: auto; + } + } +} + diff --git a/library/scss/_forms.scss b/library/scss/_forms.scss new file mode 100644 index 00000000..5d8d3d99 --- /dev/null +++ b/library/scss/_forms.scss @@ -0,0 +1,417 @@ +// +// Forms +// -------------------------------------------------- + + +// Normalize non-controls +// +// Restyle and baseline non-control form elements. + +fieldset { + padding: 0; + margin: 0; + border: 0; + // Chrome and Firefox set a `min-width: -webkit-min-content;` on fieldsets, + // so we reset that to ensure it behaves more like a standard block element. + // See https://github.com/twbs/bootstrap/issues/12359. + min-width: 0; +} + +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: $line-height-computed; + font-size: ($font-size-base * 1.5); + line-height: inherit; + color: $legend-color; + border: 0; + border-bottom: 1px solid $legend-border-color; +} + +label { + display: inline-block; + margin-bottom: 5px; + font-weight: bold; +} + + +// Normalize form controls +// +// While most of our form styles require extra classes, some basic normalization +// is required to ensure optimum display with or without those classes to better +// address browser inconsistencies. + +// Override content-box in Normalize (* isn't specific enough) +input[type="search"] { + @include box-sizing(border-box); +} + +// Position radios and checkboxes better +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; /* IE8-9 */ + line-height: normal; +} + +// Set the height of file controls to match text inputs +input[type="file"] { + display: block; +} + +// Make range inputs behave like textual form controls +input[type="range"] { + display: block; + width: 100%; +} + +// Make multiple select elements height not fixed +select[multiple], +select[size] { + height: auto; +} + +// Focus for file, radio, and checkbox +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + @include tab-focus(); +} + +// Adjust output element +output { + display: block; + padding-top: ($padding-base-vertical + 1); + font-size: $font-size-base; + line-height: $line-height-base; + color: $input-color; +} + + +// Common form controls +// +// Shared size and type resets for form controls. Apply `.form-control` to any +// of the following form controls: +// +// select +// textarea +// input[type="text"] +// input[type="password"] +// input[type="datetime"] +// input[type="datetime-local"] +// input[type="date"] +// input[type="month"] +// input[type="time"] +// input[type="week"] +// input[type="number"] +// input[type="email"] +// input[type="url"] +// input[type="search"] +// input[type="tel"] +// input[type="color"] + +.form-control { + display: block; + width: 100%; + height: $input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border) + padding: $padding-base-vertical $padding-base-horizontal; + font-size: $font-size-base; + line-height: $line-height-base; + color: $input-color; + background-color: $input-bg; + background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214 + border: 1px solid $input-border; + border-radius: $input-border-radius; + @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); + @include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s); + + // Customize the `:focus` state to imitate native WebKit styles. + @include form-control-focus(); + + // Placeholder + @include placeholder(); + + // Disabled and read-only inputs + // Note: HTML5 says that controls under a fieldset > legend:first-child won't + // be disabled if the fieldset is disabled. Due to implementation difficulty, + // we don't honor that edge case; we style them as disabled anyway. + &[disabled], + &[readonly], + fieldset[disabled] & { + cursor: not-allowed; + background-color: $input-bg-disabled; + opacity: 1; // iOS fix for unreadable disabled content + } + + // [converter] extracted textarea& to textarea.form-control +} + +// Reset height for `textarea`s +textarea.form-control { + height: auto; +} + +// Special styles for iOS date input +// +// In Mobile Safari, date inputs require a pixel line-height that matches the +// given height of the input. +input[type="date"] { + line-height: $input-height-base; +} + + +// Form groups +// +// Designed to help with the organization and spacing of vertical forms. For +// horizontal forms, use the predefined grid classes. + +.form-group { + margin-bottom: 15px; +} + + +// Checkboxes and radios +// +// Indent the labels to position radios/checkboxes as hanging controls. + +.radio, +.checkbox { + display: block; + min-height: $line-height-computed; // clear the floating input if there is no label text + margin-top: 10px; + margin-bottom: 10px; + padding-left: 20px; + label { + display: inline; + font-weight: normal; + cursor: pointer; + } +} +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + float: left; + margin-left: -20px; +} +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing +} + +// Radios and checkboxes on same line +.radio-inline, +.checkbox-inline { + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + vertical-align: middle; + font-weight: normal; + cursor: pointer; +} +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; // space out consecutive inline controls +} + +// Apply same disabled cursor tweak as for inputs +// +// Note: Neither radios nor checkboxes can be readonly. +input[type="radio"], +input[type="checkbox"], +.radio, +.radio-inline, +.checkbox, +.checkbox-inline { + &[disabled], + fieldset[disabled] & { + cursor: not-allowed; + } +} + + +// Form control sizing +// +// Build on `.form-control` with modifier classes to decrease or increase the +// height and font-size of form controls. + +@include input-size('.input-sm', $input-height-small, $padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small); + +@include input-size('.input-lg', $input-height-large, $padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large); + + +// Form control feedback states +// +// Apply contextual and semantic states to individual form controls. + +.has-feedback { + // Enable absolute positioning + position: relative; + + // Ensure icons don't overlap text + .form-control { + padding-right: ($input-height-base * 1.25); + } + + // Feedback icon (requires .glyphicon classes) + .form-control-feedback { + position: absolute; + top: ($line-height-computed + 5); // Height of the `label` and its margin + right: 0; + display: block; + width: $input-height-base; + height: $input-height-base; + line-height: $input-height-base; + text-align: center; + } +} + +// Feedback states +.has-success { + @include form-control-validation($state-success-text, $state-success-text, $state-success-bg); +} +.has-warning { + @include form-control-validation($state-warning-text, $state-warning-text, $state-warning-bg); +} +.has-error { + @include form-control-validation($state-danger-text, $state-danger-text, $state-danger-bg); +} + + +// Static form control text +// +// Apply class to a `p` element to make any string of text align with labels in +// a horizontal form layout. + +.form-control-static { + margin-bottom: 0; // Remove default margin from `p` +} + + +// Help text +// +// Apply to any element you wish to create light text for placement immediately +// below a form control. Use for general help, formatting, or instructional text. + +.help-block { + display: block; // account for any element using help-block + margin-top: 5px; + margin-bottom: 10px; + color: lighten($text-color, 25%); // lighten the text some for contrast +} + + + +// Inline forms +// +// Make forms appear inline(-block) by adding the `.form-inline` class. Inline +// forms begin stacked on extra small (mobile) devices and then go inline when +// viewports reach <768px. +// +// Requires wrapping inputs and labels with `.form-group` for proper display of +// default HTML form controls and our custom form controls (e.g., input groups). +// +// Heads up! This is mixin-ed into `.navbar-form` in navbars.less. + +.form-inline { + + // Kick in the inline + @media (min-width: $screen-sm-min) { + // Inline-block all the things for "inline" + .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + + // In navbar-form, allow folks to *not* use `.form-group` + .form-control { + display: inline-block; + width: auto; // Prevent labels from stacking above inputs in `.form-group` + vertical-align: middle; + } + + .control-label { + margin-bottom: 0; + vertical-align: middle; + } + + // Remove default margin on radios/checkboxes that were used for stacking, and + // then undo the floating of radios and checkboxes to match (which also avoids + // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969). + .radio, + .checkbox { + display: inline-block; + margin-top: 0; + margin-bottom: 0; + padding-left: 0; + vertical-align: middle; + } + .radio input[type="radio"], + .checkbox input[type="checkbox"] { + float: none; + margin-left: 0; + } + + // Validation states + // + // Reposition the icon because it's now within a grid column and columns have + // `position: relative;` on them. Also accounts for the grid gutter padding. + .has-feedback .form-control-feedback { + top: 0; + } + } +} + + +// Horizontal forms +// +// Horizontal forms are built on grid classes and allow you to create forms with +// labels on the left and inputs on the right. + +.form-horizontal { + + // Consistent vertical alignment of labels, radios, and checkboxes + .control-label, + .radio, + .checkbox, + .radio-inline, + .checkbox-inline { + margin-top: 0; + margin-bottom: 0; + padding-top: ($padding-base-vertical + 1); // Default padding plus a border + } + // Account for padding we're adding to ensure the alignment and of help text + // and other content below items + .radio, + .checkbox { + min-height: ($line-height-computed + ($padding-base-vertical + 1)); + } + + // Make form groups behave like rows + .form-group { + @include make-row(); + } + + .form-control-static { + padding-top: ($padding-base-vertical + 1); + } + + // Only right align form labels here when the columns stop stacking + @media (min-width: $screen-sm-min) { + .control-label { + text-align: right; + } + } + + // Validation states + // + // Reposition the icon because it's now within a grid column and columns have + // `position: relative;` on them. Also accounts for the grid gutter padding. + .has-feedback .form-control-feedback { + top: 0; + right: ($grid-gutter-width / 2); + } +} diff --git a/library/scss/_glyphicons.scss b/library/scss/_glyphicons.scss new file mode 100644 index 00000000..c508835e --- /dev/null +++ b/library/scss/_glyphicons.scss @@ -0,0 +1,233 @@ +// +// Glyphicons for Bootstrap +// +// Since icons are fonts, they can be placed anywhere text is placed and are +// thus automatically sized to match the surrounding child. To use, create an +// inline element with the appropriate classes, like so: +// +// Star + +// Import the fonts +@font-face { + font-family: 'Glyphicons Halflings'; + src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot'), '#{$icon-font-path}#{$icon-font-name}.eot')); + src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot?#iefix'), '#{$icon-font-path}#{$icon-font-name}.eot?#iefix')) format('embedded-opentype'), + url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.woff'), '#{$icon-font-path}#{$icon-font-name}.woff')) format('woff'), + url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.ttf'), '#{$icon-font-path}#{$icon-font-name}.ttf')) format('truetype'), + url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}'), '#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}')) format('svg'); +} + +// Catchall baseclass +.glyphicon { + position: relative; + top: 1px; + display: inline-block; + font-family: 'Glyphicons Halflings'; + font-style: normal; + font-weight: normal; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +// Individual icons +.glyphicon-asterisk { &:before { content: "\2a"; } } +.glyphicon-plus { &:before { content: "\2b"; } } +.glyphicon-euro { &:before { content: "\20ac"; } } +.glyphicon-minus { &:before { content: "\2212"; } } +.glyphicon-cloud { &:before { content: "\2601"; } } +.glyphicon-envelope { &:before { content: "\2709"; } } +.glyphicon-pencil { &:before { content: "\270f"; } } +.glyphicon-glass { &:before { content: "\e001"; } } +.glyphicon-music { &:before { content: "\e002"; } } +.glyphicon-search { &:before { content: "\e003"; } } +.glyphicon-heart { &:before { content: "\e005"; } } +.glyphicon-star { &:before { content: "\e006"; } } +.glyphicon-star-empty { &:before { content: "\e007"; } } +.glyphicon-user { &:before { content: "\e008"; } } +.glyphicon-film { &:before { content: "\e009"; } } +.glyphicon-th-large { &:before { content: "\e010"; } } +.glyphicon-th { &:before { content: "\e011"; } } +.glyphicon-th-list { &:before { content: "\e012"; } } +.glyphicon-ok { &:before { content: "\e013"; } } +.glyphicon-remove { &:before { content: "\e014"; } } +.glyphicon-zoom-in { &:before { content: "\e015"; } } +.glyphicon-zoom-out { &:before { content: "\e016"; } } +.glyphicon-off { &:before { content: "\e017"; } } +.glyphicon-signal { &:before { content: "\e018"; } } +.glyphicon-cog { &:before { content: "\e019"; } } +.glyphicon-trash { &:before { content: "\e020"; } } +.glyphicon-home { &:before { content: "\e021"; } } +.glyphicon-file { &:before { content: "\e022"; } } +.glyphicon-time { &:before { content: "\e023"; } } +.glyphicon-road { &:before { content: "\e024"; } } +.glyphicon-download-alt { &:before { content: "\e025"; } } +.glyphicon-download { &:before { content: "\e026"; } } +.glyphicon-upload { &:before { content: "\e027"; } } +.glyphicon-inbox { &:before { content: "\e028"; } } +.glyphicon-play-circle { &:before { content: "\e029"; } } +.glyphicon-repeat { &:before { content: "\e030"; } } +.glyphicon-refresh { &:before { content: "\e031"; } } +.glyphicon-list-alt { &:before { content: "\e032"; } } +.glyphicon-lock { &:before { content: "\e033"; } } +.glyphicon-flag { &:before { content: "\e034"; } } +.glyphicon-headphones { &:before { content: "\e035"; } } +.glyphicon-volume-off { &:before { content: "\e036"; } } +.glyphicon-volume-down { &:before { content: "\e037"; } } +.glyphicon-volume-up { &:before { content: "\e038"; } } +.glyphicon-qrcode { &:before { content: "\e039"; } } +.glyphicon-barcode { &:before { content: "\e040"; } } +.glyphicon-tag { &:before { content: "\e041"; } } +.glyphicon-tags { &:before { content: "\e042"; } } +.glyphicon-book { &:before { content: "\e043"; } } +.glyphicon-bookmark { &:before { content: "\e044"; } } +.glyphicon-print { &:before { content: "\e045"; } } +.glyphicon-camera { &:before { content: "\e046"; } } +.glyphicon-font { &:before { content: "\e047"; } } +.glyphicon-bold { &:before { content: "\e048"; } } +.glyphicon-italic { &:before { content: "\e049"; } } +.glyphicon-text-height { &:before { content: "\e050"; } } +.glyphicon-text-width { &:before { content: "\e051"; } } +.glyphicon-align-left { &:before { content: "\e052"; } } +.glyphicon-align-center { &:before { content: "\e053"; } } +.glyphicon-align-right { &:before { content: "\e054"; } } +.glyphicon-align-justify { &:before { content: "\e055"; } } +.glyphicon-list { &:before { content: "\e056"; } } +.glyphicon-indent-left { &:before { content: "\e057"; } } +.glyphicon-indent-right { &:before { content: "\e058"; } } +.glyphicon-facetime-video { &:before { content: "\e059"; } } +.glyphicon-picture { &:before { content: "\e060"; } } +.glyphicon-map-marker { &:before { content: "\e062"; } } +.glyphicon-adjust { &:before { content: "\e063"; } } +.glyphicon-tint { &:before { content: "\e064"; } } +.glyphicon-edit { &:before { content: "\e065"; } } +.glyphicon-share { &:before { content: "\e066"; } } +.glyphicon-check { &:before { content: "\e067"; } } +.glyphicon-move { &:before { content: "\e068"; } } +.glyphicon-step-backward { &:before { content: "\e069"; } } +.glyphicon-fast-backward { &:before { content: "\e070"; } } +.glyphicon-backward { &:before { content: "\e071"; } } +.glyphicon-play { &:before { content: "\e072"; } } +.glyphicon-pause { &:before { content: "\e073"; } } +.glyphicon-stop { &:before { content: "\e074"; } } +.glyphicon-forward { &:before { content: "\e075"; } } +.glyphicon-fast-forward { &:before { content: "\e076"; } } +.glyphicon-step-forward { &:before { content: "\e077"; } } +.glyphicon-eject { &:before { content: "\e078"; } } +.glyphicon-chevron-left { &:before { content: "\e079"; } } +.glyphicon-chevron-right { &:before { content: "\e080"; } } +.glyphicon-plus-sign { &:before { content: "\e081"; } } +.glyphicon-minus-sign { &:before { content: "\e082"; } } +.glyphicon-remove-sign { &:before { content: "\e083"; } } +.glyphicon-ok-sign { &:before { content: "\e084"; } } +.glyphicon-question-sign { &:before { content: "\e085"; } } +.glyphicon-info-sign { &:before { content: "\e086"; } } +.glyphicon-screenshot { &:before { content: "\e087"; } } +.glyphicon-remove-circle { &:before { content: "\e088"; } } +.glyphicon-ok-circle { &:before { content: "\e089"; } } +.glyphicon-ban-circle { &:before { content: "\e090"; } } +.glyphicon-arrow-left { &:before { content: "\e091"; } } +.glyphicon-arrow-right { &:before { content: "\e092"; } } +.glyphicon-arrow-up { &:before { content: "\e093"; } } +.glyphicon-arrow-down { &:before { content: "\e094"; } } +.glyphicon-share-alt { &:before { content: "\e095"; } } +.glyphicon-resize-full { &:before { content: "\e096"; } } +.glyphicon-resize-small { &:before { content: "\e097"; } } +.glyphicon-exclamation-sign { &:before { content: "\e101"; } } +.glyphicon-gift { &:before { content: "\e102"; } } +.glyphicon-leaf { &:before { content: "\e103"; } } +.glyphicon-fire { &:before { content: "\e104"; } } +.glyphicon-eye-open { &:before { content: "\e105"; } } +.glyphicon-eye-close { &:before { content: "\e106"; } } +.glyphicon-warning-sign { &:before { content: "\e107"; } } +.glyphicon-plane { &:before { content: "\e108"; } } +.glyphicon-calendar { &:before { content: "\e109"; } } +.glyphicon-random { &:before { content: "\e110"; } } +.glyphicon-comment { &:before { content: "\e111"; } } +.glyphicon-magnet { &:before { content: "\e112"; } } +.glyphicon-chevron-up { &:before { content: "\e113"; } } +.glyphicon-chevron-down { &:before { content: "\e114"; } } +.glyphicon-retweet { &:before { content: "\e115"; } } +.glyphicon-shopping-cart { &:before { content: "\e116"; } } +.glyphicon-folder-close { &:before { content: "\e117"; } } +.glyphicon-folder-open { &:before { content: "\e118"; } } +.glyphicon-resize-vertical { &:before { content: "\e119"; } } +.glyphicon-resize-horizontal { &:before { content: "\e120"; } } +.glyphicon-hdd { &:before { content: "\e121"; } } +.glyphicon-bullhorn { &:before { content: "\e122"; } } +.glyphicon-bell { &:before { content: "\e123"; } } +.glyphicon-certificate { &:before { content: "\e124"; } } +.glyphicon-thumbs-up { &:before { content: "\e125"; } } +.glyphicon-thumbs-down { &:before { content: "\e126"; } } +.glyphicon-hand-right { &:before { content: "\e127"; } } +.glyphicon-hand-left { &:before { content: "\e128"; } } +.glyphicon-hand-up { &:before { content: "\e129"; } } +.glyphicon-hand-down { &:before { content: "\e130"; } } +.glyphicon-circle-arrow-right { &:before { content: "\e131"; } } +.glyphicon-circle-arrow-left { &:before { content: "\e132"; } } +.glyphicon-circle-arrow-up { &:before { content: "\e133"; } } +.glyphicon-circle-arrow-down { &:before { content: "\e134"; } } +.glyphicon-globe { &:before { content: "\e135"; } } +.glyphicon-wrench { &:before { content: "\e136"; } } +.glyphicon-tasks { &:before { content: "\e137"; } } +.glyphicon-filter { &:before { content: "\e138"; } } +.glyphicon-briefcase { &:before { content: "\e139"; } } +.glyphicon-fullscreen { &:before { content: "\e140"; } } +.glyphicon-dashboard { &:before { content: "\e141"; } } +.glyphicon-paperclip { &:before { content: "\e142"; } } +.glyphicon-heart-empty { &:before { content: "\e143"; } } +.glyphicon-link { &:before { content: "\e144"; } } +.glyphicon-phone { &:before { content: "\e145"; } } +.glyphicon-pushpin { &:before { content: "\e146"; } } +.glyphicon-usd { &:before { content: "\e148"; } } +.glyphicon-gbp { &:before { content: "\e149"; } } +.glyphicon-sort { &:before { content: "\e150"; } } +.glyphicon-sort-by-alphabet { &:before { content: "\e151"; } } +.glyphicon-sort-by-alphabet-alt { &:before { content: "\e152"; } } +.glyphicon-sort-by-order { &:before { content: "\e153"; } } +.glyphicon-sort-by-order-alt { &:before { content: "\e154"; } } +.glyphicon-sort-by-attributes { &:before { content: "\e155"; } } +.glyphicon-sort-by-attributes-alt { &:before { content: "\e156"; } } +.glyphicon-unchecked { &:before { content: "\e157"; } } +.glyphicon-expand { &:before { content: "\e158"; } } +.glyphicon-collapse-down { &:before { content: "\e159"; } } +.glyphicon-collapse-up { &:before { content: "\e160"; } } +.glyphicon-log-in { &:before { content: "\e161"; } } +.glyphicon-flash { &:before { content: "\e162"; } } +.glyphicon-log-out { &:before { content: "\e163"; } } +.glyphicon-new-window { &:before { content: "\e164"; } } +.glyphicon-record { &:before { content: "\e165"; } } +.glyphicon-save { &:before { content: "\e166"; } } +.glyphicon-open { &:before { content: "\e167"; } } +.glyphicon-saved { &:before { content: "\e168"; } } +.glyphicon-import { &:before { content: "\e169"; } } +.glyphicon-export { &:before { content: "\e170"; } } +.glyphicon-send { &:before { content: "\e171"; } } +.glyphicon-floppy-disk { &:before { content: "\e172"; } } +.glyphicon-floppy-saved { &:before { content: "\e173"; } } +.glyphicon-floppy-remove { &:before { content: "\e174"; } } +.glyphicon-floppy-save { &:before { content: "\e175"; } } +.glyphicon-floppy-open { &:before { content: "\e176"; } } +.glyphicon-credit-card { &:before { content: "\e177"; } } +.glyphicon-transfer { &:before { content: "\e178"; } } +.glyphicon-cutlery { &:before { content: "\e179"; } } +.glyphicon-header { &:before { content: "\e180"; } } +.glyphicon-compressed { &:before { content: "\e181"; } } +.glyphicon-earphone { &:before { content: "\e182"; } } +.glyphicon-phone-alt { &:before { content: "\e183"; } } +.glyphicon-tower { &:before { content: "\e184"; } } +.glyphicon-stats { &:before { content: "\e185"; } } +.glyphicon-sd-video { &:before { content: "\e186"; } } +.glyphicon-hd-video { &:before { content: "\e187"; } } +.glyphicon-subtitles { &:before { content: "\e188"; } } +.glyphicon-sound-stereo { &:before { content: "\e189"; } } +.glyphicon-sound-dolby { &:before { content: "\e190"; } } +.glyphicon-sound-5-1 { &:before { content: "\e191"; } } +.glyphicon-sound-6-1 { &:before { content: "\e192"; } } +.glyphicon-sound-7-1 { &:before { content: "\e193"; } } +.glyphicon-copyright-mark { &:before { content: "\e194"; } } +.glyphicon-registration-mark { &:before { content: "\e195"; } } +.glyphicon-cloud-download { &:before { content: "\e197"; } } +.glyphicon-cloud-upload { &:before { content: "\e198"; } } +.glyphicon-tree-conifer { &:before { content: "\e199"; } } +.glyphicon-tree-deciduous { &:before { content: "\e200"; } } diff --git a/library/scss/_grid.scss b/library/scss/_grid.scss new file mode 100644 index 00000000..10d4a6c8 --- /dev/null +++ b/library/scss/_grid.scss @@ -0,0 +1,100 @@ +// +// Grid system +// -------------------------------------------------- + + +// Container widths +// +// Set the container width, and override it for fixed navbars in media queries. + +.container { + @include container-fixed(); + + @media (min-width: $screen-sm-min) { + width: $container-sm; + } + @media (min-width: $screen-md-min) { + width: $container-md; + } + @media (min-width: $screen-lg-min) { + width: $container-lg; + } +} + + +// Fluid container +// +// Utilizes the mixin meant for fixed width containers, but without any defined +// width for fluid, full width layouts. + +.container-fluid { + @include container-fixed(); +} + + +// Row +// +// Rows contain and clear the floats of your columns. + +.row { + @include make-row(); +} + + +// Columns +// +// Common styles for small and large grid columns + +@include make-grid-columns(); + + +// Extra small grid +// +// Columns, offsets, pushes, and pulls for extra small devices like +// smartphones. + +@include make-grid-columns-float(xs); +@include make-grid($grid-columns, xs, width); +@include make-grid($grid-columns, xs, pull); +@include make-grid($grid-columns, xs, push); +@include make-grid($grid-columns, xs, offset); + + +// Small grid +// +// Columns, offsets, pushes, and pulls for the small device range, from phones +// to tablets. + +@media (min-width: $screen-sm-min) { + @include make-grid-columns-float(sm); + @include make-grid($grid-columns, sm, width); + @include make-grid($grid-columns, sm, pull); + @include make-grid($grid-columns, sm, push); + @include make-grid($grid-columns, sm, offset); +} + + +// Medium grid +// +// Columns, offsets, pushes, and pulls for the desktop device range. + +@media (min-width: $screen-md-min) { + @include make-grid-columns-float(md); + @include make-grid($grid-columns, md, width); + @include make-grid($grid-columns, md, pull); + @include make-grid($grid-columns, md, push); + @include make-grid($grid-columns, md, offset); +} + + +// Large grid +// +// Columns, offsets, pushes, and pulls for the large desktop device range. + +@media (min-width: $screen-lg-min) { + @include make-grid-columns-float(lg); + @include make-grid($grid-columns, lg, width); + @include make-grid($grid-columns, lg, pull); + @include make-grid($grid-columns, lg, push); + @include make-grid($grid-columns, lg, offset); +} diff --git a/library/scss/_input-groups.scss b/library/scss/_input-groups.scss new file mode 100644 index 00000000..0455a49e --- /dev/null +++ b/library/scss/_input-groups.scss @@ -0,0 +1,157 @@ +// +// Input groups +// -------------------------------------------------- + +// Base styles +// ------------------------- +.input-group { + position: relative; // For dropdowns + display: table; + border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table + + // Undo padding and float of grid classes + &[class*="col-"] { + float: none; + padding-left: 0; + padding-right: 0; + } + + .form-control { + // IE9 fubars the placeholder attribute in text inputs and the arrows on + // select elements in input groups. To fix it, we float the input. Details: + // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855 + float: left; + + width: 100%; + margin-bottom: 0; + } +} + +// Sizing options +// +// Remix the default form control sizing classes into new ones for easier +// manipulation. + +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { @extend .input-lg; } +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { @extend .input-sm; } + + +// Display as table-cell +// ------------------------- +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; + + &:not(:first-child):not(:last-child) { + border-radius: 0; + } +} +// Addon and addon wrapper for buttons +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; // Match the inputs +} + +// Text input groups +// ------------------------- +.input-group-addon { + padding: $padding-base-vertical $padding-base-horizontal; + font-size: $font-size-base; + font-weight: normal; + line-height: 1; + color: $input-color; + text-align: center; + background-color: $input-group-addon-bg; + border: 1px solid $input-group-addon-border-color; + border-radius: $border-radius-base; + + // Sizing + &.input-sm { + padding: $padding-small-vertical $padding-small-horizontal; + font-size: $font-size-small; + border-radius: $border-radius-small; + } + &.input-lg { + padding: $padding-large-vertical $padding-large-horizontal; + font-size: $font-size-large; + border-radius: $border-radius-large; + } + + // Nuke default margins from checkboxes and radios to vertically center within. + input[type="radio"], + input[type="checkbox"] { + margin-top: 0; + } +} + +// Reset rounded corners +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group-btn:last-child > .btn-group:not(:last-child) > .btn { + @include border-right-radius(0); +} +.input-group-addon:first-child { + border-right: 0; +} +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child), +.input-group-btn:first-child > .btn-group:not(:first-child) > .btn { + @include border-left-radius(0); +} +.input-group-addon:last-child { + border-left: 0; +} + +// Button input groups +// ------------------------- +.input-group-btn { + position: relative; + // Jankily prevent input button groups from wrapping with `white-space` and + // `font-size` in combination with `inline-block` on buttons. + font-size: 0; + white-space: nowrap; + + // Negative margin for spacing, position for bringing hovered/focused/actived + // element above the siblings. + > .btn { + position: relative; + + .btn { + margin-left: -1px; + } + // Bring the "active" button to the front + &:hover, + &:focus, + &:active { + z-index: 2; + } + } + + // Negative margin to only have a 1px border between the two + &:first-child { + > .btn, + > .btn-group { + margin-right: -1px; + } + } + &:last-child { + > .btn, + > .btn-group { + margin-left: -1px; + } + } +} diff --git a/library/scss/_jumbotron.scss b/library/scss/_jumbotron.scss new file mode 100644 index 00000000..4e401e73 --- /dev/null +++ b/library/scss/_jumbotron.scss @@ -0,0 +1,44 @@ +// +// Jumbotron +// -------------------------------------------------- + + +.jumbotron { + padding: $jumbotron-padding; + margin-bottom: $jumbotron-padding; + color: $jumbotron-color; + background-color: $jumbotron-bg; + + h1, + .h1 { + color: $jumbotron-heading-color; + } + p { + margin-bottom: ($jumbotron-padding / 2); + font-size: $jumbotron-font-size; + font-weight: 200; + } + + .container & { + border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container + } + + .container { + max-width: 100%; + } + + @media screen and (min-width: $screen-sm-min) { + padding-top: ($jumbotron-padding * 1.6); + padding-bottom: ($jumbotron-padding * 1.6); + + .container & { + padding-left: ($jumbotron-padding * 2); + padding-right: ($jumbotron-padding * 2); + } + + h1, + .h1 { + font-size: ($font-size-base * 4.5); + } + } +} diff --git a/library/scss/_labels.scss b/library/scss/_labels.scss new file mode 100644 index 00000000..8353eb1a --- /dev/null +++ b/library/scss/_labels.scss @@ -0,0 +1,64 @@ +// +// Labels +// -------------------------------------------------- + +.label { + display: inline; + padding: .2em .6em .3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: $label-color; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: .25em; + + // Add hover effects, but only for links + &[href] { + &:hover, + &:focus { + color: $label-link-hover-color; + text-decoration: none; + cursor: pointer; + } + } + + // Empty labels collapse automatically (not available in IE8) + &:empty { + display: none; + } + + // Quick fix for labels in buttons + .btn & { + position: relative; + top: -1px; + } +} + +// Colors +// Contextual variations (linked labels get darker on :hover) + +.label-default { + @include label-variant($label-default-bg); +} + +.label-primary { + @include label-variant($label-primary-bg); +} + +.label-success { + @include label-variant($label-success-bg); +} + +.label-info { + @include label-variant($label-info-bg); +} + +.label-warning { + @include label-variant($label-warning-bg); +} + +.label-danger { + @include label-variant($label-danger-bg); +} diff --git a/library/scss/_list-group.scss b/library/scss/_list-group.scss new file mode 100644 index 00000000..b6089912 --- /dev/null +++ b/library/scss/_list-group.scss @@ -0,0 +1,110 @@ +// +// List groups +// -------------------------------------------------- + + +// Base class +// +// Easily usable on