54 lines
1.0 KiB
Plaintext
54 lines
1.0 KiB
Plaintext
.menu-item {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-width: 0;
|
|
background-color: transparent;
|
|
transition-property: background-color;
|
|
transition-duration: 0.2s;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0;
|
|
}
|
|
|
|
.menu-item:hover {
|
|
background-color: var(--color-bg-hover);
|
|
}
|
|
|
|
.menu-item:active {
|
|
background-color: var(--color-bg-active);
|
|
}
|
|
|
|
.menu-item:disabled {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.menu-item__icon {
|
|
-unity-font-style: normal;
|
|
font-size: 20px;
|
|
color: var(--color-text-primary);
|
|
-unity-text-align: middle-center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.menu-item__image {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.menu-item__arrow {
|
|
width: 0;
|
|
height: 0;
|
|
margin-left: 4px;
|
|
border-left-width: 4px;
|
|
border-right-width: 4px;
|
|
border-top-width: 4px;
|
|
border-bottom-width: 4px;
|
|
border-left-color: transparent;
|
|
border-right-color: transparent;
|
|
border-top-color: var(--color-text-primary);
|
|
border-bottom-color: transparent;
|
|
}
|