[Redizajn 1KA] - Moje ankete --> Uvoz .1ka datoteke - v4

Revert na default gumb
This commit is contained in:
tejagerjovic 2022-01-06 16:35:48 +01:00
parent 93cb20900f
commit f15e50390f
3 changed files with 40 additions and 24 deletions

View File

@ -491,7 +491,7 @@ class NewSurvey{
echo '<input type="hidden" name="has_data" value="0" />';
//echo '<input type="file" name="restore" onchange="document.restorefrm.submit();" />';
echo '<label class="custom_file_upload">' . $lang['srv_newSurvey_survey_archive_choosefile'] . '<input type="file" name="restore" id="restore" /></label>';
echo '<input type="file" name="restore" id="restore" /></label>';
echo $lang['srv_arhiv_datoteka_save_txt2'].'.';

View File

@ -14021,30 +14021,43 @@ and open the template in the editor.
color: #777777;
text-align: right;
}
#new_anketa_div .layout_right_item .layout_right_centering .fieldset .setting {
/**input[type="file"]#restore {
display: none;
}
//Button - medium - gray
label.custom_file_upload {
box-sizing: border-box;
cursor: pointer;
font-weight: $semi-bold;
font-family: $font_family;
box-shadow: none;
border: 0;
transition: 0.3s;
padding: 10px 32px;
min-width: 160px;
font-size: 16px;
color: $black;
background-color: $gray;
border: 1px $black solid;
&:hover {
background-color: darken($gray, 5%);
}
}**/
}
#new_anketa_div .layout_right_item .layout_right_centering .fieldset .setting .radioSetting_type.active {
color: #777777;
}
#new_anketa_div .layout_right_item .layout_right_centering .fieldset .setting input[type=file]#restore {
display: none;
}
#new_anketa_div .layout_right_item .layout_right_centering .fieldset .setting label.custom_file_upload {
box-sizing: border-box;
cursor: pointer;
font-weight: 600;
font-family: Source Sans Pro, sans-serif;
box-shadow: none;
border: 0;
transition: 0.3s;
padding: 10px 32px;
min-width: 160px;
font-size: 16px;
color: #333333;
background-color: #E5E5E5;
border: 1px #333333 solid;
}
#new_anketa_div .layout_right_item .layout_right_centering .fieldset .setting label.custom_file_upload:hover {
background-color: #d8d8d8;
}
#new_anketa_div .layout_right_item .layout_right_centering .fieldset .setting input[type=radio] {
margin: 0 8px 4px 0;
display: none !important;

View File

@ -95,7 +95,10 @@ $skin_selector: $red;
}
//Custom inputi
input[type="file"]#restore {
// Cutom file upload gumb - možnost za 2. fazo (z <label class="custom_file_upload"> okrog inputa)
/**input[type="file"]#restore {
display: none;
}
@ -126,7 +129,7 @@ $skin_selector: $red;
}
}
}**/
input[type="radio"] {
margin: 0 8px 4px 0;