diff --git a/package.json b/package.json index aab1720..2ca1b97 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "dependencies": { "@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0", "@coreui/react": "^2.0.0-beta.2", - "bootstrap": "^4.1.0", + "bootstrap": "^4.1.1", "chart.js": "^2.7.2", "classnames": "^2.2.5", "core-js": "^2.5.5", diff --git a/src/scss/style.css b/src/scss/style.css index 973ffa5..b1eeb12 100644 --- a/src/scss/style.css +++ b/src/scss/style.css @@ -7,7 +7,7 @@ * Licensed under MIT (https://coreui.io/license) */ /*! - * Bootstrap v4.1.0 (https://getbootstrap.com/) + * Bootstrap v4.1.1 (https://getbootstrap.com/) * Copyright 2011-2018 The Bootstrap Authors * Copyright 2011-2018 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) @@ -68,7 +68,7 @@ html { @-ms-viewport { width: device-width; } -article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section { +article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { display: block; } body { @@ -176,7 +176,7 @@ pre, code, kbd, samp { - font-family: monospace, monospace; + font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1em; } pre { @@ -431,12 +431,6 @@ mark, font-size: 90%; color: #73818f; } -code, -kbd, -pre, -samp { - font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; } - code { font-size: 87.5%; color: #e83e8c; @@ -1473,6 +1467,11 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for .custom-select.is-valid ~ .valid-tooltip { display: block; } +.was-validated .form-control-file:valid ~ .valid-feedback, +.was-validated .form-control-file:valid ~ .valid-tooltip, .form-control-file.is-valid ~ .valid-feedback, +.form-control-file.is-valid ~ .valid-tooltip { + display: block; } + .was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label { color: #4dbd74; } @@ -1550,6 +1549,11 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for .custom-select.is-invalid ~ .invalid-tooltip { display: block; } +.was-validated .form-control-file:invalid ~ .invalid-feedback, +.was-validated .form-control-file:invalid ~ .invalid-tooltip, .form-control-file.is-invalid ~ .invalid-feedback, +.form-control-file.is-invalid ~ .invalid-tooltip { + display: block; } + .was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label { color: #f86c6b; } @@ -2405,8 +2409,7 @@ input[type="button"].btn-block { .input-group > .custom-file:not(:last-child) .custom-file-label::after { border-top-right-radius: 0; border-bottom-right-radius: 0; } - .input-group > .custom-file:not(:first-child) .custom-file-label, - .input-group > .custom-file:not(:first-child) .custom-file-label::after { + .input-group > .custom-file:not(:first-child) .custom-file-label { border-top-left-radius: 0; border-bottom-left-radius: 0; } @@ -2497,11 +2500,12 @@ input[type="button"].btn-block { background-color: #e4e7ea; } .custom-control-label { + position: relative; margin-bottom: 0; } .custom-control-label::before { position: absolute; top: 0.25rem; - left: 0; + left: -1.5rem; display: block; width: 1rem; height: 1rem; @@ -2512,7 +2516,7 @@ input[type="button"].btn-block { .custom-control-label::after { position: absolute; top: 0.25rem; - left: 0; + left: -1.5rem; display: block; width: 1rem; height: 1rem; @@ -2638,7 +2642,7 @@ input[type="button"].btn-block { bottom: 0; z-index: 3; display: block; - height: calc(calc(2.0625rem + 2px) - 1px * 2); + height: 2.0625rem; padding: 0.375rem 0.75rem; line-height: 1.5; color: #5c6873; @@ -4211,6 +4215,7 @@ button.close { margin-right: 3px; margin-left: 3px; text-indent: -999px; + cursor: pointer; background-color: rgba(255, 255, 255, 0.5); } .carousel-indicators li::before { position: absolute; @@ -6283,7 +6288,17 @@ a.text-dark:hover, a.text-dark:focus { background-color: #fff !important; } .table-bordered th, .table-bordered td { - border: 1px solid #c8ced3 !important; } } + border: 1px solid #c8ced3 !important; } + .table-dark { + color: inherit; } + .table-dark th, + .table-dark td, + .table-dark thead th, + .table-dark tbody + tbody { + border-color: #c8ced3; } + .table .thead-dark th { + color: inherit; + border-color: #c8ced3; } } .animated { animation-duration: 1s; }