2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-15 03:32:24 +03:00
Files
vue-context/src/sass/vue-context.scss
T
2020-08-03 08:30:37 -05:00

65 lines
1.5 KiB
SCSS

@import "config";
.v-context {
&, & ul {
background-color: $menu-bg;
background-clip: padding-box;
border-radius: .25rem;
border: 1px solid $menu-border;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
display: block;
margin: 0;
padding: 10px 0;
min-width: 10rem;
z-index: 1500;
position: fixed;
list-style: none;
box-sizing: border-box;
max-height: calc(100% - 50px);
overflow-y: auto;
> li {
margin: 0;
position: relative;
> a {
display: block;
padding: .5rem 1.5rem;
font-weight: 400;
color: $item-color;
text-decoration: none;
white-space: nowrap;
background-color: transparent;
border: 0;
&:hover,
&:focus {
text-decoration: none;
color: $item-hover-color;
background-color: $item-hover-bg;
}
&:focus {
outline: 0;
}
}
}
&:focus {
outline: 0;
}
}
&__sub {
> a:after {
content: "\203A";
float: right;
padding-left: 1rem;
}
> ul {
display: none;
}
}
}