From 1d89daf3295740d1cfe924e8405c220e89176848 Mon Sep 17 00:00:00 2001 From: "Mahmoud.Kassaei" Date: Tue, 20 Aug 2019 16:44:09 +0100 Subject: [PATCH] MDL-66563 Questions: Drag and Drop qtypes in high-contrast --- question/type/ddimageortext/styles.css | 7 +++++++ question/type/ddwtos/styles.css | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/question/type/ddimageortext/styles.css b/question/type/ddimageortext/styles.css index 5ae690a8374..8f5b95f0c1f 100644 --- a/question/type/ddimageortext/styles.css +++ b/question/type/ddimageortext/styles.css @@ -80,36 +80,43 @@ form.mform fieldset#id_previewareaheader .group1 { .que.ddimageortext .group2, form.mform fieldset#id_previewareaheader .group2 { background-color: #b0c4de; + border-radius: 10px 0 0 0; } .que.ddimageortext .group3, form.mform fieldset#id_previewareaheader .group3 { background-color: #dcdcdc; + border-radius: 0 10px 0 0; } .que.ddimageortext .group4, form.mform fieldset#id_previewareaheader .group4 { background-color: #d8bfd8; + border-radius: 0 0 10px 0; } .que.ddimageortext .group5, form.mform fieldset#id_previewareaheader .group5 { background-color: #87cefa; + border-radius: 0 0 0 10px; } .que.ddimageortext .group6, form.mform fieldset#id_previewareaheader .group6 { background-color: #daa520; + border-radius: 0 10px 10px 0; } .que.ddimageortext .group7, form.mform fieldset#id_previewareaheader .group7 { background-color: #ffd700; + border-radius: 10px 0 0 10px; } .que.ddimageortext .group8, form.mform fieldset#id_previewareaheader .group8 { background-color: #f0e68c; + border-radius: 10px 10px 10px 10px; } /* Editing form. Style repeated elements*/ diff --git a/question/type/ddwtos/styles.css b/question/type/ddwtos/styles.css index b0292889543..7c794f0aa87 100644 --- a/question/type/ddwtos/styles.css +++ b/question/type/ddwtos/styles.css @@ -69,30 +69,37 @@ .que.ddwtos .group2 { background-color: #dcdcdc; + border-radius: 10px 0 0 0; } .que.ddwtos .group3 { background-color: #b0c4de; + border-radius: 0 10px 0 0; } .que.ddwtos .group4 { background-color: #d8bfd8; + border-radius: 0 0 10px 0; } .que.ddwtos .group5 { background-color: #87cefa; + border-radius: 0 0 0 10px; } .que.ddwtos .group6 { background-color: #daa520; + border-radius: 0 10px 10px 0; } .que.ddwtos .group7 { background-color: #ffd700; + border-radius: 10px 0 0 10px; } .que.ddwtos .group8 { background-color: #f0e68c; + border-radius: 10px 10px 10px 10px; } .que.ddwtos sub,