-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(toast): update sass formatting
- Loading branch information
1 parent
219059c
commit 95af318
Showing
6 changed files
with
85 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ tabbar { | |
ion-badge, | ||
ion-icon, | ||
span { | ||
opacity: 0.4; | ||
opacity: .4; | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,52 @@ | ||
@import "../../globals.ios"; | ||
@import "./toast"; | ||
|
||
// iOS Toast | ||
// -------------------------------------------------- | ||
|
||
$toast-ios-text-align: left !default; | ||
$toast-ios-background: rgba(0, 0, 0, 0.70) !default; | ||
$toast-ios-border-radius: 0.65rem !default; | ||
$toast-ios-background: rgba(0, 0, 0, .7) !default; | ||
$toast-ios-border-radius: .65rem !default; | ||
|
||
$toast-ios-title-color: #fff !default; | ||
$toast-ios-title-font-size: 1.4rem !default; | ||
$toast-ios-title-padding: 1.5rem !default; | ||
|
||
|
||
ion-toast { | ||
display: block; | ||
height: $toast-width; | ||
left: 0; | ||
position: absolute; | ||
top: 0; | ||
width: $toast-width; | ||
left: 0; | ||
z-index: $z-index-overlay; | ||
display: block; | ||
|
||
width: $toast-width; | ||
height: $toast-width; | ||
} | ||
|
||
.toast-wrapper { | ||
background: $toast-ios-background; | ||
border-radius: $toast-ios-border-radius; | ||
position: absolute; | ||
right: 10px; | ||
bottom: 10px; | ||
display: block; | ||
left: 10px; | ||
z-index: $z-index-overlay-wrapper; | ||
display: block; | ||
|
||
margin: auto; | ||
|
||
max-width: $toast-max-width; | ||
position: absolute; | ||
right: 10px; | ||
|
||
border-radius: $toast-ios-border-radius; | ||
|
||
background: $toast-ios-background; | ||
|
||
transform: translate3d(0, 100%, 0); | ||
z-index: $z-index-overlay-wrapper; | ||
} | ||
|
||
.toast-message { | ||
color: $toast-ios-title-color; | ||
font-size: $toast-ios-title-font-size; | ||
padding: $toast-ios-title-padding; | ||
|
||
font-size: $toast-ios-title-font-size; | ||
|
||
color: $toast-ios-title-color; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,51 @@ | ||
@import "../../globals.md"; | ||
@import "./toast"; | ||
|
||
// Material Design Toast | ||
// -------------------------------------------------- | ||
|
||
$toast-md-text-align: left !default; | ||
$toast-md-background: #333333 !default; | ||
$toast-md-background: #333 !default; | ||
$toast-md-group-margin-bottom: 8px !default; | ||
|
||
$toast-md-title-color: #fff !default; | ||
$toast-md-title-font-size: 1.5rem !default; | ||
$toast-md-title-padding: 19px 16px 17px !default; | ||
|
||
|
||
ion-toast { | ||
display: block; | ||
height: $toast-width; | ||
left: 0; | ||
position: absolute; | ||
top: 0; | ||
width: $toast-width; | ||
left: 0; | ||
z-index: $z-index-overlay; | ||
display: block; | ||
|
||
width: $toast-width; | ||
height: $toast-width; | ||
} | ||
|
||
.toast-wrapper { | ||
background: $toast-md-background; | ||
position: absolute; | ||
right: 0; | ||
bottom: 0; | ||
display: block; | ||
left: 0; | ||
z-index: $z-index-overlay-wrapper; | ||
display: block; | ||
|
||
margin: auto; | ||
|
||
width: $toast-width; | ||
max-width: $toast-max-width; | ||
position: absolute; | ||
right: 0; | ||
|
||
background: $toast-md-background; | ||
|
||
transform: translate3d(0, 100%, 0); | ||
width: $toast-width; | ||
z-index: $z-index-overlay-wrapper; | ||
} | ||
|
||
.toast-message { | ||
color: $toast-md-title-color; | ||
font-size: $toast-md-title-font-size; | ||
padding: $toast-md-title-padding; | ||
|
||
font-size: $toast-md-title-font-size; | ||
|
||
color: $toast-md-title-color; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters