From 561ab909041e642411185155deb441891a458a4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Arag=C3=B3n?= Date: Tue, 19 Mar 2019 10:55:44 -0500 Subject: [PATCH 1/4] fix css icon - refs BT#15175 --- app/Resources/public/css/base.css | 28 +++++++++++++++++++++++----- main/forum/viewthread.php | 2 +- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index 1f6e7c4277..262de35f28 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -5482,19 +5482,37 @@ div#chat-remote-video video { display: none; } -.forum-post { - border-color: #dddddd !important; -} - .forum-post .thumbnail { margin-bottom: 5px; + text-align: center; + border: none; +} +.forum-post .thumbnail img{ + border-radius: 50%; + border: 2px solid #dddddd; + width: 85px; } .forum-post .title-username { text-align: center; - font-size: 16px; + font-size: 14px; margin-bottom: 5px; margin-top: 0; + font-weight: bold; + padding-top: 5px; +} +.forum-post .user-type.text-center { + border-radius: 50%; + position: absolute; + top: 25%; + right: 17%; + border: 2px solid #dddddd; + padding: 5px; + background-color: #fff; +} + +.forum-post { + border-color: #dddddd !important; } .forum-post .post-date { diff --git a/main/forum/viewthread.php b/main/forum/viewthread.php index c6b34ecaa3..4f1aff0056 100755 --- a/main/forum/viewthread.php +++ b/main/forum/viewthread.php @@ -347,7 +347,7 @@ foreach ($posts as $post) { } } - $post['user_data'] .= '
'.$iconStatus.'
'; + $post['user_data'] .= '
'.$iconStatus.'
'; } else { if ($allowUserImageForum) { $post['user_data'] .= '
'. From a6a1fe25b0f6cb164d1d92cdd63f4666439ccdae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Arag=C3=B3n?= Date: Tue, 19 Mar 2019 11:25:27 -0500 Subject: [PATCH 2/4] change of arab flag -refs #2850 --- .../assets/flag-icon-css/flags/1x1/ae.svg | 74 +++++++++++++++++-- .../assets/flag-icon-css/flags/4x3/ae.svg | 74 +++++++++++++++++-- 2 files changed, 138 insertions(+), 10 deletions(-) diff --git a/app/Resources/public/assets/flag-icon-css/flags/1x1/ae.svg b/app/Resources/public/assets/flag-icon-css/flags/1x1/ae.svg index 9ac2866c5b..ae8f07031d 100644 --- a/app/Resources/public/assets/flag-icon-css/flags/1x1/ae.svg +++ b/app/Resources/public/assets/flag-icon-css/flags/1x1/ae.svg @@ -1,6 +1,70 @@ - - - - - + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/app/Resources/public/assets/flag-icon-css/flags/4x3/ae.svg b/app/Resources/public/assets/flag-icon-css/flags/4x3/ae.svg index ef6473002d..8bedb6771d 100644 --- a/app/Resources/public/assets/flag-icon-css/flags/4x3/ae.svg +++ b/app/Resources/public/assets/flag-icon-css/flags/4x3/ae.svg @@ -1,6 +1,70 @@ - - - - - + + + + + + image/svg+xml + + + + + + + + + + + + From 764ef902d9464d6d4573afc32631087a19b6b0e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Arag=C3=B3n?= Date: Tue, 19 Mar 2019 11:46:06 -0500 Subject: [PATCH 3/4] align input in arabic - refs #2851 --- app/Resources/public/css/base.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index 262de35f28..183b3c17f3 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -8450,6 +8450,13 @@ ul#toolnavbox-two li a.btn { border-color: #dd853d; color: #ffffff; } +.checkbox input[type=checkbox], +.checkbox-inline input[type=checkbox], +.radio input[type=radio], +.radio-inline input[type=radio]{ + position: relative; + margin-left: 10px; +} /* CSS Responsive */ @media (min-width: 1025px) and (max-width: 1200px) { .sidebar-scorm { From 633446bd411820281467aeb808c241f819221fc6 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Tue, 19 Mar 2019 13:49:59 -0500 Subject: [PATCH 4/4] Minor - don't filter message text - refs BT#14750 --- main/exercise/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/exercise/admin.php b/main/exercise/admin.php index d7fa5f167c..6e1586c539 100755 --- a/main/exercise/admin.php +++ b/main/exercise/admin.php @@ -384,7 +384,7 @@ if ($inATest) { if ($objExercise->random > 0) { $alert .= '
'.sprintf(get_lang('OnlyXQuestionsPickedRandomly'), $objExercise->random); } - echo Display::return_message($alert); + echo Display::return_message($alert, 'normal', false); } elseif (isset($_GET['newQuestion'])) { // we are in create a new question from question pool not in a test echo '
';