Skip to content

Commit

Permalink
Merge pull request #43 from NHSLeadership/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
AndyMCole authored Aug 10, 2023
2 parents 40eb639 + 9a901c9 commit 3b2cb92
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 22 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nhsla/moodle-nhse",
"type": "moodle-theme",
"version": "2023073103",
"version": "2023081001",
"require": {
"composer/installers": "~1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

$THEME->doctype = 'html5';
$THEME->name = 'nhse';
$THEME->version = '2023073103';
$THEME->version = '2023081001';
$THEME->parents = ['boost'];
$THEME->regions = [];
$THEME->sheets = [];
Expand Down
73 changes: 54 additions & 19 deletions scss/nhse.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,22 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-weight: 600;
}

ul,
ol,
p {
font-size: initial;
line-height: initial;

ul {
@extend %nhsuk-list;
@extend %nhsuk-list--bullet;
}

ol {
@extend %nhsuk-list;
@extend %nhsuk-list--number;
}

.coursebox {
p {
font-size: initial;
line-height: initial;
}
}

.course_category_tree {
Expand All @@ -40,7 +51,13 @@ p {
* Button styles
*/
.btn {
&:not(.btn-link):not(.btn-icon):not(.search-icon):not(.dropdown-toggle):not(.icon-no-margin) {
&:not(.btn-close)
&:not(.btn-icon)
&:not(.btn-link)
&:not(.btn-open)
&:not(.search-icon)
&:not(.dropdown-toggle)
&:not(.icon-no-margin) {
@extend .nhsuk-button--small;
}
}
Expand Down Expand Up @@ -314,10 +331,13 @@ body.limitedwidth {

.navbar-nav {
.btn {
color: $btn-primary-text;
background-color: $btn-primary-background;
border-color: transparent;
border-bottom: none;
&:not(.btn-close)
&:not(.btn-open) {
color: $btn-primary-text;
background-color: $btn-primary-background;
border-color: transparent;
border-bottom: none;
}
}

.custom-control-input:checked~.custom-control-label::before {
Expand Down Expand Up @@ -352,10 +372,13 @@ body.limitedwidth {

.navbar-nav {
.btn {
color: $btn-default-text;
background-color: $btn-default-background;
border-color: transparent;
border-bottom: none;
&:not(.btn-close)
&:not(.btn-open) {
color: $btn-default-text;
background-color: $btn-default-background;
border-color: transparent;
border-bottom: none;
}
}
}

Expand Down Expand Up @@ -474,11 +497,23 @@ body.limitedwidth {
}
}

.simplesearchform .input-group input.form-control {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
.simplesearchform {
.collapse.show {
background-color: $color_nhsuk-blue;
}
.simplesearchform {
.collapsing {
background-color: $color_nhsuk-blue;
}
}
.input-group {
input.form-control {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
}
}

[data-region=right-hand-drawer].drawer {
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
defined('MOODLE_INTERNAL') || die();

// This is the version of the plugin.
$plugin->version = 2023073103;
$plugin->version = 2023081001;
$plugin->release = '401.0.1';
$plugin->maturity = MATURITY_BETA;

Expand Down

0 comments on commit 3b2cb92

Please sign in to comment.