diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index aa183d8b6c..7c8950fd92 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -3450,6 +3450,11 @@ i.size-32.icon-new-work{ -moz-box-sizing:border-box; -webkit-box-sizing:border-box; } +.start-survey{ + margin-top: 20px; + padding-top: 20px; + margin-bottom: 20px; +} .survey-block .table tbody tr:hover td{ background-color: #fff6d5 ; } @@ -3468,21 +3473,8 @@ i.size-32.icon-new-work{ display: inline-block; margin-left: 10px; } -#survey_title { - font-size: 24px; - font-weight: 500; - color:#666; - padding-top:10px; - padding-bottom: 10px; - padding-left: 15px; - padding-right: 15px; - background-color: #ececec; -} -#survey_subtitle { - background-color:#F7F7E3; - color:#666; - padding:10px; - font-size:14px ; +#question-survey .start-survey .col-sm-8{ + text-align: center; } .survey_content { color:#666; @@ -3495,21 +3487,10 @@ i.size-32.icon-new-work{ background-color: #ececec; text-align: center; } -.survey_question_wrapper { - border-top: 1px solid #DADADA; - background-color: #ffffff; - padding-top: 1em; - padding-bottom: 2em; - padding-left: 1em; - padding-right: 1em; - text-align: left; -} -.survey_question { - /* 264269 4271b5 E5EDF9 */ - color:#666; - padding:5px; - font-size: 16px; - font-weight: bold; +.survey_question .title{ + font-weight: bold; + padding-bottom: 10px; + margin-bottom: 10px; } .survey_question_options { /* 264269 4271b5 E5EDF9 */ @@ -3517,29 +3498,7 @@ i.size-32.icon-new-work{ color:#000; padding:5px;/*border: 1px solid #264269;*/ } -.survey-next.btn{ - border:1px solid #319265; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;font-size:18px;font-family:arial, helvetica, sans-serif; padding: 10px 20px 10px 20px; text-decoration:none; display:inline-block;font-weight:bold; color: #FFFFFF; - background-color: #3FBC82; background-image: -webkit-gradient(linear, left top, left bottom, from(#3FBC82), to(#308E60)); - background-image: -webkit-linear-gradient(top, #3FBC82, #308E60); - background-image: -moz-linear-gradient(top, #3FBC82, #308E60); - background-image: -ms-linear-gradient(top, #3FBC82, #308E60); - background-image: -o-linear-gradient(top, #3FBC82, #308E60); - background-image: linear-gradient(to bottom, #3FBC82, #308E60);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#3FBC82, endColorstr=#308E60); - text-shadow:none; - margin-top: 1em; - margin-bottom: 1em; -} -.survey-next.btn:hover{ - border:1px solid #25704d; - background-color: #329668; background-image: -webkit-gradient(linear, left top, left bottom, from(#329668), to(#236846)); - background-image: -webkit-linear-gradient(top, #329668, #236846); - background-image: -moz-linear-gradient(top, #329668, #236846); - background-image: -ms-linear-gradient(top, #329668, #236846); - background-image: -o-linear-gradient(top, #329668, #236846); - background-image: linear-gradient(to bottom, #329668, #236846);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#329668, endColorstr=#236846); - background-position: 0 0; -} .survey-block .confirmation-message, .survey-block .error-message{ font-size: 16px; text-align: center; @@ -6787,6 +6746,40 @@ input.form-control[type="color"] { .grid-courses .col-sm-6:nth-child(2n+1) { clear: left; } + .form-inline .survey_question .input-group label{ + display: none; + } + .form-inline .survey_question.ch_score .input-group label{ + display: block; + width: 100%; + font-weight: normal; + } + .form-inline .survey_question.ch_score .input-group label p{ + margin: 0; + } + .form-inline .survey_question.ch_score .input-group{ + width: 100%; + } + .form-inline .survey_question .input-group{ + padding-bottom: 10px; + padding-top: 10px; + } + .form-inline .survey_question .input-group .radio-inline .radio-inline, + .form-inline .survey_question .input-group .checkbox-inline .checkbox-inline{ + display: block; + } + .form-inline .survey_question .form-group{ + width: 100%; + } + .form-inline .survey_question .form-group .form-control{ + width: 100%; + } + .form-inline .survey_question .form-group label{ + display: none; + } + .form-inline .survey_question .input-group .bootstrap-select{ + width: 300px; + } } /* Medium devices (desktops, 992px and up) */ diff --git a/app/Resources/public/css/themes/chamilo/default.css b/app/Resources/public/css/themes/chamilo/default.css index e9ad9b3683..1904aa9f20 100755 --- a/app/Resources/public/css/themes/chamilo/default.css +++ b/app/Resources/public/css/themes/chamilo/default.css @@ -151,4 +151,4 @@ a:focus { } .page-header{ margin: 10px 0 10px; -} \ No newline at end of file +} diff --git a/main/survey/preview.php b/main/survey/preview.php index b19343d596..bf8d6e811a 100755 --- a/main/survey/preview.php +++ b/main/survey/preview.php @@ -96,7 +96,7 @@ if (api_is_course_admin() || api_is_allowed_to_session_edit(false, true) ) { // Survey information - echo '
| '.get_lang('QuestionNumber').' | '; -echo ''.get_lang('Title').' | '; -echo ''.get_lang('Type').' | '; -echo ''.get_lang('NumberOfOptions').' | '; -echo ''.get_lang('Modify').' | '; +echo '
|---|
| '.get_lang('NumberAbbreviation').' | '; +echo ''.get_lang('Title').' | '; +echo ''.get_lang('Type').' | '; +echo ''.get_lang('NumberOfOptions').' | '; +echo ''.get_lang('Modify').' | '; if ($is_survey_type_1) { echo ''.get_lang('Condition').' | '; echo ''.get_lang('Group').' | '; } echo '
|---|