spiegel-keyman/windows/src/desktop/kmshell/xml/menu.css
Marc Durdin bfc973ec4e fix(windows): make long menus scroll in Configuration
Fixes #6098.

If the list of languages is too long to fit, the menu now dynamically
adds a scroll bar.

As a bonus:
* The language names are sorted (non-Latin scripts at bottom for now)
* `nmake install` works again (in kmshell, presence of `install` folder
  was confusing it)
2022-03-24 15:17:57 +11:00

54 lines
808 B
CSS

/* Popup menu styles */
.menu
{
white-space: nowrap;
position: absolute;
display: block;
visibility: hidden;
background: white;
border: solid 1px #ACA899;
font-size: 11px;
padding: 4px;
background-image: url("menugrey.gif");
background-repeat: repeat-y;
background-position: 0 0;
width: 220px;
z-index: 100;
box-sizing: border-box;
}
.menuitem
{
display: block;
padding: 4px 4px 4px 28px;
margin: 1px;
cursor: default;
}
.hover
{
color: #000000;
background: #FFE3DB;
border: solid 1px #DB704F;
padding: 3px 3px 3px 27px;
}
.down
{
background: #DB704F;
}
#menubackground {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(64,64,64,0.1);
display: none;
}
#menubackground.show {
display: block;
z-index: 99;
}