mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-06 16:32:40 +00:00
Add preview texture to dropdown options
This commit is contained in:
@@ -87,9 +87,6 @@
|
||||
.navDropdownContainer {
|
||||
background-color: white;
|
||||
width: 100%;
|
||||
&:hover {
|
||||
background-color: rgb(187, 187, 187);
|
||||
}
|
||||
&.disabled {
|
||||
font-style:italic;
|
||||
font-style: italic;
|
||||
@@ -103,16 +100,30 @@
|
||||
i {
|
||||
float: right;
|
||||
}
|
||||
&:hover {
|
||||
background-color: @blue;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
.navDropdown {
|
||||
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
|
||||
.item {
|
||||
padding: 3px 3px;
|
||||
border-top: 1px solid rgb(118, 118, 118);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background-color: white;
|
||||
&:hover {
|
||||
background-color: @blue;
|
||||
color: white;
|
||||
}
|
||||
img {
|
||||
mask-image: linear-gradient(90deg, transparent, black 20%);
|
||||
-webkit-mask-image: linear-gradient(90deg, transparent, black 20%);
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user