mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
97 lines
1.4 KiB
CSS
97 lines
1.4 KiB
CSS
@font-face {
|
|
font-family: bankgothic;
|
|
src: url('../fonts/bankgothic.ttf');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: pcdown;
|
|
src: url('../fonts/pdown.ttf');
|
|
}
|
|
|
|
.menu {
|
|
font-family: 'PT Sans Narrow', sans-serif;
|
|
font-size: 22px;
|
|
min-width: 400px;
|
|
color: #fff;
|
|
box-shadow: 0px 0px 50px 0px #000;
|
|
position: absolute;
|
|
}
|
|
|
|
.menu.align-left {
|
|
left: 40;
|
|
top: 50%;
|
|
transform: translate(0, -50%);
|
|
}
|
|
|
|
.menu.align-top-left {
|
|
left: 40;
|
|
top: 40;
|
|
}
|
|
|
|
.menu.align-top {
|
|
left: 50%;
|
|
top: 40;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
|
|
.menu.align-top-right {
|
|
right: 10;
|
|
top: 40;
|
|
}
|
|
|
|
.menu.align-right {
|
|
right: 40;
|
|
top: 50%;
|
|
transform: translate(0, -50%);
|
|
}
|
|
|
|
.menu.align-bottom-right {
|
|
right: 40;
|
|
bottom: 40;
|
|
}
|
|
|
|
.menu.align-bottom {
|
|
left: 50%;
|
|
bottom: 40;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
|
|
.menu.align-bottom-left {
|
|
left: 40;
|
|
bottom: 40;
|
|
}
|
|
|
|
.menu.align-center {
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.menu .head {
|
|
background-color: #4682B4;
|
|
text-align: center;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
.menu .menu-items {
|
|
max-height: 600px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.menu .menu-items .menu-item {
|
|
height: 40px;
|
|
display: block;
|
|
background-color: rgba(40, 40, 40, 1);
|
|
line-height: 32px;
|
|
color: #ffffff;
|
|
padding: 2px;
|
|
text-align: center;
|
|
}
|
|
|
|
.menu .menu-items .menu-item.selected {
|
|
background-color: rgba(20, 20, 20, 1);
|
|
border-top: 2px solid #e76767;
|
|
border-bottom: 2px solid #e76767;
|
|
}
|