amis2/scss/_utilities.scss

1622 lines
18 KiB
SCSS
Raw Normal View History

2019-04-30 11:11:25 +08:00
/*
* utilities
*/
// background
2019-04-30 11:11:25 +08:00
.bg-light {
2019-12-06 09:58:08 +08:00
@include color-variant($light, 2%, 3%, 3%, 5%);
color: $text-color;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.bg-dark {
2019-12-06 09:58:08 +08:00
@include color-variant($dark, 5%, 10%, 5%, 10%);
@include font-variant($dark);
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.bg-black {
2019-12-06 09:58:08 +08:00
@include color-variant($black, 5%, 10%, 5%, 10%);
@include font-variant($black);
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.bg-primary {
2019-12-06 09:58:08 +08:00
@include color-variant($primary, 5%, 10%, 5%, 10%);
@include font-variant($primary);
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.bg-success {
2019-12-06 09:58:08 +08:00
@include color-variant($success, 5%, 10%, 5%, 10%);
@include font-variant($success);
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.bg-info {
2019-12-06 09:58:08 +08:00
@include color-variant($info, 5%, 10%, 5%, 10%);
@include font-variant($info);
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.bg-warning {
2019-12-06 09:58:08 +08:00
@include color-variant($warning, 5%, 10%, 5%, 10%);
@include font-variant($warning);
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.bg-danger {
2019-12-06 09:58:08 +08:00
@include color-variant($danger, 5%, 10%, 5%, 10%);
@include font-variant($danger);
2019-04-30 11:11:25 +08:00
}
.bg-white {
2019-12-06 09:58:08 +08:00
@include color-variant($white, 5%, 10%, 5%, 10%);
color: $text-color;
2019-04-30 11:11:25 +08:00
}
.bg-none {
2019-12-06 09:58:08 +08:00
background: none !important;
2019-04-30 11:11:25 +08:00
}
// text colors
@include text-wariant($primary, primary);
@include text-wariant($info, info);
@include text-wariant($success, success);
@include text-wariant($warning, warning);
@include text-wariant($danger, danger);
@include text-wariant($dark, dark);
@include text-wariant($white, white);
@include text-wariant($black, black);
2019-04-30 11:11:25 +08:00
.text-muted {
2019-12-06 09:58:08 +08:00
color: $text--muted-color;
2019-04-30 11:11:25 +08:00
}
2019-10-30 13:09:44 +08:00
.text-loud {
2019-12-06 09:58:08 +08:00
color: $text--loud-color;
2019-10-30 13:09:44 +08:00
}
2019-04-30 11:11:25 +08:00
.clearfix {
2019-12-06 09:58:08 +08:00
@include clearfix();
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.pos-rlt {
2019-12-06 09:58:08 +08:00
position: relative;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.pos-stc {
2019-12-06 09:58:08 +08:00
position: static !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.pos-abt {
2019-12-06 09:58:08 +08:00
position: absolute;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.pos-fix {
2019-12-06 09:58:08 +08:00
position: fixed;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.show {
2019-12-06 09:58:08 +08:00
visibility: visible;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.line {
2019-12-06 09:58:08 +08:00
// width: 100%; 不要设置 100% 否则跟 pull-in 配合使用时候,宽度为不对。
height: 2px;
margin: 10px 0;
font-size: 0;
overflow: hidden;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.line-xs {
2019-12-06 09:58:08 +08:00
margin: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.line-lg {
2019-12-06 09:58:08 +08:00
margin-top: 15px;
margin-bottom: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.line-dashed {
2019-12-06 09:58:08 +08:00
border-style: dashed !important;
background-color: transparent;
border-width: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.no-line {
2019-12-06 09:58:08 +08:00
border-width: 0;
2019-04-30 11:11:25 +08:00
}
.no-border,
.no-borders {
2019-12-06 09:58:08 +08:00
border-color: transparent;
border-width: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.no-b-t {
2019-12-06 09:58:08 +08:00
border-top-width: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.no-b-r {
2019-12-06 09:58:08 +08:00
border-right-width: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.no-b-b {
2019-12-06 09:58:08 +08:00
border-bottom-width: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.no-b-l {
2019-12-06 09:58:08 +08:00
border-left-width: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.no-radius {
2019-12-06 09:58:08 +08:00
border-radius: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.block {
2019-12-06 09:58:08 +08:00
display: block;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.block.hide {
2019-12-06 09:58:08 +08:00
display: none;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.inline {
2019-12-06 09:58:08 +08:00
display: inline-block !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.none {
2019-12-06 09:58:08 +08:00
display: none;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.pull-none {
2019-12-06 09:58:08 +08:00
float: none;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.rounded {
2019-12-06 09:58:08 +08:00
border-radius: 500px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.clear {
2019-12-06 09:58:08 +08:00
display: block;
overflow: hidden;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.no-bg {
2019-12-06 09:58:08 +08:00
background-color: transparent;
color: inherit;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.no-select {
2019-12-06 09:58:08 +08:00
user-select: none;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.l-h {
2019-12-06 09:58:08 +08:00
line-height: $lineHeightBase;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.l-h-0x {
2019-12-06 09:58:08 +08:00
line-height: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.l-h-1x {
2019-12-06 09:58:08 +08:00
line-height: 1.2;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.l-h-2x {
2019-12-06 09:58:08 +08:00
line-height: 2em;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.l-s-1x {
2019-12-06 09:58:08 +08:00
letter-spacing: 1;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.l-s-2x {
2019-12-06 09:58:08 +08:00
letter-spacing: 2;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.l-s-3x {
2019-12-06 09:58:08 +08:00
letter-spacing: 3;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.font-normal {
2019-12-06 09:58:08 +08:00
font-weight: normal;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.font-thin {
2019-12-06 09:58:08 +08:00
font-weight: 300;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.font-bold {
2019-12-06 09:58:08 +08:00
font-weight: 700;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-5x {
2019-12-06 09:58:08 +08:00
font-size: 5em;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-4x {
2019-12-06 09:58:08 +08:00
font-size: 4em;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-3x {
2019-12-06 09:58:08 +08:00
font-size: 3em;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-2x {
2019-12-06 09:58:08 +08:00
font-size: 2em;
2019-04-30 11:11:25 +08:00
}
2019-09-10 19:47:48 +08:00
.text-xl {
2019-12-06 09:58:08 +08:00
font-size: $fontSizeXl !important;
2019-09-10 19:47:48 +08:00
}
2019-04-30 11:11:25 +08:00
.text-lg {
2019-12-06 09:58:08 +08:00
font-size: $fontSizeLg !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-md {
2019-12-06 09:58:08 +08:00
font-size: $fontSizeMd !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-base {
2019-12-06 09:58:08 +08:00
font-size: $fontSizeBase !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-sm {
2019-12-06 09:58:08 +08:00
font-size: $fontSizeSm !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-xs {
2019-12-06 09:58:08 +08:00
font-size: $fontSizeXs !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-xxs {
2019-12-06 09:58:08 +08:00
text-indent: -9999px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-ellipsis {
2019-12-06 09:58:08 +08:00
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-u-c {
2019-12-06 09:58:08 +08:00
text-transform: uppercase;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-l-t {
2019-12-06 09:58:08 +08:00
text-decoration: line-through;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-u-l {
2019-12-06 09:58:08 +08:00
text-decoration: underline;
2019-04-30 11:11:25 +08:00
}
.box-shadow {
2019-12-06 09:58:08 +08:00
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(0, 0, 0, 0.05);
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.box-shadow-lg {
2019-12-06 09:58:08 +08:00
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.text-shadow {
2019-12-06 09:58:08 +08:00
font-size: 170px;
text-shadow: 0 1px 0 $borderColor, 0 2px 0 lighten($borderColor, 10%),
0 5px 10px rgba(0, 0, 0, 0.125), 0 10px 20px rgba(0, 0, 0, 0.2);
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.no-shadow {
2019-12-06 09:58:08 +08:00
box-shadow: none !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.wrapper-xs {
2019-12-06 09:58:08 +08:00
padding: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.wrapper-sm {
2019-12-06 09:58:08 +08:00
padding: 10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.wrapper {
2019-12-06 09:58:08 +08:00
padding: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.wrapper-md {
2019-12-06 09:58:08 +08:00
padding: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.wrapper-lg {
2019-12-06 09:58:08 +08:00
padding: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.wrapper-xl {
2019-12-06 09:58:08 +08:00
padding: 50px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.padder-lg {
2019-12-06 09:58:08 +08:00
padding-left: 30px;
padding-right: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.padder-md {
2019-12-06 09:58:08 +08:00
padding-left: 20px;
padding-right: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.padder {
2019-12-06 09:58:08 +08:00
padding-left: 15px;
padding-right: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.padder-v-xs {
2019-12-06 09:58:08 +08:00
padding-top: 5px;
padding-bottom: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.padder-v-sm {
2019-12-06 09:58:08 +08:00
padding-top: 10px;
padding-bottom: 10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.padder-v {
2019-12-06 09:58:08 +08:00
padding-top: 15px;
padding-bottom: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.padder-v-md {
2019-12-06 09:58:08 +08:00
padding-top: 20px;
padding-bottom: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.padder-v-lg {
2019-12-06 09:58:08 +08:00
padding-top: 30px;
padding-bottom: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.no-padder {
2019-12-06 09:58:08 +08:00
padding: 0 !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.pull-in {
2019-12-06 09:58:08 +08:00
margin-left: -15px;
margin-right: -15px;
2019-04-30 11:11:25 +08:00
}
2019-11-13 09:47:02 +08:00
.pull-in-md {
2019-12-06 09:58:08 +08:00
margin-left: -20px;
margin-right: -20px;
2019-11-13 09:47:02 +08:00
}
.pull-in-sm {
2019-12-06 09:58:08 +08:00
margin-left: -10px;
margin-right: -10px;
2019-11-13 09:47:02 +08:00
}
2019-04-30 11:11:25 +08:00
.pull-out {
2019-12-06 09:58:08 +08:00
margin: -10px -15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b {
2019-12-06 09:58:08 +08:00
border: 1px solid rgba(0, 0, 0, 0.05);
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-a {
2019-12-06 09:58:08 +08:00
border: 1px solid $borderColor;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-t {
2019-12-06 09:58:08 +08:00
border-top: 1px solid $borderColor;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-t-none {
2019-12-06 09:58:08 +08:00
border-top-width: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-r {
2019-12-06 09:58:08 +08:00
border-right: 1px solid $borderColor;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-r-none {
2019-12-06 09:58:08 +08:00
border-right-width: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-b {
2019-12-06 09:58:08 +08:00
border-bottom: 1px solid $borderColor;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-b-none {
2019-12-06 09:58:08 +08:00
border-bottom-width: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l {
2019-12-06 09:58:08 +08:00
border-left: 1px solid $borderColor;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-none {
2019-12-06 09:58:08 +08:00
border-left-width: 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-light {
2019-12-06 09:58:08 +08:00
border-color: $light;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-dark {
2019-12-06 09:58:08 +08:00
border-color: $dark;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-black {
2019-12-06 09:58:08 +08:00
border-color: $dark;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-primary {
2019-12-06 09:58:08 +08:00
border-color: $primary;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-success {
2019-12-06 09:58:08 +08:00
border-color: $success;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-info {
2019-12-06 09:58:08 +08:00
border-color: $info;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-warning {
2019-12-06 09:58:08 +08:00
border-color: $warning;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-danger {
2019-12-06 09:58:08 +08:00
border-color: $danger;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-white {
2019-12-06 09:58:08 +08:00
border-color: #fff;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-dashed {
2019-12-06 09:58:08 +08:00
border-style: dashed !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-light {
2019-12-06 09:58:08 +08:00
border-left-color: $light;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-dark {
2019-12-06 09:58:08 +08:00
border-left-color: $dark;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-black {
2019-12-06 09:58:08 +08:00
border-left-color: $dark;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-primary {
2019-12-06 09:58:08 +08:00
border-left-color: $primary;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-success {
2019-12-06 09:58:08 +08:00
border-left-color: $success;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-info {
2019-12-06 09:58:08 +08:00
border-left-color: $info;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-warning {
2019-12-06 09:58:08 +08:00
border-left-color: $warning;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-danger {
2019-12-06 09:58:08 +08:00
border-left-color: $danger;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-white {
2019-12-06 09:58:08 +08:00
border-left-color: #fff;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-2x {
2019-12-06 09:58:08 +08:00
border-left-width: 2px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-3x {
2019-12-06 09:58:08 +08:00
border-left-width: 3px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-4x {
2019-12-06 09:58:08 +08:00
border-left-width: 4px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-l-5x {
2019-12-06 09:58:08 +08:00
border-left-width: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-2x {
2019-12-06 09:58:08 +08:00
border-width: 2px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-3x {
2019-12-06 09:58:08 +08:00
border-width: 3px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-4x {
2019-12-06 09:58:08 +08:00
border-width: 4px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.b-5x {
2019-12-06 09:58:08 +08:00
border-width: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.r {
2019-12-06 09:58:08 +08:00
border-radius: $borderRadius $borderRadius $borderRadius $borderRadius;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.r-2x {
2019-12-06 09:58:08 +08:00
border-radius: $borderRadiusMd;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.r-3x {
2019-12-06 09:58:08 +08:00
border-radius: $borderRadiusLg;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.r-l {
2019-12-06 09:58:08 +08:00
border-radius: $borderRadius 0 0 $borderRadius;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.r-r {
2019-12-06 09:58:08 +08:00
border-radius: 0 $borderRadius $borderRadius 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.r-t {
2019-12-06 09:58:08 +08:00
border-radius: $borderRadius $borderRadius 0 0;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.r-b {
2019-12-06 09:58:08 +08:00
border-radius: 0 0 $borderRadius $borderRadius;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-xxs {
2019-12-06 09:58:08 +08:00
margin: 2px 4px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-xs {
2019-12-06 09:58:08 +08:00
margin: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-sm {
2019-12-06 09:58:08 +08:00
margin: 10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m {
2019-12-06 09:58:08 +08:00
margin: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-md {
2019-12-06 09:58:08 +08:00
margin: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-lg {
2019-12-06 09:58:08 +08:00
margin: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-xl {
2019-12-06 09:58:08 +08:00
margin: 50px;
2019-04-30 11:11:25 +08:00
}
2019-07-08 19:46:19 +08:00
.m-n,
.m-none {
2019-12-06 09:58:08 +08:00
margin: 0 !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-none {
2019-12-06 09:58:08 +08:00
margin-left: 0 !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-xs {
2019-12-06 09:58:08 +08:00
margin-left: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-sm {
2019-12-06 09:58:08 +08:00
margin-left: 10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l {
2019-12-06 09:58:08 +08:00
margin-left: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-md {
2019-12-06 09:58:08 +08:00
margin-left: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-lg {
2019-12-06 09:58:08 +08:00
margin-left: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-xl {
2019-12-06 09:58:08 +08:00
margin-left: 40px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-xxl {
2019-12-06 09:58:08 +08:00
margin-left: 50px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-n-xxs {
2019-12-06 09:58:08 +08:00
margin-left: -1px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-n-xs {
2019-12-06 09:58:08 +08:00
margin-left: -5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-n-sm {
2019-12-06 09:58:08 +08:00
margin-left: -10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-n {
2019-12-06 09:58:08 +08:00
margin-left: -15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-n-md {
2019-12-06 09:58:08 +08:00
margin-left: -20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-n-lg {
2019-12-06 09:58:08 +08:00
margin-left: -30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-n-xl {
2019-12-06 09:58:08 +08:00
margin-left: -40px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-l-n-xxl {
2019-12-06 09:58:08 +08:00
margin-left: -50px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-none {
2019-12-06 09:58:08 +08:00
margin-top: 0 !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-xxs {
2019-12-06 09:58:08 +08:00
margin-top: 1px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-xs {
2019-12-06 09:58:08 +08:00
margin-top: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-sm {
2019-12-06 09:58:08 +08:00
margin-top: 10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t {
2019-12-06 09:58:08 +08:00
margin-top: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-md {
2019-12-06 09:58:08 +08:00
margin-top: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-lg {
2019-12-06 09:58:08 +08:00
margin-top: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-xl {
2019-12-06 09:58:08 +08:00
margin-top: 40px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-xxl {
2019-12-06 09:58:08 +08:00
margin-top: 50px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-n-xxs {
2019-12-06 09:58:08 +08:00
margin-top: -1px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-n-xs {
2019-12-06 09:58:08 +08:00
margin-top: -5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-n-sm {
2019-12-06 09:58:08 +08:00
margin-top: -10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-n {
2019-12-06 09:58:08 +08:00
margin-top: -15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-n-md {
2019-12-06 09:58:08 +08:00
margin-top: -20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-n-lg {
2019-12-06 09:58:08 +08:00
margin-top: -30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-n-xl {
2019-12-06 09:58:08 +08:00
margin-top: -40px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-t-n-xxl {
2019-12-06 09:58:08 +08:00
margin-top: -50px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-none {
2019-12-06 09:58:08 +08:00
margin-right: 0 !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-xxs {
2019-12-06 09:58:08 +08:00
margin-right: 1px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-xs {
2019-12-06 09:58:08 +08:00
margin-right: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-sm {
2019-12-06 09:58:08 +08:00
margin-right: 10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r {
2019-12-06 09:58:08 +08:00
margin-right: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-md {
2019-12-06 09:58:08 +08:00
margin-right: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-lg {
2019-12-06 09:58:08 +08:00
margin-right: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-xl {
2019-12-06 09:58:08 +08:00
margin-right: 40px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-xxl {
2019-12-06 09:58:08 +08:00
margin-right: 50px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-n-xxs {
2019-12-06 09:58:08 +08:00
margin-right: -1px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-n-xs {
2019-12-06 09:58:08 +08:00
margin-right: -5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-n-sm {
2019-12-06 09:58:08 +08:00
margin-right: -10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-n {
2019-12-06 09:58:08 +08:00
margin-right: -15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-n-md {
2019-12-06 09:58:08 +08:00
margin-right: -20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-n-lg {
2019-12-06 09:58:08 +08:00
margin-right: -30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-n-xl {
2019-12-06 09:58:08 +08:00
margin-right: -40px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-r-n-xxl {
2019-12-06 09:58:08 +08:00
margin-right: -50px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-none {
2019-12-06 09:58:08 +08:00
margin-bottom: 0 !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-xxs {
2019-12-06 09:58:08 +08:00
margin-bottom: 1px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-xs {
2019-12-06 09:58:08 +08:00
margin-bottom: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-sm {
2019-12-06 09:58:08 +08:00
margin-bottom: 10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b {
2019-12-06 09:58:08 +08:00
margin-bottom: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-md {
2019-12-06 09:58:08 +08:00
margin-bottom: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-lg {
2019-12-06 09:58:08 +08:00
margin-bottom: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-xl {
2019-12-06 09:58:08 +08:00
margin-bottom: 40px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-xxl {
2019-12-06 09:58:08 +08:00
margin-bottom: 50px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-n-xxs {
2019-12-06 09:58:08 +08:00
margin-bottom: -1px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-n-xs {
2019-12-06 09:58:08 +08:00
margin-bottom: -5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-n-sm {
2019-12-06 09:58:08 +08:00
margin-bottom: -10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-n {
2019-12-06 09:58:08 +08:00
margin-bottom: -15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-n-md {
2019-12-06 09:58:08 +08:00
margin-bottom: -20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-n-lg {
2019-12-06 09:58:08 +08:00
margin-bottom: -30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-n-xl {
2019-12-06 09:58:08 +08:00
margin-bottom: -40px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.m-b-n-xxl {
2019-12-06 09:58:08 +08:00
margin-bottom: -50px;
2019-04-30 11:11:25 +08:00
}
.p-xxs {
2019-12-06 09:58:08 +08:00
padding: 2px 4px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-xs {
2019-12-06 09:58:08 +08:00
padding: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-sm {
2019-12-06 09:58:08 +08:00
padding: 10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p {
2019-12-06 09:58:08 +08:00
padding: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-md {
2019-12-06 09:58:08 +08:00
padding: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-lg {
2019-12-06 09:58:08 +08:00
padding: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-xl {
2019-12-06 09:58:08 +08:00
padding: 50px;
2019-04-30 11:11:25 +08:00
}
2019-07-08 19:46:19 +08:00
.p-n,
2019-04-30 11:11:25 +08:00
.p-none {
2019-12-06 09:58:08 +08:00
padding: 0 !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-l-none {
2019-12-06 09:58:08 +08:00
padding-left: 0 !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-l-xs {
2019-12-06 09:58:08 +08:00
padding-left: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-l-sm {
2019-12-06 09:58:08 +08:00
padding-left: 10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-l {
2019-12-06 09:58:08 +08:00
padding-left: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-l-md {
2019-12-06 09:58:08 +08:00
padding-left: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-l-lg {
2019-12-06 09:58:08 +08:00
padding-left: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-l-xl {
2019-12-06 09:58:08 +08:00
padding-left: 40px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-l-xxl {
2019-12-06 09:58:08 +08:00
padding-left: 50px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-t-none {
2019-12-06 09:58:08 +08:00
padding-top: 0 !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-t-xxs {
2019-12-06 09:58:08 +08:00
padding-top: 1px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-t-xs {
2019-12-06 09:58:08 +08:00
padding-top: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-t-sm {
2019-12-06 09:58:08 +08:00
padding-top: 10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-t {
2019-12-06 09:58:08 +08:00
padding-top: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-t-md {
2019-12-06 09:58:08 +08:00
padding-top: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-t-lg {
2019-12-06 09:58:08 +08:00
padding-top: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-t-xl {
2019-12-06 09:58:08 +08:00
padding-top: 40px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-t-xxl {
2019-12-06 09:58:08 +08:00
padding-top: 50px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-t-n-xxs {
2019-12-06 09:58:08 +08:00
padding-top: -1px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-r-none {
2019-12-06 09:58:08 +08:00
padding-right: 0 !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-r-xxs {
2019-12-06 09:58:08 +08:00
padding-right: 1px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-r-xs {
2019-12-06 09:58:08 +08:00
padding-right: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-r-sm {
2019-12-06 09:58:08 +08:00
padding-right: 10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-r {
2019-12-06 09:58:08 +08:00
padding-right: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-r-md {
2019-12-06 09:58:08 +08:00
padding-right: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-r-lg {
2019-12-06 09:58:08 +08:00
padding-right: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-r-xl {
2019-12-06 09:58:08 +08:00
padding-right: 40px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-r-xxl {
2019-12-06 09:58:08 +08:00
padding-right: 50px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-b-none {
2019-12-06 09:58:08 +08:00
padding-bottom: 0 !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-b-xxs {
2019-12-06 09:58:08 +08:00
padding-bottom: 1px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-b-xs {
2019-12-06 09:58:08 +08:00
padding-bottom: 5px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-b-sm {
2019-12-06 09:58:08 +08:00
padding-bottom: 10px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-b {
2019-12-06 09:58:08 +08:00
padding-bottom: 15px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-b-md {
2019-12-06 09:58:08 +08:00
padding-bottom: 20px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-b-lg {
2019-12-06 09:58:08 +08:00
padding-bottom: 30px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-b-xl {
2019-12-06 09:58:08 +08:00
padding-bottom: 40px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.p-b-xxl {
2019-12-06 09:58:08 +08:00
padding-bottom: 50px;
2019-04-30 11:11:25 +08:00
}
.avatar {
2019-12-06 09:58:08 +08:00
position: relative;
display: block;
border-radius: 500px;
white-space: nowrap;
2019-04-30 11:11:25 +08:00
2019-12-06 09:58:08 +08:00
& img {
border-radius: 500px;
width: 100%;
}
2019-12-06 09:58:08 +08:00
& i {
position: absolute;
left: 0;
top: 0;
width: 10px;
height: 10px;
margin: 2px;
border-width: 2px;
border-style: solid;
border-radius: 100%;
2019-12-06 09:58:08 +08:00
&.right {
left: auto;
right: 0;
}
2019-12-06 09:58:08 +08:00
&.bottom {
left: auto;
top: auto;
bottom: 0;
right: 0;
}
2019-12-06 09:58:08 +08:00
&.left {
top: auto;
bottom: 0;
}
2019-12-06 09:58:08 +08:00
&.on {
background-color: $success;
2019-04-30 11:11:25 +08:00
}
2019-12-06 09:58:08 +08:00
&.off {
background-color: $text--muted-color;
2019-04-30 11:11:25 +08:00
}
2019-12-06 09:58:08 +08:00
&.busy {
background-color: $danger;
2019-04-30 11:11:25 +08:00
}
2019-12-06 09:58:08 +08:00
&.away {
background-color: $warning;
2019-04-30 11:11:25 +08:00
}
2019-12-06 09:58:08 +08:00
}
&.thumb-md i {
width: 12px;
height: 12px;
margin: 3px;
}
&.thumb-sm i {
margin: 1px;
}
&.thumb-xs i {
margin: 0;
}
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w-1x {
2019-12-06 09:58:08 +08:00
width: 1em;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w-2x {
2019-12-06 09:58:08 +08:00
width: 2em;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w-3x {
2019-12-06 09:58:08 +08:00
width: 3em;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w-xxs {
2019-12-06 09:58:08 +08:00
width: 60px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.h-xxs {
2019-12-06 09:58:08 +08:00
height: 60px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w-xs {
2019-12-06 09:58:08 +08:00
width: 90px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.h-xs {
2019-12-06 09:58:08 +08:00
height: 90px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w-sm {
2019-12-06 09:58:08 +08:00
width: 150px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.h-sm {
2019-12-06 09:58:08 +08:00
height: 150px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w {
2019-12-06 09:58:08 +08:00
width: 200px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.h {
2019-12-06 09:58:08 +08:00
height: 200px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w-md {
2019-12-06 09:58:08 +08:00
width: 240px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.h-md {
2019-12-06 09:58:08 +08:00
height: 240px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w-lg {
2019-12-06 09:58:08 +08:00
width: 280px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.h-lg {
2019-12-06 09:58:08 +08:00
height: 280px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w-xl {
2019-12-06 09:58:08 +08:00
width: 320px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.h-xl {
2019-12-06 09:58:08 +08:00
height: 320px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w-xxl {
2019-12-06 09:58:08 +08:00
width: 360px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.h-xxl {
2019-12-06 09:58:08 +08:00
height: 360px;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w-full {
2019-12-06 09:58:08 +08:00
width: 100%;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.w-auto {
2019-12-06 09:58:08 +08:00
width: auto;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.h-auto {
2019-12-06 09:58:08 +08:00
height: auto;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.h-full {
2019-12-06 09:58:08 +08:00
height: 100%;
2019-04-30 11:11:25 +08:00
}
2019-07-11 12:11:47 +08:00
.no-grow {
2019-12-06 09:58:08 +08:00
flex-grow: unset !important;
2019-07-11 12:11:47 +08:00
}
2020-02-14 21:17:51 +08:00
.nowrap {
white-space: nowrap;
}
2019-04-30 11:11:25 +08:00
@include media-breakpoint-up(sm) {
2019-12-06 09:58:08 +08:00
.#{$ns}Form-col {
&.w,
&.w-xs,
2020-01-06 17:25:17 +08:00
&.w-sm,
&.w-md,
&.w-lg {
2019-12-06 09:58:08 +08:00
flex-basis: unset;
flex-grow: unset;
2019-04-30 11:11:25 +08:00
}
2019-12-06 09:58:08 +08:00
}
2019-04-30 11:11:25 +08:00
}
.thumb-xl {
2019-12-06 09:58:08 +08:00
width: 128px;
display: inline-block;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.thumb-lg {
2019-12-06 09:58:08 +08:00
width: 96px;
display: inline-block;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.thumb-md {
2019-12-06 09:58:08 +08:00
width: 64px;
display: inline-block;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.thumb {
2019-12-06 09:58:08 +08:00
width: 50px;
display: inline-block;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.thumb-sm {
2019-12-06 09:58:08 +08:00
width: 40px;
display: inline-block;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.thumb-xs {
2019-12-06 09:58:08 +08:00
width: 34px;
display: inline-block;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.thumb-xxs {
2019-12-06 09:58:08 +08:00
width: 30px;
display: inline-block;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.thumb-wrapper {
2019-12-06 09:58:08 +08:00
padding: 2px;
border: 1px solid $borderColor;
2019-04-30 11:11:25 +08:00
}
.thumb,
.thumb-xxs,
.thumb-xs,
.thumb-sm,
.thumb-md,
.thumb-lg,
.thumb-btn,
.thumb-xl {
2019-12-06 09:58:08 +08:00
& img {
height: auto;
max-width: 100%;
vertical-align: middle;
}
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.img-full {
2019-12-06 09:58:08 +08:00
width: 100%;
2019-04-30 11:11:25 +08:00
2019-12-06 09:58:08 +08:00
& img {
width: 100%;
}
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.v-middle {
2019-12-06 09:58:08 +08:00
// display: inline-flex;
// align-items: center;
vertical-align: middle !important;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.scrollable {
2019-12-06 09:58:08 +08:00
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
&.hover {
&,
& > .cell-inner {
overflow-y: hidden !important;
}
2019-12-06 09:58:08 +08:00
&:hover,
&:focus,
&:active {
overflow: visible;
overflow-y: auto;
2019-04-30 11:11:25 +08:00
2019-12-06 09:58:08 +08:00
& > .cell-inner {
overflow-y: auto !important;
}
2019-04-30 11:11:25 +08:00
}
2019-12-06 09:58:08 +08:00
}
2019-12-06 09:58:08 +08:00
.smart & {
&,
& > .cell-inner {
overflow-y: auto !important;
2019-04-30 11:11:25 +08:00
}
2019-12-06 09:58:08 +08:00
}
2019-04-30 11:11:25 +08:00
}
.scroll-x,
.scroll-y {
2019-12-06 09:58:08 +08:00
overflow: hidden;
-webkit-overflow-scrolling: touch;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.scroll-y {
2019-12-06 09:58:08 +08:00
overflow-y: auto;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.scroll-x {
2019-12-06 09:58:08 +08:00
overflow-x: auto;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.hover-action {
2019-12-06 09:58:08 +08:00
display: none;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.hover-rotate {
2019-12-06 09:58:08 +08:00
transition: all 0.2s ease-in-out 0.1s;
2019-04-30 11:11:25 +08:00
}
.hover-anchor:hover,
.hover-anchor:focus,
.hover-anchor:active {
2019-12-06 09:58:08 +08:00
& > .hover-action {
display: inherit;
}
2019-12-06 09:58:08 +08:00
& > .hover-rotate {
transform: rotate(90deg);
}
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
.backdrop {
2019-12-06 09:58:08 +08:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1050;
2019-12-06 09:58:08 +08:00
&.fade {
opacity: 0;
}
2019-12-06 09:58:08 +08:00
&.in {
opacity: 0.8;
}
2019-04-30 11:11:25 +08:00
}
.col-xs-2-4,
.col-sm-2-4,
.col-md-2-4,
.col-lg-2-4,
.col-xs-1-5,
.col-sm-1-5,
.col-md-1-5,
.col-lg-1-5 {
2019-12-06 09:58:08 +08:00
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
2019-04-30 11:11:25 +08:00
}
// 5/12 = 2.4
.col-xs-2-4 {
2019-12-06 09:58:08 +08:00
width: 20%;
float: left;
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
// 8 / 12 = 1.5
.col-xs-1-5 {
2019-12-06 09:58:08 +08:00
width: 12.5%;
float: left;
2019-04-30 11:11:25 +08:00
}
.invisible {
2019-12-06 09:58:08 +08:00
position: absolute !important;
clip: rect(1px 1px 1px 1px);
clip: rect(1px, 1px, 1px, 1px);
2019-04-30 11:11:25 +08:00
}
.invisible2 {
2019-12-06 09:58:08 +08:00
visibility: hidden;
}
2019-04-30 11:11:25 +08:00
.hbox {
2019-12-06 09:58:08 +08:00
display: table;
table-layout: fixed;
border-spacing: 0;
width: 100%;
height: 100%;
& > .col {
display: table-cell;
vertical-align: top;
2019-04-30 11:11:25 +08:00
height: 100%;
2019-12-06 09:58:08 +08:00
float: none;
}
2019-04-30 11:11:25 +08:00
}
.vbox {
2019-12-06 09:58:08 +08:00
display: table;
border-spacing: 0;
position: relative;
width: 100%;
height: 100%;
min-height: 240px;
& .row-row {
display: table-row;
2019-04-30 11:11:25 +08:00
height: 100%;
2019-12-06 09:58:08 +08:00
& .cell {
position: relative;
height: 100%;
width: 100%;
.ie & {
display: table-cell;
overflow: auto;
& .cell-inner {
overflow: visible !important;
2019-04-30 11:11:25 +08:00
}
2019-12-06 09:58:08 +08:00
}
& .cell-inner {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
-webkit-overflow-scrolling: touch;
overflow: auto;
}
2019-04-30 11:11:25 +08:00
}
2019-12-06 09:58:08 +08:00
}
2019-04-30 11:11:25 +08:00
}
.word-break {
2019-12-06 09:58:08 +08:00
white-space: normal;
word-break: break-all;
word-wrap: break-word;
2019-04-30 11:11:25 +08:00
}
2019-11-13 17:21:12 +08:00
@keyframes apearSensor {
2019-12-06 09:58:08 +08:00
from {
opacity: 0;
}
}
2019-04-30 11:11:25 +08:00
@media (min-width: 768px) {
2019-12-06 09:58:08 +08:00
.col-sm-2-4 {
width: 20%;
float: left;
}
2019-04-30 11:11:25 +08:00
2019-12-06 09:58:08 +08:00
.col-sm-1-5 {
width: 12.5%;
float: left;
}
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
@media (min-width: 992px) {
2019-12-06 09:58:08 +08:00
.col-md-2-4 {
width: 20%;
float: left;
}
2019-04-30 11:11:25 +08:00
2019-12-06 09:58:08 +08:00
.col-md-1-5 {
width: 12.5%;
float: left;
}
2019-04-30 11:11:25 +08:00
}
2019-04-30 11:11:25 +08:00
@media (min-width: 1200px) {
2019-12-06 09:58:08 +08:00
.col-lg-2-4 {
width: 20%;
float: left;
}
2019-04-30 11:11:25 +08:00
2019-12-06 09:58:08 +08:00
.col-lg-1-5 {
width: 12.5%;
float: left;
}
2019-04-30 11:11:25 +08:00
}
// sm
@media (min-width: 768px) and (max-width: 991px) {
2019-12-06 09:58:08 +08:00
.hidden-sm.show {
display: inherit !important;
}
2019-12-06 09:58:08 +08:00
.no-m-sm {
margin: 0 !important;
}
2019-12-06 09:58:08 +08:00
.no-padder-sm {
padding: 0 !important;
}
2019-04-30 11:11:25 +08:00
}
/*phone*/
@media (max-width: 767px) {
2019-12-06 09:58:08 +08:00
.w-auto-xs {
width: auto;
}
2019-12-06 09:58:08 +08:00
.shift {
display: none !important;
}
2019-12-06 09:58:08 +08:00
.shift.in {
display: block !important;
}
2019-12-06 09:58:08 +08:00
.row-2 [class*='col'] {
width: 50%;
float: left;
}
2019-12-06 09:58:08 +08:00
.row-2 .col-0 {
clear: none;
}
2019-12-06 09:58:08 +08:00
.row-2 li:nth-child(odd) {
clear: left;
margin-left: 0;
}
2019-12-06 09:58:08 +08:00
.text-center-xs {
text-align: center;
}
2019-12-06 09:58:08 +08:00
.text-left-xs {
text-align: left;
}
2019-12-06 09:58:08 +08:00
.text-right-xs {
text-align: right;
}
2019-12-06 09:58:08 +08:00
.no-border-xs {
border-width: 0;
}
2019-12-06 09:58:08 +08:00
.pull-none-xs {
float: none !important;
}
2019-12-06 09:58:08 +08:00
.pull-right-xs {
float: right !important;
}
2019-12-06 09:58:08 +08:00
.pull-left-xs {
float: left !important;
}
2019-12-06 09:58:08 +08:00
.dropdown-menu.pull-none-xs {
left: 0;
}
2019-12-06 09:58:08 +08:00
.hidden-xs.show {
display: inherit !important;
}
2019-12-06 09:58:08 +08:00
.wrapper-lg,
.wrapper-md {
padding: 15px;
}
2019-12-06 09:58:08 +08:00
.padder-lg,
.padder-md {
padding-left: 15px;
padding-right: 15px;
}
2019-12-06 09:58:08 +08:00
.no-m-xs {
margin: 0 !important;
}
2019-04-30 11:11:25 +08:00
2019-12-06 09:58:08 +08:00
.no-padder-xs {
padding: 0 !important;
}
}