Files
Brandy Carney ee8403c6e6 chore(popup): add material design popup to md core sass file & convert values to variables
Added material design styling for the popup and removed some properties
from the core popup sass file
2015-09-29 14:57:00 -04:00

61 lines
1.2 KiB
SCSS

// iOS Popups
// --------------------------------------------------
$popup-ios-max-width: 280px !default;
$popup-ios-background: rgba(0,0,0,0) !default;
$popup-ios-border-radius: 13px !default;
$popup-ios-background-color: #f8f8f8 !default;
$popup-ios-head-text-align: center !default;
$popup-ios-title-font-size: 15px !default;
$popup-ios-body-text-color: inherit !default;
$popup-ios-button-text-color: color(primary) !default;
$popup-ios-button-min-height: 45px !default;
ion-popup {
background: $popup-ios-background;
popup-wrapper {
border-radius: $popup-ios-border-radius;
background-color: $popup-ios-background-color;
max-width: $popup-ios-max-width;
}
}
.popup-head {
text-align: $popup-ios-head-text-align;
padding-top: 24px;
}
.popup-title {
font-size: $popup-ios-title-font-size;
}
.popup-body {
padding: 10px;
color: $popup-ios-body-text-color;
}
.popup-body:empty {
padding: 0;
}
.popup-buttons {
padding: 0;
min-height: 0;
button {
background-color: transparent;
color: $popup-ios-button-text-color;
min-height: $popup-ios-button-min-height;
&:last-child {
font-weight: bold;
}
}
}