mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-24 23:01:57 +08:00
chore(): begin adding ionic components to mono-repo.
This commit is contained in:
@ -0,0 +1,48 @@
|
||||
@import "../../themes/ionic.globals";
|
||||
|
||||
// Windows Popover
|
||||
// --------------------------------------------------
|
||||
|
||||
/// @prop - Width of the popover content
|
||||
$popover-wp-width: 200px !default;
|
||||
|
||||
/// @prop - Min width of the popover content
|
||||
$popover-wp-min-width: 0 !default;
|
||||
|
||||
/// @prop - Minimum height of the popover content
|
||||
$popover-wp-min-height: 0 !default;
|
||||
|
||||
/// @prop - Maximum height of the popover content
|
||||
$popover-wp-max-height: 90% !default;
|
||||
|
||||
/// @prop - Border of the popover content
|
||||
$popover-wp-border: 2px solid #ccc !default;
|
||||
|
||||
/// @prop - Border radius of the popover content
|
||||
$popover-wp-border-radius: 0 !default;
|
||||
|
||||
/// @prop - Text color of the popover content
|
||||
$popover-wp-text-color: $text-wp-color !default;
|
||||
|
||||
/// @prop - Background of the popover content
|
||||
$popover-wp-background: $background-wp-color !default;
|
||||
|
||||
|
||||
.popover-wp .popover-content {
|
||||
@include border-radius($popover-wp-border-radius);
|
||||
@include transform-origin(start, top);
|
||||
|
||||
width: $popover-wp-width;
|
||||
min-width: $popover-wp-min-width;
|
||||
min-height: $popover-wp-min-height;
|
||||
max-height: $popover-wp-max-height;
|
||||
|
||||
border: $popover-wp-border;
|
||||
color: $popover-wp-text-color;
|
||||
background: $popover-wp-background;
|
||||
}
|
||||
|
||||
.popover-wp .popover-viewport {
|
||||
opacity: 0;
|
||||
transition-delay: 100ms;
|
||||
}
|
Reference in New Issue
Block a user