Skip to content

Commit

Permalink
Bug fixes - Kickstart 1.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
prasanna-lmsace committed Nov 11, 2024
1 parent 7f8341b commit 419cef5
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 27 deletions.
76 changes: 52 additions & 24 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ body.format-kickstart .form-control .fa-search {

#page-course-view-kickstart.kickstart-icon:before {
content: '\f1ce';
font-family: fontawesome;
font-family: var(--fa-style-family, "Font Awesome 6 Free", "Font Awesome 6 Brands", fontawesome);
font-weight: 700;
font-size: 40px;
position: fixed;
top: 50%;
Expand Down Expand Up @@ -123,12 +124,21 @@ body.format-kickstart .form-control .fa-search {
flex: 1 1 auto;
padding: 1.25rem;
}
.format-kickstart .card-body .card-title {
margin-top: 10px;
.format-kickstart .card-body .card-title,
.format-kickstart .card-body .card-text,
.format-kickstart .card-body p {
margin-bottom: 0;
}
.format-kickstart .card-body .text-muted {
margin-top: 5px;
}
.format-kickstart .card-body .card-text:empty,
.format-kickstart .card-body .text-muted:empty {
display: none;
}
.format-kickstart .course-content > .card .card-body {
text-align: right;
padding: 0;
display: flex;
align-items: center;
}
Expand All @@ -137,19 +147,19 @@ body.format-kickstart .form-control .fa-search {
float: none;
margin: 1rem 0;
}
.format-kickstart .course-content > .card .card-body {
.card-title {
text-align: left;
margin-top: 5px;
margin-bottom: 9px;
margin-right: 5px;
}
a.btn {
margin-right: 5px;
&:not(.btn-outline-dark) {
margin-left: auto;
}
}
.format-kickstart .course-content > .card .card-body .card-title {
width: 50%;
text-align: left;
margin-top: 5px;
margin-bottom: 9px;
margin-right: 5px;
}
.format-kickstart .course-content > .card .card-body a.btn {
margin-right: 5px;
margin-bottom: 5px;
}
.format-kickstart .course-content > .card .card-body a.btn:not(.btn-outline-dark) {
margin-left: auto;
}
.format-kickstart .card-footer {
padding: .75rem 1.25rem;
Expand All @@ -162,13 +172,11 @@ body.format-kickstart .form-control .fa-search {
}

@media (min-width: 576px) {
.mform > .form-group {
.format-kickstart .mform > .form-group {
margin-left: 1.5rem;
}
.format-kickstart .course-content > .card .card-body .card-title {
width: 66%;
}
}

body#page-course-format-kickstart-template.template-designer-format #fitem_id_coursetype {
display: none;
}
Expand All @@ -183,6 +191,7 @@ body#page-course-format-kickstart-template.template-designer-format #fitem_id_co
align-items: center;
}
.format-kickstart .course-content .kickstart-list-view .templates-block .card .card-body {
padding: 0;
display: flex;
align-items: center;
}
Expand Down Expand Up @@ -225,9 +234,7 @@ body#page-course-format-kickstart-template.template-designer-format #fitem_id_co
text-align: right;
border: 0;
background: none;
}
.format-kickstart .course-content .kickstart-list-view .templates-block .card .card-footer a {
margin-bottom: 10px;
padding: 0;
}
.format-kickstart .course-content .kickstart-list-view .templates-block .card .card-footer a.btn-outline-primary {
margin-left: 10px;
Expand All @@ -237,4 +244,25 @@ body#page-course-format-kickstart-template.template-designer-format #fitem_id_co
}
#page-admin-course-format-kickstart-templates .generaltable tbody tr td .singlebutton + .singlebutton {
margin: 10px 0;
}
}

/* Content Migration from course block */
.format-kickstart.path-course-view .course-content .card {
padding: 15px;
}
/* Teacher profile block */
.format-kickstart.path-course-view .course-content .card .card-header,
.format-kickstart.path-course-view .course-content .card .card-header img {
border-radius: 50%;
}
/* End of Teacher profile block */
.format-kickstart.path-course-view .course-content .card .card-block a.btn {
margin-right: 10px;
}
.format-kickstart.path-course-view .input-group-append {
border: 0;
}
.format-kickstart.path-course-view .input-group-append button i.icon {
margin: 0;
}
/* End of Content Migration from course block */
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2024110800; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2024111100; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2022041900; // Requires this Moodle version.
$plugin->release = 'Version 1.3';
$plugin->release = 'Version 1.4';
$plugin->component = 'format_kickstart'; // Full name of the plugin (used for diagnostics).
$plugin->supported = [400, 403];
$plugin->supported = [400, 405];
$plugin->maturity = MATURITY_STABLE;

0 comments on commit 419cef5

Please sign in to comment.