From 60818f036d1e169d1f05a9c972e81a53b09220e3 Mon Sep 17 00:00:00 2001 From: tejagerjovic Date: Wed, 5 Jan 2022 22:07:10 +0100 Subject: [PATCH] [Redizajn 1KA] Nastavitve --> Moj profil - v5 --- admin/survey/SurveyAdminSettings.php | 4 +- public/css/admin_new.css | 33 +++++----- .../admin_new/pages/settings/moj_profil.scss | 64 +++++++++---------- 3 files changed, 50 insertions(+), 51 deletions(-) diff --git a/admin/survey/SurveyAdminSettings.php b/admin/survey/SurveyAdminSettings.php index 817412421..b0bd35b10 100644 --- a/admin/survey/SurveyAdminSettings.php +++ b/admin/survey/SurveyAdminSettings.php @@ -10168,7 +10168,7 @@ class SurveyAdminSettings { echo '
'; echo ''; if(!empty($alternativni_emaili)) - echo '
primaryEmail() == $row['email'] ? 'checked="checked"' : '').'>
'; + echo 'primaryEmail() == $row['email'] ? 'checked="checked"' : '').'>'; echo '
'; echo ''; @@ -10180,7 +10180,7 @@ class SurveyAdminSettings { echo '
'; echo ''; echo '
'; - echo 'active == 1 ? 'checked="checked"' : '').'> '; + echo 'active == 1 ? 'checked="checked"' : '').'> '; echo '
'; echo ''; } diff --git a/public/css/admin_new.css b/public/css/admin_new.css index 5a9f50fac..8bd34b725 100644 --- a/public/css/admin_new.css +++ b/public/css/admin_new.css @@ -13811,7 +13811,16 @@ textarea.gdpr_requests_comment { height: 60px; } -div#user_info_segment { +img.twoFAQRcode { + margin: 10px 0; + max-width: 115px; +} + +label[for=active-master] { + margin-left: 16px; +} + +div #user_info_segment { background-color: #F8F8F8; border: 1px solid #E5E5E5; box-sizing: border-box; @@ -13820,20 +13829,14 @@ div#user_info_segment { display: flex; flex-direction: row; } -div#user_info_segment .user_info { +div #user_info_segment .user_info { display: flex; flex-direction: column; } -div#user_info_segment .user_info.text { +div #user_info_segment .user_info.text { margin-right: 50px; } - -img.twoFAQRcode { - margin: 10px 0; - max-width: 115px; -} - -div.myprofile_postget_wrap { +div .myprofile_postget_wrap { max-width: 320px; min-width: 320px; overflow-wrap: break-word; @@ -13842,21 +13845,17 @@ div.myprofile_postget_wrap { font-family: "Courier"; font-size: 12px; } -div.myprofile_date_wrap { +div .myprofile_date_wrap { width: auto; white-space: nowrap; } - -div.altmail span.faicon { +div .altmail span.faicon { margin-right: 8px; margin-left: 16px; } -div#klik-dodaj-email span.faicon { +div #klik-dodaj-email span.faicon { margin-right: 8px; } -div.default_radio { - margin-left: 16px; -} /* To change this license header, choose License Headers in Project Properties. diff --git a/resources/sass/admin_new/pages/settings/moj_profil.scss b/resources/sass/admin_new/pages/settings/moj_profil.scss index 9262a7659..7e9329d1c 100644 --- a/resources/sass/admin_new/pages/settings/moj_profil.scss +++ b/resources/sass/admin_new/pages/settings/moj_profil.scss @@ -1,31 +1,37 @@ -div#user_info_segment { - background-color: $light-gray; - border: 1px solid $gray; - box-sizing: border-box; - - padding: 32px 20px; - margin-bottom: 16px; - - display: flex; - flex-direction: row; - - .user_info { - display: flex; - flex-direction: column; - - &.text { - margin-right: 50px; - } - } -} - img.twoFAQRcode { margin: 10px 0; max-width: 115px; } +label[for="active-master"]{ + margin-left: 16px; +} + div { - &.myprofile_postget_wrap { + + #user_info_segment { + background-color: $light-gray; + border: 1px solid $gray; + box-sizing: border-box; + + padding: 32px 20px; + margin-bottom: 16px; + + display: flex; + flex-direction: row; + + .user_info { + display: flex; + flex-direction: column; + + &.text { + margin-right: 50px; + } + } + } + + + .myprofile_postget_wrap { max-width: 320px; min-width: 320px; overflow-wrap: break-word; @@ -36,28 +42,22 @@ div { font-size: 12px; } - &.myprofile_date_wrap { + .myprofile_date_wrap { width: auto; white-space: nowrap; } -} -div{ - &.altmail{ + .altmail{ + span.faicon { margin-right: 8px; margin-left: 16px; } } - &#klik-dodaj-email { + #klik-dodaj-email { span.faicon { margin-right: 8px; } } - - &.default_radio { - margin-left: 16px; - } - }