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-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 */
@@ -1195,16 +1204,16 @@ input#id_cargo_type{
display: inline-block;
}
#edit_route {
button#edit_route {
display: block;
height: 44px;
width: 285px;
width: 86%;
background: #FF613A;
color: #FFF;
font-family: Inter;
font-size: 18px;
font-size: 16px;
font-style: normal;
font-weight: 600;
font-weight: 500;
text-decoration: none;
line-height: 26px;
border-radius: 10px;
@@ -1228,13 +1237,13 @@ button.confirm_remove{
color: white;
font-style: normal;
font-weight: 600;
margin-right: 3px;
}
button.cancel_remove{
height: 44px;
width: 45%;
width: 46%;
background: #808080cc;
border-radius: 10px;
color: white;

View File

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