mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
88 lines
1.3 KiB
CSS
88 lines
1.3 KiB
CSS
#contextmenu {
|
|
position: absolute;
|
|
}
|
|
|
|
.content #contextmenu {
|
|
position: relative;
|
|
}
|
|
|
|
#aircraft-spawn-menu {
|
|
height: 191px;
|
|
}
|
|
|
|
.ol-contextmenu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
row-gap: 5px;
|
|
width: 200px;
|
|
height: fit-content;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.ol-contextmenu>div:first-child{
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.ol-contextmenu>ul{
|
|
max-height: 200px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.ol-contextmenu .ol-panel {
|
|
width: 100%;
|
|
border-radius: var(--border-radius-sm);
|
|
}
|
|
|
|
.ol-contextmenu ul {
|
|
margin: 0px;
|
|
}
|
|
|
|
.ol-contextmenu button {
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
|
|
.ol-contextmenu>div:nth-child(2){
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
row-gap: 5px;
|
|
}
|
|
|
|
.ol-contextmenu .ol-select-container{
|
|
width: 100%;
|
|
flex:0 0 auto;
|
|
align-self: stretch;
|
|
}
|
|
|
|
#deploy-unit-button {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
#unit-spawn-aircraft {
|
|
background-image: var( --spawn-aircraft-url );
|
|
}
|
|
|
|
#unit-spawn-ground {
|
|
background-image: var( --spawn-ground-url );
|
|
}
|
|
|
|
#unit-spawn button {
|
|
border: none;
|
|
height: 32px;
|
|
width: 32px;
|
|
}
|
|
|
|
#unit-spawn button:not(:hover){
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
|