Skip to content
Snippets Groups Projects
Commit 0e58bbc2 authored by Julian Tolstich's avatar Julian Tolstich
Browse files

Merge branch 'AddHshCourselistSpecificStyles' into 'main'

ADD Styling that also changes the hsh course list seach icon based on moodle backend setting

See merge request !1
parents 0901e976 67cd40cb
No related branches found
No related tags found
1 merge request!1ADD Styling that also changes the hsh course list seach icon based on moodle backend setting
...@@ -5,9 +5,9 @@ You can add your SCSS code here if you really need to. */ ...@@ -5,9 +5,9 @@ You can add your SCSS code here if you really need to. */
// Create variables to override the default value for variables used in the Moodle and Bootstrap SCSS files. // Create variables to override the default value for variables used in the Moodle and Bootstrap SCSS files.
/*************************** Import section *****************************/ /*************************** Import section *****************************/
@import "fontawesome"; // @import "fontawesome";
@import "bootstrap"; // @import "bootstrap";
@import "moodle"; // @import "moodle";
/*************************** Colors ****************************/ /*************************** Colors ****************************/
...@@ -164,7 +164,7 @@ input[type="checkbox"] { ...@@ -164,7 +164,7 @@ input[type="checkbox"] {
} }
} }
// Theme specific changes for this plugin https://lab.it.hs-hannover.de/elc/moodle-block_hshcourselist
#hshcourselistul { #hshcourselistul {
li.list-group-item { li.list-group-item {
&.active, &.active,
...@@ -178,10 +178,6 @@ input[type="checkbox"] { ...@@ -178,10 +178,6 @@ input[type="checkbox"] {
} }
} }
&:hover {
background-color: $dropdown-link-hover-bg;
}
&[data-key^="localboostnavigationcustombottomusers"], &[data-key^="localboostnavigationcustombottomusers"],
&[data-key^="localboostnavigationcustombottomadmins"] { &[data-key^="localboostnavigationcustombottomadmins"] {
margin-top: 0; margin-top: 0;
...@@ -189,6 +185,18 @@ input[type="checkbox"] { ...@@ -189,6 +185,18 @@ input[type="checkbox"] {
} }
} }
// Theme Blockicon settings needs to be enabled
@if variable-exists(blockicon) {
@if $blockicon == 'yes' {
.block_hshcourselist {
h5::before {
content: "\f002" !important;
}
}
}
}
// courselist changes end
.semesternode { .semesternode {
padding-left: 0px !important; padding-left: 0px !important;
} }
...@@ -222,22 +230,12 @@ input[type="checkbox"] { ...@@ -222,22 +230,12 @@ input[type="checkbox"] {
} }
} }
.block_hshcourselist {
h5::before {
content: "\f002" !important;
}
}
a[data-action="hide-course"] { a[data-action="hide-course"] {
display: none !important; display: none !important;
} }
.block_course_overview_campus { .site-name {
h5::before { display: none !important;
content: "\f2bb" !important;
}
} }
footer#page-footer { footer#page-footer {
...@@ -328,6 +326,7 @@ footer#page-footer { ...@@ -328,6 +326,7 @@ footer#page-footer {
} }
} }
// Global changes
.m-l-3, .m-l-3,
.m-x-3 { .m-x-3 {
margin-left: 0 !important; margin-left: 0 !important;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment