diff --git a/bans.php b/bans.php
index 3c6c276..7f064ae 100644
--- a/bans.php
+++ b/bans.php
@@ -1,43 +1,38 @@
print_title();
+$headers = array("Name", "Banned By", "Reason", "Banned On", "Banned Until");
?>
-
print_page_header("Bans");
- $page->print_check_form("bans");
+ $page->print_page_header();
+ $page->print_check_form();
?>
-
- print_table_headers(array("Name", "Banned By", "Reason", "Banned On", "Banned Until"));
- $result = $page->run_query($page->settings->table_bans);
- while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
- $player_name = $page->get_name($row['uuid']);
- if ($player_name === null) continue;
- $until = $page->millis_to_date($row['until']);
- ?>
-
- get_avatar($player_name); ?> |
- get_avatar($page->get_banner_name($row)); ?> |
- clean($row['reason']); ?> |
- millis_to_date($row['time']); ?> |
-
- settings->show_inactive_bans && !$row['active']) {
- $until .= ' (Unbanned)';
- }
- echo $until;
- ?>
- |
-
-
-
- print_pager("bans.php", $page->settings->table_bans); ?>
+ table_begin();
+ $page->table_print_headers($headers);
+ $result = $page->run_query();
+ while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
+ $player_name = $page->get_name($row['uuid']);
+ if ($player_name === null) continue;
+
+ $page->print_table_rows($row, array(
+ 'Name' => $page->get_avatar($player_name),
+ 'Banned By' => $page->get_avatar($page->get_banner_name($row)),
+ 'Reason' => $page->clean($row['reason']),
+ 'Banned On' => $page->millis_to_date($row['time']),
+ 'Banned Until' => $page->expiry($row),
+ ));
+ }
+ $page->table_end();
+ $page->print_pager();
+ ?>
print_footer(); ?>
diff --git a/check.php b/check.php
index 77f4cd3..4f39d64 100644
--- a/check.php
+++ b/check.php
@@ -1,4 +1,8 @@
println("Invalid name.");
return;
}
- $page = new Page(false);
- $history = $page->settings->table_history;
+ $page = new Page("check", false);
+ $history = $page->settings->table['history'];
try {
$stmt = $page->conn->prepare("SELECT name,uuid FROM $history WHERE name=? ORDER BY date LIMIT 1");
@@ -24,7 +28,7 @@ class Check {
$this->println("$name has not joined before.");
return;
}
- $table = $page->settings->table_bans;
+ $table = $page->settings->table['bans'];
$stmt = $page->conn->prepare("SELECT * FROM $table WHERE (uuid=? AND active=" . Settings::$TRUE . ") LIMIT 1");
if ($stmt->execute(array($uuid))) {
diff --git a/includes/css/bootstrap.css b/includes/css/bootstrap.css
index 98ea094..f183a6d 100644
--- a/includes/css/bootstrap.css
+++ b/includes/css/bootstrap.css
@@ -1,14 +1,24 @@
-@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,300,700);
-
/*!
- * Bootstrap v3.0.
- * Copyright 2013 Twitter, Inc
- * Licensed under the Apache License v2.0
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Designed and built with all the love in the world by @mdo and @fat.
+ * bootswatch v3.3.5
+ * Homepage: http://bootswatch.com
+ * Copyright 2012-2015 Thomas Park
+ * Licensed under MIT
+ * Based on Bootstrap
+*/
+/*!
+ * Bootstrap v3.3.5 (http://getbootstrap.com)
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
-/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
+/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
+html {
+ font-family: sans-serif;
+ -ms-text-size-adjust: 100%;
+ -webkit-text-size-adjust: 100%;
+}
+body {
+ margin: 0;
+}
article,
aside,
details,
@@ -18,95 +28,55 @@ footer,
header,
hgroup,
main,
+menu,
nav,
section,
summary {
display: block;
}
-
audio,
canvas,
+progress,
video {
display: inline-block;
+ vertical-align: baseline;
}
-
audio:not([controls]) {
display: none;
height: 0;
}
-
-[hidden] {
+[hidden],
+template {
display: none;
}
-
-html {
- font-family: sans-serif;
- -webkit-text-size-adjust: 100%;
- -ms-text-size-adjust: 100%;
+a {
+ background-color: transparent;
}
-
-body {
- margin: 0;
-}
-
-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%;
@@ -114,57 +84,53 @@ 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 {
+ -webkit-box-sizing: content-box;
+ -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"],
@@ -172,156 +138,959 @@ input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
-
button[disabled],
html input[disabled] {
cursor: default;
}
-
-input[type="checkbox"],
-input[type="radio"] {
- box-sizing: border-box;
- padding: 0;
-}
-
-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 {
border: 0;
padding: 0;
}
-
+input {
+ line-height: normal;
+}
+input[type="checkbox"],
+input[type="radio"] {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ 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;
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+}
+input[type="search"]::-webkit-search-cancel-button,
+input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+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;
+}
+/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
@media print {
- * {
- text-shadow: none !important;
- color: #000 !important;
+ *,
+ *:before,
+ *:after {
background: transparent !important;
+ color: #000 !important;
+ -webkit-box-shadow: none !important;
box-shadow: none !important;
+ text-shadow: none !important;
}
-
a,
a:visited {
text-decoration: underline;
}
-
a[href]:after {
content: " (" attr(href) ")";
}
-
abbr[title]:after {
content: " (" attr(title) ")";
}
-
- .ir a:after,
- a[href^="javascript:"]:after,
- a[href^="#"]:after {
+ a[href^="#"]:after,
+ a[href^="javascript:"]: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;
}
-
.navbar {
display: none;
}
-
- .table td,
- .table th {
- background-color: #fff !important;
- }
-
.btn > .caret,
.dropup > .btn > .caret {
border-top-color: #000 !important;
}
-
.label {
border: 1px solid #000;
}
-
.table {
border-collapse: collapse !important;
}
-
+ .table td,
+ .table th {
+ background-color: #fff !important;
+ }
.table-bordered th,
.table-bordered td {
border: 1px solid #ddd !important;
}
}
-
-*,
+@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.woff2') format('woff2'), 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');
+}
+.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;
+}
+.glyphicon-asterisk:before {
+ content: "\2a";
+}
+.glyphicon-plus:before {
+ content: "\2b";
+}
+.glyphicon-euro:before,
+.glyphicon-eur: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";
+}
+.glyphicon-cd:before {
+ content: "\e201";
+}
+.glyphicon-save-file:before {
+ content: "\e202";
+}
+.glyphicon-open-file:before {
+ content: "\e203";
+}
+.glyphicon-level-up:before {
+ content: "\e204";
+}
+.glyphicon-copy:before {
+ content: "\e205";
+}
+.glyphicon-paste:before {
+ content: "\e206";
+}
+.glyphicon-alert:before {
+ content: "\e209";
+}
+.glyphicon-equalizer:before {
+ content: "\e210";
+}
+.glyphicon-king:before {
+ content: "\e211";
+}
+.glyphicon-queen:before {
+ content: "\e212";
+}
+.glyphicon-pawn:before {
+ content: "\e213";
+}
+.glyphicon-bishop:before {
+ content: "\e214";
+}
+.glyphicon-knight:before {
+ content: "\e215";
+}
+.glyphicon-baby-formula:before {
+ content: "\e216";
+}
+.glyphicon-tent:before {
+ content: "\26fa";
+}
+.glyphicon-blackboard:before {
+ content: "\e218";
+}
+.glyphicon-bed:before {
+ content: "\e219";
+}
+.glyphicon-apple:before {
+ content: "\f8ff";
+}
+.glyphicon-erase:before {
+ content: "\e221";
+}
+.glyphicon-hourglass:before {
+ content: "\231b";
+}
+.glyphicon-lamp:before {
+ content: "\e223";
+}
+.glyphicon-duplicate:before {
+ content: "\e224";
+}
+.glyphicon-piggy-bank:before {
+ content: "\e225";
+}
+.glyphicon-scissors:before {
+ content: "\e226";
+}
+.glyphicon-bitcoin:before {
+ content: "\e227";
+}
+.glyphicon-btc:before {
+ content: "\e227";
+}
+.glyphicon-xbt:before {
+ content: "\e227";
+}
+.glyphicon-yen:before {
+ content: "\00a5";
+}
+.glyphicon-jpy:before {
+ content: "\00a5";
+}
+.glyphicon-ruble:before {
+ content: "\20bd";
+}
+.glyphicon-rub:before {
+ content: "\20bd";
+}
+.glyphicon-scale:before {
+ content: "\e230";
+}
+.glyphicon-ice-lolly:before {
+ content: "\e231";
+}
+.glyphicon-ice-lolly-tasted:before {
+ content: "\e232";
+}
+.glyphicon-education:before {
+ content: "\e233";
+}
+.glyphicon-option-horizontal:before {
+ content: "\e234";
+}
+.glyphicon-option-vertical:before {
+ content: "\e235";
+}
+.glyphicon-menu-hamburger:before {
+ content: "\e236";
+}
+.glyphicon-modal-window:before {
+ content: "\e237";
+}
+.glyphicon-oil:before {
+ content: "\e238";
+}
+.glyphicon-grain:before {
+ content: "\e239";
+}
+.glyphicon-sunglasses:before {
+ content: "\e240";
+}
+.glyphicon-text-size:before {
+ content: "\e241";
+}
+.glyphicon-text-color:before {
+ content: "\e242";
+}
+.glyphicon-text-background:before {
+ content: "\e243";
+}
+.glyphicon-object-align-top:before {
+ content: "\e244";
+}
+.glyphicon-object-align-bottom:before {
+ content: "\e245";
+}
+.glyphicon-object-align-horizontal:before {
+ content: "\e246";
+}
+.glyphicon-object-align-left:before {
+ content: "\e247";
+}
+.glyphicon-object-align-vertical:before {
+ content: "\e248";
+}
+.glyphicon-object-align-right:before {
+ content: "\e249";
+}
+.glyphicon-triangle-right:before {
+ content: "\e250";
+}
+.glyphicon-triangle-left:before {
+ content: "\e251";
+}
+.glyphicon-triangle-bottom:before {
+ content: "\e252";
+}
+.glyphicon-triangle-top:before {
+ content: "\e253";
+}
+.glyphicon-console:before {
+ content: "\e254";
+}
+.glyphicon-superscript:before {
+ content: "\e255";
+}
+.glyphicon-subscript:before {
+ content: "\e256";
+}
+.glyphicon-menu-left:before {
+ content: "\e257";
+}
+.glyphicon-menu-right:before {
+ content: "\e258";
+}
+.glyphicon-menu-down:before {
+ content: "\e259";
+}
+.glyphicon-menu-up:before {
+ content: "\e260";
+}
+* {
+ -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%;
+ font-size: 10px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
-
body {
- font-family: "Open Sans", Arial, sans-serif;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
- line-height: 1.428571429;
- color: #f9f9f9;
+ line-height: 1.42857143;
+ color: #c8c8c8;
+ background-color: #272b30;
}
-
input,
button,
select,
@@ -330,69 +1099,60 @@ textarea {
font-size: inherit;
line-height: inherit;
}
-
-button,
-input,
-select[multiple],
-textarea {
- background-image: none;
-}
-
a {
- color: #228BF5;
+ color: #ffffff;
text-decoration: none;
}
-
a:hover,
a:focus {
- color: #28C2E1;
+ color: #ffffff;
text-decoration: underline;
}
-
a:focus {
- outline: thin dotted #333;
+ outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
-
+figure {
+ margin: 0;
+}
img {
vertical-align: middle;
}
-
-.img-responsive {
+.img-responsive,
+.thumbnail > img,
+.thumbnail a > img,
+.carousel-inner > .item > img,
+.carousel-inner > .item > a > img {
display: block;
max-width: 100%;
height: auto;
}
-
.img-rounded {
- border-radius: 0px;
+ border-radius: 6px;
}
-
.img-thumbnail {
padding: 4px;
- line-height: 1.428571429;
- background-color: #111111;
- border: 1px solid rgba(48, 48, 48, 0.81);
- border-radius: 0px;
+ line-height: 1.42857143;
+ background-color: #1c1e22;
+ border: 1px solid #0c0d0e;
+ border-radius: 4px;
-webkit-transition: all 0.2s ease-in-out;
+ -o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
display: inline-block;
max-width: 100%;
height: auto;
}
-
.img-circle {
border-radius: 50%;
}
-
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
- border-top: 1px solid #7a7a7a;
+ border-top: 1px solid #1c1e22;
}
-
.sr-only {
position: absolute;
width: 1px;
@@ -400,71 +1160,21 @@ hr {
margin: -1px;
padding: 0;
overflow: hidden;
- clip: rect(0 0 0 0);
+ clip: rect(0, 0, 0, 0);
border: 0;
}
-
-p {
- margin: 0 0 10px;
+.sr-only-focusable:active,
+.sr-only-focusable:focus {
+ position: static;
+ width: auto;
+ height: auto;
+ margin: 0;
+ overflow: visible;
+ clip: auto;
}
-
-.lead {
- margin-bottom: 20px;
- font-size: 16.099999999999998px;
- font-weight: 200;
- line-height: 1.4;
+[role="button"] {
+ cursor: pointer;
}
-
-@media (min-width: 768px) {
- .lead {
- font-size: 21px;
- }
-}
-
-small {
- font-size: 85%;
-}
-
-cite {
- font-style: normal;
-}
-
-.text-muted {
- color: #999999;
-}
-
-.text-primary {
- color: #228BF5;
-}
-
-.text-warning {
- color: #e5c454;
-}
-
-.text-danger {
- color: #e94f64;
-}
-
-.text-success {
- color: #52d273;
-}
-
-.text-info {
- color: #46bcde;
-}
-
-.text-left {
- text-align: left;
-}
-
-.text-right {
- text-align: right;
-}
-
-.text-center {
- text-align: center;
-}
-
h1,
h2,
h3,
@@ -477,11 +1187,11 @@ h6,
.h4,
.h5,
.h6 {
- font-family: "Open Sans", Arial, sans-serif;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 500;
line-height: 1.1;
+ color: inherit;
}
-
h1 small,
h2 small,
h3 small,
@@ -493,125 +1203,258 @@ h6 small,
.h3 small,
.h4 small,
.h5 small,
-.h6 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,
+.h6 .small {
font-weight: normal;
line-height: 1;
- color: #7a7a7a;
+ color: #7a8288;
}
-
h1,
+.h1,
h2,
-h3 {
+.h2,
+h3,
+.h3 {
margin-top: 20px;
margin-bottom: 10px;
}
-
+h1 small,
+.h1 small,
+h2 small,
+.h2 small,
+h3 small,
+.h3 small,
+h1 .small,
+.h1 .small,
+h2 .small,
+.h2 .small,
+h3 .small,
+.h3 .small {
+ font-size: 65%;
+}
h4,
+.h4,
h5,
-h6 {
+.h5,
+h6,
+.h6 {
margin-top: 10px;
margin-bottom: 10px;
}
-
+h4 small,
+.h4 small,
+h5 small,
+.h5 small,
+h6 small,
+.h6 small,
+h4 .small,
+.h4 .small,
+h5 .small,
+.h5 .small,
+h6 .small,
+.h6 .small {
+ font-size: 75%;
+}
h1,
.h1 {
font-size: 36px;
}
-
h2,
.h2 {
font-size: 30px;
}
-
h3,
.h3 {
font-size: 24px;
}
-
h4,
.h4 {
font-size: 18px;
}
-
h5,
.h5 {
font-size: 14px;
}
-
h6,
.h6 {
font-size: 12px;
}
-
-h1 small,
-.h1 small {
- font-size: 24px;
+p {
+ margin: 0 0 10px;
}
-
-h2 small,
-.h2 small {
- font-size: 18px;
+.lead {
+ margin-bottom: 20px;
+ font-size: 16px;
+ font-weight: 300;
+ line-height: 1.4;
}
-
-h3 small,
-.h3 small,
-h4 small,
-.h4 small {
- font-size: 14px;
+@media (min-width: 768px) {
+ .lead {
+ font-size: 21px;
+ }
+}
+small,
+.small {
+ font-size: 85%;
+}
+mark,
+.mark {
+ background-color: #f89406;
+ padding: .2em;
+}
+.text-left {
+ text-align: left;
+}
+.text-right {
+ text-align: right;
+}
+.text-center {
+ text-align: center;
+}
+.text-justify {
+ text-align: justify;
+}
+.text-nowrap {
+ white-space: nowrap;
+}
+.text-lowercase {
+ text-transform: lowercase;
+}
+.text-uppercase {
+ text-transform: uppercase;
+}
+.text-capitalize {
+ text-transform: capitalize;
+}
+.text-muted {
+ color: #7a8288;
+}
+.text-primary {
+ color: #7a8288;
+}
+a.text-primary:hover,
+a.text-primary:focus {
+ color: #62686d;
+}
+.text-success {
+ color: #ffffff;
+}
+a.text-success:hover,
+a.text-success:focus {
+ color: #e6e6e6;
+}
+.text-info {
+ color: #ffffff;
+}
+a.text-info:hover,
+a.text-info:focus {
+ color: #e6e6e6;
+}
+.text-warning {
+ color: #ffffff;
+}
+a.text-warning:hover,
+a.text-warning:focus {
+ color: #e6e6e6;
+}
+.text-danger {
+ color: #ffffff;
+}
+a.text-danger:hover,
+a.text-danger:focus {
+ color: #e6e6e6;
+}
+.bg-primary {
+ color: #fff;
+ background-color: #7a8288;
+}
+a.bg-primary:hover,
+a.bg-primary:focus {
+ background-color: #62686d;
+}
+.bg-success {
+ background-color: #62c462;
+}
+a.bg-success:hover,
+a.bg-success:focus {
+ background-color: #42b142;
+}
+.bg-info {
+ background-color: #5bc0de;
+}
+a.bg-info:hover,
+a.bg-info:focus {
+ background-color: #31b0d5;
+}
+.bg-warning {
+ background-color: #f89406;
+}
+a.bg-warning:hover,
+a.bg-warning:focus {
+ background-color: #c67605;
+}
+.bg-danger {
+ background-color: #ee5f5b;
+}
+a.bg-danger:hover,
+a.bg-danger:focus {
+ background-color: #e9322d;
}
-
.page-header {
padding-bottom: 9px;
margin: 40px 0 20px;
- border-bottom: 1px solid #7a7a7a;
+ border-bottom: 1px solid #1c1e22;
}
-
ul,
ol {
margin-top: 0;
margin-bottom: 10px;
}
-
ul ul,
ol ul,
ul ol,
ol ol {
margin-bottom: 0;
}
-
.list-unstyled {
padding-left: 0;
list-style: none;
}
-
.list-inline {
padding-left: 0;
list-style: none;
+ margin-left: -5px;
}
-
.list-inline > li {
display: inline-block;
padding-left: 5px;
padding-right: 5px;
}
-
dl {
+ margin-top: 0;
margin-bottom: 20px;
}
-
dt,
dd {
- line-height: 1.428571429;
+ line-height: 1.42857143;
}
-
dt {
font-weight: bold;
}
-
dd {
margin-left: 0;
}
-
@media (min-width: 768px) {
.dl-horizontal dt {
float: left;
@@ -622,1062 +1465,879 @@ dd {
text-overflow: ellipsis;
white-space: nowrap;
}
-
.dl-horizontal dd {
margin-left: 180px;
}
-
- .dl-horizontal dd:before,
- .dl-horizontal dd:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
- }
-
- .dl-horizontal dd:after {
- clear: both;
- }
-
- .dl-horizontal dd:before,
- .dl-horizontal dd:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
- }
-
- .dl-horizontal dd:after {
- clear: both;
- }
}
-
abbr[title],
abbr[data-original-title] {
cursor: help;
- border-bottom: 1px dotted #999999;
+ border-bottom: 1px dotted #7a8288;
}
-
-abbr.initialism {
+.initialism {
font-size: 90%;
text-transform: uppercase;
}
-
blockquote {
padding: 10px 20px;
margin: 0 0 20px;
- border-left: 5px solid #228BF5;
-}
-
-blockquote p {
font-size: 17.5px;
- font-weight: 300;
- line-height: 1.25;
+ border-left: 5px solid #7a8288;
}
-
-blockquote p:last-child {
+blockquote p:last-child,
+blockquote ul:last-child,
+blockquote ol:last-child {
margin-bottom: 0;
}
-
-blockquote small {
+blockquote footer,
+blockquote small,
+blockquote .small {
display: block;
- line-height: 1.428571429;
- color: #999999;
+ font-size: 80%;
+ line-height: 1.42857143;
+ color: #7a8288;
}
-
-blockquote small:before {
+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 #228BF5;
+ border-right: 5px solid #7a8288;
border-left: 0;
-}
-
-blockquote.pull-right p,
-blockquote.pull-right small {
text-align: right;
}
-
-blockquote.pull-right small:before {
+.blockquote-reverse footer:before,
+blockquote.pull-right footer:before,
+.blockquote-reverse small:before,
+blockquote.pull-right small:before,
+.blockquote-reverse .small:before,
+blockquote.pull-right .small:before {
content: '';
}
-
-blockquote.pull-right small:after {
+.blockquote-reverse footer:after,
+blockquote.pull-right footer:after,
+.blockquote-reverse small:after,
+blockquote.pull-right small:after,
+.blockquote-reverse .small:after,
+blockquote.pull-right .small:after {
content: '\00A0 \2014';
}
-
-q:before,
-q:after,
-blockquote:before,
-blockquote:after {
- content: "";
-}
-
address {
- display: block;
margin-bottom: 20px;
font-style: normal;
- line-height: 1.428571429;
+ line-height: 1.42857143;
}
-
code,
-pre {
- font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
+kbd,
+pre,
+samp {
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
-
code {
padding: 2px 4px;
font-size: 90%;
- color: #2b2b2b;
- background-color: #ececec;
- white-space: nowrap;
- border-radius: 0px;
+ color: #c7254e;
+ background-color: #f9f2f4;
+ border-radius: 4px;
+}
+kbd {
+ padding: 2px 4px;
+ font-size: 90%;
+ color: #ffffff;
+ background-color: #333333;
+ border-radius: 3px;
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
+}
+kbd kbd {
+ padding: 0;
+ font-size: 100%;
+ font-weight: bold;
+ -webkit-box-shadow: none;
+ box-shadow: none;
}
-
pre {
display: block;
padding: 9.5px;
margin: 0 0 10px;
font-size: 13px;
- line-height: 1.428571429;
+ line-height: 1.42857143;
word-break: break-all;
word-wrap: break-word;
- color: #e0e0e0;
- background-color: #040404;
+ color: #3a3f44;
+ background-color: #f5f5f5;
border: 1px solid #cccccc;
- border-radius: 0px;
+ border-radius: 4px;
}
-
-pre.prettyprint {
- margin-bottom: 20px;
-}
-
pre code {
padding: 0;
font-size: inherit;
color: inherit;
white-space: pre-wrap;
background-color: transparent;
- border: 0;
+ border-radius: 0;
}
-
.pre-scrollable {
max-height: 340px;
overflow-y: scroll;
}
-
.container {
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
}
-
-.container:before,
-.container:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
+@media (min-width: 768px) {
+ .container {
+ width: 750px;
+ }
}
-
-.container:after {
- clear: both;
+@media (min-width: 992px) {
+ .container {
+ width: 970px;
+ }
}
-
-.container:before,
-.container:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
+@media (min-width: 1200px) {
+ .container {
+ width: 1170px;
+ }
}
-
-.container:after {
- clear: both;
+.container-fluid {
+ margin-right: auto;
+ margin-left: auto;
+ padding-left: 15px;
+ padding-right: 15px;
}
-
.row {
margin-left: -15px;
margin-right: -15px;
- background-color: rgba(0, 0, 0, 0.5);
}
-
-.row:before,
-.row:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.row:after {
- clear: both;
-}
-
-.row:before,
-.row:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.row:after {
- clear: both;
-}
-
-.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-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-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-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-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 {
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-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 {
float: left;
}
-
-.col-xs-1 {
- width: 8.333333333333332%;
-}
-
-.col-xs-2 {
- width: 16.666666666666664%;
-}
-
-.col-xs-3 {
- width: 25%;
-}
-
-.col-xs-4 {
- width: 33.33333333333333%;
-}
-
-.col-xs-5 {
- width: 41.66666666666667%;
-}
-
-.col-xs-6 {
- width: 50%;
-}
-
-.col-xs-7 {
- width: 58.333333333333336%;
-}
-
-.col-xs-8 {
- width: 66.66666666666666%;
-}
-
-.col-xs-9 {
- width: 75%;
-}
-
-.col-xs-10 {
- width: 83.33333333333334%;
-}
-
-.col-xs-11 {
- width: 91.66666666666666%;
-}
-
.col-xs-12 {
width: 100%;
}
-
+.col-xs-11 {
+ width: 91.66666667%;
+}
+.col-xs-10 {
+ width: 83.33333333%;
+}
+.col-xs-9 {
+ width: 75%;
+}
+.col-xs-8 {
+ width: 66.66666667%;
+}
+.col-xs-7 {
+ width: 58.33333333%;
+}
+.col-xs-6 {
+ width: 50%;
+}
+.col-xs-5 {
+ width: 41.66666667%;
+}
+.col-xs-4 {
+ width: 33.33333333%;
+}
+.col-xs-3 {
+ width: 25%;
+}
+.col-xs-2 {
+ width: 16.66666667%;
+}
+.col-xs-1 {
+ width: 8.33333333%;
+}
+.col-xs-pull-12 {
+ right: 100%;
+}
+.col-xs-pull-11 {
+ right: 91.66666667%;
+}
+.col-xs-pull-10 {
+ right: 83.33333333%;
+}
+.col-xs-pull-9 {
+ right: 75%;
+}
+.col-xs-pull-8 {
+ right: 66.66666667%;
+}
+.col-xs-pull-7 {
+ right: 58.33333333%;
+}
+.col-xs-pull-6 {
+ right: 50%;
+}
+.col-xs-pull-5 {
+ right: 41.66666667%;
+}
+.col-xs-pull-4 {
+ right: 33.33333333%;
+}
+.col-xs-pull-3 {
+ right: 25%;
+}
+.col-xs-pull-2 {
+ right: 16.66666667%;
+}
+.col-xs-pull-1 {
+ right: 8.33333333%;
+}
+.col-xs-pull-0 {
+ right: auto;
+}
+.col-xs-push-12 {
+ left: 100%;
+}
+.col-xs-push-11 {
+ left: 91.66666667%;
+}
+.col-xs-push-10 {
+ left: 83.33333333%;
+}
+.col-xs-push-9 {
+ left: 75%;
+}
+.col-xs-push-8 {
+ left: 66.66666667%;
+}
+.col-xs-push-7 {
+ left: 58.33333333%;
+}
+.col-xs-push-6 {
+ left: 50%;
+}
+.col-xs-push-5 {
+ left: 41.66666667%;
+}
+.col-xs-push-4 {
+ left: 33.33333333%;
+}
+.col-xs-push-3 {
+ left: 25%;
+}
+.col-xs-push-2 {
+ left: 16.66666667%;
+}
+.col-xs-push-1 {
+ left: 8.33333333%;
+}
+.col-xs-push-0 {
+ left: auto;
+}
+.col-xs-offset-12 {
+ margin-left: 100%;
+}
+.col-xs-offset-11 {
+ margin-left: 91.66666667%;
+}
+.col-xs-offset-10 {
+ margin-left: 83.33333333%;
+}
+.col-xs-offset-9 {
+ margin-left: 75%;
+}
+.col-xs-offset-8 {
+ margin-left: 66.66666667%;
+}
+.col-xs-offset-7 {
+ margin-left: 58.33333333%;
+}
+.col-xs-offset-6 {
+ margin-left: 50%;
+}
+.col-xs-offset-5 {
+ margin-left: 41.66666667%;
+}
+.col-xs-offset-4 {
+ margin-left: 33.33333333%;
+}
+.col-xs-offset-3 {
+ margin-left: 25%;
+}
+.col-xs-offset-2 {
+ margin-left: 16.66666667%;
+}
+.col-xs-offset-1 {
+ margin-left: 8.33333333%;
+}
+.col-xs-offset-0 {
+ margin-left: 0%;
+}
@media (min-width: 768px) {
- .container {
- max-width: 720px;
- }
-
- .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-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 {
float: left;
}
-
- .col-sm-1 {
- width: 8.333333333333332%;
- }
-
- .col-sm-2 {
- width: 16.666666666666664%;
- }
-
- .col-sm-3 {
- width: 25%;
- }
-
- .col-sm-4 {
- width: 33.33333333333333%;
- }
-
- .col-sm-5 {
- width: 41.66666666666667%;
- }
-
- .col-sm-6 {
- width: 50%;
- }
-
- .col-sm-7 {
- width: 58.333333333333336%;
- }
-
- .col-sm-8 {
- width: 66.66666666666666%;
- }
-
- .col-sm-9 {
- width: 75%;
- }
-
- .col-sm-10 {
- width: 83.33333333333334%;
- }
-
- .col-sm-11 {
- width: 91.66666666666666%;
- }
-
.col-sm-12 {
width: 100%;
}
-
- .col-sm-push-1 {
- left: 8.333333333333332%;
+ .col-sm-11 {
+ width: 91.66666667%;
}
-
- .col-sm-push-2 {
- left: 16.666666666666664%;
+ .col-sm-10 {
+ width: 83.33333333%;
}
-
- .col-sm-push-3 {
- left: 25%;
+ .col-sm-9 {
+ width: 75%;
}
-
- .col-sm-push-4 {
- left: 33.33333333333333%;
+ .col-sm-8 {
+ width: 66.66666667%;
}
-
- .col-sm-push-5 {
- left: 41.66666666666667%;
+ .col-sm-7 {
+ width: 58.33333333%;
}
-
- .col-sm-push-6 {
- left: 50%;
+ .col-sm-6 {
+ width: 50%;
}
-
- .col-sm-push-7 {
- left: 58.333333333333336%;
+ .col-sm-5 {
+ width: 41.66666667%;
}
-
- .col-sm-push-8 {
- left: 66.66666666666666%;
+ .col-sm-4 {
+ width: 33.33333333%;
}
-
- .col-sm-push-9 {
- left: 75%;
+ .col-sm-3 {
+ width: 25%;
}
-
- .col-sm-push-10 {
- left: 83.33333333333334%;
+ .col-sm-2 {
+ width: 16.66666667%;
}
-
- .col-sm-push-11 {
- left: 91.66666666666666%;
+ .col-sm-1 {
+ width: 8.33333333%;
}
-
- .col-sm-pull-1 {
- right: 8.333333333333332%;
+ .col-sm-pull-12 {
+ right: 100%;
}
-
- .col-sm-pull-2 {
- right: 16.666666666666664%;
+ .col-sm-pull-11 {
+ right: 91.66666667%;
}
-
- .col-sm-pull-3 {
- right: 25%;
+ .col-sm-pull-10 {
+ right: 83.33333333%;
}
-
- .col-sm-pull-4 {
- right: 33.33333333333333%;
- }
-
- .col-sm-pull-5 {
- right: 41.66666666666667%;
- }
-
- .col-sm-pull-6 {
- right: 50%;
- }
-
- .col-sm-pull-7 {
- right: 58.333333333333336%;
- }
-
- .col-sm-pull-8 {
- right: 66.66666666666666%;
- }
-
.col-sm-pull-9 {
right: 75%;
}
-
- .col-sm-pull-10 {
- right: 83.33333333333334%;
+ .col-sm-pull-8 {
+ right: 66.66666667%;
}
-
- .col-sm-pull-11 {
- right: 91.66666666666666%;
+ .col-sm-pull-7 {
+ right: 58.33333333%;
}
-
- .col-sm-offset-1 {
- margin-left: 8.333333333333332%;
+ .col-sm-pull-6 {
+ right: 50%;
}
-
- .col-sm-offset-2 {
- margin-left: 16.666666666666664%;
+ .col-sm-pull-5 {
+ right: 41.66666667%;
}
-
- .col-sm-offset-3 {
- margin-left: 25%;
+ .col-sm-pull-4 {
+ right: 33.33333333%;
}
-
- .col-sm-offset-4 {
- margin-left: 33.33333333333333%;
+ .col-sm-pull-3 {
+ right: 25%;
}
-
- .col-sm-offset-5 {
- margin-left: 41.66666666666667%;
+ .col-sm-pull-2 {
+ right: 16.66666667%;
}
-
- .col-sm-offset-6 {
- margin-left: 50%;
+ .col-sm-pull-1 {
+ right: 8.33333333%;
}
-
- .col-sm-offset-7 {
- margin-left: 58.333333333333336%;
+ .col-sm-pull-0 {
+ right: auto;
}
-
- .col-sm-offset-8 {
- margin-left: 66.66666666666666%;
+ .col-sm-push-12 {
+ left: 100%;
+ }
+ .col-sm-push-11 {
+ left: 91.66666667%;
+ }
+ .col-sm-push-10 {
+ left: 83.33333333%;
+ }
+ .col-sm-push-9 {
+ left: 75%;
+ }
+ .col-sm-push-8 {
+ left: 66.66666667%;
+ }
+ .col-sm-push-7 {
+ left: 58.33333333%;
+ }
+ .col-sm-push-6 {
+ left: 50%;
+ }
+ .col-sm-push-5 {
+ left: 41.66666667%;
+ }
+ .col-sm-push-4 {
+ left: 33.33333333%;
+ }
+ .col-sm-push-3 {
+ left: 25%;
+ }
+ .col-sm-push-2 {
+ left: 16.66666667%;
+ }
+ .col-sm-push-1 {
+ left: 8.33333333%;
+ }
+ .col-sm-push-0 {
+ left: auto;
+ }
+ .col-sm-offset-12 {
+ margin-left: 100%;
+ }
+ .col-sm-offset-11 {
+ margin-left: 91.66666667%;
+ }
+ .col-sm-offset-10 {
+ margin-left: 83.33333333%;
}
-
.col-sm-offset-9 {
margin-left: 75%;
}
-
- .col-sm-offset-10 {
- margin-left: 83.33333333333334%;
+ .col-sm-offset-8 {
+ margin-left: 66.66666667%;
}
-
- .col-sm-offset-11 {
- margin-left: 91.66666666666666%;
+ .col-sm-offset-7 {
+ margin-left: 58.33333333%;
+ }
+ .col-sm-offset-6 {
+ margin-left: 50%;
+ }
+ .col-sm-offset-5 {
+ margin-left: 41.66666667%;
+ }
+ .col-sm-offset-4 {
+ margin-left: 33.33333333%;
+ }
+ .col-sm-offset-3 {
+ margin-left: 25%;
+ }
+ .col-sm-offset-2 {
+ margin-left: 16.66666667%;
+ }
+ .col-sm-offset-1 {
+ margin-left: 8.33333333%;
+ }
+ .col-sm-offset-0 {
+ margin-left: 0%;
}
}
-
@media (min-width: 992px) {
- .container {
- max-width: 940px;
- }
-
- .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-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 {
float: left;
}
-
- .col-md-1 {
- width: 8.333333333333332%;
- }
-
- .col-md-2 {
- width: 16.666666666666664%;
- }
-
- .col-md-3 {
- width: 25%;
- }
-
- .col-md-4 {
- width: 33.33333333333333%;
- }
-
- .col-md-5 {
- width: 41.66666666666667%;
- }
-
- .col-md-6 {
- width: 50%;
- }
-
- .col-md-7 {
- width: 58.333333333333336%;
- }
-
- .col-md-8 {
- width: 66.66666666666666%;
- }
-
- .col-md-9 {
- width: 75%;
- }
-
- .col-md-10 {
- width: 83.33333333333334%;
- }
-
- .col-md-11 {
- width: 91.66666666666666%;
- }
-
.col-md-12 {
width: 100%;
}
-
- .col-md-push-0 {
- left: auto;
+ .col-md-11 {
+ width: 91.66666667%;
}
-
- .col-md-push-1 {
- left: 8.333333333333332%;
+ .col-md-10 {
+ width: 83.33333333%;
}
-
- .col-md-push-2 {
- left: 16.666666666666664%;
+ .col-md-9 {
+ width: 75%;
}
-
- .col-md-push-3 {
- left: 25%;
+ .col-md-8 {
+ width: 66.66666667%;
}
-
- .col-md-push-4 {
- left: 33.33333333333333%;
+ .col-md-7 {
+ width: 58.33333333%;
}
-
- .col-md-push-5 {
- left: 41.66666666666667%;
+ .col-md-6 {
+ width: 50%;
}
-
- .col-md-push-6 {
- left: 50%;
+ .col-md-5 {
+ width: 41.66666667%;
}
-
- .col-md-push-7 {
- left: 58.333333333333336%;
+ .col-md-4 {
+ width: 33.33333333%;
}
-
- .col-md-push-8 {
- left: 66.66666666666666%;
+ .col-md-3 {
+ width: 25%;
}
-
- .col-md-push-9 {
- left: 75%;
+ .col-md-2 {
+ width: 16.66666667%;
}
-
- .col-md-push-10 {
- left: 83.33333333333334%;
+ .col-md-1 {
+ width: 8.33333333%;
}
-
- .col-md-push-11 {
- left: 91.66666666666666%;
+ .col-md-pull-12 {
+ right: 100%;
}
-
- .col-md-pull-0 {
- right: auto;
+ .col-md-pull-11 {
+ right: 91.66666667%;
}
-
- .col-md-pull-1 {
- right: 8.333333333333332%;
+ .col-md-pull-10 {
+ right: 83.33333333%;
}
-
- .col-md-pull-2 {
- right: 16.666666666666664%;
- }
-
- .col-md-pull-3 {
- right: 25%;
- }
-
- .col-md-pull-4 {
- right: 33.33333333333333%;
- }
-
- .col-md-pull-5 {
- right: 41.66666666666667%;
- }
-
- .col-md-pull-6 {
- right: 50%;
- }
-
- .col-md-pull-7 {
- right: 58.333333333333336%;
- }
-
- .col-md-pull-8 {
- right: 66.66666666666666%;
- }
-
.col-md-pull-9 {
right: 75%;
}
-
- .col-md-pull-10 {
- right: 83.33333333333334%;
+ .col-md-pull-8 {
+ right: 66.66666667%;
}
-
- .col-md-pull-11 {
- right: 91.66666666666666%;
+ .col-md-pull-7 {
+ right: 58.33333333%;
}
-
- .col-md-offset-0 {
- margin-left: 0;
+ .col-md-pull-6 {
+ right: 50%;
}
-
- .col-md-offset-1 {
- margin-left: 8.333333333333332%;
+ .col-md-pull-5 {
+ right: 41.66666667%;
}
-
- .col-md-offset-2 {
- margin-left: 16.666666666666664%;
+ .col-md-pull-4 {
+ right: 33.33333333%;
}
-
- .col-md-offset-3 {
- margin-left: 25%;
+ .col-md-pull-3 {
+ right: 25%;
}
-
- .col-md-offset-4 {
- margin-left: 33.33333333333333%;
+ .col-md-pull-2 {
+ right: 16.66666667%;
}
-
- .col-md-offset-5 {
- margin-left: 41.66666666666667%;
+ .col-md-pull-1 {
+ right: 8.33333333%;
}
-
- .col-md-offset-6 {
- margin-left: 50%;
+ .col-md-pull-0 {
+ right: auto;
}
-
- .col-md-offset-7 {
- margin-left: 58.333333333333336%;
+ .col-md-push-12 {
+ left: 100%;
}
-
- .col-md-offset-8 {
- margin-left: 66.66666666666666%;
+ .col-md-push-11 {
+ left: 91.66666667%;
+ }
+ .col-md-push-10 {
+ left: 83.33333333%;
+ }
+ .col-md-push-9 {
+ left: 75%;
+ }
+ .col-md-push-8 {
+ left: 66.66666667%;
+ }
+ .col-md-push-7 {
+ left: 58.33333333%;
+ }
+ .col-md-push-6 {
+ left: 50%;
+ }
+ .col-md-push-5 {
+ left: 41.66666667%;
+ }
+ .col-md-push-4 {
+ left: 33.33333333%;
+ }
+ .col-md-push-3 {
+ left: 25%;
+ }
+ .col-md-push-2 {
+ left: 16.66666667%;
+ }
+ .col-md-push-1 {
+ left: 8.33333333%;
+ }
+ .col-md-push-0 {
+ left: auto;
+ }
+ .col-md-offset-12 {
+ margin-left: 100%;
+ }
+ .col-md-offset-11 {
+ margin-left: 91.66666667%;
+ }
+ .col-md-offset-10 {
+ margin-left: 83.33333333%;
}
-
.col-md-offset-9 {
margin-left: 75%;
}
-
- .col-md-offset-10 {
- margin-left: 83.33333333333334%;
+ .col-md-offset-8 {
+ margin-left: 66.66666667%;
}
-
- .col-md-offset-11 {
- margin-left: 91.66666666666666%;
+ .col-md-offset-7 {
+ margin-left: 58.33333333%;
+ }
+ .col-md-offset-6 {
+ margin-left: 50%;
+ }
+ .col-md-offset-5 {
+ margin-left: 41.66666667%;
+ }
+ .col-md-offset-4 {
+ margin-left: 33.33333333%;
+ }
+ .col-md-offset-3 {
+ margin-left: 25%;
+ }
+ .col-md-offset-2 {
+ margin-left: 16.66666667%;
+ }
+ .col-md-offset-1 {
+ margin-left: 8.33333333%;
+ }
+ .col-md-offset-0 {
+ margin-left: 0%;
}
}
-
@media (min-width: 1200px) {
- .container {
- max-width: 1170px;
- }
-
- .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-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 {
float: left;
}
-
- .col-lg-1 {
- width: 8.333333333333332%;
- }
-
- .col-lg-2 {
- width: 16.666666666666664%;
- }
-
- .col-lg-3 {
- width: 25%;
- }
-
- .col-lg-4 {
- width: 33.33333333333333%;
- }
-
- .col-lg-5 {
- width: 41.66666666666667%;
- }
-
- .col-lg-6 {
- width: 50%;
- }
-
- .col-lg-7 {
- width: 58.333333333333336%;
- }
-
- .col-lg-8 {
- width: 66.66666666666666%;
- }
-
- .col-lg-9 {
- width: 75%;
- }
-
- .col-lg-10 {
- width: 83.33333333333334%;
- }
-
- .col-lg-11 {
- width: 91.66666666666666%;
- }
-
.col-lg-12 {
width: 100%;
}
-
- .col-lg-push-0 {
- left: auto;
+ .col-lg-11 {
+ width: 91.66666667%;
}
-
- .col-lg-push-1 {
- left: 8.333333333333332%;
+ .col-lg-10 {
+ width: 83.33333333%;
}
-
- .col-lg-push-2 {
- left: 16.666666666666664%;
+ .col-lg-9 {
+ width: 75%;
}
-
- .col-lg-push-3 {
- left: 25%;
+ .col-lg-8 {
+ width: 66.66666667%;
}
-
- .col-lg-push-4 {
- left: 33.33333333333333%;
+ .col-lg-7 {
+ width: 58.33333333%;
}
-
- .col-lg-push-5 {
- left: 41.66666666666667%;
+ .col-lg-6 {
+ width: 50%;
}
-
- .col-lg-push-6 {
- left: 50%;
+ .col-lg-5 {
+ width: 41.66666667%;
}
-
- .col-lg-push-7 {
- left: 58.333333333333336%;
+ .col-lg-4 {
+ width: 33.33333333%;
}
-
- .col-lg-push-8 {
- left: 66.66666666666666%;
+ .col-lg-3 {
+ width: 25%;
}
-
- .col-lg-push-9 {
- left: 75%;
+ .col-lg-2 {
+ width: 16.66666667%;
}
-
- .col-lg-push-10 {
- left: 83.33333333333334%;
+ .col-lg-1 {
+ width: 8.33333333%;
}
-
- .col-lg-push-11 {
- left: 91.66666666666666%;
+ .col-lg-pull-12 {
+ right: 100%;
}
-
- .col-lg-pull-0 {
- right: auto;
+ .col-lg-pull-11 {
+ right: 91.66666667%;
}
-
- .col-lg-pull-1 {
- right: 8.333333333333332%;
+ .col-lg-pull-10 {
+ right: 83.33333333%;
}
-
- .col-lg-pull-2 {
- right: 16.666666666666664%;
- }
-
- .col-lg-pull-3 {
- right: 25%;
- }
-
- .col-lg-pull-4 {
- right: 33.33333333333333%;
- }
-
- .col-lg-pull-5 {
- right: 41.66666666666667%;
- }
-
- .col-lg-pull-6 {
- right: 50%;
- }
-
- .col-lg-pull-7 {
- right: 58.333333333333336%;
- }
-
- .col-lg-pull-8 {
- right: 66.66666666666666%;
- }
-
.col-lg-pull-9 {
right: 75%;
}
-
- .col-lg-pull-10 {
- right: 83.33333333333334%;
+ .col-lg-pull-8 {
+ right: 66.66666667%;
}
-
- .col-lg-pull-11 {
- right: 91.66666666666666%;
+ .col-lg-pull-7 {
+ right: 58.33333333%;
}
-
- .col-lg-offset-0 {
- margin-left: 0;
+ .col-lg-pull-6 {
+ right: 50%;
}
-
- .col-lg-offset-1 {
- margin-left: 8.333333333333332%;
+ .col-lg-pull-5 {
+ right: 41.66666667%;
}
-
- .col-lg-offset-2 {
- margin-left: 16.666666666666664%;
+ .col-lg-pull-4 {
+ right: 33.33333333%;
}
-
- .col-lg-offset-3 {
- margin-left: 25%;
+ .col-lg-pull-3 {
+ right: 25%;
}
-
- .col-lg-offset-4 {
- margin-left: 33.33333333333333%;
+ .col-lg-pull-2 {
+ right: 16.66666667%;
}
-
- .col-lg-offset-5 {
- margin-left: 41.66666666666667%;
+ .col-lg-pull-1 {
+ right: 8.33333333%;
}
-
- .col-lg-offset-6 {
- margin-left: 50%;
+ .col-lg-pull-0 {
+ right: auto;
}
-
- .col-lg-offset-7 {
- margin-left: 58.333333333333336%;
+ .col-lg-push-12 {
+ left: 100%;
}
-
- .col-lg-offset-8 {
- margin-left: 66.66666666666666%;
+ .col-lg-push-11 {
+ left: 91.66666667%;
+ }
+ .col-lg-push-10 {
+ left: 83.33333333%;
+ }
+ .col-lg-push-9 {
+ left: 75%;
+ }
+ .col-lg-push-8 {
+ left: 66.66666667%;
+ }
+ .col-lg-push-7 {
+ left: 58.33333333%;
+ }
+ .col-lg-push-6 {
+ left: 50%;
+ }
+ .col-lg-push-5 {
+ left: 41.66666667%;
+ }
+ .col-lg-push-4 {
+ left: 33.33333333%;
+ }
+ .col-lg-push-3 {
+ left: 25%;
+ }
+ .col-lg-push-2 {
+ left: 16.66666667%;
+ }
+ .col-lg-push-1 {
+ left: 8.33333333%;
+ }
+ .col-lg-push-0 {
+ left: auto;
+ }
+ .col-lg-offset-12 {
+ margin-left: 100%;
+ }
+ .col-lg-offset-11 {
+ margin-left: 91.66666667%;
+ }
+ .col-lg-offset-10 {
+ margin-left: 83.33333333%;
}
-
.col-lg-offset-9 {
margin-left: 75%;
}
-
- .col-lg-offset-10 {
- margin-left: 83.33333333333334%;
+ .col-lg-offset-8 {
+ margin-left: 66.66666667%;
}
-
- .col-lg-offset-11 {
- margin-left: 91.66666666666666%;
+ .col-lg-offset-7 {
+ margin-left: 58.33333333%;
+ }
+ .col-lg-offset-6 {
+ margin-left: 50%;
+ }
+ .col-lg-offset-5 {
+ margin-left: 41.66666667%;
+ }
+ .col-lg-offset-4 {
+ margin-left: 33.33333333%;
+ }
+ .col-lg-offset-3 {
+ margin-left: 25%;
+ }
+ .col-lg-offset-2 {
+ margin-left: 16.66666667%;
+ }
+ .col-lg-offset-1 {
+ margin-left: 8.33333333%;
+ }
+ .col-lg-offset-0 {
+ margin-left: 0%;
}
}
-
table {
- max-width: 100%;
- background-color: transparent;
+ background-color: #2e3338;
+}
+caption {
+ padding-top: 8px;
+ padding-bottom: 8px;
+ color: #7a8288;
+ text-align: left;
}
-
th {
text-align: left;
}
-
.table {
width: 100%;
+ max-width: 100%;
margin-bottom: 20px;
}
-
-.table thead > tr > th,
-.table tbody > tr > th,
-.table tfoot > tr > th,
-.table thead > tr > td,
-.table tbody > tr > td,
-.table tfoot > tr > td {
+.table > thead > tr > th,
+.table > tbody > tr > th,
+.table > tfoot > tr > th,
+.table > thead > tr > td,
+.table > tbody > tr > td,
+.table > tfoot > tr > td {
padding: 8px;
- line-height: 1.428571429;
+ line-height: 1.42857143;
vertical-align: top;
- border-top: 1px solid rgba(48, 48, 48, 0.81);
+ border-top: 1px solid #1c1e22;
}
-
-.table thead > tr > th {
+.table > thead > tr > th {
vertical-align: bottom;
- border-bottom: 2px solid rgba(48, 48, 48, 0.81);
+ border-bottom: 2px solid #1c1e22;
}
-
-.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 td,
-.table thead:first-child tr:first-child td {
+.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 > td,
+.table > thead:first-child > tr:first-child > td {
border-top: 0;
}
-
-.table tbody + tbody {
- border-top: 2px solid rgba(48, 48, 48, 0.81);
+.table > tbody + tbody {
+ border-top: 2px solid #1c1e22;
}
-
.table .table {
- background-color: #484848;
+ background-color: #272b30;
}
-
-.table-condensed thead > tr > th,
-.table-condensed tbody > tr > th,
-.table-condensed tfoot > tr > th,
-.table-condensed thead > tr > td,
-.table-condensed tbody > tr > td,
-.table-condensed tfoot > tr > td {
+.table-condensed > thead > tr > th,
+.table-condensed > tbody > tr > th,
+.table-condensed > tfoot > tr > th,
+.table-condensed > thead > tr > td,
+.table-condensed > tbody > tr > td,
+.table-condensed > tfoot > tr > td {
padding: 5px;
}
-
.table-bordered {
- border: 1px solid rgba(48, 48, 48, 0.81);
+ border: 1px solid #1c1e22;
}
-
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
- border: 1px solid rgba(48, 48, 48, 0.81);
+ border: 1px solid #1c1e22;
}
-
.table-bordered > thead > tr > 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: #1A70BC;
+.table-striped > tbody > tr:nth-of-type(odd) {
+ background-color: #353a41;
}
-
-.table-hover > tbody > tr:hover > td,
-.table-hover > tbody > tr:hover > th {
- background-color: #1A73BC;
+.table-hover > tbody > tr:hover {
+ background-color: #49515a;
}
-
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 > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
@@ -1690,9 +2350,15 @@ table th[class*="col-"] {
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
- background-color: #1A70BC;
+ background-color: #49515a;
+}
+.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:hover > .active,
+.table-hover > tbody > tr.active:hover > th {
+ background-color: #3e444c;
}
-
.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
@@ -1705,40 +2371,36 @@ table th[class*="col-"] {
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
- background-color: #49564c;
- border-color: #3d483e;
+ background-color: #62c462;
}
-
.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
-.table-hover > tbody > tr.success:hover > td {
- background-color: #3d4840;
- border-color: #323a32;
+.table-hover > tbody > tr.success:hover > td,
+.table-hover > tbody > tr:hover > .success,
+.table-hover > tbody > tr.success:hover > th {
+ background-color: #4fbd4f;
}
-
-.table > thead > tr > td.danger,
-.table > tbody > tr > td.danger,
-.table > tfoot > tr > td.danger,
-.table > thead > tr > th.danger,
-.table > tbody > tr > th.danger,
-.table > tfoot > tr > th.danger,
-.table > thead > tr.danger > td,
-.table > tbody > tr.danger > td,
-.table > tfoot > tr.danger > td,
-.table > thead > tr.danger > th,
-.table > tbody > tr.danger > th,
-.table > tfoot > tr.danger > th {
- background-color: #58494b;
- border-color: #504246;
+.table > thead > tr > td.info,
+.table > tbody > tr > td.info,
+.table > tfoot > tr > td.info,
+.table > thead > tr > th.info,
+.table > tbody > tr > th.info,
+.table > tfoot > tr > th.info,
+.table > thead > tr.info > td,
+.table > tbody > tr.info > td,
+.table > tfoot > tr.info > td,
+.table > thead > tr.info > th,
+.table > tbody > tr.info > th,
+.table > tfoot > tr.info > th {
+ background-color: #5bc0de;
}
-
-.table-hover > tbody > tr > td.danger:hover,
-.table-hover > tbody > tr > th.danger:hover,
-.table-hover > tbody > tr.danger:hover > td {
- background-color: #4a3d3f;
- border-color: #42373a;
+.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:hover > .info,
+.table-hover > tbody > tr.info:hover > th {
+ background-color: #46b8da;
}
-
.table > thead > tr > td.warning,
.table > tbody > tr > td.warning,
.table > tfoot > tr > td.warning,
@@ -1751,31 +2413,51 @@ table th[class*="col-"] {
.table > thead > tr.warning > th,
.table > tbody > tr.warning > th,
.table > tfoot > tr.warning > th {
- background-color: #585549;
- border-color: #504b42;
+ background-color: #f89406;
}
-
.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover,
-.table-hover > tbody > tr.warning:hover > td {
- background-color: #4a483d;
- border-color: #423e37;
+.table-hover > tbody > tr.warning:hover > td,
+.table-hover > tbody > tr:hover > .warning,
+.table-hover > tbody > tr.warning:hover > th {
+ background-color: #df8505;
}
-
-@media (max-width: 768px) {
+.table > thead > tr > td.danger,
+.table > tbody > tr > td.danger,
+.table > tfoot > tr > td.danger,
+.table > thead > tr > th.danger,
+.table > tbody > tr > th.danger,
+.table > tfoot > tr > th.danger,
+.table > thead > tr.danger > td,
+.table > tbody > tr.danger > td,
+.table > tfoot > tr.danger > td,
+.table > thead > tr.danger > th,
+.table > tbody > tr.danger > th,
+.table > tfoot > tr.danger > th {
+ background-color: #ee5f5b;
+}
+.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:hover > .danger,
+.table-hover > tbody > tr.danger:hover > th {
+ background-color: #ec4844;
+}
+.table-responsive {
+ overflow-x: auto;
+ min-height: 0.01%;
+}
+@media screen and (max-width: 767px) {
.table-responsive {
width: 100%;
margin-bottom: 15px;
overflow-y: hidden;
- overflow-x: scroll;
- border: 1px solid rgba(48, 48, 48, 0.81);
+ -ms-overflow-style: -ms-autohiding-scrollbar;
+ border: 1px solid #1c1e22;
}
-
.table-responsive > .table {
margin-bottom: 0;
- background-color: #fff;
}
-
.table-responsive > .table > thead > tr > th,
.table-responsive > .table > tbody > tr > th,
.table-responsive > .table > tfoot > tr > th,
@@ -1784,11 +2466,9 @@ table th[class*="col-"] {
.table-responsive > .table > tfoot > tr > td {
white-space: nowrap;
}
-
.table-responsive > .table-bordered {
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,
@@ -1797,7 +2477,6 @@ table th[class*="col-"] {
.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,
@@ -1806,23 +2485,19 @@ table th[class*="col-"] {
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
-
- .table-responsive > .table-bordered > thead > tr:last-child > th,
.table-responsive > .table-bordered > tbody > tr:last-child > th,
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
- .table-responsive > .table-bordered > thead > tr:last-child > td,
.table-responsive > .table-bordered > tbody > tr:last-child > td,
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
border-bottom: 0;
}
}
-
fieldset {
padding: 0;
margin: 0;
border: 0;
+ min-width: 0;
}
-
legend {
display: block;
width: 100%;
@@ -1830,149 +2505,163 @@ legend {
margin-bottom: 20px;
font-size: 21px;
line-height: inherit;
- color: #e5e5e5;
+ color: #c8c8c8;
border: 0;
- border-bottom: 1px solid rgba(48, 48, 48, 0.81);
+ border-bottom: 1px solid #1c1e22;
}
-
label {
display: inline-block;
+ max-width: 100%;
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 {
- outline: thin dotted #333;
+ outline: thin dotted;
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: 9px;
+ font-size: 14px;
+ line-height: 1.42857143;
+ color: #272b30;
}
-
-.form-control:-moz-placeholder {
- color: #7a7a7a;
-}
-
-.form-control::-moz-placeholder {
- color: #7a7a7a;
-}
-
-.form-control:-ms-input-placeholder {
- color: #7a7a7a;
-}
-
-.form-control::-webkit-input-placeholder {
- color: #7a7a7a;
-}
-
.form-control {
display: block;
width: 100%;
- height: 34px;
- padding: 6px 12px;
+ height: 38px;
+ padding: 8px 12px;
font-size: 14px;
- line-height: 1.428571429;
- color: #ececec;
- vertical-align: middle;
- background-color: rgba(0, 0, 0, 0.8);
- border: 1px solid #228BF5;
- border-radius: 0px;
+ line-height: 1.42857143;
+ color: #272b30;
+ 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;
+ -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
+ -o-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;
}
-
.form-control:focus {
- border-color: #28C2E1;
+ border-color: #66afe9;
outline: 0;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(40, 225, 189, 0.6);
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(40, 225, 189, 0.6);
+ -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);
+}
+.form-control::-moz-placeholder {
+ color: #7a8288;
+ opacity: 1;
+}
+.form-control:-ms-input-placeholder {
+ color: #7a8288;
+}
+.form-control::-webkit-input-placeholder {
+ color: #7a8288;
}
-
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
- cursor: not-allowed;
- background-color: rgba(50, 50, 50, 0.5);
+ background-color: #999999;
+ opacity: 1;
+}
+.form-control[disabled],
+fieldset[disabled] .form-control {
+ cursor: not-allowed;
}
-
textarea.form-control {
height: auto;
}
-
+input[type="search"] {
+ -webkit-appearance: none;
+}
+@media screen and (-webkit-min-device-pixel-ratio: 0) {
+ input[type="date"].form-control,
+ input[type="time"].form-control,
+ input[type="datetime-local"].form-control,
+ input[type="month"].form-control {
+ line-height: 38px;
+ }
+ input[type="date"].input-sm,
+ input[type="time"].input-sm,
+ input[type="datetime-local"].input-sm,
+ input[type="month"].input-sm,
+ .input-group-sm input[type="date"],
+ .input-group-sm input[type="time"],
+ .input-group-sm input[type="datetime-local"],
+ .input-group-sm input[type="month"] {
+ line-height: 30px;
+ }
+ input[type="date"].input-lg,
+ input[type="time"].input-lg,
+ input[type="datetime-local"].input-lg,
+ input[type="month"].input-lg,
+ .input-group-lg input[type="date"],
+ .input-group-lg input[type="time"],
+ .input-group-lg input[type="datetime-local"],
+ .input-group-lg input[type="month"] {
+ line-height: 54px;
+ }
+}
.form-group {
margin-bottom: 15px;
}
-
.radio,
.checkbox {
+ position: relative;
display: block;
- min-height: 20px;
margin-top: 10px;
margin-bottom: 10px;
- padding-left: 20px;
- vertical-align: middle;
}
-
.radio label,
.checkbox label {
- display: inline;
+ min-height: 20px;
+ padding-left: 20px;
margin-bottom: 0;
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;
+ position: absolute;
margin-left: -20px;
+ margin-top: 4px \9;
}
-
.radio + .radio,
.checkbox + .checkbox {
margin-top: -5px;
}
-
.radio-inline,
.checkbox-inline {
+ position: relative;
display: inline-block;
padding-left: 20px;
margin-bottom: 0;
@@ -1980,250 +2669,375 @@ 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],
+input[type="radio"].disabled,
+input[type="checkbox"].disabled,
fieldset[disabled] input[type="radio"],
-fieldset[disabled] input[type="checkbox"],
-fieldset[disabled] .radio,
+fieldset[disabled] input[type="checkbox"] {
+ cursor: not-allowed;
+}
+.radio-inline.disabled,
+.checkbox-inline.disabled,
fieldset[disabled] .radio-inline,
-fieldset[disabled] .checkbox,
fieldset[disabled] .checkbox-inline {
cursor: not-allowed;
}
-
+.radio.disabled label,
+.checkbox.disabled label,
+fieldset[disabled] .radio label,
+fieldset[disabled] .checkbox label {
+ cursor: not-allowed;
+}
+.form-control-static {
+ padding-top: 9px;
+ padding-bottom: 9px;
+ margin-bottom: 0;
+ min-height: 34px;
+}
+.form-control-static.input-lg,
+.form-control-static.input-sm {
+ padding-left: 0;
+ padding-right: 0;
+}
.input-sm {
height: 30px;
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
- border-radius: 0px;
+ border-radius: 3px;
}
-
select.input-sm {
height: 30px;
line-height: 30px;
}
-
-textarea.input-sm {
+textarea.input-sm,
+select[multiple].input-sm {
height: auto;
}
-
+.form-group-sm .form-control {
+ height: 30px;
+ padding: 5px 10px;
+ font-size: 12px;
+ line-height: 1.5;
+ border-radius: 3px;
+}
+.form-group-sm select.form-control {
+ height: 30px;
+ line-height: 30px;
+}
+.form-group-sm textarea.form-control,
+.form-group-sm select[multiple].form-control {
+ height: auto;
+}
+.form-group-sm .form-control-static {
+ height: 30px;
+ min-height: 32px;
+ padding: 6px 10px;
+ font-size: 12px;
+ line-height: 1.5;
+}
.input-lg {
- height: 45px;
- padding: 10px 16px;
+ height: 54px;
+ padding: 14px 16px;
font-size: 18px;
- line-height: 1.33;
- border-radius: 0px;
+ line-height: 1.3333333;
+ border-radius: 6px;
}
-
select.input-lg {
- height: 45px;
- line-height: 45px;
+ height: 54px;
+ line-height: 54px;
}
-
-textarea.input-lg {
+textarea.input-lg,
+select[multiple].input-lg {
height: auto;
}
-
-.has-warning .help-block,
-.has-warning .control-label {
- color: #e5c454;
+.form-group-lg .form-control {
+ height: 54px;
+ padding: 14px 16px;
+ font-size: 18px;
+ line-height: 1.3333333;
+ border-radius: 6px;
}
-
-.has-warning .form-control {
- border-color: #e5c454;
- -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);
+.form-group-lg select.form-control {
+ height: 54px;
+ line-height: 54px;
}
-
-.has-warning .form-control:focus {
- border-color: #deb528;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f2e3ad;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f2e3ad;
+.form-group-lg textarea.form-control,
+.form-group-lg select[multiple].form-control {
+ height: auto;
}
-
-.has-warning .input-group-addon {
- color: #e5c454;
- border-color: #e5c454;
- background-color: #585549;
+.form-group-lg .form-control-static {
+ height: 54px;
+ min-height: 38px;
+ padding: 15px 16px;
+ font-size: 18px;
+ line-height: 1.3333333;
}
-
-.has-error .help-block,
-.has-error .control-label {
- color: #e94f64;
+.has-feedback {
+ position: relative;
}
-
-.has-error .form-control {
- border-color: #e94f64;
- -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-feedback .form-control {
+ padding-right: 47.5px;
}
-
-.has-error .form-control:focus {
- border-color: #e3223c;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f4aab4;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f4aab4;
+.form-control-feedback {
+ position: absolute;
+ top: 0;
+ right: 0;
+ z-index: 2;
+ display: block;
+ width: 38px;
+ height: 38px;
+ line-height: 38px;
+ text-align: center;
+ pointer-events: none;
}
-
-.has-error .input-group-addon {
- color: #e94f64;
- border-color: #e94f64;
- background-color: #58494b;
+.input-lg + .form-control-feedback,
+.input-group-lg + .form-control-feedback,
+.form-group-lg .form-control + .form-control-feedback {
+ width: 54px;
+ height: 54px;
+ line-height: 54px;
+}
+.input-sm + .form-control-feedback,
+.input-group-sm + .form-control-feedback,
+.form-group-sm .form-control + .form-control-feedback {
+ width: 30px;
+ height: 30px;
+ line-height: 30px;
}
-
.has-success .help-block,
-.has-success .control-label {
- color: #52d273;
+.has-success .control-label,
+.has-success .radio,
+.has-success .checkbox,
+.has-success .radio-inline,
+.has-success .checkbox-inline,
+.has-success.radio label,
+.has-success.checkbox label,
+.has-success.radio-inline label,
+.has-success.checkbox-inline label {
+ color: #ffffff;
}
-
.has-success .form-control {
- border-color: #52d273;
+ border-color: #ffffff;
-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: #32bf56;
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #a3e7b5;
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #a3e7b5;
+ border-color: #e6e6e6;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff;
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff;
}
-
.has-success .input-group-addon {
- color: #52d273;
- border-color: #52d273;
- background-color: #49564c;
+ color: #ffffff;
+ border-color: #ffffff;
+ background-color: #62c462;
}
-
-.form-control-static {
- margin-bottom: 0;
- padding-top: 7px;
+.has-success .form-control-feedback {
+ color: #ffffff;
+}
+.has-warning .help-block,
+.has-warning .control-label,
+.has-warning .radio,
+.has-warning .checkbox,
+.has-warning .radio-inline,
+.has-warning .checkbox-inline,
+.has-warning.radio label,
+.has-warning.checkbox label,
+.has-warning.radio-inline label,
+.has-warning.checkbox-inline label {
+ color: #ffffff;
+}
+.has-warning .form-control {
+ border-color: #ffffff;
+ -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 {
+ border-color: #e6e6e6;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff;
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff;
+}
+.has-warning .input-group-addon {
+ color: #ffffff;
+ border-color: #ffffff;
+ background-color: #f89406;
+}
+.has-warning .form-control-feedback {
+ color: #ffffff;
+}
+.has-error .help-block,
+.has-error .control-label,
+.has-error .radio,
+.has-error .checkbox,
+.has-error .radio-inline,
+.has-error .checkbox-inline,
+.has-error.radio label,
+.has-error.checkbox label,
+.has-error.radio-inline label,
+.has-error.checkbox-inline label {
+ color: #ffffff;
+}
+.has-error .form-control {
+ border-color: #ffffff;
+ -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 {
+ border-color: #e6e6e6;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff;
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff;
+}
+.has-error .input-group-addon {
+ color: #ffffff;
+ border-color: #ffffff;
+ background-color: #ee5f5b;
+}
+.has-error .form-control-feedback {
+ color: #ffffff;
+}
+.has-feedback label ~ .form-control-feedback {
+ top: 25px;
+}
+.has-feedback label.sr-only ~ .form-control-feedback {
+ top: 0;
}
-
.help-block {
display: block;
margin-top: 5px;
margin-bottom: 10px;
color: #ffffff;
}
-
@media (min-width: 768px) {
.form-inline .form-group {
display: inline-block;
margin-bottom: 0;
vertical-align: middle;
}
-
.form-inline .form-control {
display: inline-block;
+ width: auto;
+ vertical-align: middle;
+ }
+ .form-inline .form-control-static {
+ display: inline-block;
+ }
+ .form-inline .input-group {
+ display: inline-table;
+ vertical-align: middle;
+ }
+ .form-inline .input-group .input-group-addon,
+ .form-inline .input-group .input-group-btn,
+ .form-inline .input-group .form-control {
+ width: auto;
+ }
+ .form-inline .input-group > .form-control {
+ width: 100%;
+ }
+ .form-inline .control-label {
+ margin-bottom: 0;
+ vertical-align: middle;
}
-
.form-inline .radio,
.form-inline .checkbox {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
+ vertical-align: middle;
+ }
+ .form-inline .radio label,
+ .form-inline .checkbox label {
padding-left: 0;
}
-
.form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] {
- float: none;
+ position: relative;
margin-left: 0;
}
+ .form-inline .has-feedback .form-control-feedback {
+ top: 0;
+ }
}
-
-.form-horizontal .control-label,
.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
margin-top: 0;
margin-bottom: 0;
- padding-top: 7px;
+ padding-top: 9px;
+}
+.form-horizontal .radio,
+.form-horizontal .checkbox {
+ min-height: 29px;
}
-
.form-horizontal .form-group {
margin-left: -15px;
margin-right: -15px;
}
-
-.form-horizontal .form-group:before,
-.form-horizontal .form-group:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.form-horizontal .form-group:after {
- clear: both;
-}
-
-.form-horizontal .form-group:before,
-.form-horizontal .form-group:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.form-horizontal .form-group:after {
- clear: both;
-}
-
@media (min-width: 768px) {
.form-horizontal .control-label {
text-align: right;
+ margin-bottom: 0;
+ padding-top: 9px;
+ }
+}
+.form-horizontal .has-feedback .form-control-feedback {
+ right: 15px;
+}
+@media (min-width: 768px) {
+ .form-horizontal .form-group-lg .control-label {
+ padding-top: 19.6666662px;
+ font-size: 18px;
+ }
+}
+@media (min-width: 768px) {
+ .form-horizontal .form-group-sm .control-label {
+ padding-top: 6px;
+ font-size: 12px;
}
}
-
.btn {
display: inline-block;
- padding: 6px 12px;
margin-bottom: 0;
- font-size: 14px;
- font-weight: 100;
- line-height: 1.428571429;
+ font-weight: normal;
text-align: center;
vertical-align: middle;
+ -ms-touch-action: manipulation;
+ touch-action: manipulation;
cursor: pointer;
+ background-image: none;
border: 1px solid transparent;
- border-radius: 0px;
white-space: nowrap;
+ padding: 8px 12px;
+ font-size: 14px;
+ line-height: 1.42857143;
+ border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
- -o-user-select: none;
user-select: none;
}
-
-.btn:focus {
- outline: thin dotted #333;
+.btn:focus,
+.btn:active:focus,
+.btn.active:focus,
+.btn.focus,
+.btn:active.focus,
+.btn.active.focus {
+ outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
-
.btn:hover,
-.btn:focus {
- color: #333333;
+.btn:focus,
+.btn.focus {
+ color: #ffffff;
text-decoration: none;
}
-
.btn:active,
.btn.active {
outline: 0;
@@ -2231,40 +3045,60 @@ textarea.input-lg {
-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 {
cursor: not-allowed;
- pointer-events: none;
opacity: 0.65;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
box-shadow: none;
}
-
+a.btn.disabled,
+fieldset[disabled] a.btn {
+ pointer-events: none;
+}
.btn-default {
- color: #333333;
- background-color: #ececec;
- border-color: #cccccc;
+ color: #ffffff;
+ background-color: #3a3f44;
+ border-color: #3a3f44;
}
-
-.btn-default:hover,
.btn-default:focus,
-.btn-default:active,
-.btn-default.active,
-.open .dropdown-toggle.btn-default {
- color: #333333;
- background-color: #d8d8d8;
- border-color: #adadad;
+.btn-default.focus {
+ color: #ffffff;
+ background-color: #232628;
+ border-color: #000000;
+}
+.btn-default:hover {
+ color: #ffffff;
+ background-color: #232628;
+ border-color: #1e2023;
}
-
.btn-default:active,
.btn-default.active,
-.open .dropdown-toggle.btn-default {
+.open > .dropdown-toggle.btn-default {
+ color: #ffffff;
+ background-color: #232628;
+ border-color: #1e2023;
+}
+.btn-default:active:hover,
+.btn-default.active:hover,
+.open > .dropdown-toggle.btn-default:hover,
+.btn-default:active:focus,
+.btn-default.active:focus,
+.open > .dropdown-toggle.btn-default:focus,
+.btn-default:active.focus,
+.btn-default.active.focus,
+.open > .dropdown-toggle.btn-default.focus {
+ color: #ffffff;
+ background-color: #121415;
+ border-color: #000000;
+}
+.btn-default:active,
+.btn-default.active,
+.open > .dropdown-toggle.btn-default {
background-image: none;
}
-
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
@@ -2274,38 +3108,63 @@ fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
+.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: #ececec;
- border-color: #cccccc;
+ background-color: #3a3f44;
+ border-color: #3a3f44;
+}
+.btn-default .badge {
+ color: #3a3f44;
+ background-color: #ffffff;
}
-
.btn-primary {
color: #ffffff;
- background-color: #228BF5;
- border-color: #176DA6;
+ background-color: #7a8288;
+ border-color: #7a8288;
}
-
-.btn-primary:hover,
.btn-primary:focus,
-.btn-primary:active,
-.btn-primary.active,
-.open .dropdown-toggle.btn-primary {
+.btn-primary.focus {
color: #ffffff;
- background-color: #155B98;
- border-color: #0F4E70;
+ background-color: #62686d;
+ border-color: #3e4245;
+}
+.btn-primary:hover {
+ color: #ffffff;
+ background-color: #62686d;
+ border-color: #5d6368;
}
-
.btn-primary:active,
.btn-primary.active,
-.open .dropdown-toggle.btn-primary {
+.open > .dropdown-toggle.btn-primary {
+ color: #ffffff;
+ background-color: #62686d;
+ border-color: #5d6368;
+}
+.btn-primary:active:hover,
+.btn-primary.active:hover,
+.open > .dropdown-toggle.btn-primary:hover,
+.btn-primary:active:focus,
+.btn-primary.active:focus,
+.open > .dropdown-toggle.btn-primary:focus,
+.btn-primary:active.focus,
+.btn-primary.active.focus,
+.open > .dropdown-toggle.btn-primary.focus {
+ color: #ffffff;
+ background-color: #51565a;
+ border-color: #3e4245;
+}
+.btn-primary:active,
+.btn-primary.active,
+.open > .dropdown-toggle.btn-primary {
background-image: none;
}
-
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
@@ -2315,120 +3174,63 @@ fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
+.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: #228BF5;
- border-color: #176DA6;
+ background-color: #7a8288;
+ border-color: #7a8288;
}
-
-.btn-warning {
- color: #ffffff;
- background-color: #e5c454;
- border-color: #e2bc3e;
+.btn-primary .badge {
+ color: #7a8288;
+ background-color: #ffffff;
}
-
-.btn-warning:hover,
-.btn-warning:focus,
-.btn-warning:active,
-.btn-warning.active,
-.open .dropdown-toggle.btn-warning {
- color: #ffffff;
- background-color: #e0b831;
- border-color: #c49f1e;
-}
-
-.btn-warning:active,
-.btn-warning.active,
-.open .dropdown-toggle.btn-warning {
- 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 {
- background-color: #e5c454;
- border-color: #e2bc3e;
-}
-
-.btn-danger {
- color: #ffffff;
- background-color: #e94f64;
- border-color: #e63850;
-}
-
-.btn-danger:hover,
-.btn-danger:focus,
-.btn-danger:active,
-.btn-danger.active,
-.open .dropdown-toggle.btn-danger {
- color: #ffffff;
- background-color: #e42b44;
- border-color: #c81931;
-}
-
-.btn-danger:active,
-.btn-danger.active,
-.open .dropdown-toggle.btn-danger {
- 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 {
- background-color: #e94f64;
- border-color: #e63850;
-}
-
.btn-success {
color: #ffffff;
- background-color: #52d273;
- border-color: #3ecd63;
+ background-color: #62c462;
+ border-color: #62c462;
}
-
-.btn-success:hover,
.btn-success:focus,
-.btn-success:active,
-.btn-success.active,
-.open .dropdown-toggle.btn-success {
+.btn-success.focus {
color: #ffffff;
- background-color: #34c75a;
- border-color: #2aa349;
+ background-color: #42b142;
+ border-color: #2d792d;
+}
+.btn-success:hover {
+ color: #ffffff;
+ background-color: #42b142;
+ border-color: #40a940;
}
-
.btn-success:active,
.btn-success.active,
-.open .dropdown-toggle.btn-success {
+.open > .dropdown-toggle.btn-success {
+ color: #ffffff;
+ background-color: #42b142;
+ border-color: #40a940;
+}
+.btn-success:active:hover,
+.btn-success.active:hover,
+.open > .dropdown-toggle.btn-success:hover,
+.btn-success:active:focus,
+.btn-success.active:focus,
+.open > .dropdown-toggle.btn-success:focus,
+.btn-success:active.focus,
+.btn-success.active.focus,
+.open > .dropdown-toggle.btn-success.focus {
+ color: #ffffff;
+ background-color: #399739;
+ border-color: #2d792d;
+}
+.btn-success:active,
+.btn-success.active,
+.open > .dropdown-toggle.btn-success {
background-image: none;
}
-
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
@@ -2438,38 +3240,63 @@ fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
+.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: #52d273;
- border-color: #3ecd63;
+ background-color: #62c462;
+ border-color: #62c462;
+}
+.btn-success .badge {
+ color: #62c462;
+ background-color: #ffffff;
}
-
.btn-info {
color: #ffffff;
- background-color: #46bcde;
- border-color: #30b4da;
+ background-color: #5bc0de;
+ border-color: #5bc0de;
}
-
-.btn-info:hover,
.btn-info:focus,
-.btn-info:active,
-.btn-info.active,
-.open .dropdown-toggle.btn-info {
+.btn-info.focus {
color: #ffffff;
- background-color: #26aed5;
- border-color: #1f8eae;
+ background-color: #31b0d5;
+ border-color: #1f7e9a;
+}
+.btn-info:hover {
+ color: #ffffff;
+ background-color: #31b0d5;
+ border-color: #2aabd2;
}
-
.btn-info:active,
.btn-info.active,
-.open .dropdown-toggle.btn-info {
+.open > .dropdown-toggle.btn-info {
+ color: #ffffff;
+ background-color: #31b0d5;
+ border-color: #2aabd2;
+}
+.btn-info:active:hover,
+.btn-info.active:hover,
+.open > .dropdown-toggle.btn-info:hover,
+.btn-info:active:focus,
+.btn-info.active:focus,
+.open > .dropdown-toggle.btn-info:focus,
+.btn-info:active.focus,
+.btn-info.active.focus,
+.open > .dropdown-toggle.btn-info.focus {
+ color: #ffffff;
+ background-color: #269abc;
+ border-color: #1f7e9a;
+}
+.btn-info:active,
+.btn-info.active,
+.open > .dropdown-toggle.btn-info {
background-image: none;
}
-
.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
@@ -2479,954 +3306,273 @@ fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
+.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: #46bcde;
- border-color: #30b4da;
+ background-color: #5bc0de;
+ border-color: #5bc0de;
+}
+.btn-info .badge {
+ color: #5bc0de;
+ background-color: #ffffff;
+}
+.btn-warning {
+ color: #ffffff;
+ background-color: #f89406;
+ border-color: #f89406;
+}
+.btn-warning:focus,
+.btn-warning.focus {
+ color: #ffffff;
+ background-color: #c67605;
+ border-color: #7c4a03;
+}
+.btn-warning:hover {
+ color: #ffffff;
+ background-color: #c67605;
+ border-color: #bc7005;
+}
+.btn-warning:active,
+.btn-warning.active,
+.open > .dropdown-toggle.btn-warning {
+ color: #ffffff;
+ background-color: #c67605;
+ border-color: #bc7005;
+}
+.btn-warning:active:hover,
+.btn-warning.active:hover,
+.open > .dropdown-toggle.btn-warning:hover,
+.btn-warning:active:focus,
+.btn-warning.active:focus,
+.open > .dropdown-toggle.btn-warning:focus,
+.btn-warning:active.focus,
+.btn-warning.active.focus,
+.open > .dropdown-toggle.btn-warning.focus {
+ color: #ffffff;
+ background-color: #a36104;
+ border-color: #7c4a03;
+}
+.btn-warning:active,
+.btn-warning.active,
+.open > .dropdown-toggle.btn-warning {
+ 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.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 {
+ background-color: #f89406;
+ border-color: #f89406;
+}
+.btn-warning .badge {
+ color: #f89406;
+ background-color: #ffffff;
+}
+.btn-danger {
+ color: #ffffff;
+ background-color: #ee5f5b;
+ border-color: #ee5f5b;
+}
+.btn-danger:focus,
+.btn-danger.focus {
+ color: #ffffff;
+ background-color: #e9322d;
+ border-color: #b71713;
+}
+.btn-danger:hover {
+ color: #ffffff;
+ background-color: #e9322d;
+ border-color: #e82924;
+}
+.btn-danger:active,
+.btn-danger.active,
+.open > .dropdown-toggle.btn-danger {
+ color: #ffffff;
+ background-color: #e9322d;
+ border-color: #e82924;
+}
+.btn-danger:active:hover,
+.btn-danger.active:hover,
+.open > .dropdown-toggle.btn-danger:hover,
+.btn-danger:active:focus,
+.btn-danger.active:focus,
+.open > .dropdown-toggle.btn-danger:focus,
+.btn-danger:active.focus,
+.btn-danger.active.focus,
+.open > .dropdown-toggle.btn-danger.focus {
+ color: #ffffff;
+ background-color: #dc1c17;
+ border-color: #b71713;
+}
+.btn-danger:active,
+.btn-danger.active,
+.open > .dropdown-toggle.btn-danger {
+ 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.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 {
+ background-color: #ee5f5b;
+ border-color: #ee5f5b;
+}
+.btn-danger .badge {
+ color: #ee5f5b;
+ background-color: #ffffff;
}
-
.btn-link {
- color: #228BF5;
+ color: #ffffff;
font-weight: normal;
- cursor: pointer;
border-radius: 0;
}
-
.btn-link,
.btn-link:active,
+.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 {
border-color: transparent;
}
-
.btn-link:hover,
.btn-link:focus {
- color: #28C2E1;
+ color: #ffffff;
text-decoration: underline;
background-color: transparent;
}
-
.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
- color: #7a7a7a;
+ color: #7a8288;
text-decoration: none;
}
-
-.btn-lg {
- padding: 10px 16px;
+.btn-lg,
+.btn-group-lg > .btn {
+ padding: 14px 16px;
font-size: 18px;
- line-height: 1.33;
- border-radius: 0px;
+ line-height: 1.3333333;
+ border-radius: 6px;
}
-
.btn-sm,
-.btn-xs {
+.btn-group-sm > .btn {
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
- border-radius: 0px;
+ border-radius: 3px;
}
-
-.btn-xs {
+.btn-xs,
+.btn-group-xs > .btn {
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;
+ -o-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
}
-
.fade.in {
opacity: 1;
}
-
.collapse {
display: none;
}
-
.collapse.in {
display: block;
}
-
+tr.collapse.in {
+ display: table-row;
+}
+tbody.collapse.in {
+ display: table-row-group;
+}
.collapsing {
position: relative;
height: 0;
overflow: hidden;
- -webkit-transition: height 0.35s ease;
- transition: height 0.35s ease;
+ -webkit-transition-property: height, visibility;
+ -o-transition-property: height, visibility;
+ transition-property: height, visibility;
+ -webkit-transition-duration: 0.35s;
+ -o-transition-duration: 0.35s;
+ transition-duration: 0.35s;
+ -webkit-transition-timing-function: ease;
+ -o-transition-timing-function: ease;
+ transition-timing-function: 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');
-}
-
-.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;
-}
-
-.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-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-print:before {
- content: "\e045";
-}
-
-.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-eye-open:before {
- content: "\e105";
-}
-
-.glyphicon-eye-close:before {
- content: "\e106";
-}
-
-.glyphicon-warning-sign:before {
- content: "\e107";
-}
-
-.glyphicon-plane:before {
- content: "\e108";
-}
-
-.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-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-tasks:before {
- content: "\e137";
-}
-
-.glyphicon-filter:before {
- content: "\e138";
-}
-
-.glyphicon-fullscreen:before {
- content: "\e140";
-}
-
-.glyphicon-dashboard:before {
- content: "\e141";
-}
-
-.glyphicon-heart-empty:before {
- content: "\e143";
-}
-
-.glyphicon-link:before {
- content: "\e144";
-}
-
-.glyphicon-phone:before {
- content: "\e145";
-}
-
-.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";
-}
-
-.glyphicon-briefcase:before {
- content: "\1f4bc";
-}
-
-.glyphicon-calendar:before {
- content: "\1f4c5";
-}
-
-.glyphicon-pushpin:before {
- content: "\1f4cc";
-}
-
-.glyphicon-paperclip:before {
- content: "\1f4ce";
-}
-
-.glyphicon-camera:before {
- content: "\1f4f7";
-}
-
-.glyphicon-lock:before {
- content: "\1f512";
-}
-
-.glyphicon-bell:before {
- content: "\1f514";
-}
-
-.glyphicon-bookmark:before {
- content: "\1f516";
-}
-
-.glyphicon-fire:before {
- content: "\1f525";
-}
-
-.glyphicon-wrench:before {
- content: "\1f527";
-}
-
.caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
- border-top: 4px solid #000000;
+ border-top: 4px dashed;
+ border-top: 4px solid \9;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
- border-bottom: 0 dotted;
- content: "";
}
-
+.dropup,
.dropdown {
position: relative;
}
-
.dropdown-toggle:focus {
outline: 0;
}
-
.dropdown-menu {
position: absolute;
top: 100%;
@@ -3439,84 +3585,84 @@ input[type="button"].btn-block {
margin: 2px 0 0;
list-style: none;
font-size: 14px;
- background-color: #228BF5;
- border: 1px solid #cccccc;
+ text-align: left;
+ background-color: #3a3f44;
+ border: 1px solid #272b30;
border: 1px solid rgba(0, 0, 0, 0.15);
- border-radius: 0px;
+ border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
+ -webkit-background-clip: padding-box;
background-clip: padding-box;
}
-
.dropdown-menu.pull-right {
right: 0;
left: auto;
}
-
.dropdown-menu .divider {
height: 1px;
margin: 9px 0;
overflow: hidden;
- background-color: #14608F
+ background-color: #272b30;
}
-
.dropdown-menu > li > a {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
- line-height: 1.428571429;
- color: #f1f1f1;
+ line-height: 1.42857143;
+ color: #c8c8c8;
white-space: nowrap;
}
-
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
text-decoration: none;
color: #ffffff;
- background-color: #14649D
+ background-color: #272b30;
}
-
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
color: #ffffff;
text-decoration: none;
outline: 0;
- background-color: #1A6BBC
+ background-color: #272b30;
}
-
.dropdown-menu > .disabled > a,
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
- color: rgba(249, 249, 249, 0.2);
+ color: #7a8288;
}
-
.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);
+ 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;
- color: #e0e0e0;
+ line-height: 1.42857143;
+ color: #7a8288;
+ white-space: nowrap;
}
-
.dropdown-backdrop {
position: fixed;
left: 0;
@@ -3525,70 +3671,44 @@ 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 dotted;
- border-bottom: 4px solid #000000;
+ border-top: 0;
+ border-bottom: 4px dashed;
+ border-bottom: 4px solid \9;
content: "";
}
-
.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
top: auto;
bottom: 100%;
- margin-bottom: 1px;
+ margin-bottom: 2px;
}
-
@media (min-width: 768px) {
.navbar-right .dropdown-menu {
- right: 0;
left: auto;
+ right: 0;
+ }
+ .navbar-right .dropdown-menu-left {
+ left: 0;
+ right: auto;
}
}
-
-.btn-default .caret {
- border-top-color: #333333;
-}
-
-.btn-primary .caret,
-.btn-success .caret,
-.btn-warning .caret,
-.btn-danger .caret,
-.btn-info .caret {
- border-top-color: #fff;
-}
-
-.dropup .btn-default .caret {
- border-bottom-color: #333333;
-}
-
-.dropup .btn-primary .caret,
-.dropup .btn-success .caret,
-.dropup .btn-warning .caret,
-.dropup .btn-danger .caret,
-.dropup .btn-info .caret {
- border-bottom-color: #fff;
-}
-
.btn-group,
.btn-group-vertical {
position: relative;
display: inline-block;
vertical-align: middle;
}
-
.btn-group > .btn,
.btn-group-vertical > .btn {
position: relative;
float: left;
}
-
.btn-group > .btn:hover,
.btn-group-vertical > .btn:hover,
.btn-group > .btn:focus,
@@ -3599,191 +3719,96 @@ input[type="button"].btn-block {
.btn-group-vertical > .btn.active {
z-index: 2;
}
-
-.btn-group > .btn:focus,
-.btn-group-vertical > .btn:focus {
- outline: none;
-}
-
.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
margin-left: -1px;
}
-
-.btn-toolbar:before,
-.btn-toolbar:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
+.btn-toolbar {
+ margin-left: -5px;
}
-
-.btn-toolbar:after {
- clear: both;
-}
-
-.btn-toolbar:before,
-.btn-toolbar:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.btn-toolbar:after {
- clear: both;
-}
-
-.btn-toolbar .btn-group {
+.btn-toolbar .btn,
+.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 > .btn-group,
+.btn-toolbar > .input-group {
margin-left: 5px;
}
-
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
border-radius: 0;
}
-
.btn-group > .btn:first-child {
margin-left: 0;
}
-
.btn-group > .btn: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 > .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 {
border-radius: 0;
}
-
-.btn-group > .btn-group:first-child > .btn:last-child,
-.btn-group > .btn-group:first-child > .dropdown-toggle {
+.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
+.btn-group > .btn-group:first-child:not(:last-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:not(:first-child) > .btn: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: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 0px;
- padding: 1px 5px;
-}
-
-.btn-group-sm > .btn {
- padding: 5px 10px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 0px;
-}
-
-.btn-group-lg > .btn {
- padding: 10px 16px;
- font-size: 18px;
- line-height: 1.33;
- border-radius: 0px;
-}
-
.btn-group > .btn + .dropdown-toggle {
padding-left: 8px;
padding-right: 8px;
}
-
.btn-group > .btn-lg + .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);
}
-
+.btn-group.open .dropdown-toggle.btn-link {
+ -webkit-box-shadow: none;
+ box-shadow: none;
+}
.btn .caret {
margin-left: 0;
}
-
.btn-lg .caret {
border-width: 5px 5px 0;
border-bottom-width: 0;
}
-
.dropup .btn-lg .caret {
border-width: 0 5px 5px;
}
-
.btn-group-vertical > .btn,
-.btn-group-vertical > .btn-group {
+.btn-group-vertical > .btn-group,
+.btn-group-vertical > .btn-group > .btn {
display: block;
float: none;
width: 100%;
max-width: 100%;
}
-
-.btn-group-vertical > .btn-group:before,
-.btn-group-vertical > .btn-group:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.btn-group-vertical > .btn-group:after {
- clear: both;
-}
-
-.btn-group-vertical > .btn-group:before,
-.btn-group-vertical > .btn-group:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.btn-group-vertical > .btn-group:after {
- clear: both;
-}
-
.btn-group-vertical > .btn-group > .btn {
float: none;
}
-
.btn-group-vertical > .btn + .btn,
.btn-group-vertical > .btn + .btn-group,
.btn-group-vertical > .btn-group + .btn,
@@ -3791,96 +3816,97 @@ input[type="button"].btn-block {
margin-top: -1px;
margin-left: 0;
}
-
.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
border-radius: 0;
}
-
.btn-group-vertical > .btn:first-child:not(:last-child) {
- border-top-right-radius: 0px;
+ border-top-right-radius: 4px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
-
.btn-group-vertical > .btn:last-child:not(:first-child) {
- border-bottom-left-radius: 0px;
+ 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 {
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) > .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 {
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 > .btn-group {
float: none;
display: table-cell;
width: 1%;
}
-
-[data-toggle="buttons"] > .btn > input[type="radio"],
-[data-toggle="buttons"] > .btn > input[type="checkbox"] {
- display: none;
+.btn-group-justified > .btn-group .btn {
+ width: 100%;
+}
+.btn-group-justified > .btn-group .dropdown-menu {
+ left: auto;
+}
+[data-toggle="buttons"] > .btn input[type="radio"],
+[data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
+[data-toggle="buttons"] > .btn input[type="checkbox"],
+[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
+ position: absolute;
+ clip: rect(0, 0, 0, 0);
+ pointer-events: none;
}
-
.input-group {
position: relative;
display: table;
border-collapse: separate;
}
-
-.input-group.col {
+.input-group[class*="col-"] {
float: none;
padding-left: 0;
padding-right: 0;
}
-
.input-group .form-control {
+ position: relative;
+ z-index: 2;
+ 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: 45px;
- padding: 10px 16px;
+ height: 54px;
+ padding: 14px 16px;
font-size: 18px;
- line-height: 1.33;
- border-radius: 0px;
+ line-height: 1.3333333;
+ 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: 45px;
- line-height: 45px;
+ height: 54px;
+ line-height: 54px;
}
-
textarea.input-group-lg > .form-control,
textarea.input-group-lg > .input-group-addon,
-textarea.input-group-lg > .input-group-btn > .btn {
+textarea.input-group-lg > .input-group-btn > .btn,
+select[multiple].input-group-lg > .form-control,
+select[multiple].input-group-lg > .input-group-addon,
+select[multiple].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 {
@@ -3888,583 +3914,434 @@ textarea.input-group-lg > .input-group-btn > .btn {
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
- border-radius: 0px;
+ 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 {
+textarea.input-group-sm > .input-group-btn > .btn,
+select[multiple].input-group-sm > .form-control,
+select[multiple].input-group-sm > .input-group-addon,
+select[multiple].input-group-sm > .input-group-btn > .btn {
height: auto;
}
-
.input-group-addon,
.input-group-btn,
.input-group .form-control {
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) {
border-radius: 0;
}
-
.input-group-addon,
.input-group-btn {
width: 1%;
white-space: nowrap;
vertical-align: middle;
}
-
.input-group-addon {
- padding: 6px 12px;
+ padding: 8px 12px;
font-size: 14px;
font-weight: normal;
line-height: 1;
+ color: #272b30;
text-align: center;
- background-color: rgba(0, 0, 0, 0.8);
- border: 1px solid #228BF5;
- border-radius: 0px;
+ background-color: #999999;
+ border: 1px solid #cccccc;
+ border-radius: 4px;
}
-
.input-group-addon.input-sm {
padding: 5px 10px;
font-size: 12px;
- border-radius: 0px;
+ border-radius: 3px;
}
-
.input-group-addon.input-lg {
- padding: 10px 16px;
+ padding: 14px 16px;
font-size: 18px;
- border-radius: 0px;
+ border-radius: 6px;
}
-
.input-group-addon input[type="radio"],
.input-group-addon input[type="checkbox"] {
margin-top: 0;
}
-
.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:not(:last-child):not(.dropdown-toggle),
+.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
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-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:not(:first-child),
+.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
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 > .btn {
position: relative;
}
-
.input-group-btn > .btn + .btn {
- margin-left: -4px;
+ margin-left: -1px;
}
-
.input-group-btn > .btn:hover,
+.input-group-btn > .btn:focus,
.input-group-btn > .btn:active {
z-index: 2;
}
-
+.input-group-btn:first-child > .btn,
+.input-group-btn:first-child > .btn-group {
+ margin-right: -1px;
+}
+.input-group-btn:last-child > .btn,
+.input-group-btn:last-child > .btn-group {
+ z-index: 2;
+ margin-left: -1px;
+}
.nav {
margin-bottom: 0;
padding-left: 0;
list-style: none;
}
-
-.nav:before,
-.nav:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.nav:after {
- clear: both;
-}
-
-.nav:before,
-.nav:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.nav:after {
- clear: both;
-}
-
.nav > li {
position: relative;
display: block;
}
-
.nav > li > a {
position: relative;
display: block;
padding: 10px 15px;
}
-
.nav > li > a:hover,
.nav > li > a:focus {
text-decoration: none;
- background-color: #228BF5;
+ background-color: #3e444c;
}
-
.nav > li.disabled > a {
- color: #999999;
+ color: #7a8288;
}
-
.nav > li.disabled > a:hover,
.nav > li.disabled > a:focus {
- color: #999999;
+ color: #7a8288;
text-decoration: none;
background-color: transparent;
cursor: not-allowed;
}
-
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
- background-color: #228BF5;
- border-color: #228BF5;
+ background-color: #3e444c;
+ border-color: #ffffff;
}
-
.nav .nav-divider {
height: 1px;
margin: 9px 0;
overflow: hidden;
background-color: #e5e5e5;
}
-
.nav > li > a > img {
max-width: none;
}
-
.nav-tabs {
- border-bottom: 1px solid #135286;
+ border-bottom: 1px solid #1c1e22;
}
-
.nav-tabs > li {
float: left;
margin-bottom: -1px;
}
-
.nav-tabs > li > a {
margin-right: 2px;
- line-height: 1.428571429;
+ line-height: 1.42857143;
border: 1px solid transparent;
- border-radius: 0px 0px 0 0;
+ border-radius: 4px 4px 0 0;
}
-
.nav-tabs > li > a:hover {
- border-color: #228BF5 #228BF5 #135286;
+ border-color: #1c1e22 #1c1e22 #1c1e22;
}
-
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
- color: #228BF5;
- background-color: #111111;
- border: 1px solid #135286;
+ color: #ffffff;
+ background-color: #3e444c;
+ border: 1px solid #1c1e22;
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 {
- border-bottom: 1px solid #dddddd;
margin-right: 0;
+ border-radius: 4px;
}
-
-.nav-tabs.nav-justified > .active > a {
- border-bottom-color: #484848;
+.nav-tabs.nav-justified > .active > a,
+.nav-tabs.nav-justified > .active > a:hover,
+.nav-tabs.nav-justified > .active > a:focus {
+ border: 1px solid #1c1e22;
+}
+@media (min-width: 768px) {
+ .nav-tabs.nav-justified > li > a {
+ border-bottom: 1px solid #1c1e22;
+ 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: #272b30;
+ }
}
-
.nav-pills > li {
float: left;
}
-
.nav-pills > li > a {
- border-radius: 5px;
+ border-radius: 4px;
}
-
.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;
- background-color: #228BF5;
+ background-color: transparent;
}
-
.nav-stacked > li {
float: none;
}
-
.nav-stacked > li + li {
margin-top: 2px;
margin-left: 0;
}
-
.nav-justified {
width: 100%;
}
-
.nav-justified > li {
float: none;
}
-
.nav-justified > li > a {
text-align: center;
+ margin-bottom: 5px;
+}
+.nav-justified > .dropdown .dropdown-menu {
+ top: auto;
+ left: auto;
}
-
@media (min-width: 768px) {
.nav-justified > li {
display: table-cell;
width: 1%;
}
+ .nav-justified > li > a {
+ margin-bottom: 0;
+ }
}
-
.nav-tabs-justified {
border-bottom: 0;
}
-
.nav-tabs-justified > li > a {
- border-bottom: 1px solid #dddddd;
margin-right: 0;
+ border-radius: 4px;
}
-
-.nav-tabs-justified > .active > a {
- border-bottom-color: #484848;
+.nav-tabs-justified > .active > a,
+.nav-tabs-justified > .active > a:hover,
+.nav-tabs-justified > .active > a:focus {
+ border: 1px solid #1c1e22;
}
-
-.tabbable:before,
-.tabbable:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
+@media (min-width: 768px) {
+ .nav-tabs-justified > li > a {
+ border-bottom: 1px solid #1c1e22;
+ border-radius: 4px 4px 0 0;
+ }
+ .nav-tabs-justified > .active > a,
+ .nav-tabs-justified > .active > a:hover,
+ .nav-tabs-justified > .active > a:focus {
+ border-bottom-color: #272b30;
+ }
}
-
-.tabbable:after {
- clear: both;
-}
-
-.tabbable:before,
-.tabbable:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.tabbable:after {
- clear: both;
-}
-
-.tab-content > .tab-pane,
-.pill-content > .pill-pane {
+.tab-content > .tab-pane {
display: none;
}
-
-.tab-content > .active,
-.pill-content > .active {
+.tab-content > .active {
display: block;
}
-
-.nav .caret {
- border-top-color: #228BF5;
- border-bottom-color: #228BF5;
-}
-
-.nav a:hover .caret {
- border-top-color: #28C2E1;
- border-bottom-color: #28C2E1;
-}
-
.nav-tabs .dropdown-menu {
margin-top: -1px;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
-
.navbar {
position: relative;
- z-index: 1000;
min-height: 50px;
margin-bottom: 20px;
border: 1px solid transparent;
}
-
-.navbar:before,
-.navbar:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.navbar:after {
- clear: both;
-}
-
-.navbar:before,
-.navbar:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.navbar:after {
- clear: both;
-}
-
@media (min-width: 768px) {
.navbar {
- border-radius: 0px;
+ border-radius: 4px;
}
}
-
-.navbar-header:before,
-.navbar-header:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.navbar-header:after {
- clear: both;
-}
-
-.navbar-header:before,
-.navbar-header:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.navbar-header:after {
- clear: both;
-}
-
@media (min-width: 768px) {
.navbar-header {
float: left;
}
}
-
.navbar-collapse {
- max-height: 340px;
overflow-x: visible;
padding-right: 15px;
padding-left: 15px;
border-top: 1px solid transparent;
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
-webkit-overflow-scrolling: touch;
}
-
-.navbar-collapse:before,
-.navbar-collapse:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.navbar-collapse:after {
- clear: both;
-}
-
-.navbar-collapse:before,
-.navbar-collapse:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.navbar-collapse:after {
- clear: both;
-}
-
.navbar-collapse.in {
overflow-y: auto;
}
-
@media (min-width: 768px) {
.navbar-collapse {
width: auto;
border-top: 0;
+ -webkit-box-shadow: none;
box-shadow: none;
}
-
.navbar-collapse.collapse {
display: block !important;
height: auto !important;
padding-bottom: 0;
overflow: visible !important;
}
-
.navbar-collapse.in {
overflow-y: visible;
}
-
- .navbar-collapse .navbar-nav.navbar-left:first-child {
- margin-left: -15px;
- }
-
- .navbar-collapse .navbar-nav.navbar-right:last-child {
- margin-right: -15px;
- }
-
- .navbar-collapse .navbar-text:last-child {
- margin-right: 0;
+ .navbar-fixed-top .navbar-collapse,
+ .navbar-static-top .navbar-collapse,
+ .navbar-fixed-bottom .navbar-collapse {
+ padding-left: 0;
+ padding-right: 0;
+ }
+}
+.navbar-fixed-top .navbar-collapse,
+.navbar-fixed-bottom .navbar-collapse {
+ max-height: 340px;
+}
+@media (max-device-width: 480px) and (orientation: landscape) {
+ .navbar-fixed-top .navbar-collapse,
+ .navbar-fixed-bottom .navbar-collapse {
+ max-height: 200px;
}
}
-
.container > .navbar-header,
-.container > .navbar-collapse {
+.container-fluid > .navbar-header,
+.container > .navbar-collapse,
+.container-fluid > .navbar-collapse {
margin-right: -15px;
margin-left: -15px;
}
-
@media (min-width: 768px) {
.container > .navbar-header,
- .container > .navbar-collapse {
+ .container-fluid > .navbar-header,
+ .container > .navbar-collapse,
+ .container-fluid > .navbar-collapse {
margin-right: 0;
margin-left: 0;
}
}
-
.navbar-static-top {
+ z-index: 1000;
border-width: 0 0 1px;
}
-
@media (min-width: 768px) {
.navbar-static-top {
border-radius: 0;
}
}
-
.navbar-fixed-top,
.navbar-fixed-bottom {
position: fixed;
right: 0;
left: 0;
- border-width: 0 0 1px;
+ z-index: 1030;
}
-
@media (min-width: 768px) {
.navbar-fixed-top,
.navbar-fixed-bottom {
border-radius: 0;
}
}
-
.navbar-fixed-top {
- z-index: 1030;
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 {
text-decoration: none;
}
-
+.navbar-brand > img {
+ display: block;
+}
@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;
@@ -4473,37 +4350,35 @@ textarea.input-group-sm > .input-group-btn > .btn {
margin-top: 8px;
margin-bottom: 8px;
background-color: transparent;
+ background-image: none;
border: 1px solid transparent;
- border-radius: 0px;
+ border-radius: 4px;
+}
+.navbar-toggle:focus {
+ outline: 0;
}
-
.navbar-toggle .icon-bar {
display: block;
width: 22px;
height: 2px;
border-radius: 1px;
}
-
.navbar-toggle .icon-bar + .icon-bar {
margin-top: 4px;
}
-
@media (min-width: 768px) {
.navbar-toggle {
display: none;
}
}
-
.navbar-nav {
margin: 7.5px -15px;
}
-
.navbar-nav > li > a {
padding-top: 10px;
padding-bottom: 10px;
line-height: 20px;
}
-
@media (max-width: 767px) {
.navbar-nav .open .dropdown-menu {
position: static;
@@ -4512,50 +4387,34 @@ textarea.input-group-sm > .input-group-btn > .btn {
margin-top: 0;
background-color: transparent;
border: 0;
+ -webkit-box-shadow: none;
box-shadow: none;
}
-
.navbar-nav .open .dropdown-menu > li > a,
.navbar-nav .open .dropdown-menu .dropdown-header {
padding: 5px 15px 5px 25px;
}
-
.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 {
background-image: none;
}
}
-
@media (min-width: 768px) {
.navbar-nav {
float: left;
margin: 0;
}
-
.navbar-nav > li {
float: left;
}
-
.navbar-nav > li > a {
padding-top: 15px;
padding-bottom: 15px;
}
}
-
-@media (min-width: 768px) {
- .navbar-left {
- float: left !important;
- }
-
- .navbar-right {
- float: right !important;
- }
-}
-
.navbar-form {
margin-left: -15px;
margin-right: -15px;
@@ -4564,42 +4423,67 @@ textarea.input-group-sm > .input-group-btn > .btn {
border-bottom: 1px solid transparent;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
- margin-top: 8px;
- margin-bottom: 8px;
+ margin-top: 6px;
+ margin-bottom: 6px;
}
-
@media (min-width: 768px) {
.navbar-form .form-group {
display: inline-block;
margin-bottom: 0;
vertical-align: middle;
}
-
.navbar-form .form-control {
display: inline-block;
+ width: auto;
+ vertical-align: middle;
+ }
+ .navbar-form .form-control-static {
+ display: inline-block;
+ }
+ .navbar-form .input-group {
+ display: inline-table;
+ vertical-align: middle;
+ }
+ .navbar-form .input-group .input-group-addon,
+ .navbar-form .input-group .input-group-btn,
+ .navbar-form .input-group .form-control {
+ width: auto;
+ }
+ .navbar-form .input-group > .form-control {
+ width: 100%;
+ }
+ .navbar-form .control-label {
+ margin-bottom: 0;
+ vertical-align: middle;
}
-
.navbar-form .radio,
.navbar-form .checkbox {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
+ vertical-align: middle;
+ }
+ .navbar-form .radio label,
+ .navbar-form .checkbox label {
padding-left: 0;
}
-
.navbar-form .radio input[type="radio"],
.navbar-form .checkbox input[type="checkbox"] {
- float: none;
+ position: relative;
margin-left: 0;
}
+ .navbar-form .has-feedback .form-control-feedback {
+ top: 0;
+ }
}
-
@media (max-width: 767px) {
.navbar-form .form-group {
margin-bottom: 5px;
}
+ .navbar-form .form-group:last-child {
+ margin-bottom: 0;
+ }
}
-
@media (min-width: 768px) {
.navbar-form {
width: auto;
@@ -4612,349 +4496,310 @@ textarea.input-group-sm > .input-group-btn > .btn {
box-shadow: none;
}
}
-
.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 {
+ margin-bottom: 0;
+ border-top-right-radius: 4px;
+ border-top-left-radius: 4px;
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;
+ margin-top: 6px;
+ margin-bottom: 6px;
+}
+.navbar-btn.btn-sm {
+ margin-top: 10px;
+ margin-bottom: 10px;
+}
+.navbar-btn.btn-xs {
+ margin-top: 14px;
+ margin-bottom: 14px;
}
-
.navbar-text {
- float: left;
margin-top: 15px;
margin-bottom: 15px;
}
-
@media (min-width: 768px) {
.navbar-text {
+ float: left;
margin-left: 15px;
margin-right: 15px;
}
}
-
+@media (min-width: 768px) {
+ .navbar-left {
+ float: left !important;
+ }
+ .navbar-right {
+ float: right !important;
+ margin-right: -15px;
+ }
+ .navbar-right ~ .navbar-right {
+ margin-right: 0;
+ }
+}
.navbar-default {
- background-color: #111111;
- border-color: #000000;
+ background-color: #3a3f44;
+ border-color: #2b2e32;
}
-
.navbar-default .navbar-brand {
- color: #e5e5e5;
+ color: #c8c8c8;
}
-
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
- color: #cbcbcb;
- background-color: transparent;
+ color: #ffffff;
+ background-color: none;
}
-
.navbar-default .navbar-text {
- color: #111111;
+ color: #c8c8c8;
}
-
.navbar-default .navbar-nav > li > a {
- color: #e5e5e5;
+ color: #c8c8c8;
}
-
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
- color: #e5e5e5;
- background-color: #228BF5;
+ color: #ffffff;
+ background-color: #272b2e;
}
-
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
- color: #228BF5;
- background-color: rgba(26, 102, 188, 0.07);
+ color: #ffffff;
+ background-color: #272b2e;
}
-
.navbar-default .navbar-nav > .disabled > a,
.navbar-default .navbar-nav > .disabled > a:hover,
.navbar-default .navbar-nav > .disabled > a:focus {
- color: #c6c6c6;
+ color: #cccccc;
background-color: transparent;
}
-
.navbar-default .navbar-toggle {
- border-color: #dddddd;
+ border-color: #272b2e;
}
-
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
- background-color: #dddddd;
+ background-color: #272b2e;
}
-
.navbar-default .navbar-toggle .icon-bar {
- background-color: #cccccc;
+ background-color: #c8c8c8;
}
-
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
- border-color: #000000;
+ border-color: #2b2e32;
}
-
-.navbar-default .navbar-nav > .dropdown > a:hover .caret,
-.navbar-default .navbar-nav > .dropdown > a:focus .caret {
- border-top-color: #e5e5e5;
- border-bottom-color: #e5e5e5;
-}
-
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
- background-color: rgba(26, 102, 188, 0.07);
- color: #228BF5;
+ background-color: #272b2e;
+ color: #ffffff;
}
-
-.navbar-default .navbar-nav > .open > a .caret,
-.navbar-default .navbar-nav > .open > a:hover .caret,
-.navbar-default .navbar-nav > .open > a:focus .caret {
- border-top-color: #228BF5;
- border-bottom-color: #228BF5;
-}
-
-.navbar-default .navbar-nav > .dropdown > a .caret {
- border-top-color: #e5e5e5;
- border-bottom-color: #e5e5e5;
-}
-
@media (max-width: 767px) {
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
- color: #e5e5e5;
+ color: #c8c8c8;
}
-
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
- color: #e5e5e5;
- background-color: #228BF5;
+ color: #ffffff;
+ background-color: #272b2e;
}
-
.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: #228BF5;
- background-color: rgba(26, 102, 188, 0.07);
+ color: #ffffff;
+ background-color: #272b2e;
}
-
.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: #c6c6c6;
+ color: #cccccc;
background-color: transparent;
}
}
-
.navbar-default .navbar-link {
- color: #e5e5e5;
+ color: #c8c8c8;
}
-
.navbar-default .navbar-link:hover {
- color: #e5e5e5;
+ color: #ffffff;
+}
+.navbar-default .btn-link {
+ color: #c8c8c8;
+}
+.navbar-default .btn-link:hover,
+.navbar-default .btn-link:focus {
+ color: #ffffff;
+}
+.navbar-default .btn-link[disabled]:hover,
+fieldset[disabled] .navbar-default .btn-link:hover,
+.navbar-default .btn-link[disabled]:focus,
+fieldset[disabled] .navbar-default .btn-link:focus {
+ color: #cccccc;
}
-
.navbar-inverse {
- background-color: #228BF5;
- border-color: #148f77;
+ background-color: #7a8288;
+ border-color: #62686d;
}
-
.navbar-inverse .navbar-brand {
- color: #e5e5e5;
+ color: #cccccc;
}
-
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
color: #ffffff;
- background-color: transparent;
+ background-color: none;
}
-
.navbar-inverse .navbar-text {
- color: #999999;
+ color: #cccccc;
}
-
.navbar-inverse .navbar-nav > li > a {
- color: #e5e5e5;
+ color: #cccccc;
}
-
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
color: #ffffff;
- background-color: #111111;
+ background-color: #5d6368;
}
-
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
color: #ffffff;
- background-color: #14649D
+ background-color: #5d6368;
}
-
.navbar-inverse .navbar-nav > .disabled > a,
.navbar-inverse .navbar-nav > .disabled > a:hover,
.navbar-inverse .navbar-nav > .disabled > a:focus {
- color: #cbcbcb;
+ color: #cccccc;
background-color: transparent;
}
-
.navbar-inverse .navbar-toggle {
- border-color: #333333;
+ border-color: #5d6368;
}
-
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
- background-color: #333333;
+ background-color: #5d6368;
}
-
.navbar-inverse .navbar-toggle .icon-bar {
background-color: #ffffff;
}
-
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
- border-color: #169d82;
+ border-color: #697075;
}
-
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
- background-color: #14649D color : #ffffff;
+ background-color: #5d6368;
+ color: #ffffff;
}
-
-.navbar-inverse .navbar-nav > .dropdown > a:hover .caret {
- border-top-color: #ffffff;
- border-bottom-color: #ffffff;
-}
-
-.navbar-inverse .navbar-nav > .dropdown > a .caret {
- border-top-color: #e5e5e5;
- border-bottom-color: #e5e5e5;
-}
-
-.navbar-inverse .navbar-nav > .open > a .caret,
-.navbar-inverse .navbar-nav > .open > a:hover .caret,
-.navbar-inverse .navbar-nav > .open > a:focus .caret {
- border-top-color: #ffffff;
- border-bottom-color: #ffffff;
-}
-
@media (max-width: 767px) {
.navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
- border-color: #148f77;
+ border-color: #62686d;
+ }
+ .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
+ background-color: #62686d;
}
-
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
- color: #e5e5e5;
+ color: #cccccc;
}
-
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
color: #ffffff;
- background-color: #111111;
+ background-color: #5d6368;
}
-
.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: #14649D
+ background-color: #5d6368;
}
-
.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: #cbcbcb;
+ color: #cccccc;
background-color: transparent;
}
}
-
.navbar-inverse .navbar-link {
- color: #e5e5e5;
+ color: #cccccc;
}
-
.navbar-inverse .navbar-link:hover {
color: #ffffff;
}
-
+.navbar-inverse .btn-link {
+ color: #cccccc;
+}
+.navbar-inverse .btn-link:hover,
+.navbar-inverse .btn-link:focus {
+ color: #ffffff;
+}
+.navbar-inverse .btn-link[disabled]:hover,
+fieldset[disabled] .navbar-inverse .btn-link:hover,
+.navbar-inverse .btn-link[disabled]:focus,
+fieldset[disabled] .navbar-inverse .btn-link:focus {
+ color: #cccccc;
+}
.breadcrumb {
padding: 8px 15px;
margin-bottom: 20px;
list-style: none;
- background-color: #111111;
- border-radius: 0px;
+ background-color: transparent;
+ border-radius: 4px;
}
-
.breadcrumb > li {
display: inline-block;
}
-
.breadcrumb > li + li:before {
content: "/\00a0";
padding: 0 5px;
color: #cccccc;
}
-
.breadcrumb > .active {
- color: #adadad;
+ color: #7a8288;
}
-
.pagination {
display: inline-block;
padding-left: 0;
margin: 20px 0;
- border-radius: 0px;
+ border-radius: 4px;
}
-
.pagination > li {
display: inline;
}
-
.pagination > li > a,
.pagination > li > span {
position: relative;
float: left;
- padding: 6px 12px;
- line-height: 1.428571429;
+ padding: 8px 12px;
+ line-height: 1.42857143;
text-decoration: none;
- background-color: #111111;
- border: 1px solid #dddddd;
+ color: #ffffff;
+ background-color: #3a3f44;
+ border: 1px solid rgba(0, 0, 0, 0.6);
margin-left: -1px;
}
-
.pagination > li:first-child > a,
.pagination > li:first-child > span {
margin-left: 0;
- border-bottom-left-radius: 0px;
- border-top-left-radius: 0px;
+ border-bottom-left-radius: 4px;
+ border-top-left-radius: 4px;
}
-
.pagination > li:last-child > a,
.pagination > li:last-child > span {
- border-bottom-right-radius: 0px;
- border-top-right-radius: 0px;
+ border-bottom-right-radius: 4px;
+ border-top-right-radius: 4px;
}
-
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
- background-color: #228BF5;
+ z-index: 3;
+ color: #ffffff;
+ background-color: transparent;
+ border-color: rgba(0, 0, 0, 0.6);
}
-
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
@@ -4962,131 +4807,92 @@ textarea.input-group-sm > .input-group-btn > .btn {
.pagination > .active > a:focus,
.pagination > .active > span:focus {
z-index: 2;
- color: #f9f9f9;
- background-color: #228BF5;
- border-color: #228BF5;
+ color: #ffffff;
+ background-color: #232628;
+ border-color: rgba(0, 0, 0, 0.6);
cursor: default;
}
-
.pagination > .disabled > span,
+.pagination > .disabled > span:hover,
+.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
- color: #7a7a7a;
- background-color: #111111;
- border-color: #dddddd;
+ color: #7a8288;
+ background-color: #ffffff;
+ border-color: rgba(0, 0, 0, 0.6);
cursor: not-allowed;
}
-
.pagination-lg > li > a,
.pagination-lg > li > span {
- padding: 10px 16px;
+ padding: 14px 16px;
font-size: 18px;
+ line-height: 1.3333333;
}
-
.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
- border-bottom-left-radius: 0px;
- border-top-left-radius: 0px;
+ border-bottom-left-radius: 6px;
+ border-top-left-radius: 6px;
}
-
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
- border-bottom-right-radius: 0px;
- border-top-right-radius: 0px;
+ border-bottom-right-radius: 6px;
+ border-top-right-radius: 6px;
}
-
.pagination-sm > li > a,
.pagination-sm > li > span {
padding: 5px 10px;
font-size: 12px;
+ line-height: 1.5;
}
-
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
- border-bottom-left-radius: 0px;
- border-top-left-radius: 0px;
+ border-bottom-left-radius: 3px;
+ border-top-left-radius: 3px;
}
-
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
- border-bottom-right-radius: 0px;
- border-top-right-radius: 0px;
+ border-bottom-right-radius: 3px;
+ border-top-right-radius: 3px;
}
-
.pager {
padding-left: 0;
margin: 20px 0;
list-style: none;
text-align: center;
}
-
-.pager:before,
-.pager:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.pager:after {
- clear: both;
-}
-
-.pager:before,
-.pager:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.pager:after {
- clear: both;
-}
-
.pager li {
display: inline;
}
-
.pager li > a,
.pager li > span {
display: inline-block;
padding: 5px 14px;
- background-color: #111111;
- border: 1px solid #dddddd;
+ background-color: #3a3f44;
+ border: 1px solid rgba(0, 0, 0, 0.6);
border-radius: 15px;
}
-
.pager li > a:hover,
.pager li > a:focus {
text-decoration: none;
- background-color: #228BF5;
+ background-color: transparent;
}
-
.pager .next > a,
.pager .next > span {
float: right;
}
-
.pager .previous > a,
.pager .previous > span {
float: left;
}
-
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
- color: #7a7a7a;
- background-color: #111111;
+ color: #7a8288;
+ background-color: #3a3f44;
cursor: not-allowed;
}
-
.label {
display: inline;
padding: .2em .6em .3em;
@@ -5099,279 +4905,249 @@ textarea.input-group-sm > .input-group-btn > .btn {
vertical-align: baseline;
border-radius: .25em;
}
-
-.label[href]:hover,
-.label[href]:focus {
+a.label:hover,
+a.label:focus {
color: #ffffff;
text-decoration: none;
cursor: pointer;
}
-
.label:empty {
display: none;
}
-
-.label-default {
- background-color: #228BF5;
+.btn .label {
+ position: relative;
+ top: -1px;
+}
+.label-default {
+ background-color: #3a3f44;
}
-
.label-default[href]:hover,
.label-default[href]:focus {
- background-color: #148f77;
+ background-color: #232628;
}
-
.label-primary {
- background-color: #228BF5;
+ background-color: #7a8288;
}
-
.label-primary[href]:hover,
.label-primary[href]:focus {
- background-color: #148f77;
+ background-color: #62686d;
}
-
.label-success {
- background-color: #52d273;
+ background-color: #62c462;
}
-
.label-success[href]:hover,
.label-success[href]:focus {
- background-color: #32bf56;
+ background-color: #42b142;
}
-
.label-info {
- background-color: #46bcde;
+ background-color: #5bc0de;
}
-
.label-info[href]:hover,
.label-info[href]:focus {
- background-color: #24a7cd;
+ background-color: #31b0d5;
}
-
.label-warning {
- background-color: #e5c454;
+ background-color: #f89406;
}
-
.label-warning[href]:hover,
.label-warning[href]:focus {
- background-color: #deb528;
+ background-color: #c67605;
}
-
.label-danger {
- background-color: #e94f64;
+ background-color: #ee5f5b;
}
-
.label-danger[href]:hover,
.label-danger[href]:focus {
- background-color: #e3223c;
+ background-color: #e9322d;
}
-
.badge {
display: inline-block;
min-width: 10px;
padding: 3px 7px;
font-size: 12px;
- font-weight: 400;
+ font-weight: bold;
color: #ffffff;
line-height: 1;
- vertical-align: baseline;
+ vertical-align: middle;
white-space: nowrap;
text-align: center;
- background-color: #111111;
+ background-color: #7a8288;
border-radius: 10px;
}
-
.badge:empty {
display: none;
}
-
+.btn .badge {
+ position: relative;
+ top: -1px;
+}
+.btn-xs .badge,
+.btn-group-xs > .btn .badge {
+ top: 0;
+ padding: 1px 5px;
+}
a.badge:hover,
a.badge:focus {
color: #ffffff;
text-decoration: none;
cursor: pointer;
}
-
-.btn .badge {
- position: relative;
- top: -1px;
-}
-
-a.list-group-item.active > .badge,
+.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
- color: #228BF5;
- background-color: #ffffff;
+ color: #ffffff;
+ background-color: #7a8288;
+}
+.list-group-item > .badge {
+ float: right;
+}
+.list-group-item > .badge + .badge {
+ margin-right: 5px;
}
-
.nav-pills > li > a > .badge {
margin-left: 3px;
}
-
.jumbotron {
- padding: 30px;
+ padding-top: 30px;
+ padding-bottom: 30px;
margin-bottom: 30px;
+ color: inherit;
+ background-color: #1c1e22;
+}
+.jumbotron h1,
+.jumbotron .h1 {
+ color: inherit;
+}
+.jumbotron p {
+ margin-bottom: 15px;
font-size: 21px;
font-weight: 200;
- line-height: 2.1428571435;
- color: inherit;
- background-color: rgba(0, 0, 0, 0.5);
}
-
-.jumbotron h1 {
- line-height: 1;
- color: inherit;
+.jumbotron > hr {
+ border-top-color: #050506;
}
-
-.jumbotron p {
- line-height: 1.4;
+.container .jumbotron,
+.container-fluid .jumbotron {
+ border-radius: 6px;
}
-
-.container .jumbotron {
- border-radius: 0px;
+.jumbotron .container {
+ max-width: 100%;
}
-
@media screen and (min-width: 768px) {
.jumbotron {
padding-top: 48px;
padding-bottom: 48px;
}
-
- .container .jumbotron {
+ .container .jumbotron,
+ .container-fluid .jumbotron {
padding-left: 60px;
padding-right: 60px;
}
-
- .jumbotron h1 {
+ .jumbotron h1,
+ .jumbotron .h1 {
font-size: 63px;
}
}
-
.thumbnail {
+ display: block;
padding: 4px;
- line-height: 1.428571429;
- background-color: #111111;
- border: 1px solid rgba(48, 48, 48, 0.81);
- border-radius: 0px;
- -webkit-transition: all 0.2s ease-in-out;
- transition: all 0.2s ease-in-out;
- display: inline-block;
- max-width: 100%;
- height: auto;
- display: block;
+ margin-bottom: 20px;
+ line-height: 1.42857143;
+ background-color: #1c1e22;
+ border: 1px solid #0c0d0e;
+ border-radius: 4px;
+ -webkit-transition: border 0.2s ease-in-out;
+ -o-transition: border 0.2s ease-in-out;
+ transition: border 0.2s ease-in-out;
}
-
-.thumbnail > img {
- display: block;
- max-width: 100%;
- height: auto;
-}
-
-a.thumbnail:hover,
-a.thumbnail:focus {
- border-color: #228BF5;
-}
-
-.thumbnail > img {
+.thumbnail > img,
+.thumbnail a > img {
margin-left: auto;
margin-right: auto;
}
-
+a.thumbnail:hover,
+a.thumbnail:focus,
+a.thumbnail.active {
+ border-color: #ffffff;
+}
.thumbnail .caption {
padding: 9px;
- color: #e0e0e0;
+ color: #c8c8c8;
}
-
.alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
- border-radius: 0px;
+ border-radius: 4px;
}
-
.alert h4 {
margin-top: 0;
color: inherit;
}
-
.alert .alert-link {
font-weight: bold;
}
-
.alert > p,
.alert > ul {
margin-bottom: 0;
}
-
.alert > p + p {
margin-top: 5px;
}
-
-.alert-dismissable {
+.alert-dismissable,
+.alert-dismissible {
padding-right: 35px;
}
-
-.alert-dismissable .close {
+.alert-dismissable .close,
+.alert-dismissible .close {
position: relative;
top: -2px;
right: -21px;
color: inherit;
}
-
.alert-success {
- background-color: #52d273;
- border-color: #3d483e;
- color: #cbf2d5;
+ background-color: #62c462;
+ border-color: #62bd4f;
+ color: #ffffff;
}
-
.alert-success hr {
- border-top-color: #323a32;
+ border-top-color: #55b142;
}
-
.alert-success .alert-link {
- color: #a3e7b5;
+ color: #e6e6e6;
}
-
.alert-info {
- background-color: #46bcde;
- border-color: #384343;
- color: #c8ebf5;
+ background-color: #5bc0de;
+ border-color: #3dced8;
+ color: #ffffff;
}
-
.alert-info hr {
- border-top-color: #2c3536;
+ border-top-color: #2ac7d2;
}
-
.alert-info .alert-link {
- color: #9ddbed;
+ color: #e6e6e6;
}
-
.alert-warning {
- background-color: #585549;
- border-color: #504b42;
- color: #e5c454;
+ background-color: #f89406;
+ border-color: #e96506;
+ color: #ffffff;
}
-
.alert-warning hr {
- border-top-color: #423e37;
+ border-top-color: #d05a05;
}
-
.alert-warning .alert-link {
- color: #deb528;
+ color: #e6e6e6;
}
-
.alert-danger {
- background-color: #e94f64;
- border-color: #504246;
- color: #fad7dc;
+ background-color: #ee5f5b;
+ border-color: #ed4d63;
+ color: #ffffff;
}
-
.alert-danger hr {
- border-top-color: #42373a;
+ border-top-color: #ea364f;
}
-
.alert-danger .alert-link {
- color: #f4aab4;
+ color: #e6e6e6;
}
-
@-webkit-keyframes progress-bar-stripes {
from {
background-position: 40px 0;
@@ -5380,25 +5156,14 @@ a.thumbnail:focus {
background-position: 0 0;
}
}
-
-@-moz-keyframes progress-bar-stripes {
- from {
- background-position: 40px 0;
- }
- to {
- background-position: 0 0;
- }
-}
-
@-o-keyframes progress-bar-stripes {
from {
- background-position: 0 0;
- }
- to {
background-position: 40px 0;
}
+ to {
+ background-position: 0 0;
+ }
}
-
@keyframes progress-bar-stripes {
from {
background-position: 40px 0;
@@ -5407,480 +5172,739 @@ a.thumbnail:focus {
background-position: 0 0;
}
}
-
.progress {
overflow: hidden;
height: 20px;
margin-bottom: 20px;
- background-color: #111111;
- border-radius: 0px;
+ background-color: #1c1e22;
+ 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;
text-align: center;
- background-color: #228BF5;
+ background-color: #7a8288;
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
-webkit-transition: width 0.6s ease;
+ -o-transition: width 0.6s ease;
transition: width 0.6s ease;
}
-
-.progress-striped .progress-bar {
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
+.progress-striped .progress-bar,
+.progress-bar-striped {
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: -moz-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: -o-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);
+ -webkit-background-size: 40px 40px;
background-size: 40px 40px;
}
-
-.progress.active .progress-bar {
+.progress.active .progress-bar,
+.progress-bar.active {
-webkit-animation: progress-bar-stripes 2s linear infinite;
- -moz-animation: progress-bar-stripes 2s linear infinite;
- -ms-animation: progress-bar-stripes 2s linear infinite;
-o-animation: progress-bar-stripes 2s linear infinite;
animation: progress-bar-stripes 2s linear infinite;
}
-
.progress-bar-success {
- background-color: #52d273;
+ background-color: #62c462;
}
-
.progress-striped .progress-bar-success {
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
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: -moz-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: -o-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: #46bcde;
+ background-color: #5bc0de;
}
-
.progress-striped .progress-bar-info {
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
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: -moz-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: -o-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: #e5c454;
+ background-color: #f89406;
}
-
.progress-striped .progress-bar-warning {
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
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: -moz-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: -o-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: #e94f64;
+ background-color: #ee5f5b;
}
-
.progress-striped .progress-bar-danger {
- background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
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: -moz-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: -o-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 {
+.media {
margin-top: 15px;
}
-
.media:first-child {
margin-top: 0;
}
-
+.media,
+.media-body {
+ zoom: 1;
+ overflow: hidden;
+}
+.media-body {
+ width: 10000px;
+}
.media-object {
display: block;
}
-
-.media-heading {
- margin: 0 0 5px;
+.media-object.img-thumbnail {
+ max-width: none;
}
-
-.media > .pull-left {
- margin-right: 10px;
-}
-
+.media-right,
.media > .pull-right {
- margin-left: 10px;
+ padding-left: 10px;
+}
+.media-left,
+.media > .pull-left {
+ padding-right: 10px;
+}
+.media-left,
+.media-right,
+.media-body {
+ display: table-cell;
+ vertical-align: top;
+}
+.media-middle {
+ vertical-align: middle;
+}
+.media-bottom {
+ vertical-align: bottom;
+}
+.media-heading {
+ margin-top: 0;
+ margin-bottom: 5px;
}
-
.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: #191919;
- border: 1px solid rgba(48, 48, 48, 0.81);
+ background-color: #32383e;
+ border: 1px solid rgba(0, 0, 0, 0.6);
}
-
.list-group-item:first-child {
- border-top-right-radius: 0px;
- border-top-left-radius: 0px;
+ border-top-right-radius: 4px;
+ border-top-left-radius: 4px;
}
-
.list-group-item:last-child {
margin-bottom: 0;
- border-bottom-right-radius: 0px;
- border-bottom-left-radius: 0px;
+ border-bottom-right-radius: 4px;
+ border-bottom-left-radius: 4px;
}
-
-.list-group-item > .badge {
- float: right;
+a.list-group-item,
+button.list-group-item {
+ color: #c8c8c8;
}
-
-.list-group-item > .badge + .badge {
- margin-right: 5px;
+a.list-group-item .list-group-item-heading,
+button.list-group-item .list-group-item-heading {
+ color: #ffffff;
}
-
-a.list-group-item {
- color: #f9f9f9;
-}
-
-a.list-group-item .list-group-item-heading {
- color: #f9f9f9;
-}
-
a.list-group-item:hover,
-a.list-group-item:focus {
+button.list-group-item:hover,
+a.list-group-item:focus,
+button.list-group-item:focus {
text-decoration: none;
- background-color: #228BF5;
+ color: #c8c8c8;
+ background-color: #3e444c;
+}
+button.list-group-item {
+ width: 100%;
+ text-align: left;
+}
+.list-group-item.disabled,
+.list-group-item.disabled:hover,
+.list-group-item.disabled:focus {
+ background-color: #999999;
+ color: #7a8288;
+ cursor: not-allowed;
+}
+.list-group-item.disabled .list-group-item-heading,
+.list-group-item.disabled:hover .list-group-item-heading,
+.list-group-item.disabled:focus .list-group-item-heading {
+ color: inherit;
+}
+.list-group-item.disabled .list-group-item-text,
+.list-group-item.disabled:hover .list-group-item-text,
+.list-group-item.disabled:focus .list-group-item-text {
+ color: #7a8288;
}
-
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
z-index: 2;
color: #ffffff;
- background-color: #228BF5;
- border-color: #228BF5;
+ background-color: #3e444c;
+ border-color: rgba(0, 0, 0, 0.6);
}
-
.list-group-item.active .list-group-item-heading,
.list-group-item.active:hover .list-group-item-heading,
-.list-group-item.active:focus .list-group-item-heading {
+.list-group-item.active:focus .list-group-item-heading,
+.list-group-item.active .list-group-item-heading > small,
+.list-group-item.active:hover .list-group-item-heading > small,
+.list-group-item.active:focus .list-group-item-heading > small,
+.list-group-item.active .list-group-item-heading > .small,
+.list-group-item.active:hover .list-group-item-heading > .small,
+.list-group-item.active:focus .list-group-item-heading > .small {
color: inherit;
}
-
.list-group-item.active .list-group-item-text,
.list-group-item.active:hover .list-group-item-text,
.list-group-item.active:focus .list-group-item-text {
- color: #aef4e6;
+ color: #a2aab4;
+}
+.list-group-item-success {
+ color: #ffffff;
+ background-color: #62c462;
+}
+a.list-group-item-success,
+button.list-group-item-success {
+ color: #ffffff;
+}
+a.list-group-item-success .list-group-item-heading,
+button.list-group-item-success .list-group-item-heading {
+ color: inherit;
+}
+a.list-group-item-success:hover,
+button.list-group-item-success:hover,
+a.list-group-item-success:focus,
+button.list-group-item-success:focus {
+ color: #ffffff;
+ background-color: #4fbd4f;
+}
+a.list-group-item-success.active,
+button.list-group-item-success.active,
+a.list-group-item-success.active:hover,
+button.list-group-item-success.active:hover,
+a.list-group-item-success.active:focus,
+button.list-group-item-success.active:focus {
+ color: #fff;
+ background-color: #ffffff;
+ border-color: #ffffff;
+}
+.list-group-item-info {
+ color: #ffffff;
+ background-color: #5bc0de;
+}
+a.list-group-item-info,
+button.list-group-item-info {
+ color: #ffffff;
+}
+a.list-group-item-info .list-group-item-heading,
+button.list-group-item-info .list-group-item-heading {
+ color: inherit;
+}
+a.list-group-item-info:hover,
+button.list-group-item-info:hover,
+a.list-group-item-info:focus,
+button.list-group-item-info:focus {
+ color: #ffffff;
+ background-color: #46b8da;
+}
+a.list-group-item-info.active,
+button.list-group-item-info.active,
+a.list-group-item-info.active:hover,
+button.list-group-item-info.active:hover,
+a.list-group-item-info.active:focus,
+button.list-group-item-info.active:focus {
+ color: #fff;
+ background-color: #ffffff;
+ border-color: #ffffff;
+}
+.list-group-item-warning {
+ color: #ffffff;
+ background-color: #f89406;
+}
+a.list-group-item-warning,
+button.list-group-item-warning {
+ color: #ffffff;
+}
+a.list-group-item-warning .list-group-item-heading,
+button.list-group-item-warning .list-group-item-heading {
+ color: inherit;
+}
+a.list-group-item-warning:hover,
+button.list-group-item-warning:hover,
+a.list-group-item-warning:focus,
+button.list-group-item-warning:focus {
+ color: #ffffff;
+ background-color: #df8505;
+}
+a.list-group-item-warning.active,
+button.list-group-item-warning.active,
+a.list-group-item-warning.active:hover,
+button.list-group-item-warning.active:hover,
+a.list-group-item-warning.active:focus,
+button.list-group-item-warning.active:focus {
+ color: #fff;
+ background-color: #ffffff;
+ border-color: #ffffff;
+}
+.list-group-item-danger {
+ color: #ffffff;
+ background-color: #ee5f5b;
+}
+a.list-group-item-danger,
+button.list-group-item-danger {
+ color: #ffffff;
+}
+a.list-group-item-danger .list-group-item-heading,
+button.list-group-item-danger .list-group-item-heading {
+ color: inherit;
+}
+a.list-group-item-danger:hover,
+button.list-group-item-danger:hover,
+a.list-group-item-danger:focus,
+button.list-group-item-danger:focus {
+ color: #ffffff;
+ background-color: #ec4844;
+}
+a.list-group-item-danger.active,
+button.list-group-item-danger.active,
+a.list-group-item-danger.active:hover,
+button.list-group-item-danger.active:hover,
+a.list-group-item-danger.active:focus,
+button.list-group-item-danger.active:focus {
+ color: #fff;
+ background-color: #ffffff;
+ border-color: #ffffff;
}
-
.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: rgba(0, 0, 0, 0.3);
+ background-color: #2e3338;
border: 1px solid transparent;
- border-radius: 0px;
+ 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;
}
-
-.panel-body:before,
-.panel-body:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.panel-body:after {
- clear: both;
-}
-
-.panel-body:before,
-.panel-body:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.panel-body:after {
- clear: both;
-}
-
-.panel > .list-group {
- margin-bottom: 0;
-}
-
-.panel > .list-group .list-group-item {
- border-width: 1px 0;
-}
-
-.panel > .list-group .list-group-item:first-child {
- border-top-right-radius: 0;
- border-top-left-radius: 0;
-}
-
-.panel > .list-group .list-group-item:last-child {
- border-bottom: 0;
-}
-
-.panel-heading + .list-group .list-group-item:first-child {
- border-top-width: 0;
-}
-
-.panel > .table {
- margin-bottom: 0;
-}
-
-.panel > .panel-body + .table {
- border-top: 1px solid rgba(48, 48, 48, 0.81);
-}
-
.panel-heading {
padding: 10px 15px;
border-bottom: 1px solid transparent;
- border-top-right-radius: -1px;
- border-top-left-radius: -1px;
+ border-top-right-radius: 3px;
+ border-top-left-radius: 3px;
+}
+.panel-heading > .dropdown .dropdown-toggle {
+ color: inherit;
}
-
.panel-title {
margin-top: 0;
margin-bottom: 0;
font-size: 16px;
-}
-
-.panel-title > a {
color: inherit;
}
-
+.panel-title > a,
+.panel-title > small,
+.panel-title > .small,
+.panel-title > small > a,
+.panel-title > .small > a {
+ color: inherit;
+}
.panel-footer {
padding: 10px 15px;
- background-color: #111111;
- border-top: 1px solid #dddddd;
- border-bottom-right-radius: -1px;
- border-bottom-left-radius: -1px;
+ background-color: #3e444c;
+ border-top: 1px solid rgba(0, 0, 0, 0.6);
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.panel > .list-group,
+.panel > .panel-collapse > .list-group {
+ margin-bottom: 0;
+}
+.panel > .list-group .list-group-item,
+.panel > .panel-collapse > .list-group .list-group-item {
+ border-width: 1px 0;
+ border-radius: 0;
+}
+.panel > .list-group:first-child .list-group-item:first-child,
+.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
+ border-top: 0;
+ border-top-right-radius: 3px;
+ border-top-left-radius: 3px;
+}
+.panel > .list-group:last-child .list-group-item:last-child,
+.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
+ border-bottom: 0;
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
+ border-top-right-radius: 0;
+ border-top-left-radius: 0;
+}
+.panel-heading + .list-group .list-group-item:first-child {
+ border-top-width: 0;
+}
+.list-group + .panel-footer {
+ border-top-width: 0;
+}
+.panel > .table,
+.panel > .table-responsive > .table,
+.panel > .panel-collapse > .table {
+ margin-bottom: 0;
+}
+.panel > .table caption,
+.panel > .table-responsive > .table caption,
+.panel > .panel-collapse > .table caption {
+ padding-left: 15px;
+ padding-right: 15px;
+}
+.panel > .table:first-child,
+.panel > .table-responsive:first-child > .table:first-child {
+ border-top-right-radius: 3px;
+ border-top-left-radius: 3px;
+}
+.panel > .table:first-child > thead:first-child > tr:first-child,
+.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
+.panel > .table:first-child > tbody:first-child > tr:first-child,
+.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
+}
+.panel > .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 td:first-child,
+.panel > .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 td:first-child,
+.panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
+.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
+.panel > .table:first-child > tbody:first-child > tr:first-child th: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-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
+.panel > .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 td:last-child,
+.panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
+.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
+.panel > .table:first-child > tbody:first-child > tr:first-child th: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,
+.panel > .table-responsive:last-child > .table:last-child {
+ border-bottom-right-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+.panel > .table:last-child > tbody:last-child > tr:last-child,
+.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
+.panel > .table:last-child > tfoot:last-child > tr:last-child,
+.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+.panel > .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 td:first-child,
+.panel > .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 td:first-child,
+.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
+.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
+.panel > .table:last-child > tfoot:last-child > tr:last-child th: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-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
+.panel > .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 td:last-child,
+.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
+.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
+.panel > .table:last-child > tfoot:last-child > tr:last-child th: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,
+.panel > .table + .panel-body,
+.panel > .table-responsive + .panel-body {
+ border-top: 1px solid #1c1e22;
+}
+.panel > .table > tbody:first-child > tr:first-child th,
+.panel > .table > tbody:first-child > tr:first-child td {
+ border-top: 0;
+}
+.panel > .table-bordered,
+.panel > .table-responsive > .table-bordered {
+ border: 0;
+}
+.panel > .table-bordered > thead > tr > th:first-child,
+.panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
+.panel > .table-bordered > tbody > tr > th:first-child,
+.panel > .table-responsive > .table-bordered > tbody > tr > th: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-responsive > .table-bordered > thead > tr > td:first-child,
+.panel > .table-bordered > tbody > tr > td: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 > 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 > tbody > tr > th:last-child,
+.panel > .table-responsive > .table-bordered > tbody > tr > th: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-responsive > .table-bordered > thead > tr > td:last-child,
+.panel > .table-bordered > tbody > tr > td: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 > td:last-child {
+ border-right: 0;
+}
+.panel > .table-bordered > thead > tr:first-child > td,
+.panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
+.panel > .table-bordered > tbody > tr:first-child > td,
+.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
+.panel > .table-bordered > thead > tr:first-child > th,
+.panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
+.panel > .table-bordered > tbody > tr:first-child > th,
+.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
+ border-bottom: 0;
+}
+.panel > .table-bordered > tbody > tr:last-child > td,
+.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 > td,
+.panel > .table-bordered > tbody > tr:last-child > th,
+.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
+.panel > .table-bordered > tfoot > tr:last-child > th,
+.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
+ border-bottom: 0;
+}
+.panel > .table-responsive {
+ border: 0;
+ margin-bottom: 0;
+}
+.panel-group {
+ margin-bottom: 20px;
}
-
.panel-group .panel {
margin-bottom: 0;
- border-radius: 0px;
- overflow: hidden;
+ border-radius: 4px;
}
-
.panel-group .panel + .panel {
margin-top: 5px;
}
-
.panel-group .panel-heading {
border-bottom: 0;
}
-
-.panel-group .panel-heading + .panel-collapse .panel-body {
- border-top: 1px solid #dddddd;
+.panel-group .panel-heading + .panel-collapse > .panel-body,
+.panel-group .panel-heading + .panel-collapse > .list-group {
+ border-top: 1px solid rgba(0, 0, 0, 0.6);
}
-
.panel-group .panel-footer {
border-top: 0;
}
-
.panel-group .panel-footer + .panel-collapse .panel-body {
- border-bottom: 1px solid #dddddd;
+ border-bottom: 1px solid rgba(0, 0, 0, 0.6);
}
-
.panel-default {
- border-color: #dddddd;
+ border-color: rgba(0, 0, 0, 0.6);
}
-
.panel-default > .panel-heading {
- color: #333333;
- background-color: #f5f5f5;
- border-color: #dddddd;
+ color: #c8c8c8;
+ background-color: #3e444c;
+ border-color: rgba(0, 0, 0, 0.6);
}
-
-.panel-default > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #dddddd;
+.panel-default > .panel-heading + .panel-collapse > .panel-body {
+ border-top-color: rgba(0, 0, 0, 0.6);
}
-
-.panel-default > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #dddddd;
+.panel-default > .panel-heading .badge {
+ color: #3e444c;
+ background-color: #c8c8c8;
+}
+.panel-default > .panel-footer + .panel-collapse > .panel-body {
+ border-bottom-color: rgba(0, 0, 0, 0.6);
}
-
.panel-primary {
- border-color: #228BF5;
+ border-color: rgba(0, 0, 0, 0.6);
}
-
.panel-primary > .panel-heading {
color: #ffffff;
- background-color: #228BF5;
- border-color: #228BF5;
+ background-color: #7a8288;
+ border-color: rgba(0, 0, 0, 0.6);
}
-
-.panel-primary > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #228BF5;
+.panel-primary > .panel-heading + .panel-collapse > .panel-body {
+ border-top-color: rgba(0, 0, 0, 0.6);
}
-
-.panel-primary > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #228BF5;
+.panel-primary > .panel-heading .badge {
+ color: #7a8288;
+ background-color: #ffffff;
+}
+.panel-primary > .panel-footer + .panel-collapse > .panel-body {
+ border-bottom-color: rgba(0, 0, 0, 0.6);
}
-
.panel-success {
- border-color: #52d273;
+ border-color: rgba(0, 0, 0, 0.6);
}
-
.panel-success > .panel-heading {
- color: #cbf2d5;
- background-color: #52d273;
- border-color: #52d273;
+ color: #ffffff;
+ background-color: #62c462;
+ border-color: rgba(0, 0, 0, 0.6);
}
-
-.panel-success > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #52d273;
+.panel-success > .panel-heading + .panel-collapse > .panel-body {
+ border-top-color: rgba(0, 0, 0, 0.6);
}
-
-.panel-success > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #52d273;
+.panel-success > .panel-heading .badge {
+ color: #62c462;
+ background-color: #ffffff;
}
-
-.panel-warning {
- border-color: #e5c454;
+.panel-success > .panel-footer + .panel-collapse > .panel-body {
+ border-bottom-color: rgba(0, 0, 0, 0.6);
}
-
-.panel-warning > .panel-heading {
- color: #f9f2d9;
- background-color: #e5c454;
- border-color: #e5c454;
-}
-
-.panel-warning > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #e5c454;
-}
-
-.panel-warning > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #e5c454;
-}
-
-.panel-danger {
- border-color: #e94f64;
-}
-
-.panel-danger > .panel-heading {
- color: #fad7dc;
- background-color: #e94f64;
- border-color: #e94f64;
-}
-
-.panel-danger > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #e94f64;
-}
-
-.panel-danger > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #e94f64;
-}
-
.panel-info {
- border-color: #46bcde;
+ border-color: rgba(0, 0, 0, 0.6);
}
-
.panel-info > .panel-heading {
- color: #c8ebf5;
- background-color: #46bcde;
- border-color: #46bcde;
+ color: #ffffff;
+ background-color: #5bc0de;
+ border-color: rgba(0, 0, 0, 0.6);
}
-
-.panel-info > .panel-heading + .panel-collapse .panel-body {
- border-top-color: #46bcde;
+.panel-info > .panel-heading + .panel-collapse > .panel-body {
+ border-top-color: rgba(0, 0, 0, 0.6);
}
-
-.panel-info > .panel-footer + .panel-collapse .panel-body {
- border-bottom-color: #46bcde;
+.panel-info > .panel-heading .badge {
+ color: #5bc0de;
+ background-color: #ffffff;
+}
+.panel-info > .panel-footer + .panel-collapse > .panel-body {
+ border-bottom-color: rgba(0, 0, 0, 0.6);
+}
+.panel-warning {
+ border-color: rgba(0, 0, 0, 0.6);
+}
+.panel-warning > .panel-heading {
+ color: #ffffff;
+ background-color: #f89406;
+ border-color: rgba(0, 0, 0, 0.6);
+}
+.panel-warning > .panel-heading + .panel-collapse > .panel-body {
+ border-top-color: rgba(0, 0, 0, 0.6);
+}
+.panel-warning > .panel-heading .badge {
+ color: #f89406;
+ background-color: #ffffff;
+}
+.panel-warning > .panel-footer + .panel-collapse > .panel-body {
+ border-bottom-color: rgba(0, 0, 0, 0.6);
+}
+.panel-danger {
+ border-color: rgba(0, 0, 0, 0.6);
+}
+.panel-danger > .panel-heading {
+ color: #ffffff;
+ background-color: #ee5f5b;
+ border-color: rgba(0, 0, 0, 0.6);
+}
+.panel-danger > .panel-heading + .panel-collapse > .panel-body {
+ border-top-color: rgba(0, 0, 0, 0.6);
+}
+.panel-danger > .panel-heading .badge {
+ color: #ee5f5b;
+ background-color: #ffffff;
+}
+.panel-danger > .panel-footer + .panel-collapse > .panel-body {
+ border-bottom-color: rgba(0, 0, 0, 0.6);
+}
+.embed-responsive {
+ position: relative;
+ display: block;
+ height: 0;
+ padding: 0;
+ overflow: hidden;
+}
+.embed-responsive .embed-responsive-item,
+.embed-responsive iframe,
+.embed-responsive embed,
+.embed-responsive object,
+.embed-responsive video {
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ height: 100%;
+ width: 100%;
+ border: 0;
+}
+.embed-responsive-16by9 {
+ padding-bottom: 56.25%;
+}
+.embed-responsive-4by3 {
+ padding-bottom: 75%;
}
-
.well {
min-height: 20px;
padding: 19px;
margin-bottom: 20px;
- background-color: #111111;
- border: 1px solid #000000;
- border-radius: 0px;
+ background-color: #1c1e22;
+ border: 1px solid #0c0d0e;
+ border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
-
.well blockquote {
border-color: #ddd;
border-color: rgba(0, 0, 0, 0.15);
}
-
.well-lg {
padding: 24px;
- border-radius: 0px;
+ border-radius: 6px;
}
-
.well-sm {
padding: 9px;
- border-radius: 0px;
+ border-radius: 3px;
}
-
.close {
float: right;
font-size: 21px;
font-weight: bold;
line-height: 1;
- color: #f9f9f9;
- text-shadow: none;
+ color: #000000;
+ text-shadow: 0 1px 0 #ffffff;
opacity: 0.2;
filter: alpha(opacity=20);
}
-
.close:hover,
.close:focus {
- color: #f9f9f9;
+ color: #000000;
text-decoration: none;
cursor: pointer;
opacity: 0.5;
filter: alpha(opacity=50);
}
-
button.close {
padding: 0;
cursor: pointer;
@@ -5888,214 +5912,181 @@ button.close {
border: 0;
-webkit-appearance: none;
}
-
.modal-open {
overflow: hidden;
}
-
-body.modal-open,
-.modal-open .navbar-fixed-top,
-.modal-open .navbar-fixed-bottom {
- margin-right: 15px;
-}
-
.modal {
display: none;
- overflow: auto;
- overflow-y: scroll;
+ overflow: hidden;
position: fixed;
top: 0;
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%);
-ms-transform: translate(0, -25%);
+ -o-transform: translate(0, -25%);
transform: translate(0, -25%);
-webkit-transition: -webkit-transform 0.3s ease-out;
- -moz-transition: -moz-transform 0.3s ease-out;
-o-transition: -o-transform 0.3s ease-out;
transition: transform 0.3s ease-out;
}
-
.modal.in .modal-dialog {
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
+ -o-transform: translate(0, 0);
transform: translate(0, 0);
}
-
-.modal-dialog {
- margin-left: auto;
- margin-right: auto;
- width: auto;
- padding: 10px;
- z-index: 1050;
+.modal-open .modal {
+ overflow-x: hidden;
+ overflow-y: auto;
+}
+.modal-dialog {
+ position: relative;
+ width: auto;
+ margin: 10px;
}
-
.modal-content {
position: relative;
- background-color: #111111;
+ background-color: #2e3338;
border: 1px solid #999999;
border: 1px solid rgba(0, 0, 0, 0.2);
- border-radius: 0px;
+ border-radius: 6px;
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
+ -webkit-background-clip: padding-box;
background-clip: padding-box;
- outline: none;
+ outline: 0;
}
-
.modal-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
- z-index: 1030;
+ z-index: 1040;
background-color: #000000;
}
-
.modal-backdrop.fade {
opacity: 0;
filter: alpha(opacity=0);
}
-
.modal-backdrop.in {
opacity: 0.5;
filter: alpha(opacity=50);
}
-
.modal-header {
padding: 15px;
- border-bottom: 1px solid rgba(48, 48, 48, 0.81);
- min-height: 16.428571429px;
+ border-bottom: 1px solid #1c1e22;
+ min-height: 16.42857143px;
}
-
.modal-header .close {
margin-top: -2px;
}
-
.modal-title {
margin: 0;
- line-height: 1.428571429;
+ line-height: 1.42857143;
}
-
.modal-body {
position: relative;
padding: 20px;
}
-
.modal-footer {
- margin-top: 15px;
- padding: 19px 20px 20px;
+ padding: 20px;
text-align: right;
- border-top: 1px solid rgba(48, 48, 48, 0.81);
+ border-top: 1px solid #1c1e22;
}
-
-.modal-footer:before,
-.modal-footer:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.modal-footer:after {
- clear: both;
-}
-
-.modal-footer:before,
-.modal-footer:after {
- content: " ";
- /* 1 */
-
- display: table;
- /* 2 */
-
-}
-
-.modal-footer:after {
- clear: both;
-}
-
.modal-footer .btn + .btn {
margin-left: 5px;
margin-bottom: 0;
}
-
.modal-footer .btn-group .btn + .btn {
margin-left: -1px;
}
-
.modal-footer .btn-block + .btn-block {
margin-left: 0;
}
-
-@media screen and (min-width: 768px) {
+.modal-scrollbar-measure {
+ position: absolute;
+ top: -9999px;
+ width: 50px;
+ height: 50px;
+ overflow: scroll;
+}
+@media (min-width: 768px) {
.modal-dialog {
- left: 50%;
- right: auto;
width: 600px;
- padding-top: 30px;
- padding-bottom: 30px;
+ 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;
- z-index: 1030;
+ z-index: 1070;
display: block;
- visibility: visible;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-style: normal;
+ font-weight: normal;
+ letter-spacing: normal;
+ line-break: auto;
+ line-height: 1.42857143;
+ text-align: left;
+ text-align: start;
+ text-decoration: none;
+ text-shadow: none;
+ text-transform: none;
+ white-space: normal;
+ word-break: normal;
+ word-spacing: normal;
+ word-wrap: normal;
font-size: 12px;
- line-height: 1.4;
opacity: 0;
filter: alpha(opacity=0);
}
-
.tooltip.in {
opacity: 0.9;
filter: alpha(opacity=90);
}
-
.tooltip.top {
margin-top: -3px;
padding: 5px 0;
}
-
.tooltip.right {
margin-left: 3px;
padding: 0 5px;
}
-
.tooltip.bottom {
margin-top: 3px;
padding: 5px 0;
}
-
.tooltip.left {
margin-left: -3px;
padding: 0 5px;
}
-
.tooltip-inner {
max-width: 200px;
padding: 3px 8px;
color: #ffffff;
text-align: center;
- text-decoration: none;
- background-color: #1A73BC;
- border-radius: 0px;
+ background-color: #000000;
+ border-radius: 4px;
}
-
.tooltip-arrow {
position: absolute;
width: 0;
@@ -6103,119 +6094,120 @@ body.modal-open,
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: #1A73BC;
+ border-top-color: #000000;
}
-
.tooltip.top-left .tooltip-arrow {
bottom: 0;
- left: 5px;
+ right: 5px;
+ margin-bottom: -5px;
border-width: 5px 5px 0;
- border-top-color: #1A73BC;
+ border-top-color: #000000;
}
-
.tooltip.top-right .tooltip-arrow {
bottom: 0;
- right: 5px;
+ left: 5px;
+ margin-bottom: -5px;
border-width: 5px 5px 0;
- border-top-color: #1A73BC;
+ border-top-color: #000000;
}
-
.tooltip.right .tooltip-arrow {
top: 50%;
left: 0;
margin-top: -5px;
border-width: 5px 5px 5px 0;
- border-right-color: #1A73BC;
+ border-right-color: #000000;
}
-
.tooltip.left .tooltip-arrow {
top: 50%;
right: 0;
margin-top: -5px;
border-width: 5px 0 5px 5px;
- border-left-color: #1A73BC;
+ border-left-color: #000000;
}
-
.tooltip.bottom .tooltip-arrow {
top: 0;
left: 50%;
margin-left: -5px;
border-width: 0 5px 5px;
- border-bottom-color: #1A73BC;
+ border-bottom-color: #000000;
}
-
.tooltip.bottom-left .tooltip-arrow {
top: 0;
- left: 5px;
+ right: 5px;
+ margin-top: -5px;
border-width: 0 5px 5px;
- border-bottom-color: #1A73BC;
+ border-bottom-color: #000000;
}
-
.tooltip.bottom-right .tooltip-arrow {
top: 0;
- right: 5px;
+ left: 5px;
+ margin-top: -5px;
border-width: 0 5px 5px;
- border-bottom-color: #1A73BC;
+ border-bottom-color: #000000;
}
-
.popover {
position: absolute;
top: 0;
left: 0;
- z-index: 1010;
+ z-index: 1060;
display: none;
max-width: 276px;
padding: 1px;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-style: normal;
+ font-weight: normal;
+ letter-spacing: normal;
+ line-break: auto;
+ line-height: 1.42857143;
text-align: left;
- background-color: #228BF5;
+ text-align: start;
+ text-decoration: none;
+ text-shadow: none;
+ text-transform: none;
+ white-space: normal;
+ word-break: normal;
+ word-spacing: normal;
+ word-wrap: normal;
+ font-size: 14px;
+ background-color: #2e3338;
+ -webkit-background-clip: padding-box;
background-clip: padding-box;
- border: 1px solid #cccccc;
+ border: 1px solid #999999;
border: 1px solid rgba(0, 0, 0, 0.2);
- border-radius: 0px;
+ border-radius: 6px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
- white-space: normal;
}
-
.popover.top {
margin-top: -10px;
}
-
.popover.right {
margin-left: 10px;
}
-
.popover.bottom {
margin-top: 10px;
}
-
.popover.left {
margin-left: -10px;
}
-
.popover-title {
margin: 0;
padding: 8px 14px;
font-size: 14px;
- font-weight: normal;
- line-height: 18px;
- background-color: #18af91;
- border-bottom: 1px solid #155B98;
+ background-color: #2e3338;
+ border-bottom: 1px solid #22262a;
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;
@@ -6223,217 +6215,224 @@ body.modal-open,
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;
- border-top-color: #999999;
+ border-top-color: #666666;
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: #228BF5;
+ border-top-color: #2e3338;
}
-
-.popover.right .arrow {
+.popover.right > .arrow {
top: 50%;
left: -11px;
margin-top: -11px;
border-left-width: 0;
- border-right-color: #999999;
+ border-right-color: #666666;
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: #228BF5;
+ border-right-color: #2e3338;
}
-
-.popover.bottom .arrow {
+.popover.bottom > .arrow {
left: 50%;
margin-left: -11px;
border-top-width: 0;
- border-bottom-color: #999999;
+ border-bottom-color: #666666;
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: #228BF5;
+ border-bottom-color: #2e3338;
}
-
-.popover.left .arrow {
+.popover.left > .arrow {
top: 50%;
right: -11px;
margin-top: -11px;
border-right-width: 0;
- border-left-color: #999999;
+ border-left-color: #666666;
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: #228BF5;
+ border-left-color: #2e3338;
bottom: -10px;
}
-
.carousel {
position: relative;
}
-
.carousel-inner {
position: relative;
overflow: hidden;
width: 100%;
}
-
.carousel-inner > .item {
display: none;
position: relative;
-webkit-transition: 0.6s ease-in-out left;
+ -o-transition: 0.6s ease-in-out left;
transition: 0.6s ease-in-out left;
}
-
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
- display: block;
- max-width: 100%;
- height: auto;
line-height: 1;
}
-
+@media all and (transform-3d), (-webkit-transform-3d) {
+ .carousel-inner > .item {
+ -webkit-transition: -webkit-transform 0.6s ease-in-out;
+ -o-transition: -o-transform 0.6s ease-in-out;
+ transition: transform 0.6s ease-in-out;
+ -webkit-backface-visibility: hidden;
+ backface-visibility: hidden;
+ -webkit-perspective: 1000px;
+ perspective: 1000px;
+ }
+ .carousel-inner > .item.next,
+ .carousel-inner > .item.active.right {
+ -webkit-transform: translate3d(100%, 0, 0);
+ transform: translate3d(100%, 0, 0);
+ left: 0;
+ }
+ .carousel-inner > .item.prev,
+ .carousel-inner > .item.active.left {
+ -webkit-transform: translate3d(-100%, 0, 0);
+ transform: translate3d(-100%, 0, 0);
+ left: 0;
+ }
+ .carousel-inner > .item.next.left,
+ .carousel-inner > .item.prev.right,
+ .carousel-inner > .item.active {
+ -webkit-transform: translate3d(0, 0, 0);
+ transform: translate3d(0, 0, 0);
+ left: 0;
+ }
+}
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
display: block;
}
-
.carousel-inner > .active {
left: 0;
}
-
.carousel-inner > .next,
.carousel-inner > .prev {
position: absolute;
top: 0;
width: 100%;
}
-
.carousel-inner > .next {
left: 100%;
}
-
.carousel-inner > .prev {
left: -100%;
}
-
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
left: 0;
}
-
.carousel-inner > .active.left {
left: -100%;
}
-
.carousel-inner > .active.right {
left: 100%;
}
-
.carousel-control {
position: absolute;
top: 0;
left: 0;
bottom: 0;
- width: 10%;
- opacity: 0.7;
- filter: alpha(opacity=70);
+ width: 15%;
+ opacity: 0.5;
+ filter: alpha(opacity=50);
font-size: 20px;
color: #ffffff;
text-align: center;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
-
.carousel-control.left {
- background-image: -webkit-gradient(linear, 0% top, 100% top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001)));
- background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0%), color-stop(rgba(0, 0, 0, 0.0001) 100%));
- background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
+ background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
+ background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
+ background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001)));
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
}
-
.carousel-control.right {
left: auto;
right: 0;
- background-image: -webkit-gradient(linear, 0% top, 100% top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5)));
- background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0%), color-stop(rgba(0, 0, 0, 0.5) 100%));
- background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
+ background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
+ background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
+ background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5)));
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
}
-
.carousel-control:hover,
.carousel-control:focus {
+ outline: 0;
color: #ffffff;
text-decoration: none;
opacity: 0.9;
filter: alpha(opacity=90);
}
-
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
position: absolute;
top: 50%;
- left: 50%;
+ margin-top: -10px;
z-index: 5;
display: inline-block;
}
-
+.carousel-control .icon-prev,
+.carousel-control .glyphicon-chevron-left {
+ left: 50%;
+ margin-left: -10px;
+}
+.carousel-control .icon-next,
+.carousel-control .glyphicon-chevron-right {
+ right: 50%;
+ margin-right: -10px;
+}
.carousel-control .icon-prev,
.carousel-control .icon-next {
width: 20px;
height: 20px;
- margin-top: -10px;
- margin-left: -10px;
+ line-height: 1;
font-family: serif;
}
-
.carousel-control .icon-prev:before {
content: '\2039';
}
-
.carousel-control .icon-next:before {
content: '\203a';
}
-
.carousel-indicators {
position: absolute;
bottom: 10px;
@@ -6445,25 +6444,24 @@ body.modal-open,
list-style: none;
text-align: center;
}
-
.carousel-indicators li {
display: inline-block;
width: 10px;
height: 10px;
margin: 1px;
text-indent: -999px;
- border: 1px solid #f9f9f9;
+ border: 1px solid #ffffff;
border-radius: 10px;
cursor: pointer;
+ background-color: #000 \9;
+ background-color: rgba(0, 0, 0, 0);
}
-
.carousel-indicators .active {
margin: 0;
width: 12px;
height: 12px;
- background-color: #f9f9f9;
+ background-color: #ffffff;
}
-
.carousel-caption {
position: absolute;
left: 15%;
@@ -6472,70 +6470,110 @@ body.modal-open,
z-index: 10;
padding-top: 20px;
padding-bottom: 20px;
- color: #f9f9f9;
+ color: #ffffff;
text-align: center;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
-
.carousel-caption .btn {
text-shadow: none;
}
-
@media screen and (min-width: 768px) {
+ .carousel-control .glyphicon-chevron-left,
+ .carousel-control .glyphicon-chevron-right,
.carousel-control .icon-prev,
.carousel-control .icon-next {
width: 30px;
height: 30px;
margin-top: -15px;
- margin-left: -15px;
font-size: 30px;
}
-
+ .carousel-control .glyphicon-chevron-left,
+ .carousel-control .icon-prev {
+ margin-left: -15px;
+ }
+ .carousel-control .glyphicon-chevron-right,
+ .carousel-control .icon-next {
+ margin-right: -15px;
+ }
.carousel-caption {
left: 20%;
right: 20%;
padding-bottom: 30px;
}
-
.carousel-indicators {
bottom: 20px;
}
}
-
.clearfix:before,
-.clearfix:after {
+.clearfix:after,
+.dl-horizontal dd:before,
+.dl-horizontal dd:after,
+.container:before,
+.container:after,
+.container-fluid:before,
+.container-fluid:after,
+.row:before,
+.row:after,
+.form-horizontal .form-group:before,
+.form-horizontal .form-group:after,
+.btn-toolbar:before,
+.btn-toolbar:after,
+.btn-group-vertical > .btn-group:before,
+.btn-group-vertical > .btn-group:after,
+.nav:before,
+.nav:after,
+.navbar:before,
+.navbar:after,
+.navbar-header:before,
+.navbar-header:after,
+.navbar-collapse:before,
+.navbar-collapse:after,
+.pager:before,
+.pager:after,
+.panel-body:before,
+.panel-body:after,
+.modal-footer:before,
+.modal-footer:after {
content: " ";
- /* 1 */
-
display: table;
- /* 2 */
-
}
-
-.clearfix:after {
+.clearfix:after,
+.dl-horizontal dd:after,
+.container:after,
+.container-fluid:after,
+.row:after,
+.form-horizontal .form-group:after,
+.btn-toolbar:after,
+.btn-group-vertical > .btn-group:after,
+.nav:after,
+.navbar:after,
+.navbar-header:after,
+.navbar-collapse:after,
+.pager:after,
+.panel-body:after,
+.modal-footer: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;
@@ -6543,994 +6581,721 @@ body.modal-open,
background-color: transparent;
border: 0;
}
-
+.hidden {
+ display: none !important;
+}
.affix {
position: fixed;
}
-
@-ms-viewport {
width: device-width;
}
-
-@media screen and (max-width: 400px) {
- @-ms-viewport {
- width: 320px;
- }
-}
-
-.hidden {
- display: none !important;
- visibility: hidden !important;
-}
-
-.visible-xs {
+.visible-xs,
+.visible-sm,
+.visible-md,
+.visible-lg {
display: none !important;
}
-
-tr.visible-xs {
+.visible-xs-block,
+.visible-xs-inline,
+.visible-xs-inline-block,
+.visible-sm-block,
+.visible-sm-inline,
+.visible-sm-inline-block,
+.visible-md-block,
+.visible-md-inline,
+.visible-md-inline-block,
+.visible-lg-block,
+.visible-lg-inline,
+.visible-lg-inline-block {
display: none !important;
}
-
-th.visible-xs,
-td.visible-xs {
- display: none !important;
-}
-
@media (max-width: 767px) {
.visible-xs {
display: block !important;
}
-
+ table.visible-xs {
+ display: table !important;
+ }
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;
- }
-
- 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;
- }
-
- 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;
- }
-
- 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 {
- display: none !important;
-}
-
-tr.visible-sm {
- display: none !important;
-}
-
-th.visible-sm,
-td.visible-sm {
- display: none !important;
-}
-
@media (max-width: 767px) {
- .visible-sm.visible-xs {
+ .visible-xs-block {
display: block !important;
}
-
- tr.visible-sm.visible-xs {
- display: table-row !important;
- }
-
- th.visible-sm.visible-xs,
- td.visible-sm.visible-xs {
- display: table-cell !important;
+}
+@media (max-width: 767px) {
+ .visible-xs-inline {
+ display: inline !important;
+ }
+}
+@media (max-width: 767px) {
+ .visible-xs-inline-block {
+ display: inline-block !important;
}
}
-
@media (min-width: 768px) and (max-width: 991px) {
.visible-sm {
display: block !important;
}
-
+ table.visible-sm {
+ display: table !important;
+ }
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;
- }
-
- 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;
- }
-
- 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 {
- display: none !important;
-}
-
-tr.visible-md {
- display: none !important;
-}
-
-th.visible-md,
-td.visible-md {
- display: none !important;
-}
-
-@media (max-width: 767px) {
- .visible-md.visible-xs {
- display: block !important;
- }
-
- 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 {
+ .visible-sm-block {
display: block !important;
}
-
- 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: 768px) and (max-width: 991px) {
+ .visible-sm-inline {
+ display: inline !important;
+ }
+}
+@media (min-width: 768px) and (max-width: 991px) {
+ .visible-sm-inline-block {
+ display: inline-block !important;
}
}
-
@media (min-width: 992px) and (max-width: 1199px) {
.visible-md {
display: block !important;
}
-
+ table.visible-md {
+ display: table !important;
+ }
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;
- }
-
- 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 {
- display: none !important;
-}
-
-tr.visible-lg {
- display: none !important;
-}
-
-th.visible-lg,
-td.visible-lg {
- display: none !important;
-}
-
-@media (max-width: 767px) {
- .visible-lg.visible-xs {
- display: block !important;
- }
-
- tr.visible-lg.visible-xs {
- display: table-row !important;
- }
-
- th.visible-lg.visible-xs,
- td.visible-lg.visible-xs {
- display: table-cell !important;
- }
-}
-
-@media (min-width: 768px) and (max-width: 991px) {
- .visible-lg.visible-sm {
- display: block !important;
- }
-
- tr.visible-lg.visible-sm {
- display: table-row !important;
- }
-
- th.visible-lg.visible-sm,
- td.visible-lg.visible-sm {
- display: table-cell !important;
- }
-}
-
@media (min-width: 992px) and (max-width: 1199px) {
- .visible-lg.visible-md {
+ .visible-md-block {
display: block !important;
}
-
- tr.visible-lg.visible-md {
- display: table-row !important;
- }
-
- th.visible-lg.visible-md,
- td.visible-lg.visible-md {
- display: table-cell !important;
+}
+@media (min-width: 992px) and (max-width: 1199px) {
+ .visible-md-inline {
+ display: inline !important;
+ }
+}
+@media (min-width: 992px) and (max-width: 1199px) {
+ .visible-md-inline-block {
+ display: inline-block !important;
}
}
-
@media (min-width: 1200px) {
.visible-lg {
display: block !important;
}
-
+ table.visible-lg {
+ display: table !important;
+ }
tr.visible-lg {
display: table-row !important;
}
-
th.visible-lg,
td.visible-lg {
display: table-cell !important;
}
}
-
-.hidden-xs {
- display: block !important;
+@media (min-width: 1200px) {
+ .visible-lg-block {
+ display: block !important;
+ }
}
-
-tr.hidden-xs {
- display: table-row !important;
+@media (min-width: 1200px) {
+ .visible-lg-inline {
+ display: inline !important;
+ }
}
-
-th.hidden-xs,
-td.hidden-xs {
- display: table-cell !important;
+@media (min-width: 1200px) {
+ .visible-lg-inline-block {
+ display: inline-block !important;
+ }
}
-
@media (max-width: 767px) {
.hidden-xs {
display: none !important;
}
-
- tr.hidden-xs {
- display: none !important;
- }
-
- th.hidden-xs,
- td.hidden-xs {
- display: none !important;
- }
}
-
-@media (min-width: 768px) and (max-width: 991px) {
- .hidden-xs.hidden-sm {
- display: none !important;
- }
-
- tr.hidden-xs.hidden-sm {
- display: none !important;
- }
-
- 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 {
- display: none !important;
- }
-
- tr.hidden-xs.hidden-md {
- display: none !important;
- }
-
- th.hidden-xs.hidden-md,
- td.hidden-xs.hidden-md {
- display: none !important;
- }
-}
-
-@media (min-width: 1200px) {
- .hidden-xs.hidden-lg {
- display: none !important;
- }
-
- tr.hidden-xs.hidden-lg {
- display: none !important;
- }
-
- th.hidden-xs.hidden-lg,
- td.hidden-xs.hidden-lg {
- display: none !important;
- }
-}
-
-.hidden-sm {
- display: block !important;
-}
-
-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 {
- display: none !important;
- }
-
- tr.hidden-sm.hidden-xs {
- display: none !important;
- }
-
- th.hidden-sm.hidden-xs,
- td.hidden-sm.hidden-xs {
- display: none !important;
- }
-}
-
@media (min-width: 768px) and (max-width: 991px) {
.hidden-sm {
display: none !important;
}
-
- tr.hidden-sm {
- display: none !important;
- }
-
- th.hidden-sm,
- td.hidden-sm {
- display: none !important;
- }
}
-
-@media (min-width: 992px) and (max-width: 1199px) {
- .hidden-sm.hidden-md {
- display: none !important;
- }
-
- tr.hidden-sm.hidden-md {
- display: none !important;
- }
-
- th.hidden-sm.hidden-md,
- td.hidden-sm.hidden-md {
- display: none !important;
- }
-}
-
-@media (min-width: 1200px) {
- .hidden-sm.hidden-lg {
- display: none !important;
- }
-
- tr.hidden-sm.hidden-lg {
- display: none !important;
- }
-
- th.hidden-sm.hidden-lg,
- td.hidden-sm.hidden-lg {
- display: none !important;
- }
-}
-
-.hidden-md {
- display: block !important;
-}
-
-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 {
- display: none !important;
- }
-
- tr.hidden-md.hidden-xs {
- display: none !important;
- }
-
- 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 {
- display: none !important;
- }
-
- tr.hidden-md.hidden-sm {
- display: none !important;
- }
-
- th.hidden-md.hidden-sm,
- td.hidden-md.hidden-sm {
- display: none !important;
- }
-}
-
@media (min-width: 992px) and (max-width: 1199px) {
.hidden-md {
display: none !important;
}
-
- tr.hidden-md {
- display: none !important;
- }
-
- th.hidden-md,
- td.hidden-md {
- display: none !important;
- }
}
-
-@media (min-width: 1200px) {
- .hidden-md.hidden-lg {
- display: none !important;
- }
-
- tr.hidden-md.hidden-lg {
- display: none !important;
- }
-
- th.hidden-md.hidden-lg,
- td.hidden-md.hidden-lg {
- display: none !important;
- }
-}
-
-.hidden-lg {
- display: block !important;
-}
-
-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 {
- display: none !important;
- }
-
- tr.hidden-lg.hidden-xs {
- display: none !important;
- }
-
- th.hidden-lg.hidden-xs,
- td.hidden-lg.hidden-xs {
- display: none !important;
- }
-}
-
-@media (min-width: 768px) and (max-width: 991px) {
- .hidden-lg.hidden-sm {
- display: none !important;
- }
-
- tr.hidden-lg.hidden-sm {
- display: none !important;
- }
-
- th.hidden-lg.hidden-sm,
- td.hidden-lg.hidden-sm {
- display: none !important;
- }
-}
-
-@media (min-width: 992px) and (max-width: 1199px) {
- .hidden-lg.hidden-md {
- display: none !important;
- }
-
- tr.hidden-lg.hidden-md {
- display: none !important;
- }
-
- th.hidden-lg.hidden-md,
- td.hidden-lg.hidden-md {
- display: none !important;
- }
-}
-
@media (min-width: 1200px) {
.hidden-lg {
display: none !important;
}
-
- tr.hidden-lg {
- display: none !important;
- }
-
- th.hidden-lg,
- td.hidden-lg {
- display: none !important;
- }
}
-
.visible-print {
display: none !important;
}
-
-tr.visible-print {
- display: none !important;
-}
-
-th.visible-print,
-td.visible-print {
- display: none !important;
-}
-
@media print {
.visible-print {
display: block !important;
}
-
+ table.visible-print {
+ display: table !important;
+ }
tr.visible-print {
display: table-row !important;
}
-
th.visible-print,
td.visible-print {
display: table-cell !important;
}
-
+}
+.visible-print-block {
+ display: none !important;
+}
+@media print {
+ .visible-print-block {
+ display: block !important;
+ }
+}
+.visible-print-inline {
+ display: none !important;
+}
+@media print {
+ .visible-print-inline {
+ display: inline !important;
+ }
+}
+.visible-print-inline-block {
+ display: none !important;
+}
+@media print {
+ .visible-print-inline-block {
+ display: inline-block !important;
+ }
+}
+@media print {
.hidden-print {
display: none !important;
}
-
- tr.hidden-print {
- display: none !important;
- }
-
- th.hidden-print,
- td.hidden-print {
- display: none !important;
- }
}
-
-.form-control {
- -webkit-box-shadow: none;
- box-shadow: none;
- color: #ececec;
+.navbar {
+ background-image: -webkit-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -o-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3a3f44), to(#313539));
+ background-image: linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff484e55', endColorstr='#ff313539', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
+ border: 1px solid rgba(0, 0, 0, 0.6);
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
-
-.form-control[disabled] {
- border-color: #135286;
+.navbar-inverse {
+ background-image: -webkit-linear-gradient(#8a9196, #7a8288 60%, #70787d);
+ background-image: -o-linear-gradient(#8a9196, #7a8288 60%, #70787d);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#8a9196), color-stop(60%, #7a8288), to(#70787d));
+ background-image: linear-gradient(#8a9196, #7a8288 60%, #70787d);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8a9196', endColorstr='#ff70787d', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.btn,
-.btn:hover {
- border: none;
+.navbar-inverse .badge {
+ background-color: #5d6368;
}
-
-.btn-group .btn + .btn {
- margin: 0;
+.navbar-nav > li > a {
+ border-right: 1px solid rgba(0, 0, 0, 0.2);
+ border-left: 1px solid rgba(255, 255, 255, 0.1);
}
-
-pre {
- border: none;
- color: #e0e0e0;
+.navbar-nav > li > a:hover {
+ background-image: -webkit-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -o-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#020202), color-stop(40%, #101112), to(#191b1d));
+ background-image: linear-gradient(#020202, #101112 40%, #191b1d);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff020202', endColorstr='#ff191b1d', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
+ border-left-color: transparent;
}
-
-legend {
- color: #e5e5e5;
-}
-
-.well {
- border: none;
- border-radius: 0px;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.panel {
- border: none;
-}
-
-.page-header {
- margin-top: 20px;
-}
-
-.nav > li > a {
- color: #f9f9f9;
-}
-
-.nav-tabs {
- margin-bottom: 15px;
-}
-
-.nav-tabs > li > a:hover {
+.navbar .nav .open > a {
border-color: transparent;
}
-
-.navbar-nav > li:before {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- width: 1px;
- height: 100%;
- background: rgba(48, 48, 48, 0.41);
+.navbar-nav > li.active > a {
+ border-left-color: transparent;
}
-
-.navbar-nav > li:hover:before,
-.navbar-nav > li:hover + li:before,
-.navbar-nav > li.active:before,
-.navbar-nav > li.active + li:before {
- display: none;
+.navbar-form {
+ margin-left: 5px;
+ margin-right: 5px;
}
-
-.navbar-nav .disabled:hover:before,
-.navbar-nav .disabled:hover + li:before {
- display: block;
+.btn,
+.btn:hover {
+ border-color: rgba(0, 0, 0, 0.6);
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
-
-.navbar-nav > li:first-child:before {
- display: none;
+.btn-default {
+ background-image: -webkit-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -o-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3a3f44), to(#313539));
+ background-image: linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff484e55', endColorstr='#ff313539', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.navbar-nav > li > a {
- font-size: 14px;
- font-weight: 600;
+.btn-default:hover {
+ background-image: -webkit-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -o-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#020202), color-stop(40%, #101112), to(#191b1d));
+ background-image: linear-gradient(#020202, #101112 40%, #191b1d);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff020202', endColorstr='#ff191b1d', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.navbar-nav > .active > a {
- cursor: default;
+.btn-primary {
+ background-image: -webkit-linear-gradient(#8a9196, #7a8288 60%, #70787d);
+ background-image: -o-linear-gradient(#8a9196, #7a8288 60%, #70787d);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#8a9196), color-stop(60%, #7a8288), to(#70787d));
+ background-image: linear-gradient(#8a9196, #7a8288 60%, #70787d);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8a9196', endColorstr='#ff70787d', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.navbar-nav > .active > a:after {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 4px;
- background: #228BF5;
+.btn-primary:hover {
+ background-image: -webkit-linear-gradient(#404448, #4e5458 40%, #585e62);
+ background-image: -o-linear-gradient(#404448, #4e5458 40%, #585e62);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#404448), color-stop(40%, #4e5458), to(#585e62));
+ background-image: linear-gradient(#404448, #4e5458 40%, #585e62);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff404448', endColorstr='#ff585e62', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.navbar-nav > .active > a:before {
- content: '';
- position: absolute;
- left: 50%;
- top: 4px;
- margin: 0 0 0 -5px;
- width: 0;
- height: 0;
- border-left: 5px solid transparent;
- border-right: 5px solid transparent;
- border-top: 5px solid #228BF5;
+.btn-success {
+ background-image: -webkit-linear-gradient(#78cc78, #62c462 60%, #53be53);
+ background-image: -o-linear-gradient(#78cc78, #62c462 60%, #53be53);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#78cc78), color-stop(60%, #62c462), to(#53be53));
+ background-image: linear-gradient(#78cc78, #62c462 60%, #53be53);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff78cc78', endColorstr='#ff53be53', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.navbar-inverse .navbar-nav > li:before {
- background: #14608F
+.btn-success:hover {
+ background-image: -webkit-linear-gradient(#2f7d2f, #379337 40%, #3da23d);
+ background-image: -o-linear-gradient(#2f7d2f, #379337 40%, #3da23d);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#2f7d2f), color-stop(40%, #379337), to(#3da23d));
+ background-image: linear-gradient(#2f7d2f, #379337 40%, #3da23d);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2f7d2f', endColorstr='#ff3da23d', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.navbar-inverse .navbar-nav > .active > a:after {
- background: #111111;
+.btn-info {
+ background-image: -webkit-linear-gradient(#74cae3, #5bc0de 60%, #4ab9db);
+ background-image: -o-linear-gradient(#74cae3, #5bc0de 60%, #4ab9db);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#74cae3), color-stop(60%, #5bc0de), to(#4ab9db));
+ background-image: linear-gradient(#74cae3, #5bc0de 60%, #4ab9db);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff74cae3', endColorstr='#ff4ab9db', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.navbar-inverse .navbar-nav > .active > a:before {
- border-top-color: #111111;
+.btn-info:hover {
+ background-image: -webkit-linear-gradient(#20829f, #2596b8 40%, #28a4c9);
+ background-image: -o-linear-gradient(#20829f, #2596b8 40%, #28a4c9);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#20829f), color-stop(40%, #2596b8), to(#28a4c9));
+ background-image: linear-gradient(#20829f, #2596b8 40%, #28a4c9);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff20829f', endColorstr='#ff28a4c9', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.input-group-addon {
- background: rgba(0, 0, 0, 0.8);
+.btn-warning {
+ background-image: -webkit-linear-gradient(#faa123, #f89406 60%, #e48806);
+ background-image: -o-linear-gradient(#faa123, #f89406 60%, #e48806);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#faa123), color-stop(60%, #f89406), to(#e48806));
+ background-image: linear-gradient(#faa123, #f89406 60%, #e48806);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffaa123', endColorstr='#ffe48806', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.dropdown-menu {
- -webkit-box-shadow: none;
- box-shadow: none;
+.btn-warning:hover {
+ background-image: -webkit-linear-gradient(#804d03, #9e5f04 40%, #b26a04);
+ background-image: -o-linear-gradient(#804d03, #9e5f04 40%, #b26a04);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#804d03), color-stop(40%, #9e5f04), to(#b26a04));
+ background-image: linear-gradient(#804d03, #9e5f04 40%, #b26a04);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff804d03', endColorstr='#ffb26a04', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
+}
+.btn-danger {
+ background-image: -webkit-linear-gradient(#f17a77, #ee5f5b 60%, #ec4d49);
+ background-image: -o-linear-gradient(#f17a77, #ee5f5b 60%, #ec4d49);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#f17a77), color-stop(60%, #ee5f5b), to(#ec4d49));
+ background-image: linear-gradient(#f17a77, #ee5f5b 60%, #ec4d49);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff17a77', endColorstr='#ffec4d49', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
+}
+.btn-danger:hover {
+ background-image: -webkit-linear-gradient(#bb1813, #d71c16 40%, #e7201a);
+ background-image: -o-linear-gradient(#bb1813, #d71c16 40%, #e7201a);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#bb1813), color-stop(40%, #d71c16), to(#e7201a));
+ background-image: linear-gradient(#bb1813, #d71c16 40%, #e7201a);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffbb1813', endColorstr='#ffe7201a', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
+}
+.btn-link,
+.btn-link:hover {
+ border-color: transparent;
+}
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
+}
+.text-primary,
+.text-primary:hover {
+ color: #7a8288;
+}
+.text-success,
+.text-success:hover {
+ color: #62c462;
+}
+.text-danger,
+.text-danger:hover {
+ color: #ee5f5b;
+}
+.text-warning,
+.text-warning:hover {
+ color: #f89406;
+}
+.text-info,
+.text-info:hover {
+ color: #5bc0de;
+}
+.table .success,
+.table .warning,
+.table .danger,
+.table .info {
+ color: #fff;
+}
+.table-bordered tbody tr.success td,
+.table-bordered tbody tr.warning td,
+.table-bordered tbody tr.danger td,
+.table-bordered tbody tr.success:hover td,
+.table-bordered tbody tr.warning:hover td,
+.table-bordered tbody tr.danger:hover td {
+ border-color: #1c1e22;
+}
+.table-responsive > .table {
+ background-color: #2e3338;
+}
+input,
+textarea {
+ color: #272b30;
+}
+.has-warning .help-block,
+.has-warning .control-label,
+.has-warning .radio,
+.has-warning .checkbox,
+.has-warning .radio-inline,
+.has-warning .checkbox-inline,
+.has-warning.radio label,
+.has-warning.checkbox label,
+.has-warning.radio-inline label,
+.has-warning.checkbox-inline label,
+.has-warning .form-control-feedback {
+ color: #f89406;
+}
+.has-warning .form-control,
+.has-warning .form-control:focus {
+ border-color: #f89406;
+}
+.has-warning .input-group-addon {
+ background-color: #272b30;
border: none;
- margin-top: 12px;
}
-
-.dropdown-menu:before {
- content: '';
- position: absolute;
- left: 20px;
- top: -5px;
- width: 0;
- height: 0;
- border-left: 5px solid transparent;
- border-right: 5px solid transparent;
- border-bottom: 5px solid #228BF5;
+.has-error .help-block,
+.has-error .control-label,
+.has-error .radio,
+.has-error .checkbox,
+.has-error .radio-inline,
+.has-error .checkbox-inline,
+.has-error.radio label,
+.has-error.checkbox label,
+.has-error.radio-inline label,
+.has-error.checkbox-inline label,
+.has-error .form-control-feedback {
+ color: #ee5f5b;
}
-
-.dropdown-menu.pull-right:before {
- right: 20px;
- left: auto;
+.has-error .form-control,
+.has-error .form-control:focus {
+ border-color: #ee5f5b;
}
-
-.dropdown-menu > li > a:hover,
-.dropdown-menu > li > a:focus {
- text-decoration: none;
+.has-error .input-group-addon {
+ background-color: #272b30;
+ border: none;
+}
+.has-success .help-block,
+.has-success .control-label,
+.has-success .radio,
+.has-success .checkbox,
+.has-success .radio-inline,
+.has-success .checkbox-inline,
+.has-success.radio label,
+.has-success.checkbox label,
+.has-success.radio-inline label,
+.has-success.checkbox-inline label,
+.has-success .form-control-feedback {
+ color: #62c462;
+}
+.has-success .form-control,
+.has-success .form-control:focus {
+ border-color: #62c462;
+}
+.has-success .input-group-addon {
+ background-color: #272b30;
+ border: none;
+}
+legend {
+ color: #fff;
+}
+.input-group-addon {
+ border-color: rgba(0, 0, 0, 0.6);
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
+ background-image: -webkit-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -o-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3a3f44), to(#313539));
+ background-image: linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff484e55', endColorstr='#ff313539', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
color: #ffffff;
- background: #14649D
}
-
-.dropdown-menu .disabled > a,
-.dropdown-menu .disabled > a:hover,
-.dropdown-menu .disabled > a:focus {
- color: rgba(249, 249, 249, 0.2);
+.nav .open > a,
+.nav .open > a:hover,
+.nav .open > a:focus {
+ border-color: rgba(0, 0, 0, 0.6);
}
-
-.dropdown-menu .active > a,
-.dropdown-menu .active > a:hover,
-.dropdown-menu .active > a:focus {
- position: relative;
- color: #ffffff;
- text-decoration: none;
- outline: 0;
- background: #1A6BBC cursor : default;
+.nav-pills > li > a {
+ background-image: -webkit-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -o-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3a3f44), to(#313539));
+ background-image: linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff484e55', endColorstr='#ff313539', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
+ border: 1px solid rgba(0, 0, 0, 0.6);
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
-
-.dropdown-menu .active > a:before {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- bottom: auto;
- width: 4px;
- height: 100%;
- background: #228BF5;
+.nav-pills > li > a:hover {
+ background-image: -webkit-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -o-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#020202), color-stop(40%, #101112), to(#191b1d));
+ background-image: linear-gradient(#020202, #101112 40%, #191b1d);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff020202', endColorstr='#ff191b1d', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
+ border: 1px solid rgba(0, 0, 0, 0.6);
}
-
-.dropdown-menu .dropdown-header {
- color: #e0e0e0;
+.nav-pills > li.active > a,
+.nav-pills > li.active > a:hover {
+ background-color: none;
+ background-image: -webkit-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -o-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#020202), color-stop(40%, #101112), to(#191b1d));
+ background-image: linear-gradient(#020202, #101112 40%, #191b1d);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff020202', endColorstr='#ff191b1d', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
+ border: 1px solid rgba(0, 0, 0, 0.6);
}
-
-.dropup .dropdown-menu {
- margin-bottom: 12px;
+.nav-pills > li.disabled > a,
+.nav-pills > li.disabled > a:hover {
+ background-image: -webkit-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -o-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3a3f44), to(#313539));
+ background-image: linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff484e55', endColorstr='#ff313539', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.dropup .dropdown-menu:before {
- top: auto;
- bottom: -5px;
- width: 0;
- height: 0;
- border-left: 5px solid transparent;
- border-right: 5px solid transparent;
- border-top: 5px solid #228BF5;
- border-bottom: none;
-}
-
.pagination > li > a,
.pagination > li > span {
- border: none;
- color: #f9f9f9;
- position: relative;
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
+ background-image: -webkit-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -o-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3a3f44), to(#313539));
+ background-image: linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff484e55', endColorstr='#ff313539', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.pagination > li > a:before,
-.pagination > li > span:before {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- width: 1px;
- height: 100%;
- background: rgba(48, 48, 48, 0.41);
+.pagination > li > a:hover,
+.pagination > li > span:hover {
+ background-image: -webkit-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -o-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#020202), color-stop(40%, #101112), to(#191b1d));
+ background-image: linear-gradient(#020202, #101112 40%, #191b1d);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff020202', endColorstr='#ff191b1d', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.pagination > li:first-child > a:before,
-.pagination > li:first-child > span:before {
- display: none;
+.pagination > li.active > a,
+.pagination > li.active > span {
+ background-image: -webkit-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -o-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#020202), color-stop(40%, #101112), to(#191b1d));
+ background-image: linear-gradient(#020202, #101112 40%, #191b1d);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff020202', endColorstr='#ff191b1d', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.pagination > .active > a:before,
-.pagination > .active > span:before {
- display: none;
+.pagination > li.disabled > a,
+.pagination > li.disabled > a:hover,
+.pagination > li.disabled > span,
+.pagination > li.disabled > span:hover {
+ background-color: transparent;
+ background-image: -webkit-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -o-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3a3f44), to(#313539));
+ background-image: linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff484e55', endColorstr='#ff313539', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.pagination > li > a:hover:before,
-.pagination > li > a:focus:before {
- display: none;
+.pager > li > a {
+ background-image: -webkit-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -o-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3a3f44), to(#313539));
+ background-image: linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff484e55', endColorstr='#ff313539', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
-
-.pagination > .disabled > span:before,
-.pagination > .disabled > a:before,
-.pagination > .disabled > a:hover:before,
-.pagination > .disabled > a:focus:before {
- display: block;
+.pager > li > a:hover {
+ background-image: -webkit-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -o-linear-gradient(#020202, #101112 40%, #191b1d);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#020202), color-stop(40%, #101112), to(#191b1d));
+ background-image: linear-gradient(#020202, #101112 40%, #191b1d);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff020202', endColorstr='#ff191b1d', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.pager li > a,
-.pager li > span {
- border: none;
- color: #f9f9f9;
+.pager > li.disabled > a,
+.pager > li.disabled > a:hover {
+ background-color: transparent;
+ background-image: -webkit-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -o-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3a3f44), to(#313539));
+ background-image: linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff484e55', endColorstr='#ff313539', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.alert {
- border: none;
+.breadcrumb {
+ border: 1px solid rgba(0, 0, 0, 0.6);
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
+ background-image: -webkit-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -o-linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#484e55), color-stop(60%, #3a3f44), to(#313539));
+ background-image: linear-gradient(#484e55, #3a3f44 60%, #313539);
+ background-repeat: no-repeat;
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff484e55', endColorstr='#ff313539', GradientType=0);
+ -webkit-filter: none;
+ filter: none;
}
-
-.panel-default > .panel-heading {
- color: #228BF5;
- background-color: rgba(0, 0, 0, 0.5);
- border-color: rgba(250, 250, 250, 0.15);
+.alert .alert-link,
+.alert a {
+ color: #fff;
+ text-decoration: underline;
}
-
-.panel .list-group {
- margin: 0 0 10px;
+.alert .close {
+ color: #000000;
+ text-decoration: none;
}
-
-.panel .list-group li.list-group-item:hover {
- border-color: rgba(48, 48, 48, 0.81);
+a.thumbnail:hover,
+a.thumbnail:focus,
+a.thumbnail.active {
+ border-color: #0c0d0e;
}
-
-.panel .list-group .list-group-item {
- border-width: 1px;
- color: #f9f9f9;
+a.list-group-item.active,
+a.list-group-item.active:hover,
+a.list-group-item.active:focus {
+ border-color: rgba(0, 0, 0, 0.6);
}
-
-.panel .list-group .list-group-item.active .list-group-item-text {
- color: #f9f9f9;
+a.list-group-item-success.active {
+ background-color: #62c462;
}
-
-.panel .list-group .list-group-item:hover {
- border-color: #228BF5;
+a.list-group-item-success.active:hover,
+a.list-group-item-success.active:focus {
+ background-color: #4fbd4f;
}
-
-.panel .list-group .list-group-item:first-child {
- border-top-right-radius: 0px;
- border-top-left-radius: 0px;
+a.list-group-item-warning.active {
+ background-color: #f89406;
}
-
-.panel .list-group .list-group-item:last-child {
- border-bottom: 1px solid rgba(48, 48, 48, 0.81);
+a.list-group-item-warning.active:hover,
+a.list-group-item-warning.active:focus {
+ background-color: #df8505;
}
-
-.panel .list-group-flush {
- margin: 15px -15px -15px;
+a.list-group-item-danger.active {
+ background-color: #ee5f5b;
}
-
-.panel .list-group-flush .list-group-item {
- border-width: 1px 0;
- color: #f9f9f9;
+a.list-group-item-danger.active:hover,
+a.list-group-item-danger.active:focus {
+ background-color: #ec4844;
}
-
-.panel .list-group-flush .list-group-item.active .list-group-item-text {
- color: #f9f9f9;
+.jumbotron {
+ border: 1px solid rgba(0, 0, 0, 0.6);
}
-
-.panel .list-group-flush .list-group-item:hover {
- border-color: rgba(48, 48, 48, 0.81);
-}
-
-.panel .list-group-flush .list-group-item:first-child {
- border-top-right-radius: 0;
- border-top-left-radius: 0;
-}
-
-.panel .list-group-flush .list-group-item:last-child {
- border-bottom: 0;
-}
-
-.progress {
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.progress .progress-bar {
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.popover {
- border: none;
- padding: 0;
- -webkit-box-shadow: none;
- box-shadow: none;
-}
-
-.accordion-group {
- background: #111111;
-}
-
-.media-heading {
- color: #228BF5;
-}
-
-.thumbnail .caption .caption-label {
- color: #228BF5;
+.panel-primary .panel-heading,
+.panel-success .panel-heading,
+.panel-danger .panel-heading,
+.panel-warning .panel-heading,
+.panel-info .panel-heading {
+ border-color: #000;
}
diff --git a/includes/css/custom.css b/includes/css/custom.css
index 1ccf7d5..3f588d1 100644
--- a/includes/css/custom.css
+++ b/includes/css/custom.css
@@ -16,3 +16,29 @@ body {
margin-right: 5px;
border-radius: 2px;
}
+
+table tr td a {
+ display: block;
+ height: 100%;
+ width: 100%;
+}
+
+table tr td {
+ padding-left: 0;
+ padding-right: 0;
+}
+
+/* table links */
+a,
+a:hover,
+a:focus {
+ text-decoration: none !important;
+}
+
+.pager-active {
+ color: darkcyan;
+}
+
+.pager-inactive {
+ color: transparent;
+}
diff --git a/includes/head.php b/includes/head.php
index b7ab536..d0712e7 100644
--- a/includes/head.php
+++ b/includes/head.php
@@ -5,8 +5,3 @@
-
diff --git a/includes/header.php b/includes/header.php
index c591965..1a4a2ae 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -1,4 +1,6 @@
diff --git a/includes/img/377759.png b/includes/img/377759.png
deleted file mode 100644
index 887bb15..0000000
Binary files a/includes/img/377759.png and /dev/null differ
diff --git a/includes/js/bootstrap.js b/includes/js/bootstrap.js
index bef8ba1..ef7ac29 100644
--- a/includes/js/bootstrap.js
+++ b/includes/js/bootstrap.js
@@ -1,166 +1,171 @@
/*!
- * Bootstrap v3.0.3 (http://getbootstrap.com)
- * Copyright 2013 Twitter, Inc.
- * Licensed under http://www.apache.org/licenses/LICENSE-2.0
+ * Bootstrap v3.3.5 (http://getbootstrap.com)
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under the MIT license
*/
-if (typeof jQuery === "undefined") {
- throw new Error("Bootstrap requires jQuery")
+if (typeof jQuery === 'undefined') {
+ throw new Error('Bootstrap\'s JavaScript requires jQuery')
}
++function ($) {
+ 'use strict';
+ var version = $.fn.jquery.split(' ')[0].split('.');
+ if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {
+ throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher')
+ }
+}(jQuery);
+
/* ========================================================================
- * Bootstrap: transition.js v3.0.3
+ * Bootstrap: transition.js v3.3.5
* http://getbootstrap.com/javascript/#transitions
* ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
- "use strict";
+ 'use strict';
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
// ============================================================
function transitionEnd() {
- var el = document.createElement('bootstrap')
+ var el = document.createElement('bootstrap');
var transEndEventNames = {
- 'WebkitTransition': 'webkitTransitionEnd'
- , 'MozTransition': 'transitionend'
- , 'OTransition': 'oTransitionEnd otransitionend'
- , 'transition': 'transitionend'
- }
+ WebkitTransition: 'webkitTransitionEnd',
+ MozTransition: 'transitionend',
+ OTransition: 'oTransitionEnd otransitionend',
+ transition: 'transitionend'
+ };
for (var name in transEndEventNames) {
if (el.style[name] !== undefined) {
return {end: transEndEventNames[name]}
}
}
+
+ return false; // explicit for ie8 ( ._.)
}
// http://blog.alexmaccaw.com/css-transitions
$.fn.emulateTransitionEnd = function (duration) {
- var called = false, $el = this
- $(this).one($.support.transition.end, function () {
+ var called = false;
+ var $el = this;
+ $(this).one('bsTransitionEnd', function () {
called = true
- })
+ });
var callback = function () {
if (!called) $($el).trigger($.support.transition.end)
- }
- setTimeout(callback, duration)
+ };
+ setTimeout(callback, duration);
return this
- }
+ };
$(function () {
- $.support.transition = transitionEnd()
+ $.support.transition = transitionEnd();
+
+ if (!$.support.transition) return;
+
+ $.event.special.bsTransitionEnd = {
+ bindType: $.support.transition.end,
+ delegateType: $.support.transition.end,
+ handle: function (e) {
+ if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
+ }
+ }
})
}(jQuery);
/* ========================================================================
- * Bootstrap: alert.js v3.0.3
+ * Bootstrap: alert.js v3.3.5
* http://getbootstrap.com/javascript/#alerts
* ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
- "use strict";
+ 'use strict';
// ALERT CLASS DEFINITION
// ======================
- var dismiss = '[data-dismiss="alert"]'
+ var dismiss = '[data-dismiss="alert"]';
var Alert = function (el) {
$(el).on('click', dismiss, this.close)
- }
+ };
+
+ Alert.VERSION = '3.3.5';
+
+ Alert.TRANSITION_DURATION = 150;
Alert.prototype.close = function (e) {
- var $this = $(this)
- var selector = $this.attr('data-target')
+ var $this = $(this);
+ var selector = $this.attr('data-target');
if (!selector) {
- selector = $this.attr('href')
- selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
+ selector = $this.attr('href');
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, ''); // strip for ie7
}
- var $parent = $(selector)
+ var $parent = $(selector);
- if (e) e.preventDefault()
+ if (e) e.preventDefault();
if (!$parent.length) {
- $parent = $this.hasClass('alert') ? $this : $this.parent()
+ $parent = $this.closest('.alert')
}
- $parent.trigger(e = $.Event('close.bs.alert'))
+ $parent.trigger(e = $.Event('close.bs.alert'));
- if (e.isDefaultPrevented()) return
+ if (e.isDefaultPrevented()) return;
- $parent.removeClass('in')
+ $parent.removeClass('in');
function removeElement() {
- $parent.trigger('closed.bs.alert').remove()
+ // detach from parent, fire event then clean up data
+ $parent.detach().trigger('closed.bs.alert').remove()
}
$.support.transition && $parent.hasClass('fade') ?
$parent
- .one($.support.transition.end, removeElement)
- .emulateTransitionEnd(150) :
+ .one('bsTransitionEnd', removeElement)
+ .emulateTransitionEnd(Alert.TRANSITION_DURATION) :
removeElement()
- }
+ };
// ALERT PLUGIN DEFINITION
// =======================
- var old = $.fn.alert
-
- $.fn.alert = function (option) {
+ function Plugin(option) {
return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.alert')
+ var $this = $(this);
+ var data = $this.data('bs.alert');
- if (!data) $this.data('bs.alert', (data = new Alert(this)))
+ if (!data) $this.data('bs.alert', (data = new Alert(this)));
if (typeof option == 'string') data[option].call($this)
})
}
- $.fn.alert.Constructor = Alert
+ var old = $.fn.alert;
+
+ $.fn.alert = Plugin;
+ $.fn.alert.Constructor = Alert;
// ALERT NO CONFLICT
// =================
$.fn.alert.noConflict = function () {
- $.fn.alert = old
+ $.fn.alert = old;
return this
- }
+ };
// ALERT DATA-API
@@ -171,669 +176,735 @@ if (typeof jQuery === "undefined") {
}(jQuery);
/* ========================================================================
- * Bootstrap: button.js v3.0.3
+ * Bootstrap: button.js v3.3.5
* http://getbootstrap.com/javascript/#buttons
* ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
- "use strict";
+ 'use strict';
// BUTTON PUBLIC CLASS DEFINITION
// ==============================
var Button = function (element, options) {
- this.$element = $(element)
- this.options = $.extend({}, Button.DEFAULTS, options)
- }
+ this.$element = $(element);
+ this.options = $.extend({}, Button.DEFAULTS, options);
+ this.isLoading = false
+ };
+
+ Button.VERSION = '3.3.5';
Button.DEFAULTS = {
loadingText: 'loading...'
- }
+ };
Button.prototype.setState = function (state) {
- var d = 'disabled'
- var $el = this.$element
- var val = $el.is('input') ? 'val' : 'html'
- var data = $el.data()
+ var d = 'disabled';
+ var $el = this.$element;
+ var val = $el.is('input') ? 'val' : 'html';
+ var data = $el.data();
- state = state + 'Text'
+ state += 'Text';
- if (!data.resetText) $el.data('resetText', $el[val]())
-
- $el[val](data[state] || this.options[state])
+ if (data.resetText == null) $el.data('resetText', $el[val]());
// push to event loop to allow forms to submit
- setTimeout(function () {
- state == 'loadingText' ?
- $el.addClass(d).attr(d, d) :
- $el.removeClass(d).removeAttr(d);
- }, 0)
- }
+ setTimeout($.proxy(function () {
+ $el[val](data[state] == null ? this.options[state] : data[state]);
+
+ if (state == 'loadingText') {
+ this.isLoading = true;
+ $el.addClass(d).attr(d, d)
+ } else if (this.isLoading) {
+ this.isLoading = false;
+ $el.removeClass(d).removeAttr(d)
+ }
+ }, this), 0)
+ };
Button.prototype.toggle = function () {
- var $parent = this.$element.closest('[data-toggle="buttons"]')
- var changed = true
+ var changed = true;
+ var $parent = this.$element.closest('[data-toggle="buttons"]');
if ($parent.length) {
- var $input = this.$element.find('input')
- if ($input.prop('type') === 'radio') {
- // see if clicking on current one
- if ($input.prop('checked') && this.$element.hasClass('active'))
- changed = false
- else
- $parent.find('.active').removeClass('active')
+ var $input = this.$element.find('input');
+ if ($input.prop('type') == 'radio') {
+ if ($input.prop('checked')) changed = false;
+ $parent.find('.active').removeClass('active');
+ this.$element.addClass('active')
+ } else if ($input.prop('type') == 'checkbox') {
+ if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false;
+ this.$element.toggleClass('active')
}
- if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
+ $input.prop('checked', this.$element.hasClass('active'));
+ if (changed) $input.trigger('change')
+ } else {
+ this.$element.attr('aria-pressed', !this.$element.hasClass('active'));
+ this.$element.toggleClass('active')
}
-
- if (changed) this.$element.toggleClass('active')
- }
+ };
// BUTTON PLUGIN DEFINITION
// ========================
- var old = $.fn.button
-
- $.fn.button = function (option) {
+ function Plugin(option) {
return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.button')
- var options = typeof option == 'object' && option
+ var $this = $(this);
+ var data = $this.data('bs.button');
+ var options = typeof option == 'object' && option;
- if (!data) $this.data('bs.button', (data = new Button(this, options)))
+ if (!data) $this.data('bs.button', (data = new Button(this, options)));
- if (option == 'toggle') data.toggle()
+ if (option == 'toggle') data.toggle();
else if (option) data.setState(option)
})
}
- $.fn.button.Constructor = Button
+ var old = $.fn.button;
+
+ $.fn.button = Plugin;
+ $.fn.button.Constructor = Button;
// BUTTON NO CONFLICT
// ==================
$.fn.button.noConflict = function () {
- $.fn.button = old
+ $.fn.button = old;
return this
- }
+ };
// BUTTON DATA-API
// ===============
- $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) {
- var $btn = $(e.target)
- if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
- $btn.button('toggle')
- e.preventDefault()
- })
+ $(document)
+ .on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
+ var $btn = $(e.target);
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn');
+ Plugin.call($btn, 'toggle');
+ if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) e.preventDefault()
+ })
+ .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
+ $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))
+ })
}(jQuery);
/* ========================================================================
- * Bootstrap: carousel.js v3.0.3
+ * Bootstrap: carousel.js v3.3.5
* http://getbootstrap.com/javascript/#carousel
* ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
- "use strict";
+ 'use strict';
// CAROUSEL CLASS DEFINITION
// =========================
var Carousel = function (element, options) {
- this.$element = $(element)
- this.$indicators = this.$element.find('.carousel-indicators')
- this.options = options
- this.paused =
- this.sliding =
- this.interval =
- this.$active =
- this.$items = null
+ this.$element = $(element);
+ this.$indicators = this.$element.find('.carousel-indicators');
+ this.options = options;
+ this.paused = null;
+ this.sliding = null;
+ this.interval = null;
+ this.$active = null;
+ this.$items = null;
- this.options.pause == 'hover' && this.$element
- .on('mouseenter', $.proxy(this.pause, this))
- .on('mouseleave', $.proxy(this.cycle, this))
- }
+ this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this));
+
+ this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element
+ .on('mouseenter.bs.carousel', $.proxy(this.pause, this))
+ .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
+ };
+
+ Carousel.VERSION = '3.3.5';
+
+ Carousel.TRANSITION_DURATION = 600;
Carousel.DEFAULTS = {
- interval: 5000
- , pause: 'hover'
- , wrap: true
- }
+ interval: 5000,
+ pause: 'hover',
+ wrap: true,
+ keyboard: true
+ };
+
+ Carousel.prototype.keydown = function (e) {
+ if (/input|textarea/i.test(e.target.tagName)) return;
+ switch (e.which) {
+ case 37:
+ this.prev();
+ break;
+ case 39:
+ this.next();
+ break;
+ default:
+ return
+ }
+
+ e.preventDefault()
+ };
Carousel.prototype.cycle = function (e) {
- e || (this.paused = false)
+ e || (this.paused = false);
- this.interval && clearInterval(this.interval)
+ this.interval && clearInterval(this.interval);
this.options.interval
&& !this.paused
- && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
+ && (this.interval = setInterval($.proxy(this.next, this), this.options.interval));
return this
- }
+ };
- Carousel.prototype.getActiveIndex = function () {
- this.$active = this.$element.find('.item.active')
- this.$items = this.$active.parent().children()
+ Carousel.prototype.getItemIndex = function (item) {
+ this.$items = item.parent().children('.item');
+ return this.$items.index(item || this.$active)
+ };
- return this.$items.index(this.$active)
- }
+ Carousel.prototype.getItemForDirection = function (direction, active) {
+ var activeIndex = this.getItemIndex(active);
+ var willWrap = (direction == 'prev' && activeIndex === 0)
+ || (direction == 'next' && activeIndex == (this.$items.length - 1));
+ if (willWrap && !this.options.wrap) return active;
+ var delta = direction == 'prev' ? -1 : 1;
+ var itemIndex = (activeIndex + delta) % this.$items.length;
+ return this.$items.eq(itemIndex)
+ };
Carousel.prototype.to = function (pos) {
- var that = this
- var activeIndex = this.getActiveIndex()
+ var that = this;
+ var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'));
- if (pos > (this.$items.length - 1) || pos < 0) return
+ if (pos > (this.$items.length - 1) || pos < 0) return;
if (this.sliding) return this.$element.one('slid.bs.carousel', function () {
that.to(pos)
- })
- if (activeIndex == pos) return this.pause().cycle()
+ }); // yes, "slid"
+ if (activeIndex == pos) return this.pause().cycle();
- return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
- }
+ return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))
+ };
Carousel.prototype.pause = function (e) {
- e || (this.paused = true)
+ e || (this.paused = true);
- if (this.$element.find('.next, .prev').length && $.support.transition.end) {
- this.$element.trigger($.support.transition.end)
+ if (this.$element.find('.next, .prev').length && $.support.transition) {
+ this.$element.trigger($.support.transition.end);
this.cycle(true)
}
- this.interval = clearInterval(this.interval)
+ this.interval = clearInterval(this.interval);
return this
- }
+ };
Carousel.prototype.next = function () {
- if (this.sliding) return
+ if (this.sliding) return;
return this.slide('next')
- }
+ };
Carousel.prototype.prev = function () {
- if (this.sliding) return
+ if (this.sliding) return;
return this.slide('prev')
- }
+ };
Carousel.prototype.slide = function (type, next) {
- var $active = this.$element.find('.item.active')
- var $next = next || $active[type]()
- var isCycling = this.interval
- var direction = type == 'next' ? 'left' : 'right'
- var fallback = type == 'next' ? 'first' : 'last'
- var that = this
+ var $active = this.$element.find('.item.active');
+ var $next = next || this.getItemForDirection(type, $active);
+ var isCycling = this.interval;
+ var direction = type == 'next' ? 'left' : 'right';
+ var that = this;
- if (!$next.length) {
- if (!this.options.wrap) return
- $next = this.$element.find('.item')[fallback]()
- }
+ if ($next.hasClass('active')) return (this.sliding = false);
- this.sliding = true
+ var relatedTarget = $next[0];
+ var slideEvent = $.Event('slide.bs.carousel', {
+ relatedTarget: relatedTarget,
+ direction: direction
+ });
+ this.$element.trigger(slideEvent);
+ if (slideEvent.isDefaultPrevented()) return;
- isCycling && this.pause()
+ this.sliding = true;
- var e = $.Event('slide.bs.carousel', {relatedTarget: $next[0], direction: direction})
-
- if ($next.hasClass('active')) return
+ isCycling && this.pause();
if (this.$indicators.length) {
- this.$indicators.find('.active').removeClass('active')
- this.$element.one('slid.bs.carousel', function () {
- var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
- $nextIndicator && $nextIndicator.addClass('active')
- })
+ this.$indicators.find('.active').removeClass('active');
+ var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)]);
+ $nextIndicator && $nextIndicator.addClass('active')
}
+ var slidEvent = $.Event('slid.bs.carousel', {relatedTarget: relatedTarget, direction: direction}); // yes, "slid"
if ($.support.transition && this.$element.hasClass('slide')) {
- this.$element.trigger(e)
- if (e.isDefaultPrevented()) return
- $next.addClass(type)
- $next[0].offsetWidth // force reflow
- $active.addClass(direction)
- $next.addClass(direction)
+ $next.addClass(type);
+ $next[0].offsetWidth; // force reflow
+ $active.addClass(direction);
+ $next.addClass(direction);
$active
- .one($.support.transition.end, function () {
- $next.removeClass([type, direction].join(' ')).addClass('active')
- $active.removeClass(['active', direction].join(' '))
- that.sliding = false
+ .one('bsTransitionEnd', function () {
+ $next.removeClass([type, direction].join(' ')).addClass('active');
+ $active.removeClass(['active', direction].join(' '));
+ that.sliding = false;
setTimeout(function () {
- that.$element.trigger('slid.bs.carousel')
+ that.$element.trigger(slidEvent)
}, 0)
})
- .emulateTransitionEnd(600)
+ .emulateTransitionEnd(Carousel.TRANSITION_DURATION)
} else {
- this.$element.trigger(e)
- if (e.isDefaultPrevented()) return
- $active.removeClass('active')
- $next.addClass('active')
- this.sliding = false
- this.$element.trigger('slid.bs.carousel')
+ $active.removeClass('active');
+ $next.addClass('active');
+ this.sliding = false;
+ this.$element.trigger(slidEvent)
}
- isCycling && this.cycle()
+ isCycling && this.cycle();
return this
- }
+ };
// CAROUSEL PLUGIN DEFINITION
// ==========================
- var old = $.fn.carousel
-
- $.fn.carousel = function (option) {
+ function Plugin(option) {
return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.carousel')
- var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
- var action = typeof option == 'string' ? option : options.slide
+ var $this = $(this);
+ var data = $this.data('bs.carousel');
+ var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option);
+ var action = typeof option == 'string' ? option : options.slide;
- if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
- if (typeof option == 'number') data.to(option)
- else if (action) data[action]()
+ if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)));
+ if (typeof option == 'number') data.to(option);
+ else if (action) data[action]();
else if (options.interval) data.pause().cycle()
})
}
- $.fn.carousel.Constructor = Carousel
+ var old = $.fn.carousel;
+
+ $.fn.carousel = Plugin;
+ $.fn.carousel.Constructor = Carousel;
// CAROUSEL NO CONFLICT
// ====================
$.fn.carousel.noConflict = function () {
- $.fn.carousel = old
+ $.fn.carousel = old;
return this
- }
+ };
// CAROUSEL DATA-API
// =================
- $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
- var $this = $(this), href
- var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
- var options = $.extend({}, $target.data(), $this.data())
- var slideIndex = $this.attr('data-slide-to')
- if (slideIndex) options.interval = false
+ var clickHandler = function (e) {
+ var href;
+ var $this = $(this);
+ var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')); // strip for ie7
+ if (!$target.hasClass('carousel')) return;
+ var options = $.extend({}, $target.data(), $this.data());
+ var slideIndex = $this.attr('data-slide-to');
+ if (slideIndex) options.interval = false;
- $target.carousel(options)
+ Plugin.call($target, options);
- if (slideIndex = $this.attr('data-slide-to')) {
+ if (slideIndex) {
$target.data('bs.carousel').to(slideIndex)
}
e.preventDefault()
- })
+ };
+
+ $(document)
+ .on('click.bs.carousel.data-api', '[data-slide]', clickHandler)
+ .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler);
$(window).on('load', function () {
$('[data-ride="carousel"]').each(function () {
- var $carousel = $(this)
- $carousel.carousel($carousel.data())
+ var $carousel = $(this);
+ Plugin.call($carousel, $carousel.data())
})
})
}(jQuery);
/* ========================================================================
- * Bootstrap: collapse.js v3.0.3
+ * Bootstrap: collapse.js v3.3.5
* http://getbootstrap.com/javascript/#collapse
* ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
- "use strict";
+ 'use strict';
// COLLAPSE PUBLIC CLASS DEFINITION
// ================================
var Collapse = function (element, options) {
- this.$element = $(element)
- this.options = $.extend({}, Collapse.DEFAULTS, options)
- this.transitioning = null
+ this.$element = $(element);
+ this.options = $.extend({}, Collapse.DEFAULTS, options);
+ this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' +
+ '[data-toggle="collapse"][data-target="#' + element.id + '"]');
+ this.transitioning = null;
+
+ if (this.options.parent) {
+ this.$parent = this.getParent()
+ } else {
+ this.addAriaAndCollapsedClass(this.$element, this.$trigger)
+ }
- if (this.options.parent) this.$parent = $(this.options.parent)
if (this.options.toggle) this.toggle()
- }
+ };
+
+ Collapse.VERSION = '3.3.5';
+
+ Collapse.TRANSITION_DURATION = 350;
Collapse.DEFAULTS = {
toggle: true
- }
+ };
Collapse.prototype.dimension = function () {
- var hasWidth = this.$element.hasClass('width')
+ var hasWidth = this.$element.hasClass('width');
return hasWidth ? 'width' : 'height'
- }
+ };
Collapse.prototype.show = function () {
- if (this.transitioning || this.$element.hasClass('in')) return
+ if (this.transitioning || this.$element.hasClass('in')) return;
- var startEvent = $.Event('show.bs.collapse')
- this.$element.trigger(startEvent)
- if (startEvent.isDefaultPrevented()) return
-
- var actives = this.$parent && this.$parent.find('> .panel > .in')
+ var activesData;
+ var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing');
if (actives && actives.length) {
- var hasData = actives.data('bs.collapse')
- if (hasData && hasData.transitioning) return
- actives.collapse('hide')
- hasData || actives.data('bs.collapse', null)
+ activesData = actives.data('bs.collapse');
+ if (activesData && activesData.transitioning) return
}
- var dimension = this.dimension()
+ var startEvent = $.Event('show.bs.collapse');
+ this.$element.trigger(startEvent);
+ if (startEvent.isDefaultPrevented()) return;
+
+ if (actives && actives.length) {
+ Plugin.call(actives, 'hide');
+ activesData || actives.data('bs.collapse', null)
+ }
+
+ var dimension = this.dimension();
this.$element
.removeClass('collapse')
- .addClass('collapsing')
- [dimension](0)
+ .addClass('collapsing')[dimension](0)
+ .attr('aria-expanded', true);
- this.transitioning = 1
+ this.$trigger
+ .removeClass('collapsed')
+ .attr('aria-expanded', true);
+
+ this.transitioning = 1;
var complete = function () {
this.$element
.removeClass('collapsing')
- .addClass('in')
- [dimension]('auto')
- this.transitioning = 0
- this.$element.trigger('shown.bs.collapse')
- }
+ .addClass('collapse in')[dimension]('');
+ this.transitioning = 0;
+ this.$element
+ .trigger('shown.bs.collapse')
+ };
- if (!$.support.transition) return complete.call(this)
+ if (!$.support.transition) return complete.call(this);
- var scrollSize = $.camelCase(['scroll', dimension].join('-'))
+ var scrollSize = $.camelCase(['scroll', dimension].join('-'));
this.$element
- .one($.support.transition.end, $.proxy(complete, this))
- .emulateTransitionEnd(350)
- [dimension](this.$element[0][scrollSize])
- }
+ .one('bsTransitionEnd', $.proxy(complete, this))
+ .emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])
+ };
Collapse.prototype.hide = function () {
- if (this.transitioning || !this.$element.hasClass('in')) return
+ if (this.transitioning || !this.$element.hasClass('in')) return;
- var startEvent = $.Event('hide.bs.collapse')
- this.$element.trigger(startEvent)
- if (startEvent.isDefaultPrevented()) return
+ var startEvent = $.Event('hide.bs.collapse');
+ this.$element.trigger(startEvent);
+ if (startEvent.isDefaultPrevented()) return;
- var dimension = this.dimension()
+ var dimension = this.dimension();
- this.$element
- [dimension](this.$element[dimension]())
- [0].offsetHeight
+ this.$element[dimension](this.$element[dimension]())[0].offsetHeight;
this.$element
.addClass('collapsing')
- .removeClass('collapse')
- .removeClass('in')
+ .removeClass('collapse in')
+ .attr('aria-expanded', false);
- this.transitioning = 1
+ this.$trigger
+ .addClass('collapsed')
+ .attr('aria-expanded', false);
+
+ this.transitioning = 1;
var complete = function () {
- this.transitioning = 0
+ this.transitioning = 0;
this.$element
- .trigger('hidden.bs.collapse')
.removeClass('collapsing')
.addClass('collapse')
- }
+ .trigger('hidden.bs.collapse')
+ };
- if (!$.support.transition) return complete.call(this)
+ if (!$.support.transition) return complete.call(this);
this.$element
[dimension](0)
- .one($.support.transition.end, $.proxy(complete, this))
- .emulateTransitionEnd(350)
- }
+ .one('bsTransitionEnd', $.proxy(complete, this))
+ .emulateTransitionEnd(Collapse.TRANSITION_DURATION)
+ };
Collapse.prototype.toggle = function () {
this[this.$element.hasClass('in') ? 'hide' : 'show']()
+ };
+
+ Collapse.prototype.getParent = function () {
+ return $(this.options.parent)
+ .find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]')
+ .each($.proxy(function (i, element) {
+ var $element = $(element);
+ this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element)
+ }, this))
+ .end()
+ };
+
+ Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) {
+ var isOpen = $element.hasClass('in');
+
+ $element.attr('aria-expanded', isOpen);
+ $trigger
+ .toggleClass('collapsed', !isOpen)
+ .attr('aria-expanded', isOpen)
+ };
+
+ function getTargetFromTrigger($trigger) {
+ var href;
+ var target = $trigger.attr('data-target')
+ || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, ''); // strip for ie7
+
+ return $(target)
}
// COLLAPSE PLUGIN DEFINITION
// ==========================
- var old = $.fn.collapse
-
- $.fn.collapse = function (option) {
+ function Plugin(option) {
return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.collapse')
- var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
+ var $this = $(this);
+ var data = $this.data('bs.collapse');
+ var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option);
- if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
+ if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false;
+ if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)));
if (typeof option == 'string') data[option]()
})
}
- $.fn.collapse.Constructor = Collapse
+ var old = $.fn.collapse;
+
+ $.fn.collapse = Plugin;
+ $.fn.collapse.Constructor = Collapse;
// COLLAPSE NO CONFLICT
// ====================
$.fn.collapse.noConflict = function () {
- $.fn.collapse = old
+ $.fn.collapse = old;
return this
- }
+ };
// COLLAPSE DATA-API
// =================
- $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {
- var $this = $(this), href
- var target = $this.attr('data-target')
- || e.preventDefault()
- || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
- var $target = $(target)
- var data = $target.data('bs.collapse')
- var option = data ? 'toggle' : $this.data()
- var parent = $this.attr('data-parent')
- var $parent = parent && $(parent)
+ $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) {
+ var $this = $(this);
- if (!data || !data.transitioning) {
- if ($parent) $parent.find('[data-toggle=collapse][data-parent="' + parent + '"]').not($this).addClass('collapsed')
- $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
- }
+ if (!$this.attr('data-target')) e.preventDefault();
- $target.collapse(option)
+ var $target = getTargetFromTrigger($this);
+ var data = $target.data('bs.collapse');
+ var option = data ? 'toggle' : $this.data();
+
+ Plugin.call($target, option)
})
}(jQuery);
/* ========================================================================
- * Bootstrap: dropdown.js v3.0.3
+ * Bootstrap: dropdown.js v3.3.5
* http://getbootstrap.com/javascript/#dropdowns
* ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
- "use strict";
+ 'use strict';
// DROPDOWN CLASS DEFINITION
// =========================
- var backdrop = '.dropdown-backdrop'
- var toggle = '[data-toggle=dropdown]'
+ var backdrop = '.dropdown-backdrop';
+ var toggle = '[data-toggle="dropdown"]';
var Dropdown = function (element) {
$(element).on('click.bs.dropdown', this.toggle)
+ };
+
+ Dropdown.VERSION = '3.3.5';
+
+ function getParent($this) {
+ var selector = $this.attr('data-target');
+
+ if (!selector) {
+ selector = $this.attr('href');
+ selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, ''); // strip for ie7
+ }
+
+ var $parent = selector && $(selector);
+
+ return $parent && $parent.length ? $parent : $this.parent()
+ }
+
+ function clearMenus(e) {
+ if (e && e.which === 3) return;
+ $(backdrop).remove();
+ $(toggle).each(function () {
+ var $this = $(this);
+ var $parent = getParent($this);
+ var relatedTarget = {relatedTarget: this};
+
+ if (!$parent.hasClass('open')) return;
+
+ if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return;
+
+ $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget));
+
+ if (e.isDefaultPrevented()) return;
+
+ $this.attr('aria-expanded', 'false');
+ $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
+ })
}
Dropdown.prototype.toggle = function (e) {
- var $this = $(this)
+ var $this = $(this);
- if ($this.is('.disabled, :disabled')) return
+ if ($this.is('.disabled, :disabled')) return;
- var $parent = getParent($this)
- var isActive = $parent.hasClass('open')
+ var $parent = getParent($this);
+ var isActive = $parent.hasClass('open');
- clearMenus()
+ clearMenus();
if (!isActive) {
if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
// if mobile we use a backdrop because click events don't delegate
- $('
').insertAfter($(this)).on('click', clearMenus)
+ $(document.createElement('div'))
+ .addClass('dropdown-backdrop')
+ .insertAfter($(this))
+ .on('click', clearMenus)
}
- $parent.trigger(e = $.Event('show.bs.dropdown'))
+ var relatedTarget = {relatedTarget: this};
+ $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget));
- if (e.isDefaultPrevented()) return
+ if (e.isDefaultPrevented()) return;
+
+ $this
+ .trigger('focus')
+ .attr('aria-expanded', 'true');
$parent
.toggleClass('open')
- .trigger('shown.bs.dropdown')
-
- $this.focus()
+ .trigger('shown.bs.dropdown', relatedTarget)
}
return false
- }
+ };
Dropdown.prototype.keydown = function (e) {
- if (!/(38|40|27)/.test(e.keyCode)) return
+ if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return;
- var $this = $(this)
+ var $this = $(this);
- e.preventDefault()
- e.stopPropagation()
+ e.preventDefault();
+ e.stopPropagation();
- if ($this.is('.disabled, :disabled')) return
+ if ($this.is('.disabled, :disabled')) return;
- var $parent = getParent($this)
- var isActive = $parent.hasClass('open')
+ var $parent = getParent($this);
+ var isActive = $parent.hasClass('open');
- if (!isActive || (isActive && e.keyCode == 27)) {
- if (e.which == 27) $parent.find(toggle).focus()
- return $this.click()
+ if (!isActive && e.which != 27 || isActive && e.which == 27) {
+ if (e.which == 27) $parent.find(toggle).trigger('focus');
+ return $this.trigger('click')
}
- var $items = $('[role=menu] li:not(.divider):visible a', $parent)
+ var desc = ' li:not(.disabled):visible a';
+ var $items = $parent.find('.dropdown-menu' + desc);
- if (!$items.length) return
+ if (!$items.length) return;
- var index = $items.index($items.filter(':focus'))
+ var index = $items.index(e.target);
- if (e.keyCode == 38 && index > 0) index-- // up
- if (e.keyCode == 40 && index < $items.length - 1) index++ // down
- if (!~index) index = 0
+ if (e.which == 38 && index > 0) index--; // up
+ if (e.which == 40 && index < $items.length - 1) index++; // down
+ if (!~index) index = 0;
- $items.eq(index).focus()
- }
-
- function clearMenus() {
- $(backdrop).remove()
- $(toggle).each(function (e) {
- var $parent = getParent($(this))
- if (!$parent.hasClass('open')) return
- $parent.trigger(e = $.Event('hide.bs.dropdown'))
- if (e.isDefaultPrevented()) return
- $parent.removeClass('open').trigger('hidden.bs.dropdown')
- })
- }
-
- function getParent($this) {
- var selector = $this.attr('data-target')
-
- if (!selector) {
- selector = $this.attr('href')
- selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
- }
-
- var $parent = selector && $(selector)
-
- return $parent && $parent.length ? $parent : $this.parent()
- }
+ $items.eq(index).trigger('focus')
+ };
// DROPDOWN PLUGIN DEFINITION
// ==========================
- var old = $.fn.dropdown
-
- $.fn.dropdown = function (option) {
+ function Plugin(option) {
return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.dropdown')
+ var $this = $(this);
+ var data = $this.data('bs.dropdown');
- if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
+ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)));
if (typeof option == 'string') data[option].call($this)
})
}
- $.fn.dropdown.Constructor = Dropdown
+ var old = $.fn.dropdown;
+
+ $.fn.dropdown = Plugin;
+ $.fn.dropdown.Constructor = Dropdown;
// DROPDOWN NO CONFLICT
// ====================
$.fn.dropdown.noConflict = function () {
- $.fn.dropdown = old
+ $.fn.dropdown = old;
return this
- }
+ };
// APPLY TO STANDARD DROPDOWN ELEMENTS
@@ -845,330 +916,421 @@ if (typeof jQuery === "undefined") {
e.stopPropagation()
})
.on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
- .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]', Dropdown.prototype.keydown)
+ .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown)
+ .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown)
}(jQuery);
/* ========================================================================
- * Bootstrap: modal.js v3.0.3
+ * Bootstrap: modal.js v3.3.5
* http://getbootstrap.com/javascript/#modals
* ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
- "use strict";
+ 'use strict';
// MODAL CLASS DEFINITION
// ======================
var Modal = function (element, options) {
- this.options = options
- this.$element = $(element)
- this.$backdrop =
- this.isShown = null
+ this.options = options;
+ this.$body = $(document.body);
+ this.$element = $(element);
+ this.$dialog = this.$element.find('.modal-dialog');
+ this.$backdrop = null;
+ this.isShown = null;
+ this.originalBodyPad = null;
+ this.scrollbarWidth = 0;
+ this.ignoreBackdropClick = false;
- if (this.options.remote) this.$element.load(this.options.remote)
- }
+ if (this.options.remote) {
+ this.$element
+ .find('.modal-content')
+ .load(this.options.remote, $.proxy(function () {
+ this.$element.trigger('loaded.bs.modal')
+ }, this))
+ }
+ };
+
+ Modal.VERSION = '3.3.5';
+
+ Modal.TRANSITION_DURATION = 300;
+ Modal.BACKDROP_TRANSITION_DURATION = 150;
Modal.DEFAULTS = {
- backdrop: true
- , keyboard: true
- , show: true
- }
+ backdrop: true,
+ keyboard: true,
+ show: true
+ };
Modal.prototype.toggle = function (_relatedTarget) {
- return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)
- }
+ return this.isShown ? this.hide() : this.show(_relatedTarget)
+ };
Modal.prototype.show = function (_relatedTarget) {
- var that = this
- var e = $.Event('show.bs.modal', {relatedTarget: _relatedTarget})
+ var that = this;
+ var e = $.Event('show.bs.modal', {relatedTarget: _relatedTarget});
- this.$element.trigger(e)
+ this.$element.trigger(e);
- if (this.isShown || e.isDefaultPrevented()) return
+ if (this.isShown || e.isDefaultPrevented()) return;
- this.isShown = true
+ this.isShown = true;
- this.escape()
+ this.checkScrollbar();
+ this.setScrollbar();
+ this.$body.addClass('modal-open');
- this.$element.on('click.dismiss.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
+ this.escape();
+ this.resize();
+
+ this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this));
+
+ this.$dialog.on('mousedown.dismiss.bs.modal', function () {
+ that.$element.one('mouseup.dismiss.bs.modal', function (e) {
+ if ($(e.target).is(that.$element)) that.ignoreBackdropClick = true
+ })
+ });
this.backdrop(function () {
- var transition = $.support.transition && that.$element.hasClass('fade')
+ var transition = $.support.transition && that.$element.hasClass('fade');
if (!that.$element.parent().length) {
- that.$element.appendTo(document.body) // don't move modals dom position
- }
-
- that.$element.show()
-
- if (transition) {
- that.$element[0].offsetWidth // force reflow
+ that.$element.appendTo(that.$body); // don't move modals dom position
}
that.$element
- .addClass('in')
- .attr('aria-hidden', false)
+ .show()
+ .scrollTop(0);
- that.enforceFocus()
+ that.adjustDialog();
- var e = $.Event('shown.bs.modal', {relatedTarget: _relatedTarget})
+ if (transition) {
+ that.$element[0].offsetWidth; // force reflow
+ }
+
+ that.$element.addClass('in');
+
+ that.enforceFocus();
+
+ var e = $.Event('shown.bs.modal', {relatedTarget: _relatedTarget});
transition ?
- that.$element.find('.modal-dialog') // wait for modal to slide in
- .one($.support.transition.end, function () {
- that.$element.focus().trigger(e)
+ that.$dialog // wait for modal to slide in
+ .one('bsTransitionEnd', function () {
+ that.$element.trigger('focus').trigger(e)
})
- .emulateTransitionEnd(300) :
- that.$element.focus().trigger(e)
+ .emulateTransitionEnd(Modal.TRANSITION_DURATION) :
+ that.$element.trigger('focus').trigger(e)
})
- }
+ };
Modal.prototype.hide = function (e) {
- if (e) e.preventDefault()
+ if (e) e.preventDefault();
- e = $.Event('hide.bs.modal')
+ e = $.Event('hide.bs.modal');
- this.$element.trigger(e)
+ this.$element.trigger(e);
- if (!this.isShown || e.isDefaultPrevented()) return
+ if (!this.isShown || e.isDefaultPrevented()) return;
- this.isShown = false
+ this.isShown = false;
- this.escape()
+ this.escape();
+ this.resize();
- $(document).off('focusin.bs.modal')
+ $(document).off('focusin.bs.modal');
this.$element
.removeClass('in')
- .attr('aria-hidden', true)
- .off('click.dismiss.modal')
+ .off('click.dismiss.bs.modal')
+ .off('mouseup.dismiss.bs.modal');
+
+ this.$dialog.off('mousedown.dismiss.bs.modal');
$.support.transition && this.$element.hasClass('fade') ?
this.$element
- .one($.support.transition.end, $.proxy(this.hideModal, this))
- .emulateTransitionEnd(300) :
+ .one('bsTransitionEnd', $.proxy(this.hideModal, this))
+ .emulateTransitionEnd(Modal.TRANSITION_DURATION) :
this.hideModal()
- }
+ };
Modal.prototype.enforceFocus = function () {
$(document)
.off('focusin.bs.modal') // guard against infinite focus loop
.on('focusin.bs.modal', $.proxy(function (e) {
if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
- this.$element.focus()
+ this.$element.trigger('focus')
}
}, this))
- }
+ };
Modal.prototype.escape = function () {
if (this.isShown && this.options.keyboard) {
- this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
+ this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) {
e.which == 27 && this.hide()
}, this))
} else if (!this.isShown) {
- this.$element.off('keyup.dismiss.bs.modal')
+ this.$element.off('keydown.dismiss.bs.modal')
}
- }
+ };
+
+ Modal.prototype.resize = function () {
+ if (this.isShown) {
+ $(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this))
+ } else {
+ $(window).off('resize.bs.modal')
+ }
+ };
Modal.prototype.hideModal = function () {
- var that = this
- this.$element.hide()
+ var that = this;
+ this.$element.hide();
this.backdrop(function () {
- that.removeBackdrop()
+ that.$body.removeClass('modal-open');
+ that.resetAdjustments();
+ that.resetScrollbar();
that.$element.trigger('hidden.bs.modal')
})
- }
+ };
Modal.prototype.removeBackdrop = function () {
- this.$backdrop && this.$backdrop.remove()
+ this.$backdrop && this.$backdrop.remove();
this.$backdrop = null
- }
+ };
Modal.prototype.backdrop = function (callback) {
- var that = this
- var animate = this.$element.hasClass('fade') ? 'fade' : ''
+ var that = this;
+ var animate = this.$element.hasClass('fade') ? 'fade' : '';
if (this.isShown && this.options.backdrop) {
- var doAnimate = $.support.transition && animate
+ var doAnimate = $.support.transition && animate;
- this.$backdrop = $('
')
- .appendTo(document.body)
+ this.$backdrop = $(document.createElement('div'))
+ .addClass('modal-backdrop ' + animate)
+ .appendTo(this.$body);
- this.$element.on('click.dismiss.modal', $.proxy(function (e) {
- if (e.target !== e.currentTarget) return
+ this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
+ if (this.ignoreBackdropClick) {
+ this.ignoreBackdropClick = false;
+ return
+ }
+ if (e.target !== e.currentTarget) return;
this.options.backdrop == 'static'
- ? this.$element[0].focus.call(this.$element[0])
- : this.hide.call(this)
- }, this))
+ ? this.$element[0].focus()
+ : this.hide()
+ }, this));
- if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
+ if (doAnimate) this.$backdrop[0].offsetWidth; // force reflow
- this.$backdrop.addClass('in')
+ this.$backdrop.addClass('in');
- if (!callback) return
+ if (!callback) return;
doAnimate ?
this.$backdrop
- .one($.support.transition.end, callback)
- .emulateTransitionEnd(150) :
+ .one('bsTransitionEnd', callback)
+ .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :
callback()
} else if (!this.isShown && this.$backdrop) {
- this.$backdrop.removeClass('in')
+ this.$backdrop.removeClass('in');
+ var callbackRemove = function () {
+ that.removeBackdrop();
+ callback && callback()
+ };
$.support.transition && this.$element.hasClass('fade') ?
this.$backdrop
- .one($.support.transition.end, callback)
- .emulateTransitionEnd(150) :
- callback()
+ .one('bsTransitionEnd', callbackRemove)
+ .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :
+ callbackRemove()
} else if (callback) {
callback()
}
- }
+ };
+
+ // these following methods are used to handle overflowing modals
+
+ Modal.prototype.handleUpdate = function () {
+ this.adjustDialog()
+ };
+
+ Modal.prototype.adjustDialog = function () {
+ var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight;
+
+ this.$element.css({
+ paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
+ paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''
+ })
+ };
+
+ Modal.prototype.resetAdjustments = function () {
+ this.$element.css({
+ paddingLeft: '',
+ paddingRight: ''
+ })
+ };
+
+ Modal.prototype.checkScrollbar = function () {
+ var fullWindowWidth = window.innerWidth;
+ if (!fullWindowWidth) { // workaround for missing window.innerWidth in IE8
+ var documentElementRect = document.documentElement.getBoundingClientRect();
+ fullWindowWidth = documentElementRect.right - Math.abs(documentElementRect.left)
+ }
+ this.bodyIsOverflowing = document.body.clientWidth < fullWindowWidth;
+ this.scrollbarWidth = this.measureScrollbar()
+ };
+
+ Modal.prototype.setScrollbar = function () {
+ var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10);
+ this.originalBodyPad = document.body.style.paddingRight || '';
+ if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
+ };
+
+ Modal.prototype.resetScrollbar = function () {
+ this.$body.css('padding-right', this.originalBodyPad)
+ };
+
+ Modal.prototype.measureScrollbar = function () { // thx walsh
+ var scrollDiv = document.createElement('div');
+ scrollDiv.className = 'modal-scrollbar-measure';
+ this.$body.append(scrollDiv);
+ var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;
+ this.$body[0].removeChild(scrollDiv);
+ return scrollbarWidth
+ };
// MODAL PLUGIN DEFINITION
// =======================
- var old = $.fn.modal
-
- $.fn.modal = function (option, _relatedTarget) {
+ function Plugin(option, _relatedTarget) {
return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.modal')
- var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
+ var $this = $(this);
+ var data = $this.data('bs.modal');
+ var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option);
- if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
- if (typeof option == 'string') data[option](_relatedTarget)
+ if (!data) $this.data('bs.modal', (data = new Modal(this, options)));
+ if (typeof option == 'string') data[option](_relatedTarget);
else if (options.show) data.show(_relatedTarget)
})
}
- $.fn.modal.Constructor = Modal
+ var old = $.fn.modal;
+
+ $.fn.modal = Plugin;
+ $.fn.modal.Constructor = Modal;
// MODAL NO CONFLICT
// =================
$.fn.modal.noConflict = function () {
- $.fn.modal = old
+ $.fn.modal = old;
return this
- }
+ };
// MODAL DATA-API
// ==============
$(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
- var $this = $(this)
- var href = $this.attr('href')
- var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
- var option = $target.data('modal') ? 'toggle' : $.extend({remote: !/#/.test(href) && href}, $target.data(), $this.data())
+ var $this = $(this);
+ var href = $this.attr('href');
+ var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))); // strip for ie7
+ var option = $target.data('bs.modal') ? 'toggle' : $.extend({remote: !/#/.test(href) && href}, $target.data(), $this.data());
- e.preventDefault()
+ if ($this.is('a')) e.preventDefault();
- $target
- .modal(option, this)
- .one('hide', function () {
- $this.is(':visible') && $this.focus()
+ $target.one('show.bs.modal', function (showEvent) {
+ if (showEvent.isDefaultPrevented()) return; // only register focus restorer if modal will actually get shown
+ $target.one('hidden.bs.modal', function () {
+ $this.is(':visible') && $this.trigger('focus')
})
+ });
+ Plugin.call($target, option, this)
})
- $(document)
- .on('show.bs.modal', '.modal', function () {
- $(document.body).addClass('modal-open')
- })
- .on('hidden.bs.modal', '.modal', function () {
- $(document.body).removeClass('modal-open')
- })
-
}(jQuery);
/* ========================================================================
- * Bootstrap: tooltip.js v3.0.3
+ * Bootstrap: tooltip.js v3.3.5
* http://getbootstrap.com/javascript/#tooltip
* Inspired by the original jQuery.tipsy by Jason Frame
* ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
- "use strict";
+ 'use strict';
// TOOLTIP PUBLIC CLASS DEFINITION
// ===============================
var Tooltip = function (element, options) {
- this.type =
- this.options =
- this.enabled =
- this.timeout =
- this.hoverState =
- this.$element = null
+ this.type = null;
+ this.options = null;
+ this.enabled = null;
+ this.timeout = null;
+ this.hoverState = null;
+ this.$element = null;
+ this.inState = null;
this.init('tooltip', element, options)
- }
+ };
+
+ Tooltip.VERSION = '3.3.5';
+
+ Tooltip.TRANSITION_DURATION = 150;
Tooltip.DEFAULTS = {
- animation: true
- , placement: 'top'
- , selector: false
- , template: '
'
- , trigger: 'hover focus'
- , title: ''
- , delay: 0
- , html: false
- , container: false
- }
+ animation: true,
+ placement: 'top',
+ selector: false,
+ template: '
',
+ trigger: 'hover focus',
+ title: '',
+ delay: 0,
+ html: false,
+ container: false,
+ viewport: {
+ selector: 'body',
+ padding: 0
+ }
+ };
Tooltip.prototype.init = function (type, element, options) {
- this.enabled = true
- this.type = type
- this.$element = $(element)
- this.options = this.getOptions(options)
+ this.enabled = true;
+ this.type = type;
+ this.$element = $(element);
+ this.options = this.getOptions(options);
+ this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport));
+ this.inState = {click: false, hover: false, focus: false};
- var triggers = this.options.trigger.split(' ')
+ if (this.$element[0] instanceof document.constructor && !this.options.selector) {
+ throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')
+ }
+
+ var triggers = this.options.trigger.split(' ');
for (var i = triggers.length; i--;) {
- var trigger = triggers[i]
+ var trigger = triggers[i];
if (trigger == 'click') {
this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
} else if (trigger != 'manual') {
- var eventIn = trigger == 'hover' ? 'mouseenter' : 'focus'
- var eventOut = trigger == 'hover' ? 'mouseleave' : 'blur'
+ var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin';
+ var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout';
- this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this));
this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
}
}
@@ -1176,233 +1338,297 @@ if (typeof jQuery === "undefined") {
this.options.selector ?
(this._options = $.extend({}, this.options, {trigger: 'manual', selector: ''})) :
this.fixTitle()
- }
+ };
Tooltip.prototype.getDefaults = function () {
return Tooltip.DEFAULTS
- }
+ };
Tooltip.prototype.getOptions = function (options) {
- options = $.extend({}, this.getDefaults(), this.$element.data(), options)
+ options = $.extend({}, this.getDefaults(), this.$element.data(), options);
if (options.delay && typeof options.delay == 'number') {
options.delay = {
- show: options.delay
- , hide: options.delay
+ show: options.delay,
+ hide: options.delay
}
}
return options
- }
+ };
Tooltip.prototype.getDelegateOptions = function () {
- var options = {}
- var defaults = this.getDefaults()
+ var options = {};
+ var defaults = this.getDefaults();
this._options && $.each(this._options, function (key, value) {
if (defaults[key] != value) options[key] = value
- })
+ });
return options
- }
+ };
Tooltip.prototype.enter = function (obj) {
var self = obj instanceof this.constructor ?
- obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
+ obj : $(obj.currentTarget).data('bs.' + this.type);
- clearTimeout(self.timeout)
+ if (!self) {
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions());
+ $(obj.currentTarget).data('bs.' + this.type, self)
+ }
- self.hoverState = 'in'
+ if (obj instanceof $.Event) {
+ self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true
+ }
- if (!self.options.delay || !self.options.delay.show) return self.show()
+ if (self.tip().hasClass('in') || self.hoverState == 'in') {
+ self.hoverState = 'in';
+ return
+ }
+
+ clearTimeout(self.timeout);
+
+ self.hoverState = 'in';
+
+ if (!self.options.delay || !self.options.delay.show) return self.show();
self.timeout = setTimeout(function () {
if (self.hoverState == 'in') self.show()
}, self.options.delay.show)
- }
+ };
+
+ Tooltip.prototype.isInStateTrue = function () {
+ for (var key in this.inState) {
+ if (this.inState[key]) return true
+ }
+
+ return false
+ };
Tooltip.prototype.leave = function (obj) {
var self = obj instanceof this.constructor ?
- obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
+ obj : $(obj.currentTarget).data('bs.' + this.type);
- clearTimeout(self.timeout)
+ if (!self) {
+ self = new this.constructor(obj.currentTarget, this.getDelegateOptions());
+ $(obj.currentTarget).data('bs.' + this.type, self)
+ }
- self.hoverState = 'out'
+ if (obj instanceof $.Event) {
+ self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false
+ }
- if (!self.options.delay || !self.options.delay.hide) return self.hide()
+ if (self.isInStateTrue()) return;
+
+ clearTimeout(self.timeout);
+
+ self.hoverState = 'out';
+
+ if (!self.options.delay || !self.options.delay.hide) return self.hide();
self.timeout = setTimeout(function () {
if (self.hoverState == 'out') self.hide()
}, self.options.delay.hide)
- }
+ };
Tooltip.prototype.show = function () {
- var e = $.Event('show.bs.' + this.type)
+ var e = $.Event('show.bs.' + this.type);
if (this.hasContent() && this.enabled) {
- this.$element.trigger(e)
+ this.$element.trigger(e);
- if (e.isDefaultPrevented()) return
+ var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0]);
+ if (e.isDefaultPrevented() || !inDom) return;
+ var that = this;
- var $tip = this.tip()
+ var $tip = this.tip();
- this.setContent()
+ var tipId = this.getUID(this.type);
- if (this.options.animation) $tip.addClass('fade')
+ this.setContent();
+ $tip.attr('id', tipId);
+ this.$element.attr('aria-describedby', tipId);
+
+ if (this.options.animation) $tip.addClass('fade');
var placement = typeof this.options.placement == 'function' ?
this.options.placement.call(this, $tip[0], this.$element[0]) :
- this.options.placement
+ this.options.placement;
- var autoToken = /\s?auto?\s?/i
- var autoPlace = autoToken.test(placement)
- if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
+ var autoToken = /\s?auto?\s?/i;
+ var autoPlace = autoToken.test(placement);
+ if (autoPlace) placement = placement.replace(autoToken, '') || 'top';
$tip
.detach()
.css({top: 0, left: 0, display: 'block'})
.addClass(placement)
+ .data('bs.' + this.type, this);
- this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
+ this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element);
+ this.$element.trigger('inserted.bs.' + this.type);
- var pos = this.getPosition()
- var actualWidth = $tip[0].offsetWidth
- var actualHeight = $tip[0].offsetHeight
+ var pos = this.getPosition();
+ var actualWidth = $tip[0].offsetWidth;
+ var actualHeight = $tip[0].offsetHeight;
if (autoPlace) {
- var $parent = this.$element.parent()
+ var orgPlacement = placement;
+ var viewportDim = this.getPosition(this.$viewport);
- var orgPlacement = placement
- var docScroll = document.documentElement.scrollTop || document.body.scrollTop
- var parentWidth = this.options.container == 'body' ? window.innerWidth : $parent.outerWidth()
- var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()
- var parentLeft = this.options.container == 'body' ? 0 : $parent.offset().left
-
- placement = placement == 'bottom' && pos.top + pos.height + actualHeight - docScroll > parentHeight ? 'top' :
- placement == 'top' && pos.top - docScroll - actualHeight < 0 ? 'bottom' :
- placement == 'right' && pos.right + actualWidth > parentWidth ? 'left' :
- placement == 'left' && pos.left - actualWidth < parentLeft ? 'right' :
- placement
+ placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' :
+ placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' :
+ placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' :
+ placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' :
+ placement;
$tip
.removeClass(orgPlacement)
.addClass(placement)
}
- var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
+ var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight);
- this.applyPlacement(calculatedOffset, placement)
- this.$element.trigger('shown.bs.' + this.type)
+ this.applyPlacement(calculatedOffset, placement);
+
+ var complete = function () {
+ var prevHoverState = that.hoverState;
+ that.$element.trigger('shown.bs.' + that.type);
+ that.hoverState = null;
+
+ if (prevHoverState == 'out') that.leave(that)
+ };
+
+ $.support.transition && this.$tip.hasClass('fade') ?
+ $tip
+ .one('bsTransitionEnd', complete)
+ .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
+ complete()
}
- }
+ };
Tooltip.prototype.applyPlacement = function (offset, placement) {
- var replace
- var $tip = this.tip()
- var width = $tip[0].offsetWidth
- var height = $tip[0].offsetHeight
+ var $tip = this.tip();
+ var width = $tip[0].offsetWidth;
+ var height = $tip[0].offsetHeight;
// manually read margins because getBoundingClientRect includes difference
- var marginTop = parseInt($tip.css('margin-top'), 10)
- var marginLeft = parseInt($tip.css('margin-left'), 10)
+ var marginTop = parseInt($tip.css('margin-top'), 10);
+ var marginLeft = parseInt($tip.css('margin-left'), 10);
// we must check for NaN for ie 8/9
- if (isNaN(marginTop)) marginTop = 0
- if (isNaN(marginLeft)) marginLeft = 0
+ if (isNaN(marginTop)) marginTop = 0;
+ if (isNaN(marginLeft)) marginLeft = 0;
- offset.top = offset.top + marginTop
- offset.left = offset.left + marginLeft
+ offset.top += marginTop;
+ offset.left += marginLeft;
- $tip
- .offset(offset)
- .addClass('in')
+ // $.fn.offset doesn't round pixel values
+ // so we use setOffset directly with our own function B-0
+ $.offset.setOffset($tip[0], $.extend({
+ using: function (props) {
+ $tip.css({
+ top: Math.round(props.top),
+ left: Math.round(props.left)
+ })
+ }
+ }, offset), 0);
+
+ $tip.addClass('in');
// check to see if placing tip in new offset caused the tip to resize itself
- var actualWidth = $tip[0].offsetWidth
- var actualHeight = $tip[0].offsetHeight
+ var actualWidth = $tip[0].offsetWidth;
+ var actualHeight = $tip[0].offsetHeight;
if (placement == 'top' && actualHeight != height) {
- replace = true
offset.top = offset.top + height - actualHeight
}
- if (/bottom|top/.test(placement)) {
- var delta = 0
+ var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight);
- if (offset.left < 0) {
- delta = offset.left * -2
- offset.left = 0
+ if (delta.left) offset.left += delta.left;
+ else offset.top += delta.top;
- $tip.offset(offset)
+ var isVertical = /top|bottom/.test(placement);
+ var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight;
+ var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight';
- actualWidth = $tip[0].offsetWidth
- actualHeight = $tip[0].offsetHeight
- }
+ $tip.offset(offset);
+ this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
+ };
- this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')
- } else {
- this.replaceArrow(actualHeight - height, actualHeight, 'top')
- }
-
- if (replace) $tip.offset(offset)
- }
-
- Tooltip.prototype.replaceArrow = function (delta, dimension, position) {
- this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + "%") : '')
- }
+ Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {
+ this.arrow()
+ .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
+ .css(isVertical ? 'top' : 'left', '')
+ };
Tooltip.prototype.setContent = function () {
- var $tip = this.tip()
- var title = this.getTitle()
+ var $tip = this.tip();
+ var title = this.getTitle();
- $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
+ $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title);
$tip.removeClass('fade in top bottom left right')
- }
+ };
- Tooltip.prototype.hide = function () {
- var that = this
- var $tip = this.tip()
- var e = $.Event('hide.bs.' + this.type)
+ Tooltip.prototype.hide = function (callback) {
+ var that = this;
+ var $tip = $(this.$tip);
+ var e = $.Event('hide.bs.' + this.type);
function complete() {
- if (that.hoverState != 'in') $tip.detach()
+ if (that.hoverState != 'in') $tip.detach();
+ that.$element
+ .removeAttr('aria-describedby')
+ .trigger('hidden.bs.' + that.type);
+ callback && callback()
}
- this.$element.trigger(e)
+ this.$element.trigger(e);
- if (e.isDefaultPrevented()) return
+ if (e.isDefaultPrevented()) return;
- $tip.removeClass('in')
+ $tip.removeClass('in');
- $.support.transition && this.$tip.hasClass('fade') ?
+ $.support.transition && $tip.hasClass('fade') ?
$tip
- .one($.support.transition.end, complete)
- .emulateTransitionEnd(150) :
- complete()
+ .one('bsTransitionEnd', complete)
+ .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
+ complete();
- this.$element.trigger('hidden.bs.' + this.type)
+ this.hoverState = null;
return this
- }
+ };
Tooltip.prototype.fixTitle = function () {
- var $e = this.$element
- if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
+ var $e = this.$element;
+ if ($e.attr('title') || typeof $e.attr('data-original-title') != 'string') {
$e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
}
- }
+ };
Tooltip.prototype.hasContent = function () {
return this.getTitle()
- }
+ };
- Tooltip.prototype.getPosition = function () {
- var el = this.$element[0]
- return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
- width: el.offsetWidth
- , height: el.offsetHeight
- }, this.$element.offset())
- }
+ Tooltip.prototype.getPosition = function ($element) {
+ $element = $element || this.$element;
+
+ var el = $element[0];
+ var isBody = el.tagName == 'BODY';
+
+ var elRect = el.getBoundingClientRect();
+ if (elRect.width == null) {
+ // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093
+ elRect = $.extend({}, elRect, {width: elRect.right - elRect.left, height: elRect.bottom - elRect.top})
+ }
+ var elOffset = isBody ? {top: 0, left: 0} : $element.offset();
+ var scroll = {scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop()};
+ var outerDims = isBody ? {width: $(window).width(), height: $(window).height()} : null;
+
+ return $.extend({}, elRect, scroll, outerDims, elOffset)
+ };
Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
return placement == 'bottom' ? {top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2} :
@@ -1412,319 +1638,371 @@ if (typeof jQuery === "undefined") {
top: pos.top + pos.height / 2 - actualHeight / 2,
left: pos.left + pos.width
}
- }
+
+ };
+
+ Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
+ var delta = {top: 0, left: 0};
+ if (!this.$viewport) return delta;
+
+ var viewportPadding = this.options.viewport && this.options.viewport.padding || 0;
+ var viewportDimensions = this.getPosition(this.$viewport);
+
+ if (/right|left/.test(placement)) {
+ var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll;
+ var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight;
+ if (topEdgeOffset < viewportDimensions.top) { // top overflow
+ delta.top = viewportDimensions.top - topEdgeOffset
+ } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
+ delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset
+ }
+ } else {
+ var leftEdgeOffset = pos.left - viewportPadding;
+ var rightEdgeOffset = pos.left + viewportPadding + actualWidth;
+ if (leftEdgeOffset < viewportDimensions.left) { // left overflow
+ delta.left = viewportDimensions.left - leftEdgeOffset
+ } else if (rightEdgeOffset > viewportDimensions.right) { // right overflow
+ delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
+ }
+ }
+
+ return delta
+ };
Tooltip.prototype.getTitle = function () {
- var title
- var $e = this.$element
- var o = this.options
+ var title;
+ var $e = this.$element;
+ var o = this.options;
title = $e.attr('data-original-title')
- || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
+ || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title);
return title
- }
+ };
+
+ Tooltip.prototype.getUID = function (prefix) {
+ do prefix += ~~(Math.random() * 1000000);
+ while (document.getElementById(prefix));
+ return prefix
+ };
Tooltip.prototype.tip = function () {
- return this.$tip = this.$tip || $(this.options.template)
- }
+ if (!this.$tip) {
+ this.$tip = $(this.options.template);
+ if (this.$tip.length != 1) {
+ throw new Error(this.type + ' `template` option must consist of exactly 1 top-level element!')
+ }
+ }
+ return this.$tip
+ };
Tooltip.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')
- }
-
- Tooltip.prototype.validate = function () {
- if (!this.$element[0].parentNode) {
- this.hide()
- this.$element = null
- this.options = null
- }
- }
+ return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
+ };
Tooltip.prototype.enable = function () {
this.enabled = true
- }
+ };
Tooltip.prototype.disable = function () {
this.enabled = false
- }
+ };
Tooltip.prototype.toggleEnabled = function () {
this.enabled = !this.enabled
- }
+ };
Tooltip.prototype.toggle = function (e) {
- var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this
- self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
- }
+ var self = this;
+ if (e) {
+ self = $(e.currentTarget).data('bs.' + this.type);
+ if (!self) {
+ self = new this.constructor(e.currentTarget, this.getDelegateOptions());
+ $(e.currentTarget).data('bs.' + this.type, self)
+ }
+ }
+
+ if (e) {
+ self.inState.click = !self.inState.click;
+ if (self.isInStateTrue()) self.enter(self);
+ else self.leave(self)
+ } else {
+ self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
+ }
+ };
Tooltip.prototype.destroy = function () {
- this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
- }
+ var that = this;
+ clearTimeout(this.timeout);
+ this.hide(function () {
+ that.$element.off('.' + that.type).removeData('bs.' + that.type);
+ if (that.$tip) {
+ that.$tip.detach()
+ }
+ that.$tip = null;
+ that.$arrow = null;
+ that.$viewport = null
+ })
+ };
// TOOLTIP PLUGIN DEFINITION
// =========================
- var old = $.fn.tooltip
-
- $.fn.tooltip = function (option) {
+ function Plugin(option) {
return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.tooltip')
- var options = typeof option == 'object' && option
+ var $this = $(this);
+ var data = $this.data('bs.tooltip');
+ var options = typeof option == 'object' && option;
- if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
+ if (!data && /destroy|hide/.test(option)) return;
+ if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)));
if (typeof option == 'string') data[option]()
})
}
- $.fn.tooltip.Constructor = Tooltip
+ var old = $.fn.tooltip;
+
+ $.fn.tooltip = Plugin;
+ $.fn.tooltip.Constructor = Tooltip;
// TOOLTIP NO CONFLICT
// ===================
$.fn.tooltip.noConflict = function () {
- $.fn.tooltip = old
+ $.fn.tooltip = old;
return this
}
}(jQuery);
/* ========================================================================
- * Bootstrap: popover.js v3.0.3
+ * Bootstrap: popover.js v3.3.5
* http://getbootstrap.com/javascript/#popovers
* ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
- "use strict";
+ 'use strict';
// POPOVER PUBLIC CLASS DEFINITION
// ===============================
var Popover = function (element, options) {
this.init('popover', element, options)
- }
+ };
- if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
+ if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js');
+
+ Popover.VERSION = '3.3.5';
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
- placement: 'right'
- ,
- trigger: 'click'
- ,
- content: ''
- ,
- template: '
'
- })
+ placement: 'right',
+ trigger: 'click',
+ content: '',
+ template: '
'
+ });
// NOTE: POPOVER EXTENDS tooltip.js
// ================================
- Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
+ Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype);
- Popover.prototype.constructor = Popover
+ Popover.prototype.constructor = Popover;
Popover.prototype.getDefaults = function () {
return Popover.DEFAULTS
- }
+ };
Popover.prototype.setContent = function () {
- var $tip = this.tip()
- var title = this.getTitle()
- var content = this.getContent()
+ var $tip = this.tip();
+ var title = this.getTitle();
+ var content = this.getContent();
- $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
- $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)
+ $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title);
+ $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events
+ this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
+ ](content);
- $tip.removeClass('fade top bottom left right in')
+ $tip.removeClass('fade top bottom left right in');
// IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
// this manually by checking the contents.
if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
- }
+ };
Popover.prototype.hasContent = function () {
return this.getTitle() || this.getContent()
- }
+ };
Popover.prototype.getContent = function () {
- var $e = this.$element
- var o = this.options
+ var $e = this.$element;
+ var o = this.options;
return $e.attr('data-content')
|| (typeof o.content == 'function' ?
o.content.call($e[0]) :
o.content)
- }
+ };
Popover.prototype.arrow = function () {
- return this.$arrow = this.$arrow || this.tip().find('.arrow')
- }
-
- Popover.prototype.tip = function () {
- if (!this.$tip) this.$tip = $(this.options.template)
- return this.$tip
- }
+ return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
+ };
// POPOVER PLUGIN DEFINITION
// =========================
- var old = $.fn.popover
-
- $.fn.popover = function (option) {
+ function Plugin(option) {
return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.popover')
- var options = typeof option == 'object' && option
+ var $this = $(this);
+ var data = $this.data('bs.popover');
+ var options = typeof option == 'object' && option;
- if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
+ if (!data && /destroy|hide/.test(option)) return;
+ if (!data) $this.data('bs.popover', (data = new Popover(this, options)));
if (typeof option == 'string') data[option]()
})
}
- $.fn.popover.Constructor = Popover
+ var old = $.fn.popover;
+
+ $.fn.popover = Plugin;
+ $.fn.popover.Constructor = Popover;
// POPOVER NO CONFLICT
// ===================
$.fn.popover.noConflict = function () {
- $.fn.popover = old
+ $.fn.popover = old;
return this
}
}(jQuery);
/* ========================================================================
- * Bootstrap: scrollspy.js v3.0.3
+ * Bootstrap: scrollspy.js v3.3.5
* http://getbootstrap.com/javascript/#scrollspy
* ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
- "use strict";
+ 'use strict';
// SCROLLSPY CLASS DEFINITION
// ==========================
function ScrollSpy(element, options) {
- var href
- var process = $.proxy(this.process, this)
+ this.$body = $(document.body);
+ this.$scrollElement = $(element).is(document.body) ? $(window) : $(element);
+ this.options = $.extend({}, ScrollSpy.DEFAULTS, options);
+ this.selector = (this.options.target || '') + ' .nav li > a';
+ this.offsets = [];
+ this.targets = [];
+ this.activeTarget = null;
+ this.scrollHeight = 0;
- this.$element = $(element).is('body') ? $(window) : $(element)
- this.$body = $('body')
- this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process)
- this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
- this.selector = (this.options.target
- || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
- || '') + ' .nav li > a'
- this.offsets = $([])
- this.targets = $([])
- this.activeTarget = null
-
- this.refresh()
+ this.$scrollElement.on('scroll.bs.scrollspy', $.proxy(this.process, this));
+ this.refresh();
this.process()
}
+ ScrollSpy.VERSION = '3.3.5';
+
ScrollSpy.DEFAULTS = {
offset: 10
- }
+ };
+
+ ScrollSpy.prototype.getScrollHeight = function () {
+ return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)
+ };
ScrollSpy.prototype.refresh = function () {
- var offsetMethod = this.$element[0] == window ? 'offset' : 'position'
+ var that = this;
+ var offsetMethod = 'offset';
+ var offsetBase = 0;
- this.offsets = $([])
- this.targets = $([])
+ this.offsets = [];
+ this.targets = [];
+ this.scrollHeight = this.getScrollHeight();
- var self = this
- var $targets = this.$body
+ if (!$.isWindow(this.$scrollElement[0])) {
+ offsetMethod = 'position';
+ offsetBase = this.$scrollElement.scrollTop()
+ }
+
+ this.$body
.find(this.selector)
.map(function () {
- var $el = $(this)
- var href = $el.data('target') || $el.attr('href')
- var $href = /^#\w/.test(href) && $(href)
+ var $el = $(this);
+ var href = $el.data('target') || $el.attr('href');
+ var $href = /^#./.test(href) && $(href);
return ($href
&& $href.length
- && [[$href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href]]) || null
+ && $href.is(':visible')
+ && [[$href[offsetMethod]().top + offsetBase, href]]) || null
})
.sort(function (a, b) {
return a[0] - b[0]
})
.each(function () {
- self.offsets.push(this[0])
- self.targets.push(this[1])
+ that.offsets.push(this[0]);
+ that.targets.push(this[1])
})
- }
+ };
ScrollSpy.prototype.process = function () {
- var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
- var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight
- var maxScroll = scrollHeight - this.$scrollElement.height()
- var offsets = this.offsets
- var targets = this.targets
- var activeTarget = this.activeTarget
- var i
+ var scrollTop = this.$scrollElement.scrollTop() + this.options.offset;
+ var scrollHeight = this.getScrollHeight();
+ var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height();
+ var offsets = this.offsets;
+ var targets = this.targets;
+ var activeTarget = this.activeTarget;
+ var i;
+
+ if (this.scrollHeight != scrollHeight) {
+ this.refresh()
+ }
if (scrollTop >= maxScroll) {
- return activeTarget != (i = targets.last()[0]) && this.activate(i)
+ return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
+ }
+
+ if (activeTarget && scrollTop < offsets[0]) {
+ this.activeTarget = null;
+ return this.clear()
}
for (i = offsets.length; i--;) {
activeTarget != targets[i]
&& scrollTop >= offsets[i]
- && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
+ && (offsets[i + 1] === undefined || scrollTop < offsets[i + 1])
&& this.activate(targets[i])
}
- }
+ };
ScrollSpy.prototype.activate = function (target) {
- this.activeTarget = target
+ this.activeTarget = target;
- $(this.selector)
- .parents('.active')
- .removeClass('active')
+ this.clear();
- var selector = this.selector
- + '[data-target="' + target + '"],'
- + this.selector + '[href="' + target + '"]'
+ var selector = this.selector +
+ '[data-target="' + target + '"],' +
+ this.selector + '[href="' + target + '"]';
var active = $(selector)
.parents('li')
- .addClass('active')
+ .addClass('active');
if (active.parent('.dropdown-menu').length) {
active = active
@@ -1733,293 +2011,354 @@ if (typeof jQuery === "undefined") {
}
active.trigger('activate.bs.scrollspy')
- }
+ };
+
+ ScrollSpy.prototype.clear = function () {
+ $(this.selector)
+ .parentsUntil(this.options.target, '.active')
+ .removeClass('active')
+ };
// SCROLLSPY PLUGIN DEFINITION
// ===========================
- var old = $.fn.scrollspy
-
- $.fn.scrollspy = function (option) {
+ function Plugin(option) {
return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.scrollspy')
- var options = typeof option == 'object' && option
+ var $this = $(this);
+ var data = $this.data('bs.scrollspy');
+ var options = typeof option == 'object' && option;
- if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
+ if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)));
if (typeof option == 'string') data[option]()
})
}
- $.fn.scrollspy.Constructor = ScrollSpy
+ var old = $.fn.scrollspy;
+
+ $.fn.scrollspy = Plugin;
+ $.fn.scrollspy.Constructor = ScrollSpy;
// SCROLLSPY NO CONFLICT
// =====================
$.fn.scrollspy.noConflict = function () {
- $.fn.scrollspy = old
+ $.fn.scrollspy = old;
return this
- }
+ };
// SCROLLSPY DATA-API
// ==================
- $(window).on('load', function () {
+ $(window).on('load.bs.scrollspy.data-api', function () {
$('[data-spy="scroll"]').each(function () {
- var $spy = $(this)
- $spy.scrollspy($spy.data())
+ var $spy = $(this);
+ Plugin.call($spy, $spy.data())
})
})
}(jQuery);
/* ========================================================================
- * Bootstrap: tab.js v3.0.3
+ * Bootstrap: tab.js v3.3.5
* http://getbootstrap.com/javascript/#tabs
* ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
- "use strict";
+ 'use strict';
// TAB CLASS DEFINITION
// ====================
var Tab = function (element) {
- this.element = $(element)
- }
+ // jscs:disable requireDollarBeforejQueryAssignment
+ this.element = $(element);
+ // jscs:enable requireDollarBeforejQueryAssignment
+ };
+
+ Tab.VERSION = '3.3.5';
+
+ Tab.TRANSITION_DURATION = 150;
Tab.prototype.show = function () {
- var $this = this.element
- var $ul = $this.closest('ul:not(.dropdown-menu)')
- var selector = $this.data('target')
+ var $this = this.element;
+ var $ul = $this.closest('ul:not(.dropdown-menu)');
+ var selector = $this.data('target');
if (!selector) {
- selector = $this.attr('href')
- selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
+ selector = $this.attr('href');
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, ''); // strip for ie7
}
- if ($this.parent('li').hasClass('active')) return
+ if ($this.parent('li').hasClass('active')) return;
- var previous = $ul.find('.active:last a')[0]
- var e = $.Event('show.bs.tab', {
- relatedTarget: previous
- })
+ var $previous = $ul.find('.active:last a');
+ var hideEvent = $.Event('hide.bs.tab', {
+ relatedTarget: $this[0]
+ });
+ var showEvent = $.Event('show.bs.tab', {
+ relatedTarget: $previous[0]
+ });
- $this.trigger(e)
+ $previous.trigger(hideEvent);
+ $this.trigger(showEvent);
- if (e.isDefaultPrevented()) return
+ if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return;
- var $target = $(selector)
+ var $target = $(selector);
- this.activate($this.parent('li'), $ul)
+ this.activate($this.closest('li'), $ul);
this.activate($target, $target.parent(), function () {
+ $previous.trigger({
+ type: 'hidden.bs.tab',
+ relatedTarget: $this[0]
+ });
$this.trigger({
- type: 'shown.bs.tab'
- , relatedTarget: previous
+ type: 'shown.bs.tab',
+ relatedTarget: $previous[0]
})
})
- }
+ };
Tab.prototype.activate = function (element, container, callback) {
- var $active = container.find('> .active')
+ var $active = container.find('> .active');
var transition = callback
&& $.support.transition
- && $active.hasClass('fade')
+ && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length);
function next() {
$active
.removeClass('active')
.find('> .dropdown-menu > .active')
.removeClass('active')
+ .end()
+ .find('[data-toggle="tab"]')
+ .attr('aria-expanded', false);
- element.addClass('active')
+ element
+ .addClass('active')
+ .find('[data-toggle="tab"]')
+ .attr('aria-expanded', true);
if (transition) {
- element[0].offsetWidth // reflow for transition
+ element[0].offsetWidth; // reflow for transition
element.addClass('in')
} else {
element.removeClass('fade')
}
- if (element.parent('.dropdown-menu')) {
- element.closest('li.dropdown').addClass('active')
+ if (element.parent('.dropdown-menu').length) {
+ element
+ .closest('li.dropdown')
+ .addClass('active')
+ .end()
+ .find('[data-toggle="tab"]')
+ .attr('aria-expanded', true)
}
callback && callback()
}
- transition ?
+ $active.length && transition ?
$active
- .one($.support.transition.end, next)
- .emulateTransitionEnd(150) :
- next()
+ .one('bsTransitionEnd', next)
+ .emulateTransitionEnd(Tab.TRANSITION_DURATION) :
+ next();
$active.removeClass('in')
- }
+ };
// TAB PLUGIN DEFINITION
// =====================
- var old = $.fn.tab
-
- $.fn.tab = function (option) {
+ function Plugin(option) {
return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.tab')
+ var $this = $(this);
+ var data = $this.data('bs.tab');
- if (!data) $this.data('bs.tab', (data = new Tab(this)))
+ if (!data) $this.data('bs.tab', (data = new Tab(this)));
if (typeof option == 'string') data[option]()
})
}
- $.fn.tab.Constructor = Tab
+ var old = $.fn.tab;
+
+ $.fn.tab = Plugin;
+ $.fn.tab.Constructor = Tab;
// TAB NO CONFLICT
// ===============
$.fn.tab.noConflict = function () {
- $.fn.tab = old
+ $.fn.tab = old;
return this
- }
+ };
// TAB DATA-API
// ============
- $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
- e.preventDefault()
- $(this).tab('show')
- })
+ var clickHandler = function (e) {
+ e.preventDefault();
+ Plugin.call($(this), 'show')
+ };
+
+ $(document)
+ .on('click.bs.tab.data-api', '[data-toggle="tab"]', clickHandler)
+ .on('click.bs.tab.data-api', '[data-toggle="pill"]', clickHandler)
}(jQuery);
/* ========================================================================
- * Bootstrap: affix.js v3.0.3
+ * Bootstrap: affix.js v3.3.5
* http://getbootstrap.com/javascript/#affix
* ========================================================================
- * Copyright 2013 Twitter, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
+function ($) {
- "use strict";
+ 'use strict';
// AFFIX CLASS DEFINITION
// ======================
var Affix = function (element, options) {
- this.options = $.extend({}, Affix.DEFAULTS, options)
- this.$window = $(window)
- .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
- .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
+ this.options = $.extend({}, Affix.DEFAULTS, options);
- this.$element = $(element)
- this.affixed =
- this.unpin = null
+ this.$target = $(this.options.target)
+ .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
+ .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this));
+
+ this.$element = $(element);
+ this.affixed = null;
+ this.unpin = null;
+ this.pinnedOffset = null;
this.checkPosition()
- }
+ };
- Affix.RESET = 'affix affix-top affix-bottom'
+ Affix.VERSION = '3.3.5';
+
+ Affix.RESET = 'affix affix-top affix-bottom';
Affix.DEFAULTS = {
- offset: 0
- }
+ offset: 0,
+ target: window
+ };
+
+ Affix.prototype.getState = function (scrollHeight, height, offsetTop, offsetBottom) {
+ var scrollTop = this.$target.scrollTop();
+ var position = this.$element.offset();
+ var targetHeight = this.$target.height();
+
+ if (offsetTop != null && this.affixed == 'top') return scrollTop < offsetTop ? 'top' : false;
+
+ if (this.affixed == 'bottom') {
+ if (offsetTop != null) return (scrollTop + this.unpin <= position.top) ? false : 'bottom';
+ return (scrollTop + targetHeight <= scrollHeight - offsetBottom) ? false : 'bottom'
+ }
+
+ var initializing = this.affixed == null;
+ var colliderTop = initializing ? scrollTop : position.top;
+ var colliderHeight = initializing ? targetHeight : height;
+
+ if (offsetTop != null && scrollTop <= offsetTop) return 'top';
+ if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom';
+
+ return false
+ };
+
+ Affix.prototype.getPinnedOffset = function () {
+ if (this.pinnedOffset) return this.pinnedOffset;
+ this.$element.removeClass(Affix.RESET).addClass('affix');
+ var scrollTop = this.$target.scrollTop();
+ var position = this.$element.offset();
+ return (this.pinnedOffset = position.top - scrollTop)
+ };
Affix.prototype.checkPositionWithEventLoop = function () {
setTimeout($.proxy(this.checkPosition, this), 1)
- }
+ };
Affix.prototype.checkPosition = function () {
- if (!this.$element.is(':visible')) return
+ if (!this.$element.is(':visible')) return;
- var scrollHeight = $(document).height()
- var scrollTop = this.$window.scrollTop()
- var position = this.$element.offset()
- var offset = this.options.offset
- var offsetTop = offset.top
- var offsetBottom = offset.bottom
+ var height = this.$element.height();
+ var offset = this.options.offset;
+ var offsetTop = offset.top;
+ var offsetBottom = offset.bottom;
+ var scrollHeight = Math.max($(document).height(), $(document.body).height());
- if (typeof offset != 'object') offsetBottom = offsetTop = offset
- if (typeof offsetTop == 'function') offsetTop = offset.top()
- if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()
+ if (typeof offset != 'object') offsetBottom = offsetTop = offset;
+ if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element);
+ if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element);
- var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
- offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
- offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
+ var affix = this.getState(scrollHeight, height, offsetTop, offsetBottom);
- if (this.affixed === affix) return
- if (this.unpin) this.$element.css('top', '')
+ if (this.affixed != affix) {
+ if (this.unpin != null) this.$element.css('top', '');
- this.affixed = affix
- this.unpin = affix == 'bottom' ? position.top - scrollTop : null
+ var affixType = 'affix' + (affix ? '-' + affix : '');
+ var e = $.Event(affixType + '.bs.affix');
- this.$element.removeClass(Affix.RESET).addClass('affix' + (affix ? '-' + affix : ''))
+ this.$element.trigger(e);
+
+ if (e.isDefaultPrevented()) return;
+
+ this.affixed = affix;
+ this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null;
+
+ this.$element
+ .removeClass(Affix.RESET)
+ .addClass(affixType)
+ .trigger(affixType.replace('affix', 'affixed') + '.bs.affix')
+ }
if (affix == 'bottom') {
- this.$element.offset({top: document.body.offsetHeight - offsetBottom - this.$element.height()})
+ this.$element.offset({
+ top: scrollHeight - height - offsetBottom
+ })
}
- }
+ };
// AFFIX PLUGIN DEFINITION
// =======================
- var old = $.fn.affix
-
- $.fn.affix = function (option) {
+ function Plugin(option) {
return this.each(function () {
- var $this = $(this)
- var data = $this.data('bs.affix')
- var options = typeof option == 'object' && option
+ var $this = $(this);
+ var data = $this.data('bs.affix');
+ var options = typeof option == 'object' && option;
- if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
+ if (!data) $this.data('bs.affix', (data = new Affix(this, options)));
if (typeof option == 'string') data[option]()
})
}
- $.fn.affix.Constructor = Affix
+ var old = $.fn.affix;
+
+ $.fn.affix = Plugin;
+ $.fn.affix.Constructor = Affix;
// AFFIX NO CONFLICT
// =================
$.fn.affix.noConflict = function () {
- $.fn.affix = old
+ $.fn.affix = old;
return this
- }
+ };
// AFFIX DATA-API
@@ -2027,15 +2366,15 @@ if (typeof jQuery === "undefined") {
$(window).on('load', function () {
$('[data-spy="affix"]').each(function () {
- var $spy = $(this)
- var data = $spy.data()
+ var $spy = $(this);
+ var data = $spy.data();
- data.offset = data.offset || {}
+ data.offset = data.offset || {};
- if (data.offsetBottom) data.offset.bottom = data.offsetBottom
- if (data.offsetTop) data.offset.top = data.offsetTop
+ if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom;
+ if (data.offsetTop != null) data.offset.top = data.offsetTop;
- $spy.affix(data)
+ Plugin.call($spy, data)
})
})
diff --git a/includes/js/bootstrap.min.js b/includes/js/bootstrap.min.js
index d860248..715bcf2 100644
--- a/includes/js/bootstrap.min.js
+++ b/includes/js/bootstrap.min.js
@@ -1,11 +1,14 @@
/*!
- * Bootstrap v3.0.3 (http://getbootstrap.com)
- * Copyright 2013 Twitter, Inc.
- * Licensed under http://www.apache.org/licenses/LICENSE-2.0
+ * Bootstrap v3.3.5 (http://getbootstrap.com)
+ * Copyright 2011-2015 Twitter, Inc.
+ * Licensed under the MIT license
*/
-
-if ("undefined" == typeof jQuery)throw new Error("Bootstrap requires jQuery");
+if ("undefined" == typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");
+function (a) {
+ "use strict";
+ var b = a.fn.jquery.split(" ")[0].split(".");
+ if (b[0] < 2 && b[1] < 9 || 1 == b[0] && 9 == b[1] && b[2] < 1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")
+}(jQuery), +function (a) {
"use strict";
function b() {
var a = document.createElement("bootstrap"), b = {
@@ -14,12 +17,13 @@ if ("undefined" == typeof jQuery)throw new Error("Bootstrap requires jQuery");
OTransition: "oTransitionEnd otransitionend",
transition: "transitionend"
};
- for (var c in b)if (void 0 !== a.style[c])return {end: b[c]}
+ for (var c in b)if (void 0 !== a.style[c])return {end: b[c]};
+ return !1
}
a.fn.emulateTransitionEnd = function (b) {
var c = !1, d = this;
- a(this).one(a.support.transition.end, function () {
+ a(this).one("bsTransitionEnd", function () {
c = !0
});
var e = function () {
@@ -27,317 +31,427 @@ if ("undefined" == typeof jQuery)throw new Error("Bootstrap requires jQuery");
};
return setTimeout(e, b), this
}, a(function () {
- a.support.transition = b()
+ a.support.transition = b(), a.support.transition && (a.event.special.bsTransitionEnd = {
+ bindType: a.support.transition.end,
+ delegateType: a.support.transition.end,
+ handle: function (b) {
+ return a(b.target).is(this) ? b.handleObj.handler.apply(this, arguments) : void 0
+ }
+ })
})
}(jQuery), +function (a) {
"use strict";
- var b = '[data-dismiss="alert"]', c = function (c) {
- a(c).on("click", b, this.close)
+ function b(b) {
+ return this.each(function () {
+ var c = a(this), e = c.data("bs.alert");
+ e || c.data("bs.alert", e = new d(this)), "string" == typeof b && e[b].call(c)
+ })
+ }
+
+ var c = '[data-dismiss="alert"]', d = function (b) {
+ a(b).on("click", c, this.close)
};
- c.prototype.close = function (b) {
+ d.VERSION = "3.3.5", d.TRANSITION_DURATION = 150, d.prototype.close = function (b) {
function c() {
- f.trigger("closed.bs.alert").remove()
+ g.detach().trigger("closed.bs.alert").remove()
}
- var d = a(this), e = d.attr("data-target");
- e || (e = d.attr("href"), e = e && e.replace(/.*(?=#[^\s]*$)/, ""));
- var f = a(e);
- b && b.preventDefault(), f.length || (f = d.hasClass("alert") ? d : d.parent()), f.trigger(b = a.Event("close.bs.alert")), b.isDefaultPrevented() || (f.removeClass("in"), a.support.transition && f.hasClass("fade") ? f.one(a.support.transition.end, c).emulateTransitionEnd(150) : c())
+ var e = a(this), f = e.attr("data-target");
+ f || (f = e.attr("href"), f = f && f.replace(/.*(?=#[^\s]*$)/, ""));
+ var g = a(f);
+ b && b.preventDefault(), g.length || (g = e.closest(".alert")), g.trigger(b = a.Event("close.bs.alert")), b.isDefaultPrevented() || (g.removeClass("in"), a.support.transition && g.hasClass("fade") ? g.one("bsTransitionEnd", c).emulateTransitionEnd(d.TRANSITION_DURATION) : c())
};
- var d = a.fn.alert;
- a.fn.alert = function (b) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.alert");
- e || d.data("bs.alert", e = new c(this)), "string" == typeof b && e[b].call(d)
- })
- }, a.fn.alert.Constructor = c, a.fn.alert.noConflict = function () {
- return a.fn.alert = d, this
- }, a(document).on("click.bs.alert.data-api", b, c.prototype.close)
+ var e = a.fn.alert;
+ a.fn.alert = b, a.fn.alert.Constructor = d, a.fn.alert.noConflict = function () {
+ return a.fn.alert = e, this
+ }, a(document).on("click.bs.alert.data-api", c, d.prototype.close)
}(jQuery), +function (a) {
"use strict";
- var b = function (c, d) {
- this.$element = a(c), this.options = a.extend({}, b.DEFAULTS, d)
+ function b(b) {
+ return this.each(function () {
+ var d = a(this), e = d.data("bs.button"), f = "object" == typeof b && b;
+ e || d.data("bs.button", e = new c(this, f)), "toggle" == b ? e.toggle() : b && e.setState(b)
+ })
+ }
+
+ var c = function (b, d) {
+ this.$element = a(b), this.options = a.extend({}, c.DEFAULTS, d), this.isLoading = !1
};
- b.DEFAULTS = {loadingText: "loading..."}, b.prototype.setState = function (a) {
- var b = "disabled", c = this.$element, d = c.is("input") ? "val" : "html", e = c.data();
- a += "Text", e.resetText || c.data("resetText", c[d]()), c[d](e[a] || this.options[a]), setTimeout(function () {
- "loadingText" == a ? c.addClass(b).attr(b, b) : c.removeClass(b).removeAttr(b)
- }, 0)
- }, b.prototype.toggle = function () {
- var a = this.$element.closest('[data-toggle="buttons"]'), b = !0;
- if (a.length) {
+ c.VERSION = "3.3.5", c.DEFAULTS = {loadingText: "loading..."}, c.prototype.setState = function (b) {
+ var c = "disabled", d = this.$element, e = d.is("input") ? "val" : "html", f = d.data();
+ b += "Text", null == f.resetText && d.data("resetText", d[e]()), setTimeout(a.proxy(function () {
+ d[e](null == f[b] ? this.options[b] : f[b]), "loadingText" == b ? (this.isLoading = !0, d.addClass(c).attr(c, c)) : this.isLoading && (this.isLoading = !1, d.removeClass(c).removeAttr(c))
+ }, this), 0)
+ }, c.prototype.toggle = function () {
+ var a = !0, b = this.$element.closest('[data-toggle="buttons"]');
+ if (b.length) {
var c = this.$element.find("input");
- "radio" === c.prop("type") && (c.prop("checked") && this.$element.hasClass("active") ? b = !1 : a.find(".active").removeClass("active")), b && c.prop("checked", !this.$element.hasClass("active")).trigger("change")
- }
- b && this.$element.toggleClass("active")
+ "radio" == c.prop("type") ? (c.prop("checked") && (a = !1), b.find(".active").removeClass("active"), this.$element.addClass("active")) : "checkbox" == c.prop("type") && (c.prop("checked") !== this.$element.hasClass("active") && (a = !1), this.$element.toggleClass("active")), c.prop("checked", this.$element.hasClass("active")), a && c.trigger("change")
+ } else this.$element.attr("aria-pressed", !this.$element.hasClass("active")), this.$element.toggleClass("active")
};
- var c = a.fn.button;
- a.fn.button = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.button"), f = "object" == typeof c && c;
- e || d.data("bs.button", e = new b(this, f)), "toggle" == c ? e.toggle() : c && e.setState(c)
- })
- }, a.fn.button.Constructor = b, a.fn.button.noConflict = function () {
- return a.fn.button = c, this
- }, a(document).on("click.bs.button.data-api", "[data-toggle^=button]", function (b) {
- var c = a(b.target);
- c.hasClass("btn") || (c = c.closest(".btn")), c.button("toggle"), b.preventDefault()
+ var d = a.fn.button;
+ a.fn.button = b, a.fn.button.Constructor = c, a.fn.button.noConflict = function () {
+ return a.fn.button = d, this
+ }, a(document).on("click.bs.button.data-api", '[data-toggle^="button"]', function (c) {
+ var d = a(c.target);
+ d.hasClass("btn") || (d = d.closest(".btn")), b.call(d, "toggle"), a(c.target).is('input[type="radio"]') || a(c.target).is('input[type="checkbox"]') || c.preventDefault()
+ }).on("focus.bs.button.data-api blur.bs.button.data-api", '[data-toggle^="button"]', function (b) {
+ a(b.target).closest(".btn").toggleClass("focus", /^focus(in)?$/.test(b.type))
})
}(jQuery), +function (a) {
"use strict";
- var b = function (b, c) {
- this.$element = a(b), this.$indicators = this.$element.find(".carousel-indicators"), this.options = c, this.paused = this.sliding = this.interval = this.$active = this.$items = null, "hover" == this.options.pause && this.$element.on("mouseenter", a.proxy(this.pause, this)).on("mouseleave", a.proxy(this.cycle, this))
+ function b(b) {
+ return this.each(function () {
+ var d = a(this), e = d.data("bs.carousel"), f = a.extend({}, c.DEFAULTS, d.data(), "object" == typeof b && b), g = "string" == typeof b ? b : f.slide;
+ e || d.data("bs.carousel", e = new c(this, f)), "number" == typeof b ? e.to(b) : g ? e[g]() : f.interval && e.pause().cycle()
+ })
+ }
+
+ var c = function (b, c) {
+ this.$element = a(b), this.$indicators = this.$element.find(".carousel-indicators"), this.options = c, this.paused = null, this.sliding = null, this.interval = null, this.$active = null, this.$items = null, this.options.keyboard && this.$element.on("keydown.bs.carousel", a.proxy(this.keydown, this)), "hover" == this.options.pause && !("ontouchstart"in document.documentElement) && this.$element.on("mouseenter.bs.carousel", a.proxy(this.pause, this)).on("mouseleave.bs.carousel", a.proxy(this.cycle, this))
};
- b.DEFAULTS = {interval: 5e3, pause: "hover", wrap: !0}, b.prototype.cycle = function (b) {
- return b || (this.paused = !1), this.interval && clearInterval(this.interval), this.options.interval && !this.paused && (this.interval = setInterval(a.proxy(this.next, this), this.options.interval)), this
- }, b.prototype.getActiveIndex = function () {
- return this.$active = this.$element.find(".item.active"), this.$items = this.$active.parent().children(), this.$items.index(this.$active)
- }, b.prototype.to = function (b) {
- var c = this, d = this.getActiveIndex();
- return b > this.$items.length - 1 || 0 > b ? void 0 : this.sliding ? this.$element.one("slid.bs.carousel", function () {
- c.to(b)
- }) : d == b ? this.pause().cycle() : this.slide(b > d ? "next" : "prev", a(this.$items[b]))
- }, b.prototype.pause = function (b) {
- return b || (this.paused = !0), this.$element.find(".next, .prev").length && a.support.transition.end && (this.$element.trigger(a.support.transition.end), this.cycle(!0)), this.interval = clearInterval(this.interval), this
- }, b.prototype.next = function () {
- return this.sliding ? void 0 : this.slide("next")
- }, b.prototype.prev = function () {
- return this.sliding ? void 0 : this.slide("prev")
- }, b.prototype.slide = function (b, c) {
- var d = this.$element.find(".item.active"), e = c || d[b](), f = this.interval, g = "next" == b ? "left" : "right", h = "next" == b ? "first" : "last", i = this;
- if (!e.length) {
- if (!this.options.wrap)return;
- e = this.$element.find(".item")[h]()
- }
- this.sliding = !0, f && this.pause();
- var j = a.Event("slide.bs.carousel", {relatedTarget: e[0], direction: g});
- if (!e.hasClass("active")) {
- if (this.$indicators.length && (this.$indicators.find(".active").removeClass("active"), this.$element.one("slid.bs.carousel", function () {
- var b = a(i.$indicators.children()[i.getActiveIndex()]);
- b && b.addClass("active")
- })), a.support.transition && this.$element.hasClass("slide")) {
- if (this.$element.trigger(j), j.isDefaultPrevented())return;
- e.addClass(b), e[0].offsetWidth, d.addClass(g), e.addClass(g), d.one(a.support.transition.end, function () {
- e.removeClass([b, g].join(" ")).addClass("active"), d.removeClass(["active", g].join(" ")), i.sliding = !1, setTimeout(function () {
- i.$element.trigger("slid.bs.carousel")
- }, 0)
- }).emulateTransitionEnd(600)
- } else {
- if (this.$element.trigger(j), j.isDefaultPrevented())return;
- d.removeClass("active"), e.addClass("active"), this.sliding = !1, this.$element.trigger("slid.bs.carousel")
+ c.VERSION = "3.3.5", c.TRANSITION_DURATION = 600, c.DEFAULTS = {
+ interval: 5e3,
+ pause: "hover",
+ wrap: !0,
+ keyboard: !0
+ }, c.prototype.keydown = function (a) {
+ if (!/input|textarea/i.test(a.target.tagName)) {
+ switch (a.which) {
+ case 37:
+ this.prev();
+ break;
+ case 39:
+ this.next();
+ break;
+ default:
+ return
}
- return f && this.cycle(), this
+ a.preventDefault()
+ }
+ }, c.prototype.cycle = function (b) {
+ return b || (this.paused = !1), this.interval && clearInterval(this.interval), this.options.interval && !this.paused && (this.interval = setInterval(a.proxy(this.next, this), this.options.interval)), this
+ }, c.prototype.getItemIndex = function (a) {
+ return this.$items = a.parent().children(".item"), this.$items.index(a || this.$active)
+ }, c.prototype.getItemForDirection = function (a, b) {
+ var c = this.getItemIndex(b), d = "prev" == a && 0 === c || "next" == a && c == this.$items.length - 1;
+ if (d && !this.options.wrap)return b;
+ var e = "prev" == a ? -1 : 1, f = (c + e) % this.$items.length;
+ return this.$items.eq(f)
+ }, c.prototype.to = function (a) {
+ var b = this, c = this.getItemIndex(this.$active = this.$element.find(".item.active"));
+ return a > this.$items.length - 1 || 0 > a ? void 0 : this.sliding ? this.$element.one("slid.bs.carousel", function () {
+ b.to(a)
+ }) : c == a ? this.pause().cycle() : this.slide(a > c ? "next" : "prev", this.$items.eq(a))
+ }, c.prototype.pause = function (b) {
+ return b || (this.paused = !0), this.$element.find(".next, .prev").length && a.support.transition && (this.$element.trigger(a.support.transition.end), this.cycle(!0)), this.interval = clearInterval(this.interval), this
+ }, c.prototype.next = function () {
+ return this.sliding ? void 0 : this.slide("next")
+ }, c.prototype.prev = function () {
+ return this.sliding ? void 0 : this.slide("prev")
+ }, c.prototype.slide = function (b, d) {
+ var e = this.$element.find(".item.active"), f = d || this.getItemForDirection(b, e), g = this.interval, h = "next" == b ? "left" : "right", i = this;
+ if (f.hasClass("active"))return this.sliding = !1;
+ var j = f[0], k = a.Event("slide.bs.carousel", {relatedTarget: j, direction: h});
+ if (this.$element.trigger(k), !k.isDefaultPrevented()) {
+ if (this.sliding = !0, g && this.pause(), this.$indicators.length) {
+ this.$indicators.find(".active").removeClass("active");
+ var l = a(this.$indicators.children()[this.getItemIndex(f)]);
+ l && l.addClass("active")
+ }
+ var m = a.Event("slid.bs.carousel", {relatedTarget: j, direction: h});
+ return a.support.transition && this.$element.hasClass("slide") ? (f.addClass(b), f[0].offsetWidth, e.addClass(h), f.addClass(h), e.one("bsTransitionEnd", function () {
+ f.removeClass([b, h].join(" ")).addClass("active"), e.removeClass(["active", h].join(" ")), i.sliding = !1, setTimeout(function () {
+ i.$element.trigger(m)
+ }, 0)
+ }).emulateTransitionEnd(c.TRANSITION_DURATION)) : (e.removeClass("active"), f.addClass("active"), this.sliding = !1, this.$element.trigger(m)), g && this.cycle(), this
}
};
- var c = a.fn.carousel;
- a.fn.carousel = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.carousel"), f = a.extend({}, b.DEFAULTS, d.data(), "object" == typeof c && c), g = "string" == typeof c ? c : f.slide;
- e || d.data("bs.carousel", e = new b(this, f)), "number" == typeof c ? e.to(c) : g ? e[g]() : f.interval && e.pause().cycle()
- })
- }, a.fn.carousel.Constructor = b, a.fn.carousel.noConflict = function () {
- return a.fn.carousel = c, this
- }, a(document).on("click.bs.carousel.data-api", "[data-slide], [data-slide-to]", function (b) {
- var c, d = a(this), e = a(d.attr("data-target") || (c = d.attr("href")) && c.replace(/.*(?=#[^\s]+$)/, "")), f = a.extend({}, e.data(), d.data()), g = d.attr("data-slide-to");
- g && (f.interval = !1), e.carousel(f), (g = d.attr("data-slide-to")) && e.data("bs.carousel").to(g), b.preventDefault()
- }), a(window).on("load", function () {
+ var d = a.fn.carousel;
+ a.fn.carousel = b, a.fn.carousel.Constructor = c, a.fn.carousel.noConflict = function () {
+ return a.fn.carousel = d, this
+ };
+ var e = function (c) {
+ var d, e = a(this), f = a(e.attr("data-target") || (d = e.attr("href")) && d.replace(/.*(?=#[^\s]+$)/, ""));
+ if (f.hasClass("carousel")) {
+ var g = a.extend({}, f.data(), e.data()), h = e.attr("data-slide-to");
+ h && (g.interval = !1), b.call(f, g), h && f.data("bs.carousel").to(h), c.preventDefault()
+ }
+ };
+ a(document).on("click.bs.carousel.data-api", "[data-slide]", e).on("click.bs.carousel.data-api", "[data-slide-to]", e), a(window).on("load", function () {
a('[data-ride="carousel"]').each(function () {
- var b = a(this);
- b.carousel(b.data())
+ var c = a(this);
+ b.call(c, c.data())
})
})
}(jQuery), +function (a) {
"use strict";
- var b = function (c, d) {
- this.$element = a(c), this.options = a.extend({}, b.DEFAULTS, d), this.transitioning = null, this.options.parent && (this.$parent = a(this.options.parent)), this.options.toggle && this.toggle()
+ function b(b) {
+ var c, d = b.attr("data-target") || (c = b.attr("href")) && c.replace(/.*(?=#[^\s]+$)/, "");
+ return a(d)
+ }
+
+ function c(b) {
+ return this.each(function () {
+ var c = a(this), e = c.data("bs.collapse"), f = a.extend({}, d.DEFAULTS, c.data(), "object" == typeof b && b);
+ !e && f.toggle && /show|hide/.test(b) && (f.toggle = !1), e || c.data("bs.collapse", e = new d(this, f)), "string" == typeof b && e[b]()
+ })
+ }
+
+ var d = function (b, c) {
+ this.$element = a(b), this.options = a.extend({}, d.DEFAULTS, c), this.$trigger = a('[data-toggle="collapse"][href="#' + b.id + '"],[data-toggle="collapse"][data-target="#' + b.id + '"]'), this.transitioning = null, this.options.parent ? this.$parent = this.getParent() : this.addAriaAndCollapsedClass(this.$element, this.$trigger), this.options.toggle && this.toggle()
};
- b.DEFAULTS = {toggle: !0}, b.prototype.dimension = function () {
+ d.VERSION = "3.3.5", d.TRANSITION_DURATION = 350, d.DEFAULTS = {toggle: !0}, d.prototype.dimension = function () {
var a = this.$element.hasClass("width");
return a ? "width" : "height"
- }, b.prototype.show = function () {
+ }, d.prototype.show = function () {
if (!this.transitioning && !this.$element.hasClass("in")) {
- var b = a.Event("show.bs.collapse");
- if (this.$element.trigger(b), !b.isDefaultPrevented()) {
- var c = this.$parent && this.$parent.find("> .panel > .in");
- if (c && c.length) {
- var d = c.data("bs.collapse");
- if (d && d.transitioning)return;
- c.collapse("hide"), d || c.data("bs.collapse", null)
+ var b, e = this.$parent && this.$parent.children(".panel").children(".in, .collapsing");
+ if (!(e && e.length && (b = e.data("bs.collapse"), b && b.transitioning))) {
+ var f = a.Event("show.bs.collapse");
+ if (this.$element.trigger(f), !f.isDefaultPrevented()) {
+ e && e.length && (c.call(e, "hide"), b || e.data("bs.collapse", null));
+ var g = this.dimension();
+ this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded", !0), this.$trigger.removeClass("collapsed").attr("aria-expanded", !0), this.transitioning = 1;
+ var h = function () {
+ this.$element.removeClass("collapsing").addClass("collapse in")[g](""), this.transitioning = 0, this.$element.trigger("shown.bs.collapse")
+ };
+ if (!a.support.transition)return h.call(this);
+ var i = a.camelCase(["scroll", g].join("-"));
+ this.$element.one("bsTransitionEnd", a.proxy(h, this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])
}
- var e = this.dimension();
- this.$element.removeClass("collapse").addClass("collapsing")[e](0), this.transitioning = 1;
- var f = function () {
- this.$element.removeClass("collapsing").addClass("in")[e]("auto"), this.transitioning = 0, this.$element.trigger("shown.bs.collapse")
- };
- if (!a.support.transition)return f.call(this);
- var g = a.camelCase(["scroll", e].join("-"));
- this.$element.one(a.support.transition.end, a.proxy(f, this)).emulateTransitionEnd(350)[e](this.$element[0][g])
}
}
- }, b.prototype.hide = function () {
+ }, d.prototype.hide = function () {
if (!this.transitioning && this.$element.hasClass("in")) {
var b = a.Event("hide.bs.collapse");
if (this.$element.trigger(b), !b.isDefaultPrevented()) {
var c = this.dimension();
- this.$element[c](this.$element[c]())[0].offsetHeight, this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"), this.transitioning = 1;
- var d = function () {
- this.transitioning = 0, this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")
+ this.$element[c](this.$element[c]())[0].offsetHeight, this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded", !1), this.$trigger.addClass("collapsed").attr("aria-expanded", !1), this.transitioning = 1;
+ var e = function () {
+ this.transitioning = 0, this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")
};
- return a.support.transition ? (this.$element[c](0).one(a.support.transition.end, a.proxy(d, this)).emulateTransitionEnd(350), void 0) : d.call(this)
+ return a.support.transition ? void this.$element[c](0).one("bsTransitionEnd", a.proxy(e, this)).emulateTransitionEnd(d.TRANSITION_DURATION) : e.call(this)
}
}
- }, b.prototype.toggle = function () {
+ }, d.prototype.toggle = function () {
this[this.$element.hasClass("in") ? "hide" : "show"]()
+ }, d.prototype.getParent = function () {
+ return a(this.options.parent).find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]').each(a.proxy(function (c, d) {
+ var e = a(d);
+ this.addAriaAndCollapsedClass(b(e), e)
+ }, this)).end()
+ }, d.prototype.addAriaAndCollapsedClass = function (a, b) {
+ var c = a.hasClass("in");
+ a.attr("aria-expanded", c), b.toggleClass("collapsed", !c).attr("aria-expanded", c)
};
- var c = a.fn.collapse;
- a.fn.collapse = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.collapse"), f = a.extend({}, b.DEFAULTS, d.data(), "object" == typeof c && c);
- e || d.data("bs.collapse", e = new b(this, f)), "string" == typeof c && e[c]()
- })
- }, a.fn.collapse.Constructor = b, a.fn.collapse.noConflict = function () {
- return a.fn.collapse = c, this
- }, a(document).on("click.bs.collapse.data-api", "[data-toggle=collapse]", function (b) {
- var c, d = a(this), e = d.attr("data-target") || b.preventDefault() || (c = d.attr("href")) && c.replace(/.*(?=#[^\s]+$)/, ""), f = a(e), g = f.data("bs.collapse"), h = g ? "toggle" : d.data(), i = d.attr("data-parent"), j = i && a(i);
- g && g.transitioning || (j && j.find('[data-toggle=collapse][data-parent="' + i + '"]').not(d).addClass("collapsed"), d[f.hasClass("in") ? "addClass" : "removeClass"]("collapsed")), f.collapse(h)
+ var e = a.fn.collapse;
+ a.fn.collapse = c, a.fn.collapse.Constructor = d, a.fn.collapse.noConflict = function () {
+ return a.fn.collapse = e, this
+ }, a(document).on("click.bs.collapse.data-api", '[data-toggle="collapse"]', function (d) {
+ var e = a(this);
+ e.attr("data-target") || d.preventDefault();
+ var f = b(e), g = f.data("bs.collapse"), h = g ? "toggle" : e.data();
+ c.call(f, h)
})
}(jQuery), +function (a) {
"use strict";
- function b() {
- a(d).remove(), a(e).each(function (b) {
- var d = c(a(this));
- d.hasClass("open") && (d.trigger(b = a.Event("hide.bs.dropdown")), b.isDefaultPrevented() || d.removeClass("open").trigger("hidden.bs.dropdown"))
- })
- }
-
- function c(b) {
+ function b(b) {
var c = b.attr("data-target");
- c || (c = b.attr("href"), c = c && /#/.test(c) && c.replace(/.*(?=#[^\s]*$)/, ""));
+ c || (c = b.attr("href"), c = c && /#[A-Za-z]/.test(c) && c.replace(/.*(?=#[^\s]*$)/, ""));
var d = c && a(c);
return d && d.length ? d : b.parent()
}
- var d = ".dropdown-backdrop", e = "[data-toggle=dropdown]", f = function (b) {
+ function c(c) {
+ c && 3 === c.which || (a(e).remove(), a(f).each(function () {
+ var d = a(this), e = b(d), f = {relatedTarget: this};
+ e.hasClass("open") && (c && "click" == c.type && /input|textarea/i.test(c.target.tagName) && a.contains(e[0], c.target) || (e.trigger(c = a.Event("hide.bs.dropdown", f)), c.isDefaultPrevented() || (d.attr("aria-expanded", "false"), e.removeClass("open").trigger("hidden.bs.dropdown", f))))
+ }))
+ }
+
+ function d(b) {
+ return this.each(function () {
+ var c = a(this), d = c.data("bs.dropdown");
+ d || c.data("bs.dropdown", d = new g(this)), "string" == typeof b && d[b].call(c)
+ })
+ }
+
+ var e = ".dropdown-backdrop", f = '[data-toggle="dropdown"]', g = function (b) {
a(b).on("click.bs.dropdown", this.toggle)
};
- f.prototype.toggle = function (d) {
+ g.VERSION = "3.3.5", g.prototype.toggle = function (d) {
var e = a(this);
if (!e.is(".disabled, :disabled")) {
- var f = c(e), g = f.hasClass("open");
- if (b(), !g) {
- if ("ontouchstart"in document.documentElement && !f.closest(".navbar-nav").length && a('
').insertAfter(a(this)).on("click", b), f.trigger(d = a.Event("show.bs.dropdown")), d.isDefaultPrevented())return;
- f.toggleClass("open").trigger("shown.bs.dropdown"), e.focus()
+ var f = b(e), g = f.hasClass("open");
+ if (c(), !g) {
+ "ontouchstart"in document.documentElement && !f.closest(".navbar-nav").length && a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click", c);
+ var h = {relatedTarget: this};
+ if (f.trigger(d = a.Event("show.bs.dropdown", h)), d.isDefaultPrevented())return;
+ e.trigger("focus").attr("aria-expanded", "true"), f.toggleClass("open").trigger("shown.bs.dropdown", h)
}
return !1
}
- }, f.prototype.keydown = function (b) {
- if (/(38|40|27)/.test(b.keyCode)) {
+ }, g.prototype.keydown = function (c) {
+ if (/(38|40|27|32)/.test(c.which) && !/input|textarea/i.test(c.target.tagName)) {
var d = a(this);
- if (b.preventDefault(), b.stopPropagation(), !d.is(".disabled, :disabled")) {
- var f = c(d), g = f.hasClass("open");
- if (!g || g && 27 == b.keyCode)return 27 == b.which && f.find(e).focus(), d.click();
- var h = a("[role=menu] li:not(.divider):visible a", f);
- if (h.length) {
- var i = h.index(h.filter(":focus"));
- 38 == b.keyCode && i > 0 && i--, 40 == b.keyCode && i < h.length - 1 && i++, ~i || (i = 0), h.eq(i).focus()
+ if (c.preventDefault(), c.stopPropagation(), !d.is(".disabled, :disabled")) {
+ var e = b(d), g = e.hasClass("open");
+ if (!g && 27 != c.which || g && 27 == c.which)return 27 == c.which && e.find(f).trigger("focus"), d.trigger("click");
+ var h = " li:not(.disabled):visible a", i = e.find(".dropdown-menu" + h);
+ if (i.length) {
+ var j = i.index(c.target);
+ 38 == c.which && j > 0 && j--, 40 == c.which && j < i.length - 1 && j++, ~j || (j = 0), i.eq(j).trigger("focus")
}
}
}
};
- var g = a.fn.dropdown;
- a.fn.dropdown = function (b) {
- return this.each(function () {
- var c = a(this), d = c.data("bs.dropdown");
- d || c.data("bs.dropdown", d = new f(this)), "string" == typeof b && d[b].call(c)
- })
- }, a.fn.dropdown.Constructor = f, a.fn.dropdown.noConflict = function () {
- return a.fn.dropdown = g, this
- }, a(document).on("click.bs.dropdown.data-api", b).on("click.bs.dropdown.data-api", ".dropdown form", function (a) {
+ var h = a.fn.dropdown;
+ a.fn.dropdown = d, a.fn.dropdown.Constructor = g, a.fn.dropdown.noConflict = function () {
+ return a.fn.dropdown = h, this
+ }, a(document).on("click.bs.dropdown.data-api", c).on("click.bs.dropdown.data-api", ".dropdown form", function (a) {
a.stopPropagation()
- }).on("click.bs.dropdown.data-api", e, f.prototype.toggle).on("keydown.bs.dropdown.data-api", e + ", [role=menu]", f.prototype.keydown)
+ }).on("click.bs.dropdown.data-api", f, g.prototype.toggle).on("keydown.bs.dropdown.data-api", f, g.prototype.keydown).on("keydown.bs.dropdown.data-api", ".dropdown-menu", g.prototype.keydown)
}(jQuery), +function (a) {
"use strict";
- var b = function (b, c) {
- this.options = c, this.$element = a(b), this.$backdrop = this.isShown = null, this.options.remote && this.$element.load(this.options.remote)
- };
- b.DEFAULTS = {backdrop: !0, keyboard: !0, show: !0}, b.prototype.toggle = function (a) {
- return this[this.isShown ? "hide" : "show"](a)
- }, b.prototype.show = function (b) {
- var c = this, d = a.Event("show.bs.modal", {relatedTarget: b});
- this.$element.trigger(d), this.isShown || d.isDefaultPrevented() || (this.isShown = !0, this.escape(), this.$element.on("click.dismiss.modal", '[data-dismiss="modal"]', a.proxy(this.hide, this)), this.backdrop(function () {
- var d = a.support.transition && c.$element.hasClass("fade");
- c.$element.parent().length || c.$element.appendTo(document.body), c.$element.show(), d && c.$element[0].offsetWidth, c.$element.addClass("in").attr("aria-hidden", !1), c.enforceFocus();
- var e = a.Event("shown.bs.modal", {relatedTarget: b});
- d ? c.$element.find(".modal-dialog").one(a.support.transition.end, function () {
- c.$element.focus().trigger(e)
- }).emulateTransitionEnd(300) : c.$element.focus().trigger(e)
- }))
- }, b.prototype.hide = function (b) {
- b && b.preventDefault(), b = a.Event("hide.bs.modal"), this.$element.trigger(b), this.isShown && !b.isDefaultPrevented() && (this.isShown = !1, this.escape(), a(document).off("focusin.bs.modal"), this.$element.removeClass("in").attr("aria-hidden", !0).off("click.dismiss.modal"), a.support.transition && this.$element.hasClass("fade") ? this.$element.one(a.support.transition.end, a.proxy(this.hideModal, this)).emulateTransitionEnd(300) : this.hideModal())
- }, b.prototype.enforceFocus = function () {
- a(document).off("focusin.bs.modal").on("focusin.bs.modal", a.proxy(function (a) {
- this.$element[0] === a.target || this.$element.has(a.target).length || this.$element.focus()
+ function b(b, d) {
+ return this.each(function () {
+ var e = a(this), f = e.data("bs.modal"), g = a.extend({}, c.DEFAULTS, e.data(), "object" == typeof b && b);
+ f || e.data("bs.modal", f = new c(this, g)), "string" == typeof b ? f[b](d) : g.show && f.show(d)
+ })
+ }
+
+ var c = function (b, c) {
+ this.options = c, this.$body = a(document.body), this.$element = a(b), this.$dialog = this.$element.find(".modal-dialog"), this.$backdrop = null, this.isShown = null, this.originalBodyPad = null, this.scrollbarWidth = 0, this.ignoreBackdropClick = !1, this.options.remote && this.$element.find(".modal-content").load(this.options.remote, a.proxy(function () {
+ this.$element.trigger("loaded.bs.modal")
}, this))
- }, b.prototype.escape = function () {
- this.isShown && this.options.keyboard ? this.$element.on("keyup.dismiss.bs.modal", a.proxy(function (a) {
+ };
+ c.VERSION = "3.3.5", c.TRANSITION_DURATION = 300, c.BACKDROP_TRANSITION_DURATION = 150, c.DEFAULTS = {
+ backdrop: !0,
+ keyboard: !0,
+ show: !0
+ }, c.prototype.toggle = function (a) {
+ return this.isShown ? this.hide() : this.show(a)
+ }, c.prototype.show = function (b) {
+ var d = this, e = a.Event("show.bs.modal", {relatedTarget: b});
+ this.$element.trigger(e), this.isShown || e.isDefaultPrevented() || (this.isShown = !0, this.checkScrollbar(), this.setScrollbar(), this.$body.addClass("modal-open"), this.escape(), this.resize(), this.$element.on("click.dismiss.bs.modal", '[data-dismiss="modal"]', a.proxy(this.hide, this)), this.$dialog.on("mousedown.dismiss.bs.modal", function () {
+ d.$element.one("mouseup.dismiss.bs.modal", function (b) {
+ a(b.target).is(d.$element) && (d.ignoreBackdropClick = !0)
+ })
+ }), this.backdrop(function () {
+ var e = a.support.transition && d.$element.hasClass("fade");
+ d.$element.parent().length || d.$element.appendTo(d.$body), d.$element.show().scrollTop(0), d.adjustDialog(), e && d.$element[0].offsetWidth, d.$element.addClass("in"), d.enforceFocus();
+ var f = a.Event("shown.bs.modal", {relatedTarget: b});
+ e ? d.$dialog.one("bsTransitionEnd", function () {
+ d.$element.trigger("focus").trigger(f)
+ }).emulateTransitionEnd(c.TRANSITION_DURATION) : d.$element.trigger("focus").trigger(f)
+ }))
+ }, c.prototype.hide = function (b) {
+ b && b.preventDefault(), b = a.Event("hide.bs.modal"), this.$element.trigger(b), this.isShown && !b.isDefaultPrevented() && (this.isShown = !1, this.escape(), this.resize(), a(document).off("focusin.bs.modal"), this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"), this.$dialog.off("mousedown.dismiss.bs.modal"), a.support.transition && this.$element.hasClass("fade") ? this.$element.one("bsTransitionEnd", a.proxy(this.hideModal, this)).emulateTransitionEnd(c.TRANSITION_DURATION) : this.hideModal())
+ }, c.prototype.enforceFocus = function () {
+ a(document).off("focusin.bs.modal").on("focusin.bs.modal", a.proxy(function (a) {
+ this.$element[0] === a.target || this.$element.has(a.target).length || this.$element.trigger("focus")
+ }, this))
+ }, c.prototype.escape = function () {
+ this.isShown && this.options.keyboard ? this.$element.on("keydown.dismiss.bs.modal", a.proxy(function (a) {
27 == a.which && this.hide()
- }, this)) : this.isShown || this.$element.off("keyup.dismiss.bs.modal")
- }, b.prototype.hideModal = function () {
+ }, this)) : this.isShown || this.$element.off("keydown.dismiss.bs.modal")
+ }, c.prototype.resize = function () {
+ this.isShown ? a(window).on("resize.bs.modal", a.proxy(this.handleUpdate, this)) : a(window).off("resize.bs.modal")
+ }, c.prototype.hideModal = function () {
var a = this;
this.$element.hide(), this.backdrop(function () {
- a.removeBackdrop(), a.$element.trigger("hidden.bs.modal")
+ a.$body.removeClass("modal-open"), a.resetAdjustments(), a.resetScrollbar(), a.$element.trigger("hidden.bs.modal")
})
- }, b.prototype.removeBackdrop = function () {
+ }, c.prototype.removeBackdrop = function () {
this.$backdrop && this.$backdrop.remove(), this.$backdrop = null
- }, b.prototype.backdrop = function (b) {
- var c = this.$element.hasClass("fade") ? "fade" : "";
+ }, c.prototype.backdrop = function (b) {
+ var d = this, e = this.$element.hasClass("fade") ? "fade" : "";
if (this.isShown && this.options.backdrop) {
- var d = a.support.transition && c;
- if (this.$backdrop = a('
').appendTo(document.body), this.$element.on("click.dismiss.modal", a.proxy(function (a) {
- a.target === a.currentTarget && ("static" == this.options.backdrop ? this.$element[0].focus.call(this.$element[0]) : this.hide.call(this))
- }, this)), d && this.$backdrop[0].offsetWidth, this.$backdrop.addClass("in"), !b)return;
- d ? this.$backdrop.one(a.support.transition.end, b).emulateTransitionEnd(150) : b()
- } else!this.isShown && this.$backdrop ? (this.$backdrop.removeClass("in"), a.support.transition && this.$element.hasClass("fade") ? this.$backdrop.one(a.support.transition.end, b).emulateTransitionEnd(150) : b()) : b && b()
+ var f = a.support.transition && e;
+ if (this.$backdrop = a(document.createElement("div")).addClass("modal-backdrop " + e).appendTo(this.$body), this.$element.on("click.dismiss.bs.modal", a.proxy(function (a) {
+ return this.ignoreBackdropClick ? void(this.ignoreBackdropClick = !1) : void(a.target === a.currentTarget && ("static" == this.options.backdrop ? this.$element[0].focus() : this.hide()))
+ }, this)), f && this.$backdrop[0].offsetWidth, this.$backdrop.addClass("in"), !b)return;
+ f ? this.$backdrop.one("bsTransitionEnd", b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION) : b()
+ } else if (!this.isShown && this.$backdrop) {
+ this.$backdrop.removeClass("in");
+ var g = function () {
+ d.removeBackdrop(), b && b()
+ };
+ a.support.transition && this.$element.hasClass("fade") ? this.$backdrop.one("bsTransitionEnd", g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION) : g()
+ } else b && b()
+ }, c.prototype.handleUpdate = function () {
+ this.adjustDialog()
+ }, c.prototype.adjustDialog = function () {
+ var a = this.$element[0].scrollHeight > document.documentElement.clientHeight;
+ this.$element.css({
+ paddingLeft: !this.bodyIsOverflowing && a ? this.scrollbarWidth : "",
+ paddingRight: this.bodyIsOverflowing && !a ? this.scrollbarWidth : ""
+ })
+ }, c.prototype.resetAdjustments = function () {
+ this.$element.css({paddingLeft: "", paddingRight: ""})
+ }, c.prototype.checkScrollbar = function () {
+ var a = window.innerWidth;
+ if (!a) {
+ var b = document.documentElement.getBoundingClientRect();
+ a = b.right - Math.abs(b.left)
+ }
+ this.bodyIsOverflowing = document.body.clientWidth < a, this.scrollbarWidth = this.measureScrollbar()
+ }, c.prototype.setScrollbar = function () {
+ var a = parseInt(this.$body.css("padding-right") || 0, 10);
+ this.originalBodyPad = document.body.style.paddingRight || "", this.bodyIsOverflowing && this.$body.css("padding-right", a + this.scrollbarWidth)
+ }, c.prototype.resetScrollbar = function () {
+ this.$body.css("padding-right", this.originalBodyPad)
+ }, c.prototype.measureScrollbar = function () {
+ var a = document.createElement("div");
+ a.className = "modal-scrollbar-measure", this.$body.append(a);
+ var b = a.offsetWidth - a.clientWidth;
+ return this.$body[0].removeChild(a), b
};
- var c = a.fn.modal;
- a.fn.modal = function (c, d) {
- return this.each(function () {
- var e = a(this), f = e.data("bs.modal"), g = a.extend({}, b.DEFAULTS, e.data(), "object" == typeof c && c);
- f || e.data("bs.modal", f = new b(this, g)), "string" == typeof c ? f[c](d) : g.show && f.show(d)
- })
- }, a.fn.modal.Constructor = b, a.fn.modal.noConflict = function () {
- return a.fn.modal = c, this
- }, a(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function (b) {
- var c = a(this), d = c.attr("href"), e = a(c.attr("data-target") || d && d.replace(/.*(?=#[^\s]+$)/, "")), f = e.data("modal") ? "toggle" : a.extend({remote: !/#/.test(d) && d}, e.data(), c.data());
- b.preventDefault(), e.modal(f, this).one("hide", function () {
- c.is(":visible") && c.focus()
- })
- }), a(document).on("show.bs.modal", ".modal", function () {
- a(document.body).addClass("modal-open")
- }).on("hidden.bs.modal", ".modal", function () {
- a(document.body).removeClass("modal-open")
+ var d = a.fn.modal;
+ a.fn.modal = b, a.fn.modal.Constructor = c, a.fn.modal.noConflict = function () {
+ return a.fn.modal = d, this
+ }, a(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function (c) {
+ var d = a(this), e = d.attr("href"), f = a(d.attr("data-target") || e && e.replace(/.*(?=#[^\s]+$)/, "")), g = f.data("bs.modal") ? "toggle" : a.extend({remote: !/#/.test(e) && e}, f.data(), d.data());
+ d.is("a") && c.preventDefault(), f.one("show.bs.modal", function (a) {
+ a.isDefaultPrevented() || f.one("hidden.bs.modal", function () {
+ d.is(":visible") && d.trigger("focus")
+ })
+ }), b.call(f, g, this)
})
}(jQuery), +function (a) {
"use strict";
- var b = function (a, b) {
- this.type = this.options = this.enabled = this.timeout = this.hoverState = this.$element = null, this.init("tooltip", a, b)
+ function b(b) {
+ return this.each(function () {
+ var d = a(this), e = d.data("bs.tooltip"), f = "object" == typeof b && b;
+ (e || !/destroy|hide/.test(b)) && (e || d.data("bs.tooltip", e = new c(this, f)), "string" == typeof b && e[b]())
+ })
+ }
+
+ var c = function (a, b) {
+ this.type = null, this.options = null, this.enabled = null, this.timeout = null, this.hoverState = null, this.$element = null, this.inState = null, this.init("tooltip", a, b)
};
- b.DEFAULTS = {
+ c.VERSION = "3.3.5", c.TRANSITION_DURATION = 150, c.DEFAULTS = {
animation: !0,
placement: "top",
selector: !1,
- template: '
',
+ template: '
',
trigger: "hover focus",
title: "",
delay: 0,
html: !1,
- container: !1
- }, b.prototype.init = function (b, c, d) {
- this.enabled = !0, this.type = b, this.$element = a(c), this.options = this.getOptions(d);
+ container: !1,
+ viewport: {selector: "body", padding: 0}
+ }, c.prototype.init = function (b, c, d) {
+ if (this.enabled = !0, this.type = b, this.$element = a(c), this.options = this.getOptions(d), this.$viewport = this.options.viewport && a(a.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : this.options.viewport.selector || this.options.viewport), this.inState = {
+ click: !1,
+ hover: !1,
+ focus: !1
+ }, this.$element[0]instanceof document.constructor && !this.options.selector)throw new Error("`selector` option must be specified when initializing " + this.type + " on the window.document object!");
for (var e = this.options.trigger.split(" "), f = e.length; f--;) {
var g = e[f];
if ("click" == g)this.$element.on("click." + this.type, this.options.selector, a.proxy(this.toggle, this)); else if ("manual" != g) {
- var h = "hover" == g ? "mouseenter" : "focus", i = "hover" == g ? "mouseleave" : "blur";
+ var h = "hover" == g ? "mouseenter" : "focusin", i = "hover" == g ? "mouseleave" : "focusout";
this.$element.on(h + "." + this.type, this.options.selector, a.proxy(this.enter, this)), this.$element.on(i + "." + this.type, this.options.selector, a.proxy(this.leave, this))
}
}
@@ -345,81 +459,101 @@ if ("undefined" == typeof jQuery)throw new Error("Bootstrap requires jQuery");
trigger: "manual",
selector: ""
}) : this.fixTitle()
- }, b.prototype.getDefaults = function () {
- return b.DEFAULTS
- }, b.prototype.getOptions = function (b) {
+ }, c.prototype.getDefaults = function () {
+ return c.DEFAULTS
+ }, c.prototype.getOptions = function (b) {
return b = a.extend({}, this.getDefaults(), this.$element.data(), b), b.delay && "number" == typeof b.delay && (b.delay = {
show: b.delay,
hide: b.delay
}), b
- }, b.prototype.getDelegateOptions = function () {
+ }, c.prototype.getDelegateOptions = function () {
var b = {}, c = this.getDefaults();
return this._options && a.each(this._options, function (a, d) {
c[a] != d && (b[a] = d)
}), b
- }, b.prototype.enter = function (b) {
- var c = b instanceof this.constructor ? b : a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type);
- return clearTimeout(c.timeout), c.hoverState = "in", c.options.delay && c.options.delay.show ? (c.timeout = setTimeout(function () {
+ }, c.prototype.enter = function (b) {
+ var c = b instanceof this.constructor ? b : a(b.currentTarget).data("bs." + this.type);
+ return c || (c = new this.constructor(b.currentTarget, this.getDelegateOptions()), a(b.currentTarget).data("bs." + this.type, c)), b instanceof a.Event && (c.inState["focusin" == b.type ? "focus" : "hover"] = !0), c.tip().hasClass("in") || "in" == c.hoverState ? void(c.hoverState = "in") : (clearTimeout(c.timeout), c.hoverState = "in", c.options.delay && c.options.delay.show ? void(c.timeout = setTimeout(function () {
"in" == c.hoverState && c.show()
- }, c.options.delay.show), void 0) : c.show()
- }, b.prototype.leave = function (b) {
- var c = b instanceof this.constructor ? b : a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type);
- return clearTimeout(c.timeout), c.hoverState = "out", c.options.delay && c.options.delay.hide ? (c.timeout = setTimeout(function () {
+ }, c.options.delay.show)) : c.show())
+ }, c.prototype.isInStateTrue = function () {
+ for (var a in this.inState)if (this.inState[a])return !0;
+ return !1
+ }, c.prototype.leave = function (b) {
+ var c = b instanceof this.constructor ? b : a(b.currentTarget).data("bs." + this.type);
+ return c || (c = new this.constructor(b.currentTarget, this.getDelegateOptions()), a(b.currentTarget).data("bs." + this.type, c)), b instanceof a.Event && (c.inState["focusout" == b.type ? "focus" : "hover"] = !1), c.isInStateTrue() ? void 0 : (clearTimeout(c.timeout), c.hoverState = "out", c.options.delay && c.options.delay.hide ? void(c.timeout = setTimeout(function () {
"out" == c.hoverState && c.hide()
- }, c.options.delay.hide), void 0) : c.hide()
- }, b.prototype.show = function () {
+ }, c.options.delay.hide)) : c.hide())
+ }, c.prototype.show = function () {
var b = a.Event("show.bs." + this.type);
if (this.hasContent() && this.enabled) {
- if (this.$element.trigger(b), b.isDefaultPrevented())return;
- var c = this.tip();
- this.setContent(), this.options.animation && c.addClass("fade");
- var d = "function" == typeof this.options.placement ? this.options.placement.call(this, c[0], this.$element[0]) : this.options.placement, e = /\s?auto?\s?/i, f = e.test(d);
- f && (d = d.replace(e, "") || "top"), c.detach().css({
+ this.$element.trigger(b);
+ var d = a.contains(this.$element[0].ownerDocument.documentElement, this.$element[0]);
+ if (b.isDefaultPrevented() || !d)return;
+ var e = this, f = this.tip(), g = this.getUID(this.type);
+ this.setContent(), f.attr("id", g), this.$element.attr("aria-describedby", g), this.options.animation && f.addClass("fade");
+ var h = "function" == typeof this.options.placement ? this.options.placement.call(this, f[0], this.$element[0]) : this.options.placement, i = /\s?auto?\s?/i, j = i.test(h);
+ j && (h = h.replace(i, "") || "top"), f.detach().css({
top: 0,
left: 0,
display: "block"
- }).addClass(d), this.options.container ? c.appendTo(this.options.container) : c.insertAfter(this.$element);
- var g = this.getPosition(), h = c[0].offsetWidth, i = c[0].offsetHeight;
- if (f) {
- var j = this.$element.parent(), k = d, l = document.documentElement.scrollTop || document.body.scrollTop, m = "body" == this.options.container ? window.innerWidth : j.outerWidth(), n = "body" == this.options.container ? window.innerHeight : j.outerHeight(), o = "body" == this.options.container ? 0 : j.offset().left;
- d = "bottom" == d && g.top + g.height + i - l > n ? "top" : "top" == d && g.top - l - i < 0 ? "bottom" : "right" == d && g.right + h > m ? "left" : "left" == d && g.left - h < o ? "right" : d, c.removeClass(k).addClass(d)
+ }).addClass(h).data("bs." + this.type, this), this.options.container ? f.appendTo(this.options.container) : f.insertAfter(this.$element), this.$element.trigger("inserted.bs." + this.type);
+ var k = this.getPosition(), l = f[0].offsetWidth, m = f[0].offsetHeight;
+ if (j) {
+ var n = h, o = this.getPosition(this.$viewport);
+ h = "bottom" == h && k.bottom + m > o.bottom ? "top" : "top" == h && k.top - m < o.top ? "bottom" : "right" == h && k.right + l > o.width ? "left" : "left" == h && k.left - l < o.left ? "right" : h, f.removeClass(n).addClass(h)
}
- var p = this.getCalculatedOffset(d, g, h, i);
- this.applyPlacement(p, d), this.$element.trigger("shown.bs." + this.type)
+ var p = this.getCalculatedOffset(h, k, l, m);
+ this.applyPlacement(p, h);
+ var q = function () {
+ var a = e.hoverState;
+ e.$element.trigger("shown.bs." + e.type), e.hoverState = null, "out" == a && e.leave(e)
+ };
+ a.support.transition && this.$tip.hasClass("fade") ? f.one("bsTransitionEnd", q).emulateTransitionEnd(c.TRANSITION_DURATION) : q()
}
- }, b.prototype.applyPlacement = function (a, b) {
- var c, d = this.tip(), e = d[0].offsetWidth, f = d[0].offsetHeight, g = parseInt(d.css("margin-top"), 10), h = parseInt(d.css("margin-left"), 10);
- isNaN(g) && (g = 0), isNaN(h) && (h = 0), a.top = a.top + g, a.left = a.left + h, d.offset(a).addClass("in");
+ }, c.prototype.applyPlacement = function (b, c) {
+ var d = this.tip(), e = d[0].offsetWidth, f = d[0].offsetHeight, g = parseInt(d.css("margin-top"), 10), h = parseInt(d.css("margin-left"), 10);
+ isNaN(g) && (g = 0), isNaN(h) && (h = 0), b.top += g, b.left += h, a.offset.setOffset(d[0], a.extend({
+ using: function (a) {
+ d.css({top: Math.round(a.top), left: Math.round(a.left)})
+ }
+ }, b), 0), d.addClass("in");
var i = d[0].offsetWidth, j = d[0].offsetHeight;
- if ("top" == b && j != f && (c = !0, a.top = a.top + f - j), /bottom|top/.test(b)) {
- var k = 0;
- a.left < 0 && (k = -2 * a.left, a.left = 0, d.offset(a), i = d[0].offsetWidth, j = d[0].offsetHeight), this.replaceArrow(k - e + i, i, "left")
- } else this.replaceArrow(j - f, j, "top");
- c && d.offset(a)
- }, b.prototype.replaceArrow = function (a, b, c) {
- this.arrow().css(c, a ? 50 * (1 - a / b) + "%" : "")
- }, b.prototype.setContent = function () {
+ "top" == c && j != f && (b.top = b.top + f - j);
+ var k = this.getViewportAdjustedDelta(c, b, i, j);
+ k.left ? b.left += k.left : b.top += k.top;
+ var l = /top|bottom/.test(c), m = l ? 2 * k.left - e + i : 2 * k.top - f + j, n = l ? "offsetWidth" : "offsetHeight";
+ d.offset(b), this.replaceArrow(m, d[0][n], l)
+ }, c.prototype.replaceArrow = function (a, b, c) {
+ this.arrow().css(c ? "left" : "top", 50 * (1 - a / b) + "%").css(c ? "top" : "left", "")
+ }, c.prototype.setContent = function () {
var a = this.tip(), b = this.getTitle();
a.find(".tooltip-inner")[this.options.html ? "html" : "text"](b), a.removeClass("fade in top bottom left right")
- }, b.prototype.hide = function () {
- function b() {
- "in" != c.hoverState && d.detach()
+ }, c.prototype.hide = function (b) {
+ function d() {
+ "in" != e.hoverState && f.detach(), e.$element.removeAttr("aria-describedby").trigger("hidden.bs." + e.type), b && b()
}
- var c = this, d = this.tip(), e = a.Event("hide.bs." + this.type);
- return this.$element.trigger(e), e.isDefaultPrevented() ? void 0 : (d.removeClass("in"), a.support.transition && this.$tip.hasClass("fade") ? d.one(a.support.transition.end, b).emulateTransitionEnd(150) : b(), this.$element.trigger("hidden.bs." + this.type), this)
- }, b.prototype.fixTitle = function () {
+ var e = this, f = a(this.$tip), g = a.Event("hide.bs." + this.type);
+ return this.$element.trigger(g), g.isDefaultPrevented() ? void 0 : (f.removeClass("in"), a.support.transition && f.hasClass("fade") ? f.one("bsTransitionEnd", d).emulateTransitionEnd(c.TRANSITION_DURATION) : d(), this.hoverState = null, this)
+ }, c.prototype.fixTitle = function () {
var a = this.$element;
(a.attr("title") || "string" != typeof a.attr("data-original-title")) && a.attr("data-original-title", a.attr("title") || "").attr("title", "")
- }, b.prototype.hasContent = function () {
+ }, c.prototype.hasContent = function () {
return this.getTitle()
- }, b.prototype.getPosition = function () {
- var b = this.$element[0];
- return a.extend({}, "function" == typeof b.getBoundingClientRect ? b.getBoundingClientRect() : {
- width: b.offsetWidth,
- height: b.offsetHeight
- }, this.$element.offset())
- }, b.prototype.getCalculatedOffset = function (a, b, c, d) {
+ }, c.prototype.getPosition = function (b) {
+ b = b || this.$element;
+ var c = b[0], d = "BODY" == c.tagName, e = c.getBoundingClientRect();
+ null == e.width && (e = a.extend({}, e, {width: e.right - e.left, height: e.bottom - e.top}));
+ var f = d ? {
+ top: 0,
+ left: 0
+ } : b.offset(), g = {scroll: d ? document.documentElement.scrollTop || document.body.scrollTop : b.scrollTop()}, h = d ? {
+ width: a(window).width(),
+ height: a(window).height()
+ } : null;
+ return a.extend({}, e, g, h, f)
+ }, c.prototype.getCalculatedOffset = function (a, b, c, d) {
return "bottom" == a ? {
top: b.top + b.height,
left: b.left + b.width / 2 - c / 2
@@ -430,175 +564,221 @@ if ("undefined" == typeof jQuery)throw new Error("Bootstrap requires jQuery");
top: b.top + b.height / 2 - d / 2,
left: b.left + b.width
}
- }, b.prototype.getTitle = function () {
+ }, c.prototype.getViewportAdjustedDelta = function (a, b, c, d) {
+ var e = {top: 0, left: 0};
+ if (!this.$viewport)return e;
+ var f = this.options.viewport && this.options.viewport.padding || 0, g = this.getPosition(this.$viewport);
+ if (/right|left/.test(a)) {
+ var h = b.top - f - g.scroll, i = b.top + f - g.scroll + d;
+ h < g.top ? e.top = g.top - h : i > g.top + g.height && (e.top = g.top + g.height - i)
+ } else {
+ var j = b.left - f, k = b.left + f + c;
+ j < g.left ? e.left = g.left - j : k > g.right && (e.left = g.left + g.width - k)
+ }
+ return e
+ }, c.prototype.getTitle = function () {
var a, b = this.$element, c = this.options;
return a = b.attr("data-original-title") || ("function" == typeof c.title ? c.title.call(b[0]) : c.title)
- }, b.prototype.tip = function () {
- return this.$tip = this.$tip || a(this.options.template)
- }, b.prototype.arrow = function () {
+ }, c.prototype.getUID = function (a) {
+ do a += ~~(1e6 * Math.random()); while (document.getElementById(a));
+ return a
+ }, c.prototype.tip = function () {
+ if (!this.$tip && (this.$tip = a(this.options.template), 1 != this.$tip.length))throw new Error(this.type + " `template` option must consist of exactly 1 top-level element!");
+ return this.$tip
+ }, c.prototype.arrow = function () {
return this.$arrow = this.$arrow || this.tip().find(".tooltip-arrow")
- }, b.prototype.validate = function () {
- this.$element[0].parentNode || (this.hide(), this.$element = null, this.options = null)
- }, b.prototype.enable = function () {
+ }, c.prototype.enable = function () {
this.enabled = !0
- }, b.prototype.disable = function () {
+ }, c.prototype.disable = function () {
this.enabled = !1
- }, b.prototype.toggleEnabled = function () {
+ }, c.prototype.toggleEnabled = function () {
this.enabled = !this.enabled
- }, b.prototype.toggle = function (b) {
- var c = b ? a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs." + this.type) : this;
- c.tip().hasClass("in") ? c.leave(c) : c.enter(c)
- }, b.prototype.destroy = function () {
- this.hide().$element.off("." + this.type).removeData("bs." + this.type)
- };
- var c = a.fn.tooltip;
- a.fn.tooltip = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.tooltip"), f = "object" == typeof c && c;
- e || d.data("bs.tooltip", e = new b(this, f)), "string" == typeof c && e[c]()
+ }, c.prototype.toggle = function (b) {
+ var c = this;
+ b && (c = a(b.currentTarget).data("bs." + this.type), c || (c = new this.constructor(b.currentTarget, this.getDelegateOptions()), a(b.currentTarget).data("bs." + this.type, c))), b ? (c.inState.click = !c.inState.click, c.isInStateTrue() ? c.enter(c) : c.leave(c)) : c.tip().hasClass("in") ? c.leave(c) : c.enter(c)
+ }, c.prototype.destroy = function () {
+ var a = this;
+ clearTimeout(this.timeout), this.hide(function () {
+ a.$element.off("." + a.type).removeData("bs." + a.type), a.$tip && a.$tip.detach(), a.$tip = null, a.$arrow = null, a.$viewport = null
})
- }, a.fn.tooltip.Constructor = b, a.fn.tooltip.noConflict = function () {
- return a.fn.tooltip = c, this
+ };
+ var d = a.fn.tooltip;
+ a.fn.tooltip = b, a.fn.tooltip.Constructor = c, a.fn.tooltip.noConflict = function () {
+ return a.fn.tooltip = d, this
}
}(jQuery), +function (a) {
"use strict";
- var b = function (a, b) {
+ function b(b) {
+ return this.each(function () {
+ var d = a(this), e = d.data("bs.popover"), f = "object" == typeof b && b;
+ (e || !/destroy|hide/.test(b)) && (e || d.data("bs.popover", e = new c(this, f)), "string" == typeof b && e[b]())
+ })
+ }
+
+ var c = function (a, b) {
this.init("popover", a, b)
};
if (!a.fn.tooltip)throw new Error("Popover requires tooltip.js");
- b.DEFAULTS = a.extend({}, a.fn.tooltip.Constructor.DEFAULTS, {
+ c.VERSION = "3.3.5", c.DEFAULTS = a.extend({}, a.fn.tooltip.Constructor.DEFAULTS, {
placement: "right",
trigger: "click",
content: "",
- template: '
'
- }), b.prototype = a.extend({}, a.fn.tooltip.Constructor.prototype), b.prototype.constructor = b, b.prototype.getDefaults = function () {
- return b.DEFAULTS
- }, b.prototype.setContent = function () {
+ template: '
'
+ }), c.prototype = a.extend({}, a.fn.tooltip.Constructor.prototype), c.prototype.constructor = c, c.prototype.getDefaults = function () {
+ return c.DEFAULTS
+ }, c.prototype.setContent = function () {
var a = this.tip(), b = this.getTitle(), c = this.getContent();
- a.find(".popover-title")[this.options.html ? "html" : "text"](b), a.find(".popover-content")[this.options.html ? "html" : "text"](c), a.removeClass("fade top bottom left right in"), a.find(".popover-title").html() || a.find(".popover-title").hide()
- }, b.prototype.hasContent = function () {
+ a.find(".popover-title")[this.options.html ? "html" : "text"](b), a.find(".popover-content").children().detach().end()[this.options.html ? "string" == typeof c ? "html" : "append" : "text"](c), a.removeClass("fade top bottom left right in"), a.find(".popover-title").html() || a.find(".popover-title").hide()
+ }, c.prototype.hasContent = function () {
return this.getTitle() || this.getContent()
- }, b.prototype.getContent = function () {
+ }, c.prototype.getContent = function () {
var a = this.$element, b = this.options;
return a.attr("data-content") || ("function" == typeof b.content ? b.content.call(a[0]) : b.content)
- }, b.prototype.arrow = function () {
+ }, c.prototype.arrow = function () {
return this.$arrow = this.$arrow || this.tip().find(".arrow")
- }, b.prototype.tip = function () {
- return this.$tip || (this.$tip = a(this.options.template)), this.$tip
};
- var c = a.fn.popover;
- a.fn.popover = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.popover"), f = "object" == typeof c && c;
- e || d.data("bs.popover", e = new b(this, f)), "string" == typeof c && e[c]()
- })
- }, a.fn.popover.Constructor = b, a.fn.popover.noConflict = function () {
- return a.fn.popover = c, this
+ var d = a.fn.popover;
+ a.fn.popover = b, a.fn.popover.Constructor = c, a.fn.popover.noConflict = function () {
+ return a.fn.popover = d, this
}
}(jQuery), +function (a) {
"use strict";
function b(c, d) {
- var e, f = a.proxy(this.process, this);
- this.$element = a(c).is("body") ? a(window) : a(c), this.$body = a("body"), this.$scrollElement = this.$element.on("scroll.bs.scroll-spy.data-api", f), this.options = a.extend({}, b.DEFAULTS, d), this.selector = (this.options.target || (e = a(c).attr("href")) && e.replace(/.*(?=#[^\s]+$)/, "") || "") + " .nav li > a", this.offsets = a([]), this.targets = a([]), this.activeTarget = null, this.refresh(), this.process()
+ this.$body = a(document.body), this.$scrollElement = a(a(c).is(document.body) ? window : c), this.options = a.extend({}, b.DEFAULTS, d), this.selector = (this.options.target || "") + " .nav li > a", this.offsets = [], this.targets = [], this.activeTarget = null, this.scrollHeight = 0, this.$scrollElement.on("scroll.bs.scrollspy", a.proxy(this.process, this)), this.refresh(), this.process()
}
- b.DEFAULTS = {offset: 10}, b.prototype.refresh = function () {
- var b = this.$element[0] == window ? "offset" : "position";
- this.offsets = a([]), this.targets = a([]);
- var c = this;
- this.$body.find(this.selector).map(function () {
- var d = a(this), e = d.data("target") || d.attr("href"), f = /^#\w/.test(e) && a(e);
- return f && f.length && [[f[b]().top + (!a.isWindow(c.$scrollElement.get(0)) && c.$scrollElement.scrollTop()), e]] || null
- }).sort(function (a, b) {
- return a[0] - b[0]
- }).each(function () {
- c.offsets.push(this[0]), c.targets.push(this[1])
- })
- }, b.prototype.process = function () {
- var a, b = this.$scrollElement.scrollTop() + this.options.offset, c = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight, d = c - this.$scrollElement.height(), e = this.offsets, f = this.targets, g = this.activeTarget;
- if (b >= d)return g != (a = f.last()[0]) && this.activate(a);
- for (a = e.length; a--;)g != f[a] && b >= e[a] && (!e[a + 1] || b <= e[a + 1]) && this.activate(f[a])
- }, b.prototype.activate = function (b) {
- this.activeTarget = b, a(this.selector).parents(".active").removeClass("active");
- var c = this.selector + '[data-target="' + b + '"],' + this.selector + '[href="' + b + '"]', d = a(c).parents("li").addClass("active");
- d.parent(".dropdown-menu").length && (d = d.closest("li.dropdown").addClass("active")), d.trigger("activate.bs.scrollspy")
- };
- var c = a.fn.scrollspy;
- a.fn.scrollspy = function (c) {
+ function c(c) {
return this.each(function () {
var d = a(this), e = d.data("bs.scrollspy"), f = "object" == typeof c && c;
e || d.data("bs.scrollspy", e = new b(this, f)), "string" == typeof c && e[c]()
})
- }, a.fn.scrollspy.Constructor = b, a.fn.scrollspy.noConflict = function () {
- return a.fn.scrollspy = c, this
- }, a(window).on("load", function () {
+ }
+
+ b.VERSION = "3.3.5", b.DEFAULTS = {offset: 10}, b.prototype.getScrollHeight = function () {
+ return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)
+ }, b.prototype.refresh = function () {
+ var b = this, c = "offset", d = 0;
+ this.offsets = [], this.targets = [], this.scrollHeight = this.getScrollHeight(), a.isWindow(this.$scrollElement[0]) || (c = "position", d = this.$scrollElement.scrollTop()), this.$body.find(this.selector).map(function () {
+ var b = a(this), e = b.data("target") || b.attr("href"), f = /^#./.test(e) && a(e);
+ return f && f.length && f.is(":visible") && [[f[c]().top + d, e]] || null
+ }).sort(function (a, b) {
+ return a[0] - b[0]
+ }).each(function () {
+ b.offsets.push(this[0]), b.targets.push(this[1])
+ })
+ }, b.prototype.process = function () {
+ var a, b = this.$scrollElement.scrollTop() + this.options.offset, c = this.getScrollHeight(), d = this.options.offset + c - this.$scrollElement.height(), e = this.offsets, f = this.targets, g = this.activeTarget;
+ if (this.scrollHeight != c && this.refresh(), b >= d)return g != (a = f[f.length - 1]) && this.activate(a);
+ if (g && b < e[0])return this.activeTarget = null, this.clear();
+ for (a = e.length; a--;)g != f[a] && b >= e[a] && (void 0 === e[a + 1] || b < e[a + 1]) && this.activate(f[a])
+ }, b.prototype.activate = function (b) {
+ this.activeTarget = b, this.clear();
+ var c = this.selector + '[data-target="' + b + '"],' + this.selector + '[href="' + b + '"]', d = a(c).parents("li").addClass("active");
+ d.parent(".dropdown-menu").length && (d = d.closest("li.dropdown").addClass("active")),
+ d.trigger("activate.bs.scrollspy")
+ }, b.prototype.clear = function () {
+ a(this.selector).parentsUntil(this.options.target, ".active").removeClass("active")
+ };
+ var d = a.fn.scrollspy;
+ a.fn.scrollspy = c, a.fn.scrollspy.Constructor = b, a.fn.scrollspy.noConflict = function () {
+ return a.fn.scrollspy = d, this
+ }, a(window).on("load.bs.scrollspy.data-api", function () {
a('[data-spy="scroll"]').each(function () {
var b = a(this);
- b.scrollspy(b.data())
+ c.call(b, b.data())
})
})
}(jQuery), +function (a) {
"use strict";
- var b = function (b) {
+ function b(b) {
+ return this.each(function () {
+ var d = a(this), e = d.data("bs.tab");
+ e || d.data("bs.tab", e = new c(this)), "string" == typeof b && e[b]()
+ })
+ }
+
+ var c = function (b) {
this.element = a(b)
};
- b.prototype.show = function () {
+ c.VERSION = "3.3.5", c.TRANSITION_DURATION = 150, c.prototype.show = function () {
var b = this.element, c = b.closest("ul:not(.dropdown-menu)"), d = b.data("target");
if (d || (d = b.attr("href"), d = d && d.replace(/.*(?=#[^\s]*$)/, "")), !b.parent("li").hasClass("active")) {
- var e = c.find(".active:last a")[0], f = a.Event("show.bs.tab", {relatedTarget: e});
- if (b.trigger(f), !f.isDefaultPrevented()) {
- var g = a(d);
- this.activate(b.parent("li"), c), this.activate(g, g.parent(), function () {
- b.trigger({type: "shown.bs.tab", relatedTarget: e})
+ var e = c.find(".active:last a"), f = a.Event("hide.bs.tab", {relatedTarget: b[0]}), g = a.Event("show.bs.tab", {relatedTarget: e[0]});
+ if (e.trigger(f), b.trigger(g), !g.isDefaultPrevented() && !f.isDefaultPrevented()) {
+ var h = a(d);
+ this.activate(b.closest("li"), c), this.activate(h, h.parent(), function () {
+ e.trigger({type: "hidden.bs.tab", relatedTarget: b[0]}), b.trigger({
+ type: "shown.bs.tab",
+ relatedTarget: e[0]
+ })
})
}
}
- }, b.prototype.activate = function (b, c, d) {
- function e() {
- f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"), b.addClass("active"), g ? (b[0].offsetWidth, b.addClass("in")) : b.removeClass("fade"), b.parent(".dropdown-menu") && b.closest("li.dropdown").addClass("active"), d && d()
+ }, c.prototype.activate = function (b, d, e) {
+ function f() {
+ g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded", !1), b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded", !0), h ? (b[0].offsetWidth, b.addClass("in")) : b.removeClass("fade"), b.parent(".dropdown-menu").length && b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded", !0), e && e()
}
- var f = c.find("> .active"), g = d && a.support.transition && f.hasClass("fade");
- g ? f.one(a.support.transition.end, e).emulateTransitionEnd(150) : e(), f.removeClass("in")
+ var g = d.find("> .active"), h = e && a.support.transition && (g.length && g.hasClass("fade") || !!d.find("> .fade").length);
+ g.length && h ? g.one("bsTransitionEnd", f).emulateTransitionEnd(c.TRANSITION_DURATION) : f(), g.removeClass("in")
};
- var c = a.fn.tab;
- a.fn.tab = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.tab");
- e || d.data("bs.tab", e = new b(this)), "string" == typeof c && e[c]()
- })
- }, a.fn.tab.Constructor = b, a.fn.tab.noConflict = function () {
- return a.fn.tab = c, this
- }, a(document).on("click.bs.tab.data-api", '[data-toggle="tab"], [data-toggle="pill"]', function (b) {
- b.preventDefault(), a(this).tab("show")
- })
+ var d = a.fn.tab;
+ a.fn.tab = b, a.fn.tab.Constructor = c, a.fn.tab.noConflict = function () {
+ return a.fn.tab = d, this
+ };
+ var e = function (c) {
+ c.preventDefault(), b.call(a(this), "show")
+ };
+ a(document).on("click.bs.tab.data-api", '[data-toggle="tab"]', e).on("click.bs.tab.data-api", '[data-toggle="pill"]', e)
}(jQuery), +function (a) {
"use strict";
- var b = function (c, d) {
- this.options = a.extend({}, b.DEFAULTS, d), this.$window = a(window).on("scroll.bs.affix.data-api", a.proxy(this.checkPosition, this)).on("click.bs.affix.data-api", a.proxy(this.checkPositionWithEventLoop, this)), this.$element = a(c), this.affixed = this.unpin = null, this.checkPosition()
+ function b(b) {
+ return this.each(function () {
+ var d = a(this), e = d.data("bs.affix"), f = "object" == typeof b && b;
+ e || d.data("bs.affix", e = new c(this, f)), "string" == typeof b && e[b]()
+ })
+ }
+
+ var c = function (b, d) {
+ this.options = a.extend({}, c.DEFAULTS, d), this.$target = a(this.options.target).on("scroll.bs.affix.data-api", a.proxy(this.checkPosition, this)).on("click.bs.affix.data-api", a.proxy(this.checkPositionWithEventLoop, this)), this.$element = a(b), this.affixed = null, this.unpin = null, this.pinnedOffset = null, this.checkPosition()
};
- b.RESET = "affix affix-top affix-bottom", b.DEFAULTS = {offset: 0}, b.prototype.checkPositionWithEventLoop = function () {
+ c.VERSION = "3.3.5", c.RESET = "affix affix-top affix-bottom", c.DEFAULTS = {
+ offset: 0,
+ target: window
+ }, c.prototype.getState = function (a, b, c, d) {
+ var e = this.$target.scrollTop(), f = this.$element.offset(), g = this.$target.height();
+ if (null != c && "top" == this.affixed)return c > e ? "top" : !1;
+ if ("bottom" == this.affixed)return null != c ? e + this.unpin <= f.top ? !1 : "bottom" : a - d >= e + g ? !1 : "bottom";
+ var h = null == this.affixed, i = h ? e : f.top, j = h ? g : b;
+ return null != c && c >= e ? "top" : null != d && i + j >= a - d ? "bottom" : !1
+ }, c.prototype.getPinnedOffset = function () {
+ if (this.pinnedOffset)return this.pinnedOffset;
+ this.$element.removeClass(c.RESET).addClass("affix");
+ var a = this.$target.scrollTop(), b = this.$element.offset();
+ return this.pinnedOffset = b.top - a
+ }, c.prototype.checkPositionWithEventLoop = function () {
setTimeout(a.proxy(this.checkPosition, this), 1)
- }, b.prototype.checkPosition = function () {
+ }, c.prototype.checkPosition = function () {
if (this.$element.is(":visible")) {
- var c = a(document).height(), d = this.$window.scrollTop(), e = this.$element.offset(), f = this.options.offset, g = f.top, h = f.bottom;
- "object" != typeof f && (h = g = f), "function" == typeof g && (g = f.top()), "function" == typeof h && (h = f.bottom());
- var i = null != this.unpin && d + this.unpin <= e.top ? !1 : null != h && e.top + this.$element.height() >= c - h ? "bottom" : null != g && g >= d ? "top" : !1;
- this.affixed !== i && (this.unpin && this.$element.css("top", ""), this.affixed = i, this.unpin = "bottom" == i ? e.top - d : null, this.$element.removeClass(b.RESET).addClass("affix" + (i ? "-" + i : "")), "bottom" == i && this.$element.offset({top: document.body.offsetHeight - h - this.$element.height()}))
+ var b = this.$element.height(), d = this.options.offset, e = d.top, f = d.bottom, g = Math.max(a(document).height(), a(document.body).height());
+ "object" != typeof d && (f = e = d), "function" == typeof e && (e = d.top(this.$element)), "function" == typeof f && (f = d.bottom(this.$element));
+ var h = this.getState(g, b, e, f);
+ if (this.affixed != h) {
+ null != this.unpin && this.$element.css("top", "");
+ var i = "affix" + (h ? "-" + h : ""), j = a.Event(i + ".bs.affix");
+ if (this.$element.trigger(j), j.isDefaultPrevented())return;
+ this.affixed = h, this.unpin = "bottom" == h ? this.getPinnedOffset() : null, this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix", "affixed") + ".bs.affix")
+ }
+ "bottom" == h && this.$element.offset({top: g - b - f})
}
};
- var c = a.fn.affix;
- a.fn.affix = function (c) {
- return this.each(function () {
- var d = a(this), e = d.data("bs.affix"), f = "object" == typeof c && c;
- e || d.data("bs.affix", e = new b(this, f)), "string" == typeof c && e[c]()
- })
- }, a.fn.affix.Constructor = b, a.fn.affix.noConflict = function () {
- return a.fn.affix = c, this
+ var d = a.fn.affix;
+ a.fn.affix = b, a.fn.affix.Constructor = c, a.fn.affix.noConflict = function () {
+ return a.fn.affix = d, this
}, a(window).on("load", function () {
a('[data-spy="affix"]').each(function () {
- var b = a(this), c = b.data();
- c.offset = c.offset || {}, c.offsetBottom && (c.offset.bottom = c.offsetBottom), c.offsetTop && (c.offset.top = c.offsetTop), b.affix(c)
+ var c = a(this), d = c.data();
+ d.offset = d.offset || {}, null != d.offsetBottom && (d.offset.bottom = d.offsetBottom), null != d.offsetTop && (d.offset.top = d.offsetTop), b.call(c, d)
})
})
-}(jQuery);
\ No newline at end of file
+}(jQuery);
diff --git a/includes/page.php b/includes/page.php
index a30b0ce..c2d7b22 100644
--- a/includes/page.php
+++ b/includes/page.php
@@ -1,7 +1,11 @@
page = (int)$page;
}
}
+ $this->name = $name;
+ switch ($name) {
+ case "ban":
+ case "bans":
+ $this->type = "ban";
+ $this->table = $settings->table['bans'];
+ break;
+ case "mute":
+ case "mutes":
+ $this->type = "mute";
+ $this->table = $settings->table['mutes'];
+ break;
+ case "warn":
+ case "warnings":
+ $this->type = "warn";
+ $this->table = $settings->table['warnings'];
+ break;
+ case "kick":
+ case "kicks":
+ $this->type = "kick";
+ $this->table = $settings->table['kicks'];
+ break;
+ }
+ $this->permanent = array(
+ 'ban' => 'Permanent Ban',
+ 'mute' => 'Permanent Mute',
+ 'warn' => 'Permanent',
+ 'kick' => null,
+ );
+ $this->expired = array(
+ 'ban' => '(Unbanned)',
+ 'mute' => '(Unmuted)',
+ 'warn' => '(Expired)',
+ 'kick' => null,
+ );
}
- function run_query($table) {
+ function run_query() {
try {
+ $table = $this->table;
$active_query = $this->settings->active_query;
$limit = $this->settings->limit_per_page;
@@ -61,7 +101,7 @@ class Page {
*/
function get_name($uuid) {
if (array_key_exists($uuid, $this->uuid_name_cache)) return $this->uuid_name_cache[$uuid];
- $history = $this->settings->table_history;
+ $history = $this->settings->table['history'];
$stmt = $this->conn->prepare("SELECT name FROM $history WHERE uuid=? ORDER BY date DESC LIMIT 1");
if ($stmt->execute(array($uuid)) && $row = $stmt->fetch()) {
$banner = $row['name'];
@@ -105,28 +145,71 @@ class Page {
*/
function clean($text) {
if (strstr($text, "\xa7") || strstr($text, "&")) {
- $regex = "/(?i)(\xa7|&)[0-9A-FK-OR]/";
- $text = preg_replace($regex, "", $text);
+ $text = preg_replace("/(?i)(\xa7|&)[0-9A-FK-OR]/", "", $text);
}
- $text = htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
+ $text = htmlspecialchars($text, ENT_QUOTES, "UTF-8");
if (strstr($text, "\n")) {
$text = preg_replace("/\n/", "
", $text);
}
return $text;
}
- function print_page_header($title) {
- $type = ($title === "Bans") ? "modal" : "navbar";
+ /**
+ * Returns a string that shows the expiry date of a punishment.
+ * If the punishment does not expire, it will be shown as permanent.
+ * If the punishment has already expired, it will show as expired.
+ * @param row
+ * @return string
+ */
+ public function expiry($row) {
+ if ($row['until'] <= 0) {
+ return $this->permanent[$this->type];
+ }
+ $until = $this->millis_to_date($row['until']);
+ if ($this->settings->show_inactive_bans && !$row['active']) {
+ $until .= ' ' . $this->expired[$this->type];
+ }
+ return $until;
+ }
+
+ function title() {
+ return ucfirst($this->name);
+ }
+
+ function print_title() {
+ $title = $this->title();
+ $name = $this->settings->name;
+ echo "
$title - $name";
+ }
+
+ function print_table_rows($row, $array) {
+ $id = $row['id'];
+ $type = $this->type;
+ echo "
";
+ foreach ($array as $header => $text) {
+ $style = "";
+ if ($header === "Reason") {
+ $style = "style=\"width: 30%;\"";
+ }
+ echo "$text | ";
+ }
+ echo "
";
+ }
+
+ function print_page_header() {
+ $title = $this->title();
+ //$type = ($title === "Bans") ? "modal-header" : "navbar-header";
+ $type = "modal-header";
echo("
-
");
}
- function print_table_headers($headers) {
+ function table_print_headers($headers) {
echo("
");
foreach ($headers as $header) {
echo "$header | ";
@@ -134,9 +217,10 @@ class Page {
echo("
");
}
- function print_check_form($table) {
+ function print_check_form() {
+ $table = $this->name;
echo('
-
+
@@ -146,7 +230,10 @@ class Page {
');
}
- function print_pager($page, $table) {
+ function print_pager() {
+ $table = $this->table;
+ $page = $this->name . ".php";
+
if (!$this->settings->show_pager) return;
$result = $this->conn->query("SELECT COUNT(*) AS count FROM $table")->fetch(PDO::FETCH_ASSOC);
$total = $result['count'];
@@ -157,12 +244,18 @@ class Page {
$prev = $cur - 1;
$next = $this->page + 1;
- $pager_prev = "
«
";
+ $prev_active = ($cur > 1);
+ $next_active = ($cur < $pages);
+
+ $prev_class = $prev_active ? "pager-active" : "pager-inactive";
+ $next_class = $next_active ? "pager-active" : "pager-inactive";
+
+ $pager_prev = "
«
";
if ($cur > 1) {
$pager_prev = "
$pager_prev";
}
- $pager_next = "
»
";
+ $pager_next = "
»
";
if ($cur < $pages) {
$pager_next = "
$pager_next";
}
@@ -175,4 +268,12 @@ class Page {
$time = microtime(true) - $this->time;
echo "";
}
+
+ public function table_begin() {
+ echo '
';
+ }
+
+ public function table_end() {
+ echo '
';
+ }
}
diff --git a/includes/settings.php b/includes/settings.php
index 59be0b2..5c0fb16 100644
--- a/includes/settings.php
+++ b/includes/settings.php
@@ -1,4 +1,7 @@
limit_per_page = 10;
- // If you set a table prefix in config.yml, put it here too
+ // If you set a table prefix in config.yml, set it here as well
$table_prefix = "";
// The date format can be changed here.
// https://secure.php.net/manual/en/function.date.php
- // Example of default: July 2, 2015, 9:19 pm
- $this->date_format = 'F j, Y, g:i a';
+ // Example of default: July 2, 2015, 9:19 PM
+ $this->date_format = 'F j, Y, g:i A';
date_default_timezone_set("UTC");
// Supported drivers: mysql, pgsql
@@ -42,11 +45,13 @@ final class Settings {
/*** End of configuration ***/
- $this->table_bans = "{$table_prefix}bans";
- $this->table_mutes = "{$table_prefix}mutes";
- $this->table_warnings = "{$table_prefix}warnings";
- $this->table_kicks = "${table_prefix}kicks";
- $this->table_history = "{$table_prefix}history";
+ $this->table = array(
+ 'bans' => "${table_prefix}bans",
+ 'mutes' => "${table_prefix}mutes",
+ 'warnings' => "${table_prefix}warnings",
+ 'kicks' => "${table_prefix}kicks",
+ 'history' => "${table_prefix}history",
+ );
$this->active_query = "";
@@ -67,10 +72,10 @@ final class Settings {
try {
$this->conn = new PDO($dsn, $username, $password);
+ $this->conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
die('Connection failed: ' . $e->getMessage());
}
- $this->conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
if ($driver === 'pgsql') {
$this->conn->query("SET NAMES 'UTF8';");
}
diff --git a/index.php b/index.php
index 7925c9a..6ef3e4d 100644
--- a/index.php
+++ b/index.php
@@ -1,7 +1,10 @@
Index - name; ?>
@@ -10,6 +13,5 @@ include_once './includes/settings.php';
Here is where our Bans, Mutes, and Warnings are listed.
-
diff --git a/info.php b/info.php
new file mode 100644
index 0000000..ea6cde5
--- /dev/null
+++ b/info.php
@@ -0,0 +1,172 @@
+row = $row;
+ $this->page = $page;
+ $this->table = $page->table;
+ }
+
+ function name() {
+ return ucfirst($this->page->type);
+ }
+
+ function permanent() {
+ return $this->row['until'] <= 0;
+ }
+
+ abstract function basic_info($row, $player_name);
+
+ static function create($row, $page, $type) {
+ switch ($type) {
+ case "ban":
+ return new BanInfo($row, $page);
+ case "mute":
+ return new MuteInfo($row, $page);
+ case "warn":
+ return new WarnInfo($row, $page);
+ case "kick":
+ return new KickInfo($row, $page);
+ }
+ return null;
+ }
+}
+
+class BanInfo extends Info {
+ function basic_info($row, $player_name) {
+ $page = $this->page;
+ return array(
+ 'Banned Player' => $page->get_avatar($player_name),
+ 'Banned By' => $page->get_avatar($page->get_banner_name($row)),
+ 'Ban Reason' => $page->clean($row['reason']),
+ 'Ban Placed' => $page->millis_to_date($row['time']),
+ 'Expires' => $page->expiry($row),
+ );
+ }
+}
+
+class MuteInfo extends Info {
+ function basic_info($row, $player_name) {
+ $page = $this->page;
+ return array(
+ 'Muted Player' => $page->get_avatar($player_name),
+ 'Muted By' => $page->get_avatar($page->get_banner_name($row)),
+ 'Mute Reason' => $page->clean($row['reason']),
+ 'Mute Placed' => $page->millis_to_date($row['time']),
+ 'Expires' => $page->expiry($row),
+ );
+ }
+}
+
+class WarnInfo extends Info {
+ function name() {
+ return "Warning";
+ }
+
+ function basic_info($row, $player_name) {
+ $page = $this->page;
+ return array(
+ 'Warned Player' => $page->get_avatar($player_name),
+ 'Warned By' => $page->get_avatar($page->get_banner_name($row)),
+ 'Warning Reason' => $page->clean($row['reason']),
+ 'Warning Placed' => $page->millis_to_date($row['time']),
+ 'Expires' => $page->expiry($row),
+ );
+ }
+}
+
+class KickInfo extends Info {
+ function basic_info($row, $player_name) {
+ $page = $this->page;
+ return array(
+ 'Kicked Player' => $page->get_avatar($player_name),
+ 'Kicked By' => $page->get_avatar($page->get_banner_name($row)),
+ 'Kick Reason' => $page->clean($row['reason']),
+ 'Kick Date' => $page->millis_to_date($row['time']),
+ );
+ }
+}
+
+$type = $_GET['type'];
+$id = $_GET['id'];
+$page = new Page($type);
+
+if ($page->type === null) {
+ die("Unknown page type requested.");
+}
+
+if (!filter_var($id, FILTER_VALIDATE_INT)) {
+ die("Invalid ID.");
+}
+$id = (int)$id;
+
+$type = $page->type;
+$table = $page->table;
+$query = "SELECT * FROM $table WHERE id=? LIMIT 1";
+
+$st = $page->conn->prepare($query);
+
+if ($st->execute(array($id))) {
+ if (!($row = $st->fetch())) {
+ die("Error: $type not found in database.");
+ }
+ $player_name = $page->get_name($row['uuid']);
+ if ($player_name == null) {
+ die("Error: Player name not found.");
+ }
+
+ $info = Info::create($row, $page, $type);
+
+ $name = $info->name();
+ $permanent = $info->permanent();
+ $active = $row['active'];
+
+ $page->name = "$name #$id";
+ $page->print_title();
+
+ if (!($info instanceof KickInfo)) {
+ $style = 'style="margin-left: 13px; font-size: 16px;"';
+ if ($active) {
+ $page->name .= "
Active";
+ } else {
+ $page->name .= "
Inactive";
+ }
+ if ($permanent) {
+ $page->name .= "
Permanent";
+ }
+ }
+
+ $page->print_page_header();
+ ?>
+
+
+
+
+ basic_info($row, $player_name);
+ $permanent_val = $info->page->permanent[$type];
+ foreach ($map as $key => $val) {
+ if ($permanent && $key === "Expires" && $val === $permanent_val) {
+ continue;
+ }
+ echo "$key | $val |
";
+ }
+ ?>
+
+
+
+ print_footer();
+ ?>
+
+ print_title();
+$headers = array("Name", "Kicked By", "Reason", "Date");
?>
-
Kicks - settings->name; ?>
print_page_header("Kicks");
+ $page->print_page_header();
?>
-
- print_table_headers(array("Name", "Kicked By", "Reason", "Date"));
- $result = $page->run_query($page->settings->table_kicks);
- while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
- $player_name = $page->get_name($row['uuid']);
- if ($player_name === null) continue;
- ?>
-
- get_avatar($player_name); ?> |
- get_avatar($page->get_banner_name($row)); ?> |
- clean($row['reason']); ?> |
- millis_to_date($row['time']); ?> |
-
-
-
- print_pager("kicks.php", $page->settings->table_kicks); ?>
+ table_begin();
+ $page->table_print_headers($headers);
+ $result = $page->run_query();
+ while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
+ $player_name = $page->get_name($row['uuid']);
+ if ($player_name === null) continue;
+
+ $page->print_table_rows($row, array(
+ 'Name' => $page->get_avatar($player_name),
+ 'Kicked By' => $page->get_avatar($page->get_banner_name($row)),
+ 'Reason' => $page->clean($row['reason']),
+ 'Date' => $page->millis_to_date($row['time']),
+ ));
+ }
+ $page->table_end();
+ $page->print_pager();
+ ?>
print_footer(); ?>
diff --git a/mutes.php b/mutes.php
index 76efdeb..9a9de0a 100644
--- a/mutes.php
+++ b/mutes.php
@@ -1,42 +1,37 @@
print_title();
+$headers = array("Name", "Muted By", "Reason", "Muted On", "Muted Until");
?>
-
Mutes - settings->name; ?>
print_page_header("Mutes");
+ $page->print_page_header();
?>
-
- print_table_headers(array("Name", "Muted By", "Reason", "Muted On", "Muted Until"));
- $result = $page->run_query($page->settings->table_mutes);
- while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
- $player_name = $page->get_name($row['uuid']);
- if ($player_name === null) continue;
- $until = $page->millis_to_date($row['until']);
- ?>
-
- get_avatar($player_name); ?> |
- get_avatar($page->get_banner_name($row)); ?> |
- clean($row['reason']); ?> |
- millis_to_date($row['time']); ?> |
-
- settings->show_inactive_bans && !$row['active']) {
- $until .= ' (Unmuted)';
- }
- echo $until;
- ?>
- |
-
-
-
- print_pager("mutes.php", $page->settings->table_mutes); ?>
+ table_begin();
+ $page->table_print_headers($headers);
+ $result = $page->run_query();
+ while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
+ $player_name = $page->get_name($row['uuid']);
+ if ($player_name === null) continue;
+
+ $page->print_table_rows($row, array(
+ 'Name' => $page->get_avatar($player_name),
+ 'Muted By' => $page->get_avatar($page->get_banner_name($row)),
+ 'Reason' => $page->clean($row['reason']),
+ 'Muted On' => $page->millis_to_date($row['time']),
+ 'Muted Until' => $page->expiry($row),
+ ));
+ }
+ $page->table_end();
+ $page->print_pager();
+ ?>
print_footer(); ?>
diff --git a/warnings.php b/warnings.php
index 9314bf9..d576f2b 100644
--- a/warnings.php
+++ b/warnings.php
@@ -1,44 +1,37 @@
print_title();
+$headers = array("Name", "Warned By", "Reason", "Warned Until", "Received Warning?");
?>
-
Warnings - settings->name; ?>
print_page_header("Warnings");
+ $page->print_page_header();
?>
-
- print_table_headers(array("Name", "Warned By", "Reason", "Warned Until", "Received Warning?"));
- $result = $page->run_query($page->settings->table_warnings);
- while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
- $player_name = $page->get_name($row['uuid']);
- if ($player_name === null) continue;
- $until = $page->millis_to_date($row['until']);
- ?>
-
- get_avatar($player_name); ?> |
- get_avatar($page->get_banner_name($row)); ?> |
- clean($row['reason']); ?> |
-
- settings->show_inactive_bans && !$row['active']) {
- $until .= ' (Expired)';
- }
- echo $until;
- ?>
- |
-
-
- |
-
-
-
- print_pager("warnings.php", $page->settings->table_warnings); ?>
+ table_begin();
+ $page->table_print_headers($headers);
+ $result = $page->run_query();
+ while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
+ $player_name = $page->get_name($row['uuid']);
+ if ($player_name === null) continue;
+
+ $page->print_table_rows($row, array(
+ 'Name' => $page->get_avatar($player_name),
+ 'Warned By' => $page->get_avatar($page->get_banner_name($row)),
+ 'Reason' => $page->clean($row['reason']),
+ 'Warned Until' => $page->expiry($row),
+ 'Received Warning?' => $row['warned'] ? "Yes" : "No",
+ ));
+ }
+ $page->table_end();
+ $page->print_pager();
+ ?>
print_footer(); ?>