open-vault/ui/app/styles/components/popup-menu.scss

81 lines
1.4 KiB
SCSS
Raw Normal View History

2018-04-03 14:16:57 +00:00
.popup-menu-content {
border-radius: 2px;
margin: -2px 0 0 0;
2018-05-24 23:10:19 +00:00
2018-04-03 14:16:57 +00:00
& > .box {
border-radius: 2px;
2018-05-24 23:10:19 +00:00
box-shadow: $box-shadow, $box-shadow-middle;
2018-04-03 14:16:57 +00:00
padding: 0;
position: relative;
width: 175px;
}
2018-05-24 23:10:19 +00:00
2018-04-03 14:16:57 +00:00
&.is-wide > .box {
width: 200px;
}
.confirm-action span .button {
display: block;
margin: .25rem auto;
width: 95%;
}
2018-05-24 23:10:19 +00:00
.menu {
button.link,
a {
color: $menu-item-color;
font-size: $size-7;
font-weight: $font-weight-semibold;
display: block;
padding: $size-9 $size-6;
box-shadow: none;
border: none;
background: transparent;
height: auto;
width: 100%;
text-align: left;
text-decoration: none;
2018-04-03 14:16:57 +00:00
2018-05-24 23:10:19 +00:00
&:hover {
background-color: $menu-item-hover-background-color;
color: $menu-item-hover-color;
}
2018-04-03 14:16:57 +00:00
2018-05-24 23:10:19 +00:00
&.is-active {
background-color: $menu-item-active-background-color;
color: $menu-item-active-color;
}
&.is-destroy {
color: $red;
2018-04-03 14:16:57 +00:00
2018-05-24 23:10:19 +00:00
&:hover {
background-color: $red;
color: $white;
}
}
2018-04-03 14:16:57 +00:00
}
}
2018-05-24 23:10:19 +00:00
.menu-label {
background: $grey-lighter;
font-size: $size-8;
letter-spacing: 0;
margin: 0;
padding: $size-10 calc(#{$size-6} + .1rem);
text-transform: none;
}
.menu-list {
margin: 0.1rem;
}
2018-04-03 14:16:57 +00:00
}
2018-05-24 23:10:19 +00:00
.popup-menu-trigger {
min-width: auto;
2018-04-03 14:16:57 +00:00
}
2018-05-24 23:10:19 +00:00
.ember-basic-dropdown-content--left.popup-menu {
margin: 0px 0 0 -8px;
2018-04-03 14:16:57 +00:00
}