forked from ionic-team/ionic-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopover.md.scss
More file actions
45 lines (34 loc) · 1.31 KB
/
popover.md.scss
File metadata and controls
45 lines (34 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@import "../../themes/ionic.globals";
// Material Design Popover
// --------------------------------------------------
$popover-md-width: 250px !default;
$popover-md-min-width: 0 !default;
$popover-md-min-height: 0 !default;
$popover-md-max-height: 90% !default;
$popover-md-border-radius: 2px !default;
$popover-md-text-color: #000 !default;
$popover-md-background: #fafafa !default;
$popover-md-box-shadow-color: rgba(0, 0, 0, .3) !default;
$popover-md-box-shadow: 0 3px 12px 2px $popover-md-box-shadow-color !default;
$popover-md-item-background: $popover-md-background !default;
.popover-md .popover-content {
width: $popover-md-width;
min-width: $popover-md-min-width;
min-height: $popover-md-min-height;
max-height: $popover-md-max-height;
border-radius: $popover-md-border-radius;
color: $popover-md-text-color;
background: $popover-md-background;
box-shadow: $popover-md-box-shadow;
transform-origin: top left;
}
.popover-md .popover-content ion-content {
background: $popover-md-background;
}
.popover-md .popover-content .item {
background-color: $popover-md-item-background;
}
.popover-md .popover-viewport {
opacity: 0;
transition-delay: 100ms;
}