vimo-dt
Version:
A Vue2.x UI Project For Mobile & HyBrid
92 lines (65 loc) • 2.44 kB
text/less
@import "../../../themes/default.ios.less";
// iOS Loading Indicator
// --------------------------------------------------
/// @prop - Padding of the loading wrapper
@loading-ios-padding: 24px 34px;
/// @prop - Max width of the loading wrapper
@loading-ios-max-width: 270px;
/// @prop - Maximum height of the loading wrapper
@loading-ios-max-height: 90%;
/// @prop - Border radius of the loading wrapper
@loading-ios-border-radius: 8px;
/// @prop - Text color of the loading wrapper
@loading-ios-text-color: #000;
/// @prop - Background of the loading wrapper
@loading-ios-background: #f8f8f8;
/// @prop - Font weight of the loading content
@loading-ios-content-font-weight: bold;
/// @prop - Color of the loading spinner
@loading-ios-spinner-color: #69717d;
/// @prop - Color of the ios loading spinner
@loading-ios-spinner-ios-color: @loading-ios-spinner-color;
/// @prop - Color of the bubbles loading spinner
@loading-ios-spinner-bubbles-color: @loading-ios-spinner-color;
/// @prop - Color of the circles loading spinner
@loading-ios-spinner-circles-color: @loading-ios-spinner-color;
/// @prop - Color of the crescent loading spinner
@loading-ios-spinner-crescent-color: @loading-ios-spinner-color;
/// @prop - Color of the dots loading spinner
@loading-ios-spinner-dots-color: @loading-ios-spinner-color;
.loading-ios .loading-wrapper {
padding: @loading-ios-padding;
max-width: @loading-ios-max-width;
max-height: @loading-ios-max-height;
border-radius: @loading-ios-border-radius;
color: @loading-ios-text-color;
background: @loading-ios-background;
// addStyle
transition: transform ease-in-out 200ms, opacity ease-in-out 200ms;
}
// iOS Loading Content
// -----------------------------------------
.loading-ios .loading-content {
font-weight: @loading-ios-content-font-weight;
}
.loading-ios .loading-spinner + .loading-content {
margin-left: 16px;
}
// iOS Loading Spinner fill colors
// -----------------------------------------
.loading-ios .spinner-ios line,
.loading-ios .spinner-ios-small line {
stroke: @loading-ios-spinner-ios-color;
}
.loading-ios .spinner-bubbles circle {
fill: @loading-ios-spinner-bubbles-color;
}
.loading-ios .spinner-circles circle {
fill: @loading-ios-spinner-circles-color;
}
.loading-ios .spinner-crescent circle {
stroke: @loading-ios-spinner-crescent-color;
}
.loading-ios .spinner-dots circle {
fill: @loading-ios-spinner-dots-color;
}