Node.js based forum software built for the modern web
closes #3932
Julian Lame602d2ad4d9b
diff --git a/public/less/admin/bootstrap/alerts.less b/public/less/admin/bootstrap/alerts.lessindex df070b8ab2..c4199db927 100644--- a/public/less/admin/bootstrap/alerts.less+++ b/public/less/admin/bootstrap/alerts.less@@ -18,6 +18,7 @@// Specified for the h4 to prevent conflicts of changing @headings-colorcolor: inherit;}+// Provide class for links that match alerts.alert-link {font-weight: @alert-link-font-weight;@@ -28,6 +29,7 @@> ul {margin-bottom: 0;}+> p + p {margin-top: 5px;}@@ -57,12 +59,15 @@.alert-success {.alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);}+.alert-info {.alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);}+.alert-warning {.alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);}+.alert-danger {.alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);}diff --git a/public/less/admin/bootstrap/badges.less b/public/less/admin/bootstrap/badges.lessindex b27c405a30..6ee16dca41 100644--- a/public/less/admin/bootstrap/badges.less+++ b/public/less/admin/bootstrap/badges.less@@ -12,7 +12,7 @@font-weight: @badge-font-weight;color: @badge-color;line-height: @badge-line-height;- vertical-align: baseline;+ vertical-align: middle;white-space: nowrap;text-align: center;background-color: @badge-bg;@@ -28,7 +28,9 @@position: relative;top: -1px;}- .btn-xs & {++ .btn-xs &,+ .btn-group-xs > .btn & {top: 0;padding: 1px 5px;}@@ -49,12 +51,15 @@color: @badge-active-color;background-color: @badge-active-bg;}+.list-group-item > & {float: right;}+.list-group-item > & + & {margin-right: 5px;}+.nav-pills > li > a > & {margin-left: 3px;}diff --git a/public/less/admin/bootstrap/bootstrap.less b/public/less/admin/bootstrap/bootstrap.lessindex 61b77474f9..1c0477805f 100644--- a/public/less/admin/bootstrap/bootstrap.less+++ b/public/less/admin/bootstrap/bootstrap.less@@ -1,3 +1,9 @@+/*!+ * Bootstrap v3.3.6 (http://getbootstrap.com)+ * Copyright 2011-2015 Twitter, Inc.+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)+ */+// Core variables and mixins@import "variables.less";@import "mixins.less";diff --git a/public/less/admin/bootstrap/button-groups.less b/public/less/admin/bootstrap/button-groups.lessindex f84febbd56..293245a650 100644--- a/public/less/admin/bootstrap/button-groups.less+++ b/public/less/admin/bootstrap/button-groups.less@@ -36,6 +36,7 @@margin-left: -5px; // Offset the first child's margin&:extend(.clearfix all);+ .btn,.btn-group,.input-group {float: left;@@ -71,13 +72,13 @@.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {border-radius: 0;}-.btn-group > .btn-group:first-child {+.btn-group > .btn-group:first-child:not(:last-child) {> .btn:last-child,> .dropdown-toggle {.border-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-left-radius(0);}@@ -172,12 +173,12 @@border-radius: 0;}&:first-child:not(:last-child) {- border-top-right-radius: @border-radius-base;+ .border-top-radius(@btn-border-radius-base);.border-bottom-radius(0);}&:last-child:not(:first-child) {- border-bottom-left-radius: @border-radius-base;.border-top-radius(0);+ .border-bottom-radius(@btn-border-radius-base);}}.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {diff --git a/public/less/admin/bootstrap/buttons.less b/public/less/admin/bootstrap/buttons.lessindex 40553c6386..9cbb8f416f 100644--- a/public/less/admin/bootstrap/buttons.less+++ b/public/less/admin/bootstrap/buttons.less@@ -17,7 +17,7 @@background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214border: 1px solid transparent;white-space: nowrap;- .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);+ .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @btn-border-radius-base);.user-select(none);&,@@ -47,10 +47,16 @@&[disabled],fieldset[disabled] & {cursor: @cursor-disabled;- pointer-events: none; // Future-proof disabling of clicks.opacity(.65);.box-shadow(none);}++ a& {+ &.disabled,+ fieldset[disabled] & {+ pointer-events: none; // Future-proof disabling of clicks on `<a>` elements+ }+ }}@@ -107,7 +113,7 @@&:hover,&:focus {color: @link-hover-color;- text-decoration: underline;+ text-decoration: @link-hover-decoration;background-color: transparent;}&[disabled],@@ -126,14 +132,14 @@.btn-lg {// line-height: ensure even-numbered height of button next to large input- .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);+ .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @btn-border-radius-large);}.btn-sm {// line-height: ensure proper height of button next to small input- .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);+ .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small);}.btn-xs {- .button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);+ .button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small);}diff --git a/public/less/admin/bootstrap/carousel.less b/public/less/admin/bootstrap/carousel.lessindex 5724d8a56e..252011e9e2 100644--- a/public/less/admin/bootstrap/carousel.less+++ b/public/less/admin/bootstrap/carousel.less@@ -27,24 +27,24 @@// WebKit CSS3 transforms for supported devices@media all and (transform-3d), (-webkit-transform-3d) {- transition: transform .6s ease-in-out;- backface-visibility: hidden;- perspective: 1000;+ .transition-transform(~'0.6s ease-in-out');+ .backface-visibility(~'hidden');+ .perspective(1000px);&.next,&.active.right {- transform: translate3d(100%, 0, 0);+ .translate3d(100%, 0, 0);left: 0;}&.prev,&.active.left {- transform: translate3d(-100%, 0, 0);+ .translate3d(-100%, 0, 0);left: 0;}&.next.left,&.prev.right,&.active {- transform: translate3d(0, 0, 0);+ .translate3d(0, 0, 0);left: 0;}}@@ -101,6 +101,7 @@color: @carousel-control-color;text-align: center;text-shadow: @carousel-text-shadow;+ background-color: rgba(0, 0, 0, 0); // Fix IE9 click-thru bug// We can't have this transition here because WebKit cancels the carousel// animation if you trip this while in the middle of another animation.@@ -130,6 +131,7 @@.glyphicon-chevron-right {position: absolute;top: 50%;+ margin-top: -10px;z-index: 5;display: inline-block;}@@ -147,7 +149,7 @@.icon-next {width: 20px;height: 20px;- margin-top: -10px;+ line-height: 1;font-family: serif;}@@ -195,6 +197,7 @@// Internet Explorer 8-9 does not support clicks on elements without a set// `background-color`. We cannot use `filter` since that's not viewed as a// background color by the browser. Thus, a hack is needed.+ // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Internet_Explorer//// For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we// set alpha transparency for the best results possible.@@ -238,18 +241,18 @@.glyphicon-chevron-right,.icon-prev,.icon-next {- width: 30px;- height: 30px;- margin-top: -15px;- font-size: 30px;+ width: (@carousel-control-font-size * 1.5);+ height: (@carousel-control-font-size * 1.5);+ margin-top: (@carousel-control-font-size / -2);+ font-size: (@carousel-control-font-size * 1.5);}.glyphicon-chevron-left,.icon-prev {- margin-left: -15px;+ margin-left: (@carousel-control-font-size / -2);}.glyphicon-chevron-right,.icon-next {- margin-right: -15px;+ margin-right: (@carousel-control-font-size / -2);}}diff --git a/public/less/admin/bootstrap/close.less b/public/less/admin/bootstrap/close.lessindex 9b4e74f2b8..6d5bfe087a 100644--- a/public/less/admin/bootstrap/close.less+++ b/public/less/admin/bootstrap/close.less@@ -23,6 +23,7 @@// Additional properties for button version// iOS requires the button element instead of an anchor tag.// If you want the anchor version, it requires `href="#"`.+ // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobilebutton& {padding: 0;cursor: pointer;diff --git a/public/less/admin/bootstrap/component-animations.less b/public/less/admin/bootstrap/component-animations.lessindex 967715d98b..0bcee910ac 100644--- a/public/less/admin/bootstrap/component-animations.less+++ b/public/less/admin/bootstrap/component-animations.less@@ -17,9 +17,8 @@.collapse {display: none;- visibility: hidden;- &.in { display: block; visibility: visible; }+ &.in { display: block; }tr&.in { display: table-row; }tbody&.in { display: table-row-group; }}diff --git a/public/less/admin/bootstrap/dropdowns.less b/public/less/admin/bootstrap/dropdowns.lessindex 84a48c1413..f6876c1a9b 100644--- a/public/less/admin/bootstrap/dropdowns.less+++ b/public/less/admin/bootstrap/dropdowns.less@@ -10,12 +10,14 @@height: 0;margin-left: 2px;vertical-align: middle;- border-top: @caret-width-base solid;+ border-top: @caret-width-base dashed;+ border-top: @caret-width-base solid ~"\9"; // IE8border-right: @caret-width-base solid transparent;border-left: @caret-width-base solid transparent;}// The dropdown wrapper (div)+.dropup,.dropdown {position: relative;}@@ -183,14 +185,15 @@// Reverse the caret.caret {border-top: 0;- border-bottom: @caret-width-base solid;+ border-bottom: @caret-width-base dashed;+ border-bottom: @caret-width-base solid ~"\9"; // IE8content: "";}// Different positioning for bottom up menu.dropdown-menu {top: auto;bottom: 100%;- margin-bottom: 1px;+ margin-bottom: 2px;}}diff --git a/public/less/admin/bootstrap/forms.less b/public/less/admin/bootstrap/forms.lessindex 1bcc2b6b97..e8b071a138 100644--- a/public/less/admin/bootstrap/forms.less+++ b/public/less/admin/bootstrap/forms.less@@ -56,7 +56,6 @@ input[type="checkbox"] {line-height: normal;}-// Set the height of file controls to match text inputsinput[type="file"] {display: block;}@@ -123,7 +122,7 @@ output {background-color: @input-bg;background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214border: 1px solid @input-border;- border-radius: @input-border-radius;+ border-radius: @input-border-radius; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of <select>s in CSS..box-shadow(inset 0 1px 1px rgba(0,0,0,.075));.transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");@@ -133,6 +132,12 @@ output {// Placeholder.placeholder();+ // Unstyle the caret on `<select>`s in IE10+.+ &::-ms-expand {+ border: 0;+ background-color: transparent;+ }+// Disabled and read-only inputs//// HTML5 says that controls under a fieldset > legend:first-child won't be@@ -141,9 +146,13 @@ output {&[disabled],&[readonly],fieldset[disabled] & {- cursor: @cursor-disabled;background-color: @input-bg-disabled;- opacity: 1; // iOS fix for unreadable disabled content+ opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655+ }++ &[disabled],+ fieldset[disabled] & {+ cursor: @cursor-disabled;}// Reset height for `textarea`s@@ -170,26 +179,28 @@ input[type="search"] {// In Mobile Safari, setting `display: block` on temporal inputs causes the// text within the input to become vertically misaligned. As a workaround, we// set a pixel line-height that matches the given height of the input, but only-// for Safari.+// for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848+//+// Note that as of 8.3, iOS doesn't support `datetime` or `week`.@media screen and (-webkit-min-device-pixel-ratio: 0) {input[type="date"],input[type="time"],input[type="datetime-local"],input[type="month"] {- line-height: @input-height-base;- }- input[type="date"].input-sm,- input[type="time"].input-sm,- input[type="datetime-local"].input-sm,- input[type="month"].input-sm {- line-height: @input-height-small;- }- input[type="date"].input-lg,- input[type="time"].input-lg,- input[type="datetime-local"].input-lg,- input[type="month"].input-lg {- line-height: @input-height-large;+ &.form-control {+ line-height: @input-height-base;+ }++ &.input-sm,+ .input-group-sm & {+ line-height: @input-height-small;+ }++ &.input-lg,+ .input-group-lg & {+ line-height: @input-height-large;+ }}}@@ -200,7 +211,7 @@ input[type="search"] {// horizontal forms, use the predefined grid classes..form-group {- margin-bottom: 15px;+ margin-bottom: @form-group-margin-bottom;}@@ -240,6 +251,7 @@ input[type="search"] {// Radios and checkboxes on same line.radio-inline,.checkbox-inline {+ position: relative;display: inline-block;padding-left: 20px;margin-bottom: 0;@@ -296,6 +308,7 @@ input[type="checkbox"] {padding-bottom: (@padding-base-vertical + 1);// Remove default margin from `p`margin-bottom: 0;+ min-height: (@line-height-computed + @font-size-base);&.input-lg,&.input-sm {@@ -309,16 +322,65 @@ input[type="checkbox"] {//// Build on `.form-control` with modifier classes to decrease or increase the// height and font-size of form controls.+//+// The `.form-group-* form-control` variations are sadly duplicated to avoid the+// issue documented in https://github.com/twbs/bootstrap/issues/15074.-.input-sm,-.form-group-sm .form-control {+.input-sm {.input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @input-border-radius-small);}+.form-group-sm {+ .form-control {+ height: @input-height-small;+ padding: @padding-small-vertical @padding-small-horizontal;+ font-size: @font-size-small;+ line-height: @line-height-small;+ border-radius: @input-border-radius-small;+ }+ select.form-control {+ height: @input-height-small;+ line-height: @input-height-small;+ }+ textarea.form-control,+ select[multiple].form-control {+ height: auto;+ }+ .form-control-static {+ height: @input-height-small;+ min-height: (@line-height-computed + @font-size-small);+ padding: (@padding-small-vertical + 1) @padding-small-horizontal;+ font-size: @font-size-small;+ line-height: @line-height-small;+ }+}-.input-lg,-.form-group-lg .form-control {+.input-lg {.input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @input-border-radius-large);}+.form-group-lg {+ .form-control {+ height: @input-height-large;+ padding: @padding-large-vertical @padding-large-horizontal;+ font-size: @font-size-large;+ line-height: @line-height-large;+ border-radius: @input-border-radius-large;+ }+ select.form-control {+ height: @input-height-large;+ line-height: @input-height-large;+ }+ textarea.form-control,+ select[multiple].form-control {+ height: auto;+ }+ .form-control-static {+ height: @input-height-large;+ min-height: (@line-height-computed + @font-size-large);+ padding: (@padding-large-vertical + 1) @padding-large-horizontal;+ font-size: @font-size-large;+ line-height: @line-height-large;+ }+}// Form control feedback states@@ -347,12 +409,16 @@ input[type="checkbox"] {text-align: center;pointer-events: none;}-.input-lg + .form-control-feedback {+.input-lg + .form-control-feedback,+.input-group-lg + .form-control-feedback,+.form-group-lg .form-control + .form-control-feedback {width: @input-height-large;height: @input-height-large;line-height: @input-height-large;}-.input-sm + .form-control-feedback {+.input-sm + .form-control-feedback,+.input-group-sm + .form-control-feedback,+.form-group-sm .form-control + .form-control-feedback {width: @input-height-small;height: @input-height-small;line-height: @input-height-small;@@ -373,10 +439,10 @@ input[type="checkbox"] {.has-feedback label {& ~ .form-control-feedback {- top: (@line-height-computed + 5); // Height of the `label` and its margin+ top: (@line-height-computed + 5); // Height of the `label` and its margin}&.sr-only ~ .form-control-feedback {- top: 0;+ top: 0;}}@@ -450,8 +516,7 @@ input[type="checkbox"] {}// Remove default margin on radios/checkboxes that were used for stacking, and- // then undo the floating of radios and checkboxes to match (which also avoids- // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).+ // then undo the floating of radios and checkboxes to match..radio,.checkbox {display: inline-block;@@ -522,7 +587,7 @@ input[type="checkbox"] {// Reposition the icon because it's now within a grid column and columns have// `position: relative;` on them. Also accounts for the grid gutter padding..has-feedback .form-control-feedback {- right: (@grid-gutter-width / 2);+ right: floor((@grid-gutter-width / 2));}// Form group sizes@@ -532,7 +597,8 @@ input[type="checkbox"] {.form-group-lg {@media (min-width: @screen-sm-min) {.control-label {- padding-top: ((@padding-large-vertical * @line-height-large) + 1);+ padding-top: (@padding-large-vertical + 1);+ font-size: @font-size-large;}}}@@ -540,6 +606,7 @@ input[type="checkbox"] {@media (min-width: @screen-sm-min) {.control-label {padding-top: (@padding-small-vertical + 1);+ font-size: @font-size-small;}}}diff --git a/public/less/admin/bootstrap/glyphicons.less b/public/less/admin/bootstrap/glyphicons.lessindex 6eab7f7c20..7bc5852d2c 100644--- a/public/less/admin/bootstrap/glyphicons.less+++ b/public/less/admin/bootstrap/glyphicons.less@@ -12,6 +12,7 @@font-family: 'Glyphicons Halflings';src: url('@{icon-font-path}@{icon-font-name}.eot');src: url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype'),+ url('@{icon-font-path}@{icon-font-name}.woff2') format('woff2'),url('@{icon-font-path}@{icon-font-name}.woff') format('woff'),url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype'),url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg');@@ -31,8 +32,8 @@}// Individual icons-.glyphicon-asterisk { &:before { content: "\2a"; } }-.glyphicon-plus { &:before { content: "\2b"; } }+.glyphicon-asterisk { &:before { content: "\002a"; } }+.glyphicon-plus { &:before { content: "\002b"; } }.glyphicon-euro,.glyphicon-eur { &:before { content: "\20ac"; } }.glyphicon-minus { &:before { content: "\2212"; } }@@ -232,3 +233,73 @@.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"; } }+// The following 2 Glyphicons are omitted for the time being because+// they currently use Unicode codepoints that are outside the+// Basic Multilingual Plane (BMP). Older buggy versions of WebKit can't handle+// non-BMP codepoints in CSS string escapes, and thus can't display these two icons.+// Notably, the bug affects some older versions of the Android Browser.+// More info: https://github.com/twbs/bootstrap/issues/10106+// .glyphicon-door { &:before { content: "\1f6aa"; } }+// .glyphicon-key { &:before { content: "\1f511"; } }+.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"; } }diff --git a/public/less/admin/bootstrap/input-groups.less b/public/less/admin/bootstrap/input-groups.lessindex a8712f25b9..5f73eec40c 100644--- a/public/less/admin/bootstrap/input-groups.less+++ b/public/less/admin/bootstrap/input-groups.less@@ -29,6 +29,10 @@width: 100%;margin-bottom: 0;++ &:focus {+ z-index: 3;+ }}}@@ -79,18 +83,18 @@text-align: center;background-color: @input-group-addon-bg;border: 1px solid @input-group-addon-border-color;- border-radius: @border-radius-base;+ border-radius: @input-border-radius;// Sizing&.input-sm {padding: @padding-small-vertical @padding-small-horizontal;font-size: @font-size-small;- border-radius: @border-radius-small;+ border-radius: @input-border-radius-small;}&.input-lg {padding: @padding-large-vertical @padding-large-horizontal;font-size: @font-size-large;- border-radius: @border-radius-large;+ border-radius: @input-border-radius-large;}// Nuke default margins from checkboxes and radios to vertically center within.@@ -160,6 +164,7 @@&:last-child {> .btn,> .btn-group {+ z-index: 2;margin-left: -1px;}}diff --git a/public/less/admin/bootstrap/jumbotron.less b/public/less/admin/bootstrap/jumbotron.lessindex 340d4a372a..1d9b515b38 100644--- a/public/less/admin/bootstrap/jumbotron.less+++ b/public/less/admin/bootstrap/jumbotron.less@@ -4,7 +4,8 @@.jumbotron {- padding: @jumbotron-padding (@jumbotron-padding / 2);+ padding-top: @jumbotron-padding;+ padding-bottom: @jumbotron-padding;margin-bottom: @jumbotron-padding;color: @jumbotron-color;background-color: @jumbotron-bg;@@ -13,6 +14,7 @@.h1 {color: @jumbotron-heading-color;}+p {margin-bottom: (@jumbotron-padding / 2);font-size: @jumbotron-font-size;@@ -26,6 +28,8 @@.container &,.container-fluid & {border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container+ padding-left: (@grid-gutter-width / 2);+ padding-right: (@grid-gutter-width / 2);}.container {@@ -33,7 +37,8 @@}@media screen and (min-width: @screen-sm-min) {- padding: (@jumbotron-padding * 1.6) 0;+ padding-top: (@jumbotron-padding * 1.6);+ padding-bottom: (@jumbotron-padding * 1.6);.container &,.container-fluid & {@@ -43,7 +48,7 @@h1,.h1 {- font-size: (@font-size-base * 4.5);+ font-size: @jumbotron-heading-font-size;}}}diff --git a/public/less/admin/bootstrap/list-group.less b/public/less/admin/bootstrap/list-group.lessindex 1462ce16b3..216b91230a 100644--- a/public/less/admin/bootstrap/list-group.less+++ b/public/less/admin/bootstrap/list-group.less@@ -38,12 +38,13 @@}-// Linked list items+// Interactive list items//-// Use anchor elements instead of `li`s or `div`s to create linked list items.+// Use anchor or button elements instead of `li`s or `div`s to create interactive items.// Includes an extra `.active` modifier class for showing selected items.-a.list-group-item {+a.list-group-item,+button.list-group-item {color: @list-group-link-color;.list-group-item-heading {@@ -59,6 +60,11 @@ a.list-group-item {}}+button.list-group-item {+ width: 100%;+ text-align: left;+}+.list-group-item {// Disabled state&.disabled,diff --git a/public/less/admin/bootstrap/media.less b/public/less/admin/bootstrap/media.lessindex 292e98dbd7..8c835e861e 100644--- a/public/less/admin/bootstrap/media.less+++ b/public/less/admin/bootstrap/media.less@@ -7,6 +7,25 @@}}+.media,+.media-body {+ zoom: 1;+ overflow: hidden;+}++.media-body {+ width: 10000px;+}++.media-object {+ display: block;++ // Fix collapse in webkit from max-width: 100% and display: table-cell.+ &.img-thumbnail {+ max-width: none;+ }+}+.media-right,.media > .pull-right {padding-left: 10px;diff --git a/public/less/admin/bootstrap/mixins.less b/public/less/admin/bootstrap/mixins.lessindex af4408fc2d..e6f9fe684b 100644--- a/public/less/admin/bootstrap/mixins.less+++ b/public/less/admin/bootstrap/mixins.less@@ -11,6 +11,7 @@@import "mixins/responsive-visibility.less";@import "mixins/size.less";@import "mixins/tab-focus.less";+@import "mixins/reset-text.less";@import "mixins/text-emphasis.less";@import "mixins/text-overflow.less";@import "mixins/vendor-prefixes.less";diff --git a/public/less/admin/bootstrap/mixins/background-variant.less b/public/less/admin/bootstrap/mixins/background-variant.lessindex 556e490d45..a85c22b745 100644--- a/public/less/admin/bootstrap/mixins/background-variant.less+++ b/public/less/admin/bootstrap/mixins/background-variant.less@@ -2,7 +2,8 @@.bg-variant(@color) {background-color: @color;- a&:hover {+ a&:hover,+ a&:focus {background-color: darken(@color, 10%);}}diff --git a/public/less/admin/bootstrap/mixins/buttons.less b/public/less/admin/bootstrap/mixins/buttons.lessindex 92d8a056cd..b294d8c210 100644--- a/public/less/admin/bootstrap/mixins/buttons.less+++ b/public/less/admin/bootstrap/mixins/buttons.less@@ -8,15 +8,31 @@background-color: @background;border-color: @border;- &:hover,&:focus,- &.focus,+ &.focus {+ color: @color;+ background-color: darken(@background, 10%);+ border-color: darken(@border, 25%);+ }+ &:hover {+ color: @color;+ background-color: darken(@background, 10%);+ border-color: darken(@border, 12%);+ }&:active,&.active,.open > .dropdown-toggle& {color: @color;background-color: darken(@background, 10%);border-color: darken(@border, 12%);++ &:hover,+ &:focus,+ &.focus {+ color: @color;+ background-color: darken(@background, 17%);+ border-color: darken(@border, 25%);+ }}&:active,&.active,@@ -26,12 +42,9 @@&.disabled,&[disabled],fieldset[disabled] & {- &,&:hover,&:focus,- &.focus,- &:active,- &.active {+ &.focus {background-color: @background;border-color: @border;}diff --git a/public/less/admin/bootstrap/mixins/grid-framework.less b/public/less/admin/bootstrap/mixins/grid-framework.lessindex f3b3929d6d..8c23eed24e 100644--- a/public/less/admin/bootstrap/mixins/grid-framework.less+++ b/public/less/admin/bootstrap/mixins/grid-framework.less@@ -19,8 +19,8 @@// Prevent columns from collapsing when emptymin-height: 1px;// Inner gutter via padding- padding-left: (@grid-gutter-width / 2);- padding-right: (@grid-gutter-width / 2);+ padding-left: ceil((@grid-gutter-width / 2));+ padding-right: floor((@grid-gutter-width / 2));}}.col(1); // kickstart itdiff --git a/public/less/admin/bootstrap/mixins/grid.less b/public/less/admin/bootstrap/mixins/grid.lessindex cae5eaff92..df496d0b3c 100644--- a/public/less/admin/bootstrap/mixins/grid.less+++ b/public/less/admin/bootstrap/mixins/grid.less@@ -6,15 +6,15 @@.container-fixed(@gutter: @grid-gutter-width) {margin-right: auto;margin-left: auto;- padding-left: (@gutter / 2);- padding-right: (@gutter / 2);+ padding-left: floor((@gutter / 2));+ padding-right: ceil((@gutter / 2));&:extend(.clearfix all);}// Creates a wrapper for a series of columns.make-row(@gutter: @grid-gutter-width) {- margin-left: (@gutter / -2);- margin-right: (@gutter / -2);+ margin-left: ceil((@gutter / -2));+ margin-right: floor((@gutter / -2));&:extend(.clearfix all);}diff --git a/public/less/admin/bootstrap/mixins/hide-text.less b/public/less/admin/bootstrap/mixins/hide-text.lessindex c2315e572f..2bb84a3b44 100644--- a/public/less/admin/bootstrap/mixins/hide-text.less+++ b/public/less/admin/bootstrap/mixins/hide-text.less@@ -1,12 +1,12 @@// CSS image replacement//-// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for+// Heads up! v3 launched with only `.hide-text()`, but per our pattern for// mixins being reused as classes with the same name, this doesn't hold up. As// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.//// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757-// Deprecated as of v3.0.1 (will be removed in v4)+// Deprecated as of v3.0.1 (has been removed in v4).hide-text() {font: ~"0/0" a;color: transparent;diff --git a/public/less/admin/bootstrap/mixins/list-group.less b/public/less/admin/bootstrap/mixins/list-group.lessindex 8b5b065cb8..03aa19069d 100644--- a/public/less/admin/bootstrap/mixins/list-group.less+++ b/public/less/admin/bootstrap/mixins/list-group.less@@ -5,7 +5,8 @@color: @color;background-color: @background;- a& {+ a&,+ button& {color: @color;.list-group-item-heading {diff --git a/public/less/admin/bootstrap/mixins/pagination.less b/public/less/admin/bootstrap/mixins/pagination.lessindex 7deb505d25..618804f2de 100644--- a/public/less/admin/bootstrap/mixins/pagination.less+++ b/public/less/admin/bootstrap/mixins/pagination.less@@ -1,11 +1,12 @@// Pagination-.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {+.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {> li {> a,> span {padding: @padding-vertical @padding-horizontal;font-size: @font-size;+ line-height: @line-height;}&:first-child {> a,diff --git a/public/less/admin/bootstrap/mixins/reset-text.less b/public/less/admin/bootstrap/mixins/reset-text.lessnew file mode 100644index 0000000000..58dd4d19b4--- /dev/null+++ b/public/less/admin/bootstrap/mixins/reset-text.less@@ -0,0 +1,18 @@+.reset-text() {+ font-family: @font-family-base;+ // We deliberately do NOT reset font-size.+ font-style: normal;+ font-weight: normal;+ letter-spacing: normal;+ line-break: auto;+ line-height: @line-height-base;+ text-align: left; // Fallback for where `start` is not supported+ text-align: start;+ text-decoration: none;+ text-shadow: none;+ text-transform: none;+ white-space: normal;+ word-break: normal;+ word-spacing: normal;+ word-wrap: normal;+}diff --git a/public/less/admin/bootstrap/mixins/responsive-visibility.less b/public/less/admin/bootstrap/mixins/responsive-visibility.lessindex f7951c3d75..ecf1e979fd 100644--- a/public/less/admin/bootstrap/mixins/responsive-visibility.less+++ b/public/less/admin/bootstrap/mixins/responsive-visibility.less@@ -4,7 +4,7 @@// More easily include all the states for responsive-utilities.less..responsive-visibility() {display: block !important;- table& { display: table; }+ table& { display: table !important; }tr& { display: table-row !important; }th&,td& { display: table-cell !important; }diff --git a/public/less/admin/bootstrap/mixins/text-emphasis.less b/public/less/admin/bootstrap/mixins/text-emphasis.lessindex 0868ef9f2c..9e8a77a698 100644--- a/public/less/admin/bootstrap/mixins/text-emphasis.less+++ b/public/less/admin/bootstrap/mixins/text-emphasis.less@@ -2,7 +2,8 @@.text-emphasis-variant(@color) {color: @color;- a&:hover {+ a&:hover,+ a&:focus {color: darken(@color, 10%);}}diff --git a/public/less/admin/bootstrap/mixins/vendor-prefixes.less b/public/less/admin/bootstrap/mixins/vendor-prefixes.lessindex 31f8e2f7ab..2b5e74b99e 100644--- a/public/less/admin/bootstrap/mixins/vendor-prefixes.less+++ b/public/less/admin/bootstrap/mixins/vendor-prefixes.less@@ -1,7 +1,7 @@// Vendor Prefixes//// All vendor mixins are deprecated as of v3.2.0 due to the introduction of-// Autoprefixer in our Gruntfile. They will be removed in v4.+// Autoprefixer in our Gruntfile. They have been removed in v4.// - Animations// - Backface visibility@@ -54,7 +54,7 @@// Prevent browsers from flickering when using CSS 3D transforms.// Default value is `visible`, but can be changed to `hidden`-.backface-visibility(@visibility){+.backface-visibility(@visibility) {-webkit-backface-visibility: @visibility;-moz-backface-visibility: @visibility;backface-visibility: @visibility;@@ -102,7 +102,7 @@// Firefox&::-moz-placeholder {color: @color;- opacity: 1; // See https://github.com/twbs/bootstrap/pull/11526+ opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526}&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+&::-webkit-input-placeholder { color: @color; } // Safari and Chromediff --git a/public/less/admin/bootstrap/modals.less b/public/less/admin/bootstrap/modals.lessindex 032a497d6c..767ce36ba3 100644--- a/public/less/admin/bootstrap/modals.less+++ b/public/less/admin/bootstrap/modals.less@@ -62,10 +62,12 @@// Modal background.modal-backdrop {- position: absolute;+ position: fixed;top: 0;right: 0;+ bottom: 0;left: 0;+ z-index: @zindex-modal-background;background-color: @modal-backdrop-bg;// Fade for backdrop&.fade { .opacity(0); }@@ -77,7 +79,7 @@.modal-header {padding: @modal-title-padding;border-bottom: 1px solid @modal-header-border-color;- min-height: (@modal-title-padding + @modal-title-line-height);+ &:extend(.clearfix all);}// Close icon.modal-header .close {diff --git a/public/less/admin/bootstrap/navbar.less b/public/less/admin/bootstrap/navbar.lessindex 67fd3528f0..6d751bb9ce 100644--- a/public/less/admin/bootstrap/navbar.less+++ b/public/less/admin/bootstrap/navbar.less@@ -67,7 +67,6 @@&.collapse {display: block !important;- visibility: visible !important;height: auto !important;padding-bottom: 0; // Override default settingoverflow: visible !important;@@ -331,6 +330,7 @@}// Menu position and menu caret support for dropups via extra dropup class.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {+ margin-bottom: 0;.border-top-radius(@navbar-border-radius);.border-bottom-radius(0);}diff --git a/public/less/admin/bootstrap/navs.less b/public/less/admin/bootstrap/navs.lessindex f26fec7a5c..a3d11b1362 100644--- a/public/less/admin/bootstrap/navs.less+++ b/public/less/admin/bootstrap/navs.less@@ -223,11 +223,9 @@.tab-content {> .tab-pane {display: none;- visibility: hidden;}> .active {display: block;- visibility: visible;}}diff --git a/public/less/admin/bootstrap/normalize.less b/public/less/admin/bootstrap/normalize.lessindex 62a085a484..9dddf73ad2 100644--- a/public/less/admin/bootstrap/normalize.less+++ b/public/less/admin/bootstrap/normalize.less@@ -1,9 +1,9 @@-/*! normalize.css v3.0.2 | MIT License | git.io/normalize */+/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css *///// 1. Set default font family to sans-serif.-// 2. Prevent iOS text size adjust after orientation change, without disabling-// user zoom.+// 2. Prevent iOS and IE text size adjust after device orientation change,+// without disabling user zoom.//html {@@ -71,7 +71,7 @@ audio:not([controls]) {//// Address `[hidden]` styling not present in IE 8/9/10.-// Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.+// Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.//[hidden],@@ -91,7 +91,8 @@ a {}//-// Improve readability when focused and also mouse hovered in all browsers.+// Improve readability of focused elements when they are also in an+// active/hover state.//a:active,@@ -209,7 +210,6 @@ figure {//hr {- -moz-box-sizing: content-box;box-sizing: content-box;height: 0;}@@ -350,15 +350,12 @@ input[type="number"]::-webkit-outer-spin-button {//// 1. Address `appearance` set to `searchfield` in Safari and Chrome.-// 2. Address `box-sizing` set to `border-box` in Safari and Chrome-// (include `-moz` to future-proof).+// 2. Address `box-sizing` set to `border-box` in Safari and Chrome.//input[type="search"] {-webkit-appearance: textfield; // 1- -moz-box-sizing: content-box;- -webkit-box-sizing: content-box; // 2- box-sizing: content-box;+ box-sizing: content-box; //2}//diff --git a/public/less/admin/bootstrap/pagination.less b/public/less/admin/bootstrap/pagination.lessindex 38c4c3d346..31f77aae4e 100644--- a/public/less/admin/bootstrap/pagination.less+++ b/public/less/admin/bootstrap/pagination.less@@ -40,6 +40,7 @@> li > span {&:hover,&:focus {+ z-index: 2;color: @pagination-hover-color;background-color: @pagination-hover-bg;border-color: @pagination-hover-border;@@ -51,7 +52,7 @@&,&:hover,&:focus {- z-index: 2;+ z-index: 3;color: @pagination-active-color;background-color: @pagination-active-bg;border-color: @pagination-active-border;@@ -79,10 +80,10 @@// Large.pagination-lg {- .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);+ .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);}// Small.pagination-sm {- .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);+ .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);}diff --git a/public/less/admin/bootstrap/panels.less b/public/less/admin/bootstrap/panels.lessindex d0f8f95f44..425eb5e642 100644--- a/public/less/admin/bootstrap/panels.less+++ b/public/less/admin/bootstrap/panels.less@@ -36,7 +36,11 @@font-size: ceil((@font-size-base * 1.125));color: inherit;- > a {+ > a,+ > small,+ > .small,+ > small > a,+ > .small > a {color: inherit;}}@@ -72,6 +76,7 @@.border-top-radius((@panel-border-radius - 1));}}+// Add border bottom radius for last one&:last-child {.list-group-item:last-child {@@ -80,6 +85,11 @@}}}+ > .panel-heading + .panel-collapse > .list-group {+ .list-group-item:first-child {+ .border-top-radius(0);+ }+ }}// Collapse space between when there's no additional content..panel-heading + .list-group {diff --git a/public/less/admin/bootstrap/popovers.less b/public/less/admin/bootstrap/popovers.lessindex 53ee0ecd76..3a62a6455a 100644--- a/public/less/admin/bootstrap/popovers.less+++ b/public/less/admin/bootstrap/popovers.less@@ -11,12 +11,11 @@display: none;max-width: @popover-max-width;padding: 1px;- // Reset font and text propertes given new insertion method- font-family: @font-family-base;+ // Our parent element can be arbitrary since popovers are by default inserted as a sibling of their target element.+ // So reset our font and text properties to avoid inheriting weird values.+ .reset-text();font-size: @font-size-base;- font-weight: normal;- line-height: @line-height-base;- text-align: left;+background-color: @popover-bg;background-clip: padding-box;border: 1px solid @popover-fallback-border-color;@@ -24,9 +23,6 @@border-radius: @border-radius-large;.box-shadow(0 5px 10px rgba(0,0,0,.2));- // Overrides for proper insertion- white-space: normal;-// Offset the popover to account for the popover arrow&.top { margin-top: -@popover-arrow-width; }&.right { margin-left: @popover-arrow-width; }diff --git a/public/less/admin/bootstrap/print.less b/public/less/admin/bootstrap/print.lessindex 94ca58f12a..66e54ab489 100644--- a/public/less/admin/bootstrap/print.less+++ b/public/less/admin/bootstrap/print.less@@ -67,12 +67,6 @@}// Bootstrap specific changes start- //- // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245- // Once fixed, we can just straight up remove this.- select {- background: #fff !important;- }// Bootstrap components.navbar {diff --git a/public/less/admin/bootstrap/responsive-embed.less b/public/less/admin/bootstrap/responsive-embed.lessindex c1fa8f8488..080a5118fe 100644--- a/public/less/admin/bootstrap/responsive-embed.less+++ b/public/less/admin/bootstrap/responsive-embed.less@@ -22,14 +22,14 @@width: 100%;border: 0;}+}- // Modifier class for 16:9 aspect ratio- &.embed-responsive-16by9 {- padding-bottom: 56.25%;- }+// Modifier class for 16:9 aspect ratio+.embed-responsive-16by9 {+ padding-bottom: 56.25%;+}- // Modifier class for 4:3 aspect ratio- &.embed-responsive-4by3 {- padding-bottom: 75%;- }+// Modifier class for 4:3 aspect ratio+.embed-responsive-4by3 {+ padding-bottom: 75%;}diff --git a/public/less/admin/bootstrap/scaffolding.less b/public/less/admin/bootstrap/scaffolding.lessindex 2a40fbcbe4..1929bfc5cf 100644--- a/public/less/admin/bootstrap/scaffolding.less+++ b/public/less/admin/bootstrap/scaffolding.less@@ -148,3 +148,14 @@ hr {clip: auto;}}+++// iOS "clickable elements" fix for role="button"+//+// Fixes "clickability" issue (and more generally, the firing of events such as focus as well)+// for traditionally non-focusable elements with role="button"+// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile++[role="button"] {+ cursor: pointer;+}diff --git a/public/less/admin/bootstrap/tables.less b/public/less/admin/bootstrap/tables.lessindex ba24498a39..2242c03686 100644--- a/public/less/admin/bootstrap/tables.less+++ b/public/less/admin/bootstrap/tables.less@@ -111,7 +111,7 @@ th {// Default zebra-stripe styles (alternating gray and transparent backgrounds).table-striped {- > tbody > tr:nth-child(odd) {+ > tbody > tr:nth-of-type(odd) {background-color: @table-bg-accent;}}@@ -133,7 +133,7 @@ th {// Reset default table behaviortable col[class*="col-"] {- position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)float: none;display: table-column;}@@ -141,7 +141,7 @@ table {td,th {&[class*="col-"] {- position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)float: none;display: table-cell;}diff --git a/public/less/admin/bootstrap/theme.less b/public/less/admin/bootstrap/theme.lessindex a15d16ecd2..8f51d913dc 100644--- a/public/less/admin/bootstrap/theme.less+++ b/public/less/admin/bootstrap/theme.less@@ -1,3 +1,8 @@+/*!+ * Bootstrap v3.3.6 (http://getbootstrap.com)+ * Copyright 2011-2015 Twitter, Inc.+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)+ *///// Load core variables and mixins@@ -28,6 +33,12 @@.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));}+ &.disabled,+ &[disabled],+ fieldset[disabled] & {+ .box-shadow(none);+ }+.badge {text-shadow: none;}@@ -36,7 +47,7 @@// Mixin for generating new styles.btn-styles(@btn-color: #555) {#gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));- .reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners+ .reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners; see https://github.com/twbs/bootstrap/issues/10620background-repeat: repeat-x;border-color: darken(@btn-color, 14%);@@ -52,10 +63,18 @@border-color: darken(@btn-color, 14%);}- &:disabled,- &[disabled] {- background-color: darken(@btn-color, 12%);- background-image: none;+ &.disabled,+ &[disabled],+ fieldset[disabled] & {+ &,+ &:hover,+ &:focus,+ &.focus,+ &:active,+ &.active {+ background-color: darken(@btn-color, 12%);+ background-image: none;+ }}}@@ -130,8 +149,8 @@// Inverted navbar.navbar-inverse {#gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);- .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered-+ .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257+ border-radius: @navbar-border-radius;.navbar-nav > .open > a,.navbar-nav > .active > a {#gradient > .vertical(@start-color: @navbar-inverse-link-active-bg; @end-color: lighten(@navbar-inverse-link-active-bg, 2.5%));diff --git a/public/less/admin/bootstrap/tooltip.less b/public/less/admin/bootstrap/tooltip.lessindex 9c2a37fd43..b48d63e07a 100644--- a/public/less/admin/bootstrap/tooltip.less+++ b/public/less/admin/bootstrap/tooltip.less@@ -8,12 +8,11 @@position: absolute;z-index: @zindex-tooltip;display: block;- visibility: visible;- // Reset font and text propertes given new insertion method- font-family: @font-family-base;+ // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.+ // So reset our font and text properties to avoid inheriting weird values.+ .reset-text();font-size: @font-size-small;- font-weight: normal;- line-height: 1.4;+.opacity(0);&.in { .opacity(@tooltip-opacity); }@@ -29,7 +28,6 @@padding: 3px 8px;color: @tooltip-color;text-align: center;- text-decoration: none;background-color: @tooltip-bg;border-radius: @border-radius-base;}diff --git a/public/less/admin/bootstrap/type.less b/public/less/admin/bootstrap/type.lessindex 3ec976eefc..0d4fee4848 100644--- a/public/less/admin/bootstrap/type.less+++ b/public/less/admin/bootstrap/type.less@@ -211,7 +211,7 @@ dd {&:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present}- @media (min-width: @grid-float-breakpoint) {+ @media (min-width: @dl-horizontal-breakpoint) {dt {float: left;width: (@dl-horizontal-offset - 20);@@ -238,7 +238,7 @@ abbr[data-original-title] {}.initialism {font-size: 90%;- text-transform: uppercase;+ .text-uppercase();}// Blockquotesdiff --git a/public/less/admin/bootstrap/utilities.less b/public/less/admin/bootstrap/utilities.lessindex a26031214b..7a8ca27a8f 100644--- a/public/less/admin/bootstrap/utilities.less+++ b/public/less/admin/bootstrap/utilities.less@@ -44,7 +44,6 @@.hidden {display: none !important;- visibility: hidden !important;}diff --git a/public/less/admin/bootstrap/variables.less b/public/less/admin/bootstrap/variables.lessindex f5f2cd55e7..b057ef5bf9 100644--- a/public/less/admin/bootstrap/variables.less+++ b/public/less/admin/bootstrap/variables.less@@ -1,4 +1,4 @@-// Paper 3.3.5+//// Variables// --------------------------------------------------@@ -9,16 +9,16 @@@gray-base: #000;@gray-darker: lighten(@gray-base, 13.5%); // #222-@gray-dark: #212121;-@gray: #666;-@gray-light: #bbb;+@gray-dark: lighten(@gray-base, 20%); // #333+@gray: lighten(@gray-base, 33.5%); // #555+@gray-light: lighten(@gray-base, 46.7%); // #777@gray-lighter: lighten(@gray-base, 93.5%); // #eee-@brand-primary: #2196F3;-@brand-success: #4CAF50;-@brand-info: #9C27B0;-@brand-warning: #ff9800;-@brand-danger: #e51c23;+@brand-primary: darken(#428bca, 6.5%); // #337ab7+@brand-success: #5cb85c;+@brand-info: #5bc0de;+@brand-warning: #f0ad4e;+@brand-danger: #d9534f;//== Scaffolding@@ -28,7 +28,7 @@//** Background color for `<body>`.@body-bg: #fff;//** Global text color on `<body>`.-@text-color: @gray;+@text-color: @gray-dark;//** Global textual link color.@link-color: @brand-primary;@@ -42,33 +42,33 @@////## Font, line-height, and color for body text, headings, and more.-@font-family-sans-serif: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;+@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;@font-family-serif: Georgia, "Times New Roman", Times, serif;//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;@font-family-base: @font-family-sans-serif;-@font-size-base: 13px;+@font-size-base: 14px;@font-size-large: ceil((@font-size-base * 1.25)); // ~18px@font-size-small: ceil((@font-size-base * 0.85)); // ~12px-@font-size-h1: 56px;-@font-size-h2: 45px;-@font-size-h3: 34px;-@font-size-h4: 24px;-@font-size-h5: 20px;-@font-size-h6: 14px;+@font-size-h1: floor((@font-size-base * 2.6)); // ~36px+@font-size-h2: floor((@font-size-base * 2.15)); // ~30px+@font-size-h3: ceil((@font-size-base * 1.7)); // ~24px+@font-size-h4: ceil((@font-size-base * 1.25)); // ~18px+@font-size-h5: @font-size-base;+@font-size-h6: ceil((@font-size-base * 0.85)); // ~12px//** Unit-less `line-height` for use in components like buttons.-@line-height-base: 1.846; // 20/14+@line-height-base: 1.428571429; // 20/14//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.@line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px//** By default, this inherits from the `<body>`.@headings-font-family: inherit;-@headings-font-weight: 400;+@headings-font-weight: 500;@headings-line-height: 1.1;-@headings-color: #444;+@headings-color: inherit;//== Iconography@@ -88,7 +88,7 @@//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).@padding-base-vertical: 6px;-@padding-base-horizontal: 16px;+@padding-base-horizontal: 12px;@padding-large-vertical: 10px;@padding-large-horizontal: 16px;@@ -102,9 +102,9 @@@line-height-large: 1.3333333; // extra decimals for Win 8.1 Chrome@line-height-small: 1.5;-@border-radius-base: 0px;-@border-radius-large: 0px;-@border-radius-small: 0px;+@border-radius-base: 4px;+@border-radius-large: 6px;+@border-radius-small: 3px;//** Global color for active items (e.g., navs or dropdowns).@component-active-color: #fff;@@ -144,29 +144,29 @@@btn-font-weight: normal;-@btn-default-color: #444;+@btn-default-color: #333;@btn-default-bg: #fff;-@btn-default-border: transparent;+@btn-default-border: #ccc;@btn-primary-color: #fff;@btn-primary-bg: @brand-primary;-@btn-primary-border: transparent;+@btn-primary-border: darken(@btn-primary-bg, 5%);@btn-success-color: #fff;@btn-success-bg: @brand-success;-@btn-success-border: transparent;+@btn-success-border: darken(@btn-success-bg, 5%);@btn-info-color: #fff;@btn-info-bg: @brand-info;-@btn-info-border: transparent;+@btn-info-border: darken(@btn-info-bg, 5%);@btn-warning-color: #fff;@btn-warning-bg: @brand-warning;-@btn-warning-border: transparent;+@btn-warning-border: darken(@btn-warning-bg, 5%);@btn-danger-color: #fff;@btn-danger-bg: @brand-danger;-@btn-danger-border: transparent;+@btn-danger-border: darken(@btn-danger-bg, 5%);@btn-link-disabled-color: @gray-light;@@ -181,14 +181,14 @@//##//** `<input>` background color-@input-bg: transparent;+@input-bg: #fff;//** `<input disabled>` background color-@input-bg-disabled: transparent;+@input-bg-disabled: @gray-lighter;//** Text color for `<input>`s@input-color: @gray;//** `<input>` border color-@input-border: transparent;+@input-border: #ccc;// TODO: Rename `@input-border-radius` to `@input-border-radius-base` in v4//** Default `.form-control` border radius@@ -203,7 +203,7 @@@input-border-focus: #66afe9;//** Placeholder text color-@input-color-placeholder: @gray-light;+@input-color-placeholder: #999;//** Default `.form-control` height@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);@@ -219,7 +219,7 @@@legend-border-color: #e5e5e5;//** Background color for textual input addons-@input-group-addon-bg: transparent;+@input-group-addon-bg: @gray-lighter;//** Border color for textual input addons@input-group-addon-border-color: @input-border;@@ -241,11 +241,11 @@@dropdown-divider-bg: #e5e5e5;//** Dropdown link text color.-@dropdown-link-color: @text-color;+@dropdown-link-color: @gray-dark;//** Hover color for dropdown links.@dropdown-link-hover-color: darken(@gray-dark, 5%);//** Hover background for dropdown links.-@dropdown-link-hover-bg: @gray-lighter;+@dropdown-link-hover-bg: #f5f5f5;//** Active dropdown menu item text color.@dropdown-link-active-color: @component-active-color;@@ -259,7 +259,7 @@@dropdown-header-color: @gray-light;//** Deprecated `@dropdown-caret-color` as of v3.1.0-@dropdown-caret-color: @gray-light;+@dropdown-caret-color: #000;//-- Z-index master list@@ -357,45 +357,45 @@//##// Basics of a navbar-@navbar-height: 64px;+@navbar-height: 50px;@navbar-margin-bottom: @line-height-computed;@navbar-border-radius: @border-radius-base;@navbar-padding-horizontal: floor((@grid-gutter-width / 2));@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);@navbar-collapse-max-height: 340px;-@navbar-default-color: @gray-light;-@navbar-default-bg: #fff;-@navbar-default-border: transparent;+@navbar-default-color: #777;+@navbar-default-bg: #f8f8f8;+@navbar-default-border: darken(@navbar-default-bg, 6.5%);// Navbar links-@navbar-default-link-color: @gray;-@navbar-default-link-hover-color: @gray-dark;+@navbar-default-link-color: #777;+@navbar-default-link-hover-color: #333;@navbar-default-link-hover-bg: transparent;-@navbar-default-link-active-color: @gray-dark;+@navbar-default-link-active-color: #555;@navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);@navbar-default-link-disabled-color: #ccc;@navbar-default-link-disabled-bg: transparent;// Navbar brand label@navbar-default-brand-color: @navbar-default-link-color;-@navbar-default-brand-hover-color: @navbar-default-link-hover-color;+@navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);@navbar-default-brand-hover-bg: transparent;// Navbar toggle-@navbar-default-toggle-hover-bg: transparent;-@navbar-default-toggle-icon-bar-bg: rgba(0,0,0,0.5);-@navbar-default-toggle-border-color: transparent;+@navbar-default-toggle-hover-bg: #ddd;+@navbar-default-toggle-icon-bar-bg: #888;+@navbar-default-toggle-border-color: #ddd;//=== Inverted navbar// Reset inverted navbar basics-@navbar-inverse-color: @gray-light;-@navbar-inverse-bg: @brand-primary;-@navbar-inverse-border: transparent;+@navbar-inverse-color: lighten(@gray-light, 15%);+@navbar-inverse-bg: #222;+@navbar-inverse-border: darken(@navbar-inverse-bg, 10%);// Inverted navbar links-@navbar-inverse-link-color: lighten(@brand-primary, 30%);+@navbar-inverse-link-color: lighten(@gray-light, 15%);@navbar-inverse-link-hover-color: #fff;@navbar-inverse-link-hover-bg: transparent;@navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;@@ -408,10 +408,10 @@@navbar-inverse-brand-hover-color: #fff;@navbar-inverse-brand-hover-bg: transparent;-// Inverted navbar toggle\-@navbar-inverse-toggle-hover-bg: transparent;-@navbar-inverse-toggle-icon-bar-bg: rgba(0,0,0,0.5);-@navbar-inverse-toggle-border-color: transparent;+// Inverted navbar toggle+@navbar-inverse-toggle-hover-bg: #333;+@navbar-inverse-toggle-icon-bar-bg: #fff;+@navbar-inverse-toggle-border-color: #333;//== Navs@@ -426,15 +426,15 @@@nav-disabled-link-hover-color: @gray-light;//== Tabs-@nav-tabs-border-color: transparent;+@nav-tabs-border-color: #ddd;@nav-tabs-link-hover-border-color: @gray-lighter;-@nav-tabs-active-link-hover-bg: transparent;+@nav-tabs-active-link-hover-bg: @body-bg;@nav-tabs-active-link-hover-color: @gray;-@nav-tabs-active-link-hover-border-color: transparent;+@nav-tabs-active-link-hover-border-color: #ddd;-@nav-tabs-justified-link-border-color: @nav-tabs-border-color;+@nav-tabs-justified-link-border-color: #ddd;@nav-tabs-justified-active-link-border-color: @body-bg;//== Pills@@ -486,8 +486,8 @@@jumbotron-padding: 30px;@jumbotron-color: inherit;-@jumbotron-bg: #f9f9f9;-@jumbotron-heading-color: @headings-color;+@jumbotron-bg: @gray-lighter;+@jumbotron-heading-color: inherit;@jumbotron-font-size: ceil((@font-size-base * 1.5));@jumbotron-heading-font-size: ceil((@font-size-base * 4.5));@@ -496,20 +496,20 @@////## Define colors for form feedback states and, by default, alerts.-@state-success-text: @brand-success;+@state-success-text: #3c763d;@state-success-bg: #dff0d8;@state-success-border: darken(spin(@state-success-bg, -10), 5%);-@state-info-text: @brand-info;-@state-info-bg: #e1bee7;+@state-info-text: #31708f;+@state-info-bg: #d9edf7;@state-info-border: darken(spin(@state-info-bg, -10), 7%);-@state-warning-text: @brand-warning;-@state-warning-bg: #ffe0b2;+@state-warning-text: #8a6d3b;+@state-warning-bg: #fcf8e3;@state-warning-border: darken(spin(@state-warning-bg, -10), 5%);-@state-danger-text: @brand-danger;-@state-danger-bg: #f9bdbb;+@state-danger-text: #a94442;+@state-danger-bg: #f2dede;@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);@@ -522,7 +522,7 @@//** Tooltip text color@tooltip-color: #fff;//** Tooltip background color-@tooltip-bg: #727272;+@tooltip-bg: #000;@tooltip-opacity: .9;//** Tooltip arrow width@@ -540,9 +540,9 @@//** Popover maximum width@popover-max-width: 276px;//** Popover border color-@popover-border-color: transparent;+@popover-border-color: rgba(0,0,0,.2);//** Popover fallback border color-@popover-fallback-border-color: transparent;+@popover-fallback-border-color: #ccc;//** Popover title background color@popover-title-bg: darken(@popover-bg, 3%);@@ -555,7 +555,7 @@//** Popover outer arrow width@popover-arrow-outer-width: (@popover-arrow-width + 1);//** Popover outer arrow color-@popover-arrow-outer-color: fadein(@popover-border-color, 7.5%);+@popover-arrow-outer-color: fadein(@popover-border-color, 5%);//** Popover outer arrow fallback color@popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%);@@ -598,7 +598,7 @@//** Background color of modal content area@modal-content-bg: #fff;//** Modal content border color-@modal-content-border-color: transparent;+@modal-content-border-color: rgba(0,0,0,.2);//** Modal content border color **for IE8**@modal-content-fallback-border-color: #999;@@ -607,7 +607,7 @@//** Modal backdrop opacity@modal-backdrop-opacity: .5;//** Modal header border color-@modal-header-border-color: transparent;+@modal-header-border-color: #e5e5e5;//** Modal footer border color@modal-footer-border-color: @modal-header-border-color;@@ -720,21 +720,21 @@@panel-primary-border: @brand-primary;@panel-primary-heading-bg: @brand-primary;-@panel-success-text: #fff;+@panel-success-text: @state-success-text;@panel-success-border: @state-success-border;-@panel-success-heading-bg: @brand-success;+@panel-success-heading-bg: @state-success-bg;-@panel-info-text: #fff;+@panel-info-text: @state-info-text;@panel-info-border: @state-info-border;-@panel-info-heading-bg: @brand-info;+@panel-info-heading-bg: @state-info-bg;-@panel-warning-text: #fff;+@panel-warning-text: @state-warning-text;@panel-warning-border: @state-warning-border;-@panel-warning-heading-bg: @brand-warning;+@panel-warning-heading-bg: @state-warning-bg;-@panel-danger-text: #fff;+@panel-danger-text: @state-danger-text;@panel-danger-border: @state-danger-border;-@panel-danger-heading-bg: @brand-danger;+@panel-danger-heading-bg: @state-danger-bg;//== Thumbnails@@ -760,8 +760,8 @@////##-@well-bg: #f9f9f9;-@well-border: transparent;+@well-bg: #f5f5f5;+@well-border: darken(@well-bg, 7%);//== Badges@@ -778,7 +778,7 @@//** Badge background color in active nav link@badge-active-bg: #fff;-@badge-font-weight: normal;+@badge-font-weight: bold;@badge-line-height: 1;@badge-border-radius: 10px;@@ -820,9 +820,9 @@////##-@close-font-weight: normal;+@close-font-weight: bold;@close-color: #000;-@close-text-shadow: none;+@close-text-shadow: 0 1px 0 #fff;//== Code@@ -863,5 +863,7 @@@page-header-border-color: @gray-lighter;//** Width of horizontal description list titles@dl-horizontal-offset: @component-offset-horizontal;+//** Point at which .dl-horizontal becomes horizontal+@dl-horizontal-breakpoint: @grid-float-breakpoint;//** Horizontal line color.@hr-border: @gray-lighter;