Release 1.1.0

This commit is contained in:
unknown 2020-12-30 15:33:17 +01:00
parent 06f54f51de
commit 3d86361d52
15 changed files with 105 additions and 30 deletions

View File

@ -1,5 +1,5 @@
MDB5 MDB5
Version: FREE 1.0.0 Version: FREE 1.1.0
Documentation: Documentation:
https://mdbootstrap.com/docs/standard/ https://mdbootstrap.com/docs/standard/

6
css/mdb.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -25,11 +25,19 @@
<div class="d-flex justify-content-center align-items-center" style="height: 100vh;"> <div class="d-flex justify-content-center align-items-center" style="height: 100vh;">
<div class="text-center"> <div class="text-center">
<img <img
class="mb-4"
src="https://mdbootstrap.com/img/logo/mdb-transparent-250px.png" src="https://mdbootstrap.com/img/logo/mdb-transparent-250px.png"
style="width: 250px; height: 90px;" style="width: 250px; height: 90px;"
/> />
<h5 class="pt-3">Thank you for using our product. We're glad you're with us.</h5> <h5 class="mb-3">Thank you for using our product. We're glad you're with us.</h5>
<p class="pb-5">MDB Team</p> <p class="mb-3">MDB Team</p>
<a
class="btn btn-primary btn-lg"
href="https://mdbootstrap.com/docs/standard/getting-started/"
target="_blank"
role="button"
>Start MDB tutorial</a
>
</div> </div>
</div> </div>
</div> </div>

2
js/mdb.min.js vendored
View File

@ -1,6 +1,6 @@
/*! /*!
* MDB5 * MDB5
* Version: FREE 1.0.0 * Version: FREE 1.1.0
* *
* *
* Copyright: Material Design for Bootstrap * Copyright: Material Design for Bootstrap

View File

@ -1,6 +1,6 @@
{ {
"name": "mdb-ui-kit", "name": "mdb-ui-kit",
"version": "1.0.0", "version": "1.1.0",
"main": "js/mdb.min.js", "main": "js/mdb.min.js",
"repository": "https://github.com/mdbootstrap/mdb-ui-kit.git", "repository": "https://github.com/mdbootstrap/mdb-ui-kit.git",
"author": "MDBootstrap", "author": "MDBootstrap",

View File

@ -3,3 +3,16 @@
.alert { .alert {
border: 0; border: 0;
} }
.alert-absolute {
position: absolute;
}
.alert-fixed {
position: fixed;
z-index: $zindex-alert;
}
.parent-alert-relative {
position: relative;
}

View File

@ -0,0 +1,10 @@
// List group
.list-group-item-action {
transition: 0.5s;
// Hover state
&:hover {
transition: 0.5s;
}
}

View File

@ -29,3 +29,15 @@
.navbar-nav .dropdown-menu { .navbar-nav .dropdown-menu {
position: absolute; position: absolute;
} }
.navbar-light {
.navbar-toggler-icon {
background-image: none;
}
}
.navbar-dark {
.navbar-toggler-icon {
background-image: none;
}
}

View File

@ -9,3 +9,16 @@
.toast-header { .toast-header {
background-color: $toast-header-background-color; background-color: $toast-header-background-color;
} }
.parent-toast-relative {
position: relative;
}
.toast-absolute {
position: absolute;
}
.toast-fixed {
position: fixed;
z-index: $zindex-toast;
}

View File

@ -1,5 +1,7 @@
// Variables // Variables
$enable-negative-margins: true;
// Grays // Grays
$white: #fff; $white: #fff;
$gray-50: #fbfbfb; $gray-50: #fbfbfb;
@ -650,7 +652,8 @@ $form-file-label-focus-text-border-width: 2px 1px 2px 2px;
$form-file-label-focus-button-border-width: 2px 2px 2px 1px; $form-file-label-focus-button-border-width: 2px 2px 2px 1px;
$form-file-label-disabled-background-color: #e9ecef; $form-file-label-disabled-background-color: #e9ecef;
$form-file-label-height: $form-file-height; $form-file-label-height: $form-file-height;
$form-file-label-border-color: rgba(0, 0, 0, 0.38); $form-file-label-border-color: #bdbdbd;
$form-file-label-border-radius: 0.2rem;
$form-file-text-padding-y: 0.33rem; $form-file-text-padding-y: 0.33rem;
$form-file-text-border-color: #bdbdbd; $form-file-text-border-color: #bdbdbd;
@ -659,9 +662,9 @@ $form-file-button-line-height: 1.5;
$form-file-button-background-color: #fff; $form-file-button-background-color: #fff;
$form-file-button-border-color: $form-file-text-border-color; $form-file-button-border-color: $form-file-text-border-color;
$form-file-sm-height: calc(1.7rem + 0.33rem + 2px); $form-file-sm-height: calc(1.2rem + 0.33rem + 2px);
$form-file-sm-font-size: 0.775rem; $form-file-sm-font-size: 0.775rem;
$form-file-sm-line-height: $form-file-button-line-height; $form-file-sm-line-height: 1.3;
$form-file-sm-padding-y: $form-file-text-padding-y; $form-file-sm-padding-y: $form-file-text-padding-y;
$form-file-lg-height: calc(2.315rem + 0.33rem + 2px); $form-file-lg-height: calc(2.315rem + 0.33rem + 2px);
@ -713,6 +716,13 @@ $form-validation-states-mdb: (
); );
// scss-docs-end form-validation-states // scss-docs-end form-validation-states
// scss-docs-start zindex-stack
$zindex-toast: 1060;
$zindex-alert: 1070;
$zindex-popover: 1080;
$zindex-tooltip: 1090;
// scss-docs-end zindex-stack
// Navs // Navs
$nav-tabs-link-border-width: 0 0 2px 0; $nav-tabs-link-border-width: 0 0 2px 0;

View File

@ -16,6 +16,7 @@
} }
.form-check-input { .form-check-input {
position: relative;
width: $form-check-input-width-md; width: $form-check-input-width-md;
height: $form-check-input-height; height: $form-check-input-height;
background-color: $form-check-input-background-color; background-color: $form-check-input-background-color;

View File

@ -2,6 +2,18 @@
// Material styles for form control - form outline // Material styles for form control - form outline
// //
// .form-outline .form-control:placeholder-shown ~ .form-label {
// opacity: 0;
// }
// input:not(:placeholder-shown) {
// opacity: 0;
// }
// input:placeholder-shown {
// opacity: 1;
// }
.form-outline { .form-outline {
position: relative; position: relative;
.form-control { .form-control {
@ -62,6 +74,15 @@
border-radius: 0 $form-notch-trailing-border-radius $form-notch-trailing-border-radius 0; border-radius: 0 $form-notch-trailing-border-radius $form-notch-trailing-border-radius 0;
} }
} }
&::placeholder {
opacity: 0;
}
// &:not(:focus)::placeholder ~ label {
// opacity: 0;
// }
// &::placeholder {
// opacity: 0;
// }
&:focus, &:focus,
&.active { &.active {
&::placeholder { &::placeholder {
@ -115,9 +136,6 @@
&[readonly] { &[readonly] {
background-color: $input-disabled-background-color; background-color: $input-disabled-background-color;
} }
&::placeholder {
opacity: 0;
}
&.form-control-lg { &.form-control-lg {
font-size: $input-font-size-lg; font-size: $input-font-size-lg;
line-height: $input-line-height-lg; line-height: $input-line-height-lg;

View File

@ -7,24 +7,14 @@
&:focus-within ~ .form-file-label { &:focus-within ~ .form-file-label {
border: none; border: none;
box-shadow: none; border-color: $form-file-label-focus-border-color;
box-shadow: 0px 0px 0px 1px $primary;
} }
&:focus-within ~ .form-file-label .form-file-text, &:focus-within ~ .form-file-label .form-file-text,
&:focus-within ~ .form-file-label .form-file-button { &:focus-within ~ .form-file-label .form-file-button {
border-style: solid;
border-color: $form-file-label-focus-border-color;
transition: $form-file-label-focus-transition; transition: $form-file-label-focus-transition;
} }
&:focus-within ~ .form-file-label .form-file-text {
border-width: $form-file-label-focus-text-border-width;
}
&:focus-within ~ .form-file-label .form-file-button {
border-width: $form-file-label-focus-button-border-width;
}
&[disabled] ~ .form-file-label .form-file-text, &[disabled] ~ .form-file-label .form-file-text,
&:disabled ~ .form-file-label .form-file-text, &:disabled ~ .form-file-label .form-file-text,
&[disabled] ~ .form-file-label .form-file-button, &[disabled] ~ .form-file-label .form-file-button,
@ -36,18 +26,17 @@
.form-file-label { .form-file-label {
height: $form-file-label-height; height: $form-file-label-height;
border-color: $form-file-label-border-color; border-color: $form-file-label-border-color;
border-radius: $form-file-label-border-radius;
} }
.form-file-text { .form-file-text {
padding-top: $form-file-text-padding-y; padding-top: $form-file-text-padding-y;
padding-bottom: $form-file-text-padding-y; padding-bottom: $form-file-text-padding-y;
border-color: $form-file-text-border-color;
} }
.form-file-button { .form-file-button {
line-height: $form-file-button-line-height; line-height: $form-file-button-line-height;
background-color: $form-file-button-background-color; background-color: $form-file-button-background-color;
border-color: $form-file-button-border-color;
} }
.form-file-sm { .form-file-sm {

View File

@ -82,6 +82,7 @@
@import './free/badge'; @import './free/badge';
@import './free/alert'; @import './free/alert';
@import './free/progress'; @import './free/progress';
@import './free/list-group';
@import './free/modal'; @import './free/modal';
@import './free/toasts'; @import './free/toasts';
@import './free/tooltip'; @import './free/tooltip';