diff --git a/[core]/esx_menu_dialog/html/css/app.css b/[core]/esx_menu_dialog/html/css/app.css index db52551b..c2f590c4 100644 --- a/[core]/esx_menu_dialog/html/css/app.css +++ b/[core]/esx_menu_dialog/html/css/app.css @@ -1,89 +1,89 @@ - -@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap'); +@import url("https://fonts.googleapis.com/css?family=Montserrat&display=swap"); #controls { - font-family: montserrat; - font-size: 3em; - color: #FFF; - position: absolute; - bottom: 40; - right: 40; + font-family: montserrat; + font-size: 3em; + color: #fff; + position: absolute; + bottom: 40; + right: 40; } .controls { - display: none; + display: none; } .dialog { - font-family: montserrat; - background: rgba(33, 33, 33, 0.8); + font-family: montserrat; + background: rgba(33, 33, 33, 0.8); color: #fff; - position: absolute; - border-top-left-radius: 5px; - border-top-right-radius: 5px; - overflow: hidden; - top: 50%; - left: 50%; - width: 600px; - height: 152px; - transform: translate(-50%, -50%); + position: absolute; + border-top-left-radius: 5px; + border-top-right-radius: 5px; + overflow: hidden; + top: 50%; + left: 50%; + width: 600px; + height: 152px; + transform: translate(-50%, -50%); } .head { - display: flex; - flex-basis: 100%; - align-items: center; - color: #fff; + display: flex; + flex-basis: 100%; + align-items: center; + color: #fff; } .dialog.big { - height: 200px; + height: 200px; } .dialog .head { - background: rgba(25, 25, 25, 0.9); - text-align: center; - height: 40px; + background: rgba(25, 25, 25, 0.9); + text-align: center; + height: 40px; } .dialog .head span::before { - content: ""; - display: inline-block; - height: 100%; - vertical-align: middle; + content: ""; + display: inline-block; + height: 100%; + vertical-align: middle; } .dialog input[type="text"] { - width: 60%; - height: 32px; + width: 60%; + height: 32px; outline: 0; background: none; text-align: center; margin-top: 26px; margin-left: 125px; - font-size: large; + font-size: large; 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 { +.dialog input[type="text"]:active, +.dialog input[type="text"]:hover { color: white; } .dialog textarea { - width: 100%; - height: 128px; + width: 100%; + height: 128px; } .dialog button[name="submit"] { - width: 17.6%; - height: 32px; + width: 17.6%; + height: 32px; margin-left: 160px; font-weight: 300; color: rgb(37, 34, 53); - border-radius: 10px; + border-radius: 10px; text-transform: uppercase; background: rgb(50, 79, 208); outline: 0; @@ -93,17 +93,17 @@ .dialog button { z-index: 9999; - transform: translate(-0%, 50%); + transform: translate(-0%, 50%); } .dialog button[name="cancel"] { - width: 17.6%; - height: 32px; + width: 17.6%; + height: 32px; margin-left: 60px; border: none; text-transform: uppercase; font-weight: 200; - border-radius: 10px; + border-radius: 10px; color: rgb(53, 34, 34); outline: 0; background: #c74545; @@ -124,9 +124,9 @@ .head::before, .head::after { - content: ""; - flex-grow: 1; - background: #00e1ff; - height: 2px; - margin: 0px 3px; + content: ""; + flex-grow: 1; + background: #00e1ff; + height: 2px; + margin: 0px 3px; } diff --git a/[core]/esx_menu_dialog/html/js/app.js b/[core]/esx_menu_dialog/html/js/app.js index 85a172b6..5186bcf7 100644 --- a/[core]/esx_menu_dialog/html/js/app.js +++ b/[core]/esx_menu_dialog/html/js/app.js @@ -1,170 +1,184 @@ (function () { - let MenuTpl = - '