Ureditev pravilnega delovanja izbiranja tock pri heatmap in image hotspot

This commit is contained in:
patrik2020 2022-07-30 16:57:34 +02:00
parent 5f40076dd7
commit 76bc2a634d
2 changed files with 20 additions and 69 deletions

View File

@ -3063,7 +3063,9 @@ class Vprasanje {
} }
else { //string present else { //string present
$usemap = 'id="hotspot_'.$row['id'].'_image" usemap="#hotspot_'.$row['id'].'_usemap" style="z-index: 1; height:'.$hotspot_image_height.'px; width: '.$hotspot_image_width.'px; position: relative; top: 15px;"'; //z-index: 1, da bo slika pod canvas in prave dimenzije in na pravi poziciji $usemap = 'id="hotspot_'.$row['id'].'_image" usemap="#hotspot_'.$row['id'].'_usemap" style="z-index: 1; height:'.$hotspot_image_height.'px; width: '.
$hotspot_image_width.'px; position: relative; top: 0px;"'; //z-index: 1, da bo slika pod canvas in prave dimenzije in na pravi poziciji
//$hotspot_image_width.'px; position: relative; top: 15px;"'; //z-index: 1, da bo slika pod canvas in prave dimenzije in na pravi poziciji
//v $hotspot_image je potrebno dodati usemap="#hotspot_image_'.$row['id'].'" za identificiranje mape //v $hotspot_image je potrebno dodati usemap="#hotspot_image_'.$row['id'].'" za identificiranje mape
$hotspot_image = substr_replace($hotspot_image, $usemap, 5, 0); //dodaj zeleni string v $hotspot_image $hotspot_image = substr_replace($hotspot_image, $usemap, 5, 0); //dodaj zeleni string v $hotspot_image
} }

View File

@ -5117,7 +5117,7 @@ p, span {
} }
.bold { .bold {
font-weight: 800; font-weight: 400;
} }
.semi-bold { .semi-bold {
@ -9816,20 +9816,6 @@ fieldset {
margin-inline-end: 0; margin-inline-end: 0;
border: 1px solid #E5E5E5; border: 1px solid #E5E5E5;
} }
fieldset .bold {
font-weight: 400;
color: #1E88E5;
text-decoration: underline;
}
fieldset .spaceLeft {
display: flex;
}
fieldset .spaceLeft .bold {
padding-left: 3px;
}
fieldset .authority_name {
font-weight: 600;
}
fieldset legend { fieldset legend {
padding: 0 15px; padding: 0 15px;
font-size: 16px; font-size: 16px;
@ -17950,8 +17936,9 @@ span.display_editor_image_hotspot {
canvas.hotspot_canvas { canvas.hotspot_canvas {
position: absolute; position: absolute;
top: 15px !important; top: 15px !important;
left: 15px; /* left: 10px; */
z-index: 2; z-index: 2;
display: block;
} }
.hotspot_image_editor { .hotspot_image_editor {
@ -20369,6 +20356,15 @@ and open the template in the editor.
color: #0059ab; color: #0059ab;
} }
/* canvas.mapster_el {
top: 15px !important;
}
img.mapster_el {
position: absolute;
top: 15px !important;
} */
.jquery-selectbox { .jquery-selectbox {
cursor: pointer; cursor: pointer;
padding: 0 0 0 8px !important; padding: 0 0 0 8px !important;
@ -20697,12 +20693,6 @@ div.page_tema div.theme_list div.theme span.desc {
div.page_tema div.theme_list div.options { div.page_tema div.theme_list div.options {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
position: relative;
}
div.page_tema div.theme_list div.options div.buttons-window {
position: absolute;
bottom: 12px;
max-width: 113px;
} }
div.page_tema div.theme_list div.options div.button { div.page_tema div.theme_list div.options div.button {
background: #FFFFFF; background: #FFFFFF;
@ -20710,7 +20700,7 @@ div.page_tema div.theme_list div.options div.button {
box-sizing: border-box; box-sizing: border-box;
border-radius: 2px; border-radius: 2px;
height: 28px; height: 28px;
width: 100%; width: fit-content;
display: flex; display: flex;
align-items: center; align-items: center;
padding: 7px 12px; padding: 7px 12px;
@ -27988,7 +27978,7 @@ and open the template in the editor.
.setting_horizontal_wrapper { .setting_horizontal_wrapper {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
margin-bottom: 0px; margin-bottom: 16px;
} }
.setting_horizontal_wrapper .setting_holder { .setting_horizontal_wrapper .setting_holder {
margin-right: 32px; margin-right: 32px;
@ -32950,50 +32940,6 @@ table.dataTable td:not(:first-of-type), table.dataTable th:not(:first-of-type) {
border-left: 1px solid #E5E5E5; border-left: 1px solid #E5E5E5;
} }
/*
Custom modules
*/
.page_kolektor button.kolektor_create_response {
margin-bottom: 40px;
}
.page_kolektor table.kolektor_reponses {
width: 100%;
}
#kolektor_add_response {
max-height: 95vh;
overflow-y: auto;
}
#kolektor_add_response #kolektor_add_response_form {
display: flex;
flex-direction: column;
}
#kolektor_add_response #kolektor_add_response_form .error_messages {
margin-bottom: 16px;
font-weight: 600;
}
#kolektor_add_response #kolektor_add_response_form .error_messages ul {
margin: 0;
}
#kolektor_add_response #kolektor_add_response_form .kolektor_setting {
display: flex;
flex-direction: column;
margin-bottom: 8px;
}
#kolektor_add_response #kolektor_add_response_form .kolektor_setting.error {
color: #FF0000;
}
#kolektor_add_response #kolektor_add_response_form .kolektor_setting .setting_line {
margin-top: 8px;
}
#kolektor_add_response #kolektor_add_response_form #kolektor_respondent_settings {
display: flex;
flex-direction: column;
}
#kolektor_add_response #kolektor_add_response_form textarea {
width: 100%;
}
@media (max-width: 1100px) { @media (max-width: 1100px) {
#quick_comments_link.newCss { #quick_comments_link.newCss {
display: none; display: none;
@ -33477,6 +33423,9 @@ header .mobile_menu .mobile_menu_user .submenu_user_content > div a {
#main #moje_ankete_edit #survey_list .second_line .filters { #main #moje_ankete_edit #survey_list .second_line .filters {
display: none; display: none;
} }
#main #moje_ankete_edit #survey_list .div_sl_new table#surveyList_new {
margin: 0;
}
#main #moje_ankete_edit #survey_list .div_sl_new table#surveyList_new td { #main #moje_ankete_edit #survey_list .div_sl_new table#surveyList_new td {
display: none; display: none;
} }