y-design-ssr 0.0.21 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/libs/button.js +6 -17
- package/libs/cell.js +6 -18
- package/libs/checkbox.css +2 -0
- package/libs/checkbox.js +197 -43
- package/libs/checkboxGroup.js +85 -109
- package/libs/col.css +2 -0
- package/libs/col.js +175 -41
- package/libs/countdown.js +6 -18
- package/libs/dialog.js +10 -21
- package/libs/empty.js +9 -20
- package/libs/form.js +32 -51
- package/libs/formItem.js +788 -45
- package/libs/icon.js +6 -18
- package/libs/input.js +6 -18
- package/libs/list.js +6 -18
- package/libs/loading.js +9 -24
- package/libs/mask.js +6 -18
- package/libs/popup.js +6 -18
- package/libs/progress.js +6 -18
- package/libs/pullrefresh.js +8 -20
- package/libs/row.js +40 -66
- package/libs/slider.js +6 -18
- package/libs/stepper.js +6 -18
- package/libs/style.js +6 -22
- package/libs/swipe.js +84 -87
- package/libs/swipeItem.css +2 -0
- package/libs/swipeItem.js +733 -42
- package/libs/switch.js +6 -18
- package/libs/tab.css +4 -0
- package/libs/tab.js +2051 -62
- package/libs/tabs.css +2 -0
- package/libs/tabs.js +165 -169
- package/libs/toast.js +9 -20
- package/libs/tooltip.js +9 -20
- package/libs/yui.css +4 -4
- package/libs/yui.js +332 -404
- package/package.json +1 -1
- package/libs/locale.js +0 -1166
package/libs/tooltip.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory(require("vue"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue"], factory);
|
|
6
|
-
else
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
define("yui-lib", ["vue"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["yui-lib"] = factory(require("vue"));
|
|
8
|
+
else
|
|
9
|
+
root["yui-lib"] = factory(root["vue"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__4103__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
@@ -3807,31 +3807,19 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__4103__;
|
|
|
3807
3807
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
3808
3808
|
/******/ }();
|
|
3809
3809
|
/******/
|
|
3810
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
3811
|
-
/******/ !function() {
|
|
3812
|
-
/******/ // define __esModule on exports
|
|
3813
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
3814
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
3815
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
3816
|
-
/******/ }
|
|
3817
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
3818
|
-
/******/ };
|
|
3819
|
-
/******/ }();
|
|
3820
|
-
/******/
|
|
3821
3810
|
/************************************************************************/
|
|
3822
3811
|
var __webpack_exports__ = {};
|
|
3823
3812
|
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
3824
3813
|
!function() {
|
|
3825
3814
|
"use strict";
|
|
3826
|
-
// ESM COMPAT FLAG
|
|
3827
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3828
3815
|
|
|
3829
3816
|
// EXPORTS
|
|
3830
3817
|
__webpack_require__.d(__webpack_exports__, {
|
|
3831
|
-
"default": function() { return /* binding */ packages_tooltip; }
|
|
3832
|
-
"tooltipDirective": function() { return /* reexport */ direactive; }
|
|
3818
|
+
"default": function() { return /* binding */ packages_tooltip; }
|
|
3833
3819
|
});
|
|
3834
3820
|
|
|
3821
|
+
// UNUSED EXPORTS: tooltipDirective
|
|
3822
|
+
|
|
3835
3823
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
3836
3824
|
var es_function_name = __webpack_require__(8309);
|
|
3837
3825
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
|
|
@@ -4338,6 +4326,7 @@ tooltip.install = function (app) {
|
|
|
4338
4326
|
/* harmony default export */ var packages_tooltip = (tooltip);
|
|
4339
4327
|
|
|
4340
4328
|
}();
|
|
4329
|
+
__webpack_exports__ = __webpack_exports__.default;
|
|
4341
4330
|
/******/ return __webpack_exports__;
|
|
4342
4331
|
/******/ })()
|
|
4343
4332
|
;
|
package/libs/yui.css
CHANGED
|
@@ -8,22 +8,22 @@ body,p,h1,h2,h3,h4,h5,h6,ul,dl,ol,dd,form,figure,blockquote{margin:0}ul,ol{list-
|
|
|
8
8
|
|
|
9
9
|
:root{--Primary: #68e38b;--Primary_1: #95f0ab;--Primary_2: #f0fff2;--Secondary: #5790df;--Secondary_1: #84b4f5;--Secondary_2: #edf1fc;--Surface: #191919;--Surface_1: #4c4c4c;--Surface_2: gray;--Surface_3: #adadad;--Surface_4: #ccc;--Surface_5: #e0e0e0;--Surface_6: #ebebeb;--Surface_7: #f5f5f5;--Surface_8: #fff;--Background: #f5f5f5;--Background_1: #fff;--SheetBackground: #f5f5f5;--SheetBackground_1: #fff;--Outline: rgba(0,0,0,0.08);--Segmentation: rgba(0,0,0,0.04);--Overlay: rgba(0,0,0,0.9);--Overlay_1: rgba(0,0,0,0.6);--Overlay_2: rgba(0,0,0,0.36);--Success: #40d76f;--Error: #e5353e;--Warn: #ff5e1a;--Warn_1: #ffe1d5;--Click_Active: rgba(0,0,0,0.05);--Font_Family: PingFang SC,sans-serif;--Font_Family_Number: Yuewen Font}
|
|
10
10
|
|
|
11
|
+
.y-swipe{position:relative;overflow:hidden}.y-swipe__track{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s}.y-swipe__track--is-dragging{-webkit-transition:none;transition:none}.y-swipe__track--is-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.y-swipe__track--is-auto-height{display:block;white-space:nowrap;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.y-swipe__dots{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.y-swipe__dots--left{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;left:12px;top:50%;-webkit-transform:translate(0, -50%);transform:translate(0, -50%)}.y-swipe__dots--top{top:12px;left:50%;-webkit-transform:translate(-50%, 0);transform:translate(-50%, 0)}.y-swipe__dots--right{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;right:12px;top:50%;-webkit-transform:translate(0, -50%);transform:translate(0, -50%)}.y-swipe__dots--bottom{bottom:12px;left:50%;-webkit-transform:translate(-50%, 0);transform:translate(-50%, 0)}.y-swipe__dot{width:6px;height:6px;margin:6px;border-radius:50%;background-color:#f5f5f5;background-color:var(--Background);opacity:0.3;-webkit-transition:opacity .3s;transition:opacity .3s}.y-swipe__dot--active{opacity:1}
|
|
12
|
+
|
|
11
13
|
.y-tabs__list{background-color:#fff;background-color:var(--Background_1)}.y-tabs__list-child-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative}.y-tabs__list-child-wrapper--left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.y-tabs__list-child-wrapper--center{-ms-flex-pack:distribute;justify-content:space-around}.y-tabs__list-child-wrapper--large{height:56px}.y-tabs__list-child-wrapper--middle{height:44px}.y-tabs__list-child-wrapper--small{height:40px}.y-tabs__list-child-wrapper--scrollable{overflow-x:auto;overflow-y:hidden;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.y-tabs__list-child-wrapper--scrollable::-webkit-scrollbar{display:none}.y-tabs-title{color:#4c4c4c;color:var(--Surface_1);-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.4;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.y-tabs-title__large,.y-tabs-title__middle{font-size:16px}.y-tabs-title__large--active,.y-tabs-title__middle--active{color:#68e38b;color:var(--Primary);font-size:18px;font-weight:700}.y-tabs-title__small{font-size:14px}.y-tabs-title__small--active{color:#68e38b;color:var(--Primary);font-size:14px;font-weight:500}.y-tabs-title--scrollable{min-width:60px;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;padding:16px}.y-tabs-title--disabled{color:#ccc;color:var(--Surface_4)}.y-tabs__line{position:absolute;background-color:#68e38b;background-color:var(--Primary);width:12px;height:3px;border-radius:20px;bottom:0;left:0}
|
|
12
14
|
|
|
13
15
|
.y-slider{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.y-slider__wrapper-main{position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;cursor:pointer;background:#ebebeb}.y-slider__wrapper-main--disabled{cursor:not-allowed;opacity:0.5}.y-slider__tooltip,.y-slider__tooltip-wrapper{position:absolute;margin-top:-60px;-webkit-transform:translate(-50%);transform:translate(-50%)}.y-slider__tooltip{position:absolute;margin-top:-60px;-webkit-transform:translate(-50%);transform:translate(-50%);width:40px;height:36px;line-height:36px;border-radius:8px;background:#333;color:#fff;color:var(--Surface_8);text-align:center}.y-slider__tooltip::after{top:100%;left:50%;content:"";width:0;height:0;border:9px solid transparent;border-top:8px solid transparent;border-bottom:4px solid transparent;border-top-color:#333;position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.y-slider__inner{width:100%;height:100%;position:absolute;top:0;z-index:1;background:#40d76f}.y-slider__inner-custom-button{position:absolute;border-radius:50%;cursor:-webkit-grab;cursor:grab;right:0;-webkit-transform:translate3d(50%, -50%, 0);transform:translate3d(50%, -50%, 0)}.y-slider__inner-button{width:16px;height:16px;border:1px solid #e0e0e0;border:1px solid var(--Surface_5);border-radius:50%}.y-slider__button-wrapper{position:absolute;top:50%;z-index:8;cursor:-webkit-grab;cursor:grab;border-radius:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);background:#fff;background:var(--Background_1)}.y-slider__button-wrapper--left,.y-slider__button-wrapper--right{z-index:8;position:absolute;border-radius:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.y-slider__dots{position:relative;height:100%;width:100%}.y-slider__dot{position:absolute;width:2px;height:100%;z-index:4;-webkit-transform:translate(-50%);transform:translate(-50%);background:#fff}.y-slider__dot:first-child{display:none}.y-slider__icon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.y-slider__icon--left{margin-right:8px}.y-slider__icon--right{margin-left:8px}
|
|
14
16
|
|
|
15
17
|
.y-list{overflow:auto;position:relative}.y-list__item{-webkit-box-sizing:border-box;box-sizing:border-box}.y-list--loading,.y-list--finished,.y-list--error{font-size:14px;text-align:center;padding:8px 0}.y-list--error{cursor:pointer}.y-list--virtual .y-list__content{position:absolute;left:0;top:0;right:0}
|
|
16
18
|
|
|
17
|
-
.y-swipe{position:relative;overflow:hidden}.y-swipe__track{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s}.y-swipe__track--is-dragging{-webkit-transition:none;transition:none}.y-swipe__track--is-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.y-swipe__track--is-auto-height{display:block;white-space:nowrap;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.y-swipe__dots{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.y-swipe__dots--left{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;left:12px;top:50%;-webkit-transform:translate(0, -50%);transform:translate(0, -50%)}.y-swipe__dots--top{top:12px;left:50%;-webkit-transform:translate(-50%, 0);transform:translate(-50%, 0)}.y-swipe__dots--right{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;right:12px;top:50%;-webkit-transform:translate(0, -50%);transform:translate(0, -50%)}.y-swipe__dots--bottom{bottom:12px;left:50%;-webkit-transform:translate(-50%, 0);transform:translate(-50%, 0)}.y-swipe__dot{width:6px;height:6px;margin:6px;border-radius:50%;background-color:#f5f5f5;background-color:var(--Background);opacity:0.3;-webkit-transition:opacity .3s;transition:opacity .3s}.y-swipe__dot--active{opacity:1}
|
|
18
|
-
|
|
19
19
|
.y-swipe-item{display:inline-block;-ms-flex-negative:0;flex-shrink:0;vertical-align:top;white-space:normal}
|
|
20
20
|
|
|
21
21
|
@font-face{font-weight:normal;font-family:"y-icon";src:url("https://imgservices-1252317822.image.myqcloud.com/file/031920220182811/7cdace70.eot?cmrron");src:url("https://imgservices-1252317822.image.myqcloud.com/file/031920220182811/7cdace70.eot?cmrron#iefix") format("embedded-opentype"),url("https://imgservices-1252317822.image.myqcloud.com/file/031920220182811/d235a87c.ttf?cmrron") format("truetype"),url("https://imgservices-1252317822.image.myqcloud.com/file/031920220182811/a13b82e6.woff?cmrron") format("woff"),url("https://imgservices-1252317822.image.myqcloud.com/image/031920220182811/a73151ca.svg?cmrron#y-icon") format("svg");font-style:normal;font-display:block}.y-icon--warning::before{content:"\e92a"}.y-icon--warning-o::before{content:"\e929"}.y-icon--image-fail::before{content:"\e924"}.y-icon--circle-arrow-left::before{content:"\e920"}.y-icon--circle-arrow::before{content:"\e921"}.y-icon--circle-arrow-up::before{content:"\e922"}.y-icon--circle-arrow-down::before{content:"\e923"}.y-icon--reward::before{content:"\e900"}.y-icon--input-ban::before{content:"\e901"}.y-icon--success::before{content:"\e902"}.y-icon--crown::before{content:"\e903"}.y-icon--gift::before{content:"\e904"}.y-icon--clock::before{content:"\e905"}.y-icon--cartoon::before{content:"\e906"}.y-icon--boy::before{content:"\e907"}.y-icon--chat::before{content:"\e908"}.y-icon--file::before{content:"\e909"}.y-icon--audio::before{content:"\e90a"}.y-icon--img-bad::before{content:"\e90b"}.y-icon--flower::before{content:"\e90c"}.y-icon--circle-question::before{content:"\e90d"}.y-icon--pause::before{content:"\e90e"}.y-icon--pill-o::before{content:"\e90f"}.y-icon--pill::before{content:"\e910"}.y-icon--play::before{content:"\e912"}.y-icon--play-o::before{content:"\e913"}.y-icon--thumb-down-o::before{content:"\e914"}.y-icon--thumb-down::before{content:"\e915"}.y-icon--i-card::before{content:"\e916"}.y-icon--input-ok::before{content:"\e918"}.y-icon--close-o::before{content:"\e919"}.y-icon--success-o::before{content:"\e91a"}.y-icon--ok::before{content:"\e91b"}.y-icon--no::before{content:"\e91c"}.y-icon--jinhao::before{content:"\e91d"}.y-icon--fire::before{content:"\e91e"}.y-icon--add-book::before{content:"\e91f"}.y-icon--speed::before{content:"\e925"}.y-icon--chat-o::before{content:"\e926"}.y-icon--dian::before{content:"\e927"}.y-icon--qidian::before{content:"\e928"}.y-icon--favorite::before{content:"\e92e"}.y-icon--favorite-o::before{content:"\e92f"}.y-icon--circle-pause::before{content:"\e932"}.y-icon--retreat::before{content:"\e933"}.y-icon--next::before{content:"\e934"}.y-icon--heart-o::before{content:"\e935"}.y-icon--heart::before{content:"\e936"}.y-icon--circle-favorite::before{content:"\e937"}.y-icon--cirle-pause::before{content:"\e93b"}.y-icon--thumb-up-o::before{content:"\e93c"}.y-icon--thumb-up::before{content:"\e93d"}.y-icon--loading::before{content:"\e93e"}.y-icon--at::before{content:"\e93f"}.y-icon--bookmark::before{content:"\e940"}.y-icon--mark::before{content:"\e941"}.y-icon--undo::before{content:"\e942"}.y-icon--local::before{content:"\e943"}.y-icon--catalog::before{content:"\e944"}.y-icon--share::before{content:"\e945"}.y-icon--more::before{content:"\e946"}.y-icon--more-2::before{content:"\e947"}.y-icon--done::before{content:"\e948"}.y-icon--shopping::before{content:"\e949"}.y-icon--circle-close::before{content:"\e94a"}.y-icon--cross::before{content:"\e94b"}.y-icon--info::before{content:"\e94c"}.y-icon--user-done::before{content:"\e94d"}.y-icon--add-user::before{content:"\e94e"}.y-icon--red-packet::before{content:"\e94f"}.y-icon--exchange::before{content:"\e950"}.y-icon--add-fav::before{content:"\e952"}.y-icon--arrow::before{content:"\e953"}.y-icon--arrow-down::before{content:"\e911"}.y-icon--arrow-up::before{content:"\e917"}.y-icon--arrow-left::before{content:"\e954"}.y-icon--trophy::before{content:"\e955"}.y-icon--rank::before{content:"\e956"}.y-icon--ban::before{content:"\e958"}.y-icon--clock-o::before{content:"\e95a"}.y-icon--count-down::before{content:"\e95b"}.y-icon--link::before{content:"\e95c"}.y-icon--girl::before{content:"\e95f"}.y-icon--sort::before{content:"\e960"}.y-icon--cv::before{content:"\e961"}.y-icon--download::before{content:"\e962"}.y-icon--zoom-out::before{content:"\e963"}.y-icon--restore::before{content:"\e964"}.y-icon--filter::before{content:"\e965"}.y-icon--filter-done::before{content:"\e966"}.y-icon--trash::before{content:"\e967"}.y-icon--slide-up::before{content:"\e968"}.y-icon--quote::before{content:"\e969"}.y-icon--setup::before{content:"\e96a"}.y-icon--sort-flip::before{content:"\e96b"}.y-icon--video::before{content:"\e96c"}.y-icon--phone::before{content:"\e96d"}.y-icon--book::before{content:"\e96e"}.y-icon--refresh::before{content:"\e96f"}.y-icon--mail::before{content:"\e970"}.y-icon--search::before{content:"\e971"}.y-icon--unlock::before{content:"\e972"}.y-icon--lock::before{content:"\e973"}.y-icon--lock-o::before{content:"\e974"}.y-icon--notice-off::before{content:"\e975"}.y-icon--notice-o::before{content:"\e976"}.y-icon--add::before{content:"\e978"}.y-icon--mute::before{content:"\e97a"}.y-icon--sound::before{content:"\e97b"}.y-icon--post::before{content:"\e97c"}.y-icon--image::before{content:"\e97d"}.y-icon--image-o::before{content:"\e97e"}.y-icon--slide-down::before{content:"\1f3b5"}.y-icon--restore1::before{content:"\e980"}.y-icon--card::before{content:"\e981"}.y-icon--circle-question-o::before{content:"\e982"}.y-icon--user::before{content:"\e983"}.y-icon--money::before{content:"\e984"}.y-icon--voice::before{content:"\e985"}.y-icon--ticket::before{content:"\e986"}.y-icon--cloud::before{content:"\e987"}.y-icon--reload::before{content:"\e988"}.y-icon--transmit::before{content:"\e989"}.y-icon--gif::before{content:"\e98b"}.y-icon{position:relative;display:inline-block;font-family:y-icon, sans-serif !important;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;font-size:inherit;text-rendering:auto;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.y-icon__dot,.y-icon__badge{position:absolute;top:0;right:0;padding:0;height:8px;width:8px;-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1;color:#fff;color:var(--Surface_8);font-weight:500;font-size:12px;text-align:center;background-color:#68e38b;background-color:var(--Primary);border-radius:100%;-webkit-transform-origin:100%;transform-origin:100%;-webkit-transform:scale(1) translate(50%, -50%);transform:scale(1) translate(50%, -50%)}.y-icon__badge{width:auto;height:auto;border-radius:16px;padding:2.4px 4.8px;-webkit-transform:scale(0.85) translate(50%, -50%);transform:scale(0.85) translate(50%, -50%)}.y-icon__node{display:inline-block;width:1em;height:1em}.y-icon__image{width:90%;height:90%;-o-object-fit:contain;object-fit:contain}
|
|
22
22
|
|
|
23
|
-
.y-checkbox{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:16px}.y-checkbox--disabled{cursor:not-allowed;opacity:0.4}.y-checkbox--horizontal{margin-right:16px}.y-checkbox--mini{font-size:10px}.y-checkbox--small{font-size:12px}.y-checkbox--middle{font-size:14px}.y-checkbox--large{font-size:16px}.y-checkbox__icon{border:1px solid rgba(0,0,0,0.08);border:1px solid var(--Outline);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:background-color 0.3s, border-color 0.3s;transition:background-color 0.3s, border-color 0.3s;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:50%;width:1.25em;height:1.25em;width:calc(1em + 4px);height:calc(1em + 4px);color:#fff;color:var(--Surface_8)}.y-checkbox__icon--checked{background-color:#68e38b;background-color:var(--Primary);border-width:0}.y-checkbox__icon--square{border-radius:4px}.y-checkbox__label{margin-left:8px}
|
|
24
|
-
|
|
25
23
|
.y-checkbox-group--horizontal{display:-webkit-box;display:-ms-flexbox;display:flex}
|
|
26
24
|
|
|
25
|
+
.y-checkbox{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:16px}.y-checkbox--disabled{cursor:not-allowed;opacity:0.4}.y-checkbox--horizontal{margin-right:16px}.y-checkbox--mini{font-size:10px}.y-checkbox--small{font-size:12px}.y-checkbox--middle{font-size:14px}.y-checkbox--large{font-size:16px}.y-checkbox__icon{border:1px solid rgba(0,0,0,0.08);border:1px solid var(--Outline);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:background-color 0.3s, border-color 0.3s;transition:background-color 0.3s, border-color 0.3s;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:50%;width:1.25em;height:1.25em;width:calc(1em + 4px);height:calc(1em + 4px);color:#fff;color:var(--Surface_8)}.y-checkbox__icon--checked{background-color:#68e38b;background-color:var(--Primary);border-width:0}.y-checkbox__icon--square{border-radius:4px}.y-checkbox__label{margin-left:8px}
|
|
26
|
+
|
|
27
27
|
.y-switch{position:relative;display:inline-block;-webkit-box-sizing:content-box;box-sizing:content-box;width:1.72em;height:1em;background-color:#ccc;border-radius:1em;cursor:pointer;font-size:28px;-webkit-transition:background-color 0.3s;transition:background-color 0.3s}.y-switch__loading{position:absolute;top:0;left:0;right:0;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.y-switch--on{background-color:#40d76f}.y-switch__node{position:absolute;top:0.12em;left:0.12em;z-index:1;width:0.72em;height:0.72em;background-color:#fff;border-radius:100%;-webkit-transition:-webkit-transform 0.3s cubic-bezier(0.3, 1.05, 0.4, 1.05);transition:-webkit-transform 0.3s cubic-bezier(0.3, 1.05, 0.4, 1.05);transition:transform 0.3s cubic-bezier(0.3, 1.05, 0.4, 1.05);transition:transform 0.3s cubic-bezier(0.3, 1.05, 0.4, 1.05), -webkit-transform 0.3s cubic-bezier(0.3, 1.05, 0.4, 1.05)}.y-switch__node--on{-webkit-transform:translateX(0.72em);transform:translateX(0.72em)}.y-switch--disabled{cursor:not-allowed;opacity:0.5}.y-switch--loading{cursor:default}
|
|
28
28
|
|
|
29
29
|
.y-pull-refresh{position:relative}.y-pull-refresh__status{position:absolute;width:100%;top:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden}
|