Skip to content

Commit

Permalink
编译至mui v2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hbcui1984 committed Dec 28, 2015
1 parent ba06659 commit e0ac9c1
Show file tree
Hide file tree
Showing 47 changed files with 7,291 additions and 1,123 deletions.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module.exports = function(grunt) {
'js/mui.js',
'js/mui.detect.js',
'js/mui.detect.5+.js',
'js/mui.event.js',
'js/mui.target.js',
'js/mui.fixed.js',
'js/mui.fixed.bind.js',
Expand All @@ -55,7 +56,6 @@ module.exports = function(grunt) {
'js/mui.fixed.fastclick.js',
'js/mui.fixed.keyboard.js',
'js/mui.namespace.js',
'js/mui.event.js',
'js/mui.gestures.js',
'js/mui.gestures.flick.js',
'js/mui.gestures.swipe.js',
Expand Down Expand Up @@ -90,6 +90,7 @@ module.exports = function(grunt) {
'js/mui.dialog.confirm.js',
'js/mui.dialog.prompt.js',
'js/mui.dialog.toast.js',
'js/mui.popup.js',
'js/input.plugin.js',
'js/mui.number.js'

Expand Down
238 changes: 235 additions & 3 deletions dist/css/mui.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* =====================================================
* Mui v2.7.0 (http://dev.dcloud.net.cn/mui)
* Mui v2.8.0 (http://dev.dcloud.net.cn/mui)
* =====================================================
*/

Expand Down Expand Up @@ -722,7 +722,7 @@ p
.mui-scroll-wrapper
{
position: absolute;
z-index: 1;
z-index: 2;
top: 0;
bottom: 0;
left: 0;
Expand Down Expand Up @@ -2852,7 +2852,7 @@ select:focus
float: left;

width: 35%;
padding: 10px 15px;
padding: 11px 15px;
}

.mui-input-row label ~ input, .mui-input-row label ~ select, .mui-input-row label ~ textarea
Expand Down Expand Up @@ -3670,6 +3670,228 @@ select:focus
margin: -11px -15px -11px -15px;
}

.mui-popup-backdrop
{
position: fixed;
z-index: 998;
top: 0;
right: 0;
bottom: 0;
left: 0;

-webkit-transition-duration: 400ms;
transition-duration: 400ms;

opacity: 0;
background: rgba(0, 0, 0, .4);
}
.mui-popup-backdrop.mui-active
{
opacity: 1;
}

.mui-popup
{
position: absolute;
z-index: 10000;
top: 50%;
left: 50%;

display: none;
overflow: hidden;

width: 270px;

-webkit-transition-property: -webkit-transform,opacity;
transition-property: transform,opacity;
-webkit-transform: translate3d(-50%, -50%, 0) scale(1.185);
transform: translate3d(-50%, -50%, 0) scale(1.185);
text-align: center;

opacity: 0;
color: #000;
border-radius: 13px;
}
.mui-popup.mui-popup-in
{
display: block;

-webkit-transition-duration: 400ms;
transition-duration: 400ms;
-webkit-transform: translate3d(-50%, -50%, 0) scale(1);
transform: translate3d(-50%, -50%, 0) scale(1);

opacity: 1;
}
.mui-popup.mui-popup-out
{
-webkit-transition-duration: 400ms;
transition-duration: 400ms;
-webkit-transform: translate3d(-50%, -50%, 0) scale(1);
transform: translate3d(-50%, -50%, 0) scale(1);

opacity: 0;
}

.mui-popup-inner
{
position: relative;

padding: 15px;

border-radius: 13px 13px 0 0;
background: rgba(255, 255, 255, .95);
}
.mui-popup-inner:after
{
position: absolute;
z-index: 15;
top: auto;
right: auto;
bottom: 0;
left: 0;

display: block;

width: 100%;
height: 1px;

content: '';
-webkit-transform: scaleY(.5);
transform: scaleY(.5);
-webkit-transform-origin: 50% 100%;
transform-origin: 50% 100%;

background-color: rgba(0, 0, 0, .2);
}

.mui-popup-title
{
font-size: 18px;
font-weight: 500;

text-align: center;
}

.mui-popup-title + .mui-popup-text
{
font-size: 14px;

margin-top: 5px;
}

.mui-popup-buttons
{
position: relative;

display: -webkit-box;
display: -webkit-flex;
display: flex;

height: 44px;

-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
}

.mui-popup-button
{
font-size: 17px;
line-height: 44px;

position: relative;

display: block;
overflow: hidden;

box-sizing: border-box;
width: 100%;
height: 44px;
padding: 0 5px;

cursor: pointer;
text-align: center;
white-space: nowrap;
text-overflow: ellipsis;

color: #007aff;
background: rgba(255, 255, 255, .95);

-webkit-box-flex: 1;
}
.mui-popup-button:after
{
position: absolute;
z-index: 15;
top: 0;
right: 0;
bottom: auto;
left: auto;

display: block;

width: 1px;
height: 100%;

content: '';
-webkit-transform: scaleX(.5);
transform: scaleX(.5);
-webkit-transform-origin: 100% 50%;
transform-origin: 100% 50%;

background-color: rgba(0, 0, 0, .2);
}
.mui-popup-button:first-child
{
border-radius: 0 0 0 13px;
}
.mui-popup-button:first-child:last-child
{
border-radius: 0 0 13px 13px;
}
.mui-popup-button:last-child
{
border-radius: 0 0 13px 0;
}
.mui-popup-button:last-child:after
{
display: none;
}
.mui-popup-button.mui-popup-button-bold
{
font-weight: 600;
}

.mui-popup-input input
{
font-size: 14px;

width: 100%;
height: 26px;
margin: 0;
margin-top: 15px;
padding: 0 5px;

border: 1px solid rgba(0, 0, 0, .3);
border-radius: 0;
background: #fff;
}

.mui-plus.mui-android .mui-popup-backdrop
{
-webkit-transition-duration: 1ms;
transition-duration: 1ms;
}

.mui-plus.mui-android .mui-popup
{
-webkit-transition-duration: 1ms;
transition-duration: 1ms;
-webkit-transform: translate3d(-50%, -50%, 0) scale(1);
transform: translate3d(-50%, -50%, 0) scale(1);
}

.mui-pagination
{
display: inline-block;
Expand Down Expand Up @@ -3872,6 +4094,7 @@ select:focus
.mui-slider
{
position: relative;
z-index: 1;

overflow: hidden;

Expand Down Expand Up @@ -4322,6 +4545,15 @@ select:focus
bottom: 50px;

width: 100%;

-webkit-transition: opacity .8s;
transition: opacity .8s;

opacity: 0;
}
.mui-toast-container.mui-active
{
opacity: 1;
}

.mui-toast-message
Expand Down
4 changes: 2 additions & 2 deletions dist/css/mui.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit e0ac9c1

Please sign in to comment.