From b8cf445dd969a782d5c94eb535bd377d8ae61353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nejc=20Kova=C4=8D?= Date: Tue, 2 Aug 2022 12:18:51 +0200 Subject: [PATCH] GDPR nastavitve -->seznam anket: box containers --- admin/survey/classes/class.GDPR.php | 8 +-- admin/survey/classes/class.SurveyTheme.php | 10 +-- public/css/admin_new.css | 43 ++++++++++++ .../sass/admin_new/components/form/form.scss | 3 +- .../components/form/seznam_anket.scss | 65 +++++++++++++++++++ 5 files changed, 119 insertions(+), 10 deletions(-) create mode 100644 resources/sass/admin_new/components/form/seznam_anket.scss diff --git a/admin/survey/classes/class.GDPR.php b/admin/survey/classes/class.GDPR.php index 3ee29cb3d..f17c0c2ce 100644 --- a/admin/survey/classes/class.GDPR.php +++ b/admin/survey/classes/class.GDPR.php @@ -62,12 +62,12 @@ class GDPR{ echo '
'; echo ''.$lang['srv_anketalist'].''; - echo '
'; + echo '
'; echo '
'; echo '
'; - echo ''; + echo ''; echo '

GDPR ANKETE

'; echo '
'; @@ -80,7 +80,7 @@ class GDPR{ echo '
'; echo '
'; - echo ''; + echo ''; echo '

POTENCIALNO GDPR ANKETE

'; echo '
'; @@ -93,7 +93,7 @@ class GDPR{ echo '
'; echo '
'; - echo ''; + echo ''; echo '

NE-GDPR ANKETE

'; echo '
'; diff --git a/admin/survey/classes/class.SurveyTheme.php b/admin/survey/classes/class.SurveyTheme.php index e99b8da9c..c5bf34dee 100644 --- a/admin/survey/classes/class.SurveyTheme.php +++ b/admin/survey/classes/class.SurveyTheme.php @@ -369,9 +369,9 @@ class SurveyTheme { } //Gumbi - echo '
'; + echo '
'; - echo ''; + echo ''; echo '
'; @@ -423,7 +423,7 @@ class SurveyTheme { //Gumbi echo '
'; - echo ''; + echo ''; echo '
'; @@ -593,7 +593,7 @@ class SurveyTheme { //Gumbi echo '
'; - echo ''; + echo ''; //Aktiviraj echo '
'; @@ -647,7 +647,7 @@ class SurveyTheme { //Gumbi echo '
'; - echo ''; + echo ''; //Aktiviraj echo '
'; diff --git a/public/css/admin_new.css b/public/css/admin_new.css index 26802eb6f..35b1edfe3 100644 --- a/public/css/admin_new.css +++ b/public/css/admin_new.css @@ -10004,6 +10004,49 @@ textarea:focus { border-color: #1E88E5; } +#gdpr_nastavitve fieldset { + padding: 0px; +} + +.box-container { + display: flex; + justify-content: space-between; + margin-top: 16px; +} +.box-container .num_box { + border: #1E88E5 solid 1px; + margin: 0px; + padding: 0px; +} +.box-container .num_box .box_flex { + padding: 16px 16px 0px 16px; + display: flex; + align-items: center; +} +.box-container .num_box .box_flex h2 { + font-size: 16px !important; + font-weight: 600; +} +.box-container .num_box .box_flex input { + position: unset; + height: 18px; + width: 18px; + margin-right: 8px; +} +.box-container .num_box .box_text { + padding: 0px 16px 16px 16px; + font-size: 32px; + line-height: 20px; +} +.box-container .num_box .box_text span { + font-size: 16px; + color: #808080; + font-weight: 400; +} +.box-container .num_box2 { + margin: 0px 32px; +} + table { margin: 8px 0; padding: 8px 0; diff --git a/resources/sass/admin_new/components/form/form.scss b/resources/sass/admin_new/components/form/form.scss index cafafcf91..4044e8386 100644 --- a/resources/sass/admin_new/components/form/form.scss +++ b/resources/sass/admin_new/components/form/form.scss @@ -7,4 +7,5 @@ @import "input"; @import "fieldset"; @import "dropdown"; -@import "textarea"; \ No newline at end of file +@import "textarea"; +@import "seznam_anket"; \ No newline at end of file diff --git a/resources/sass/admin_new/components/form/seznam_anket.scss b/resources/sass/admin_new/components/form/seznam_anket.scss new file mode 100644 index 000000000..3c0f04255 --- /dev/null +++ b/resources/sass/admin_new/components/form/seznam_anket.scss @@ -0,0 +1,65 @@ +#gdpr_nastavitve{ + fieldset{ + padding: 0px; + + } +} + + +.box-container{ + display: flex; + justify-content: space-between; + + margin-top: 16px; + + .num_box{ + border: #1E88E5 solid 1px; + + margin: 0px; + padding: 0px; + + .box_flex{ + padding: 16px 16px 0px 16px; + display: flex; + align-items: center; + + h2{ + font-size: 16px !important; + font-weight: 600; + + } + + input { + + position: unset; + + height: 18px; + width: 18px; + + margin-right: 8px; + + + } + + } + + .box_text{ + padding: 0px 16px 16px 16px; + font-size: 32px; + line-height: 20px; + + span{ + font-size: 16px; + color: #808080; + font-weight: 400; + } + + } + } + + .num_box2{ + margin: 0px 32px ; + } + + +} \ No newline at end of file