Skip to content

Commit

Permalink
Fixed SCSS code formatting issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-milette committed Sep 8, 2024
1 parent 1365f12 commit 62c0777
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 21 deletions.
9 changes: 5 additions & 4 deletions scss/trema/courselist.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@
top: 72px;
left: 8px;
border-radius: $softness;
.img, .icon {
.img,
.icon {
padding: 4px;
margin: 0px;
}
margin: 0;
}
}
}

Expand Down Expand Up @@ -83,7 +84,7 @@ body#page-enrol-index {
font-size: .7rem;
}
body#page-enrol-index #region-main {
padding: 10px 5px!important;
padding: 10px 5px !important;
.generalbox.info {
div {
box-shadow: none;
Expand Down
6 changes: 3 additions & 3 deletions scss/trema/elements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ body #page {
}

.btn.btn-icon.icon-size-3 {
width: 44px !important;
width: 44px !important;
}

.btn.btn-icon:not([data-for="sectiontoggler"]),
Expand Down Expand Up @@ -281,7 +281,7 @@ body #page {
.btn.btn-secondary {
background-color: $white;
border: 1px solid rgba(144, 144, 144, 0.35);
box-shadow: inset 0 0 0 1px ;
box-shadow: inset 0 0 0 1px;
color: $black;
&:hover {
color: $black;
Expand Down Expand Up @@ -566,5 +566,5 @@ body.path-mod-quiz {

// For "Hidden from Student" badge (Moodle 4.4+).
.badge.rounded-pill.bg-secondary.text-dark {
color: white!important;
color: white !important;
}
8 changes: 3 additions & 5 deletions scss/trema/frontpage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ body#page-site-index {
display: block;
}
.btn .btn-primary {
box-shadow:rgba(51, 51, 51, 0.6) 5px 8px 9px;
box-shadow: rgba(51, 51, 51, 0.6) 5px 8px 9px;
}
}
}
Expand Down Expand Up @@ -175,9 +175,7 @@ body#page-site-index {
}
}


#defaultfrontpagebody {
padding-top: 3rem;
position: relative;
padding-top: 0;

Expand Down Expand Up @@ -297,6 +295,6 @@ body#page-site-index {

:dir(rtl) body#page-site-index #frontpage-banner #frontpage-banner-content,
:dir(rtl) body#page-site-index .carousel-inner .frontpage-banner-content {
transform: translate(50%, -50%);
right: auto;
transform: translate(50%, -50%);
right: auto;
}
2 changes: 1 addition & 1 deletion scss/trema/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
color: choose-contrast-color($header-bg-color);
margin-top: 0.1rem;
@media (max-width: 768px) {
display:none!important;
display: none !important;
}
}

Expand Down
6 changes: 3 additions & 3 deletions scss/trema/incourse.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,14 @@ body:not(#page-course-view-weeks, #page-course-view-topics, #page-course-view-re
}

body.pagelayout-course .section {
padding: 0.5rem!important;
padding: 0.5rem !important;
}

// For Gradebook report.
.initials-selector .initialswidget,
.pagination-sm .page-link {
padding: 0.25rem 0.5rem!important;
padding: 0.25rem 0.5rem !important;
}
body.pagelayout-report #page #page-content {
max-width: fit-content!important;
max-width: fit-content !important;
}
5 changes: 2 additions & 3 deletions scss/trema/login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ body#page-login-index {
#region-main-box {
padding: 0;
}

#page-content {
max-width: 550px;
margin: if($login-box-align == 'center', 0 auto, 0);
Expand Down Expand Up @@ -159,7 +159,6 @@ body#page-login-verify_age_location {
}

#page-content {
margin-top: 3rem;
background: transparent;
@extend %border-frequency;
margin-top: 0;
Expand Down Expand Up @@ -191,7 +190,7 @@ body#page-login-verify_age_location {
width: auto;
}
.pt-5 {
padding-top: 0!important;
padding-top: 0 !important;
}
}

Expand Down
4 changes: 2 additions & 2 deletions scss/trema/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ body {
}
}

[class *="alert-"] {
[class*="alert-"] {
color: #000000;
}

[class *="alert-"] a,
[class*="alert-"] a,
.btn-link {
text-decoration: underline;
color: #005ad8;
Expand Down

0 comments on commit 62c0777

Please sign in to comment.