Skip to content

Commit 6432b07

Browse files
committed
Core: Popover remove unused styles
1 parent 0fa32b3 commit 6432b07

1 file changed

Lines changed: 2 additions & 46 deletions

File tree

src/core/components/popover/popover-md.less

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
@import (multiple) '../../less/vars-md.less';
44
.popover {
55
background: #fff;
6-
border-radius: 3px;
7-
.md-depth(2);
6+
border-radius: 4px;
7+
.elevation(8);
88
transform: scale(0.85, 0.6);
99
transition-property: opacity, transform, border-radius;
1010
&.modal-in {
@@ -48,50 +48,6 @@
4848
.popover-on-bottom {
4949
transform-origin: center top;
5050
}
51-
.popover-from-fab {
52-
transform-origin: center center;
53-
transform: scale(0.7);
54-
border-radius: 50%;
55-
box-shadow: none;
56-
.md-depth(3);
57-
&.modal-in {
58-
border-radius: 0;
59-
transform: scale(1);
60-
transition-delay: 200ms;
61-
transition-duration: 200ms;
62-
}
63-
&.modal-out {
64-
border-radius: 50%;
65-
transform: scale(0.7);
66-
transition-delay: 0ms;
67-
transition-duration: 100ms;
68-
}
69-
.list {
70-
margin: 0;
71-
&:first-child {
72-
ul {
73-
border-radius: 0;
74-
}
75-
li:first-child a {
76-
border-radius: 0;
77-
}
78-
}
79-
&:last-child {
80-
ul {
81-
border-radius: 0;
82-
}
83-
li:last-child a {
84-
border-radius: 0;
85-
}
86-
}
87-
&:first-child:last-child {
88-
li:first-child:last-child a, ul {
89-
border-radius: 0;
90-
}
91-
}
92-
}
93-
94-
}
9551
.popover-from-actions {
9652
.list {
9753
margin: 0;

0 commit comments

Comments
 (0)