diff --git a/[esx]/esx_menu_default/html/css/app.css b/[esx]/esx_menu_default/html/css/app.css
index b03e1e9b..81ed0473 100644
--- a/[esx]/esx_menu_default/html/css/app.css
+++ b/[esx]/esx_menu_default/html/css/app.css
@@ -1,96 +1,142 @@
-@font-face {
- font-family: bankgothic;
- src: url('../fonts/bankgothic.ttf');
-}
+@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap');
-@font-face {
- font-family: pcdown;
- src: url('../fonts/pdown.ttf');
-}
+::-webkit-scrollbar {
+ display: none;
+ }
.menu {
- font-family: 'PT Sans Narrow', sans-serif;
- font-size: 22px;
- min-width: 400px;
+ font-family: 'Poppins' sans-serif;
+ min-width: 350px;
color: #fff;
- box-shadow: 0px 0px 50px 0px #000;
position: absolute;
+ padding: 10px;
+ background: rgba(33, 33, 33, 0.4);
+ -webkit-box-shadow: 10px 9px 42px -5px rgba(0, 0, 0, 0.52);
+ -moz-box-shadow: 10px 9px 42px -5px rgba(0, 0, 0, 0.52);
+ box-shadow: 10px 9px 42px -5px rgba(0, 0, 0, 0.52);
+ text-allign: center;
+}
+
+.head {
+ display: block;
+ text-align: center;
+ overflow: hidden;
+ white-space: nowrap;
+ margin-left: 10px;
+ margin-right: 10px;
+}
+
+.menu .head {
+ text-allign: center;
+ height: 28px;
+ color: #ffffff;
+ font-weight: 300;
+ line-height: 18px;
+ font-size: 18px;
+}
+
+.menu .menu-items {
+ max-height: 450px;
+ overflow-y: auto;
+ font-weight: 550;
+}
+
+.menu-items {
+ margin-bottom: 2px;
+}
+
+.menu .menu-items .menu-item {
+ display: block;
+ padding: 7px;
+ font-size: 13px;
+ height: 16px;
+ text-indent: 5px;
+ margin-top: 5px;
+ background: rgba(33, 33, 33, 0.6);
+ color: rgb(202, 202, 202);
+ border-radius: 10px;
+ margin-bottom: 6px;
+}
+
+.menu .menu-items .menu-item.selected {
+ background: rgba(72, 105, 255, 0.2);
+ border: 1.4px solid rgba(243, 243, 243, 0.7);
+ border-radius: 10px;
+ color: rgba(243, 243, 243);
+ letter-spacing: 0.2px;
+ font-weight: 500;
}
.menu.align-left {
- left: 40;
+ left: 0;
top: 50%;
- transform: translate(0, -50%);
+ border-right: 6px solid (rgba(72, 105, 255, 0.2));
+ border-top-right-radius: 10px;
+ border-bottom-left-radius: 10px;
}
.menu.align-top-left {
left: 40;
- top: 40;
+ top: 0;
+ border-bottom: 6px solid rgba(72, 105, 255, 0.2);
+ border-bottom-right-radius: 10px;
+ border-bottom-left-radius: 10px;
}
.menu.align-top {
left: 50%;
- top: 40;
- transform: translate(-50%, 0);
+ top: 0;
+ border-bottom: 6px solid rgba(72, 105, 255, 0.2);
+ border-bottom-right-radius: 10px;
+ border-bottom-left-radius: 10px;
}
.menu.align-top-right {
right: 10;
- top: 40;
+ top: 0;
+ border-bottom: 6px solid rgba(72, 105, 255, 0.2);
+ border-bottom-right-radius: 10px;
+ border-bottom-left-radius: 10px;
}
.menu.align-right {
- right: 40;
+ right: 0;
top: 50%;
+ border-left: 6px solid rgba(72, 105, 255, 0.2);
+ border-top-left-radius: 10px;
+ border-bottom-left-radius: 10px;
transform: translate(0, -50%);
}
.menu.align-bottom-right {
right: 40;
- bottom: 40;
+ bottom: 0;
+ border-bottom: 6px solid rgba(72, 105, 255, 0.2);
+ border-bottom-right-radius: 10px;
+ border-bottom-left-radius: 10px;
}
.menu.align-bottom {
left: 50%;
- bottom: 40;
- transform: translate(-50%, 0);
+ bottom: 0;
+ border-left: 6px solid rgba(72, 105, 255, 0.2);
+ border-top-left-radius: 10px;
+ border-bottom-left-radius: 10px;
+ transform: translate(0, -50%);
}
.menu.align-bottom-left {
left: 40;
- bottom: 40;
+ bottom: 0;
+ border-left: 6px solid rgba(72, 105, 255, 0.2);
+ border-top-left-radius: 10px;
+ border-bottom-left-radius: 10px;
}
.menu.align-center {
- left: 50%;
+ 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;
-}
+ transform: translate(0, -50%);
+ border-top: 6px solid rgba(72, 105, 255, 0.2);
+ border-radius: 10px;
+}
\ No newline at end of file
diff --git a/[esx]/esx_menu_dialog/html/css/app.css b/[esx]/esx_menu_dialog/html/css/app.css
index accb9864..3335cd5d 100644
--- a/[esx]/esx_menu_dialog/html/css/app.css
+++ b/[esx]/esx_menu_dialog/html/css/app.css
@@ -1,16 +1,9 @@
-@font-face {
- font-family: bankgothic;
- src: url('../fonts/bankgothic.ttf');
-}
-@font-face {
- font-family: pcdown;
- src: url('../fonts/pdown.ttf');
-}
+@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
#controls {
- font-family: 'IBM Plex Sans', sans-serif;
- font-size: 5em;
+ font-family: montserrat;
+ font-size: 3em;
color: #FFF;
position: absolute;
bottom: 40;
@@ -22,16 +15,25 @@
}
.dialog {
- font-family: 'PT Sans Narrow', sans-serif;
- background-color: rgba(40, 40, 40, 1);
- color: #fff;
+ font-family: montserrat;
+ background:#040A15;
+ color: #fff;
position: absolute;
overflow: hidden;
top: 50%;
left: 50%;
- width: 640px;
- height: 124px;
+ width: 600px;
+ height: 132px;
transform: translate(-50%, -50%);
+ -webkit-box-shadow: 10px 9px 42px -5px rgba(0, 0, 0, 0.52);
+ -moz-box-shadow: 10px 9px 42px -5px rgba(0, 0, 0, 0.52);
+}
+
+.head {
+ display: flex;
+ flex-basis: 100%;
+ align-items: center;
+ color: #fff;
}
.dialog.big {
@@ -39,13 +41,12 @@
}
.dialog .head {
- background-color: #4682B4;
+ background-color: #ffffff;
text-align: center;
height: 40px;
- font-size: 22px;
}
-.dialog .head span:before {
+.dialog .head span::before {
content: "";
display: inline-block;
height: 100%;
@@ -53,39 +54,76 @@
}
.dialog input[type="text"] {
- width: 100%;
- height: 42px;
- color: #fff;
- font-size: 20px;
- background-color: rgba(20, 20, 20, 1);
- border-bottom: 2px solid #e76767;
+ width: 60%;
+ height: 32px;
+ outline: 0;
+ background: none;
+ text-align: center;
+ margin-top: 26px;
+ margin-left: 125px;
+ transition: all 0.2s ease-in-out;
+ color: white;
+ border: 0.5px solid #ffffff3b;
+ border-radius: 0px;
+}
+
+.dialog input[type="text"]:active, .dialog input[type="text"]:hover {
+ color: white;
}
.dialog textarea {
width: 100%;
- height: 138px;
- color: #fff;
- font-size: 20px;
- background-color: rgba(20, 20, 20, 1);
- border-bottom: 2px solid #e76767;
+ height: 128px;
}
.dialog button[name="submit"] {
- width: 75%;
- color: #fff;
- height: 42px;
- font-size: 22px;
- border: 0px solid #e76767;
- border-right: 1px solid #e76767;
- background-color: rgba(40, 40, 40, 1)
+ width: 17.6%;
+ height: 32px;
+ margin-left: 160px;
+ font-weight: 300;
+ color: #ffffff;
+ text-transform: uppercase;
+ background: rgb(50, 88, 255);
+ outline: 0;
+ border: none;
+ transition: all 0.1s ease-in-out;
+}
+
+.dialog button {
+ z-index: 9999;
+ transform: translate(-0%, 50%);
}
.dialog button[name="cancel"] {
- width: 25%;
- color: rgb(236, 75, 75);
- height: 42px;
- font-size: 20px;
- border: 0px solid #e76767;
- border-left: 1px solid #e76767;
- background-color: rgba(40, 40, 40, 1)
+ width: 17.6%;
+ height: 32px;
+ margin-left: 80px;
+ border: none;
+ text-transform: uppercase;
+ font-weight: 200;
+ color: rgb(32, 8, 8);
+ outline: 0;
+ background: #ff4343;
+ transition: all 0.1s ease-in-out;
+}
+
+.dialog button[name="cancel"]:hover {
+ letter-spacing: 1px;
+ color: #ffffff;
+ width: 17.6%;
+}
+
+.dialog button[name="submit"]:hover {
+ letter-spacing: 1px;
+ color: white;
+ width: 17.6%;
+}
+
+.head::before,
+.head::after {
+ content: "";
+ flex-grow: 1;
+ background: #00e1ff;
+ height: 2px;
+ margin: 0px 3px;
}