mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-22 05:47:41 +00:00
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)
54 lines
808 B
CSS
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;
|
|
}
|