0.0.63 add fonts

This commit is contained in:
2023-07-31 17:00:54 +03:00
parent 70ff3841f6
commit 95eeea181c
2 changed files with 17 additions and 8 deletions

View File

@@ -6,7 +6,16 @@
} }
@font-face { @font-face {
font-family: Inter; font-family: Inter;
src:
/*url("/static/fonts/inter/Inter-Black.ttf"),*/
/*url("/static/fonts/inter/Inter-Bold.ttf"),*/
/*url("/static/fonts/inter/Inter-ExtraBold.ttf"),*/
/*url("/static/fonts/inter/Inter-ExtraLight.ttf"),*/
/*url("/static/fonts/inter/Inter-Light.ttf"),*/
url("/static/fonts/inter/Inter-Medium.ttf"),
url("/static/fonts/inter/Inter-Regular.ttf"),
url("/static/fonts/inter/Inter-SemiBold.ttf"),
url("/static/fonts/inter/Inter-Thin.ttf");
} }
/* Links */ /* Links */
@@ -1195,16 +1204,16 @@ input#id_cargo_type{
display: inline-block; display: inline-block;
} }
#edit_route { button#edit_route {
display: block; display: block;
height: 44px; height: 44px;
width: 285px; width: 86%;
background: #FF613A; background: #FF613A;
color: #FFF; color: #FFF;
font-family: Inter; font-family: Inter;
font-size: 18px; font-size: 16px;
font-style: normal; font-style: normal;
font-weight: 600; font-weight: 500;
text-decoration: none; text-decoration: none;
line-height: 26px; line-height: 26px;
border-radius: 10px; border-radius: 10px;
@@ -1228,13 +1237,13 @@ button.confirm_remove{
color: white; color: white;
font-style: normal; font-style: normal;
font-weight: 600; font-weight: 600;
margin-right: 3px;
} }
button.cancel_remove{ button.cancel_remove{
height: 44px; width: 46%;
width: 45%;
background: #808080cc; background: #808080cc;
border-radius: 10px; border-radius: 10px;
color: white; color: white;

View File

@@ -110,7 +110,7 @@ function confirmRemove(el) {
let cancel_button = document.createElement('button') let cancel_button = document.createElement('button')
cancel_button.className = "cancel_remove"; cancel_button.className = "cancel_remove";
cancel_button.innerText = "Отменить удаление"; cancel_button.innerText = "Отменить удаление";
let place = btn.closest("#select-remove") let place = btn.closest(".button_remove_route")
place.insertBefore(cancel_button, btn.nextSibling); place.insertBefore(cancel_button, btn.nextSibling);
} }
btn.removeAttribute("id", "select-remove") btn.removeAttribute("id", "select-remove")