mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
POpup stuff
This commit is contained in:
@@ -1,14 +1,24 @@
|
||||
$popup-ios-border-radius: 4px !default;
|
||||
$popup-ios-border-radius: 13px !default;
|
||||
$popup-ios-bg-color: #f8f8f8 !default;
|
||||
|
||||
.popup[mode="ios"] {
|
||||
|
||||
.popup-wrapper {
|
||||
|
||||
border-radius: $popup-ios-border-radius;
|
||||
background-color: $popup-ios-bg-color;
|
||||
|
||||
.popup-title {
|
||||
}
|
||||
|
||||
.popup-body:empty { padding: 0; }
|
||||
.popup-buttons {
|
||||
padding: 0;
|
||||
min-height: 0;
|
||||
.button {
|
||||
min-height: 36px;
|
||||
color: get-color('primary', base);
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,28 +50,6 @@ ion-popup {
|
||||
|
||||
z-index: $z-index-overlay;
|
||||
|
||||
// Start hidden
|
||||
//visibility: hidden;
|
||||
/*
|
||||
&.popup-showing {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
&.popup-hidden .popup {
|
||||
@include animation-name(scaleOut);
|
||||
@include animation-duration($popup-leave-animation-duration);
|
||||
@include animation-timing-function(ease-in-out);
|
||||
@include animation-fill-mode(both);
|
||||
}
|
||||
|
||||
&.active .popup {
|
||||
@include animation-name(superScaleIn);
|
||||
@include animation-duration($popup-enter-animation-duration);
|
||||
@include animation-timing-function(ease-in-out);
|
||||
@include animation-fill-mode(both);
|
||||
}
|
||||
*/
|
||||
|
||||
.popup-wrapper {
|
||||
z-index: $z-index-popup-wrapper;
|
||||
width: $popup-width;
|
||||
@@ -96,7 +74,7 @@ ion-popup {
|
||||
border-bottom: 1px solid #eee;
|
||||
text-align: center;
|
||||
}
|
||||
.popup-title {
|
||||
h3.popup-title {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 15px;
|
||||
|
||||
Reference in New Issue
Block a user