refactor(lock-page): refactor lock page

This commit is contained in:
vben
2020-12-09 22:11:34 +08:00
parent e9c28319b4
commit 4ce1d526c8
23 changed files with 430 additions and 196 deletions

View File

@@ -90,6 +90,7 @@
@content();
}
}
.respond-to (xsmall-and-small, @content) {
@media only screen and (max-width: @screen-sm-max) {
@content();

View File

@@ -26,9 +26,13 @@
@screen-xxl: 1600px;
@screen-xxl-min: @screen-xxl;
@screen-xxxl: 1900px;
@screen-xxxl-min: @screen-xxxl;
// provide a maximum
@screen-xs-max: (@screen-sm-min - 1px);
@screen-sm-max: (@screen-md-min - 1px);
@screen-md-max: (@screen-lg-min - 1px);
@screen-lg-max: (@screen-xl-min - 1px);
@screen-xl-max: (@screen-xxl-min - 1px);
@screen-xxl-max: (@screen-xxxl-min - 1px);