Skip to content

Commit

Permalink
MDL-55071 theme_boost: fix indentation in scss files
Browse files Browse the repository at this point in the history
Part of MDL-55071
  • Loading branch information
danpoltawski committed Sep 23, 2016
1 parent 773e68b commit 9cb4123
Show file tree
Hide file tree
Showing 13 changed files with 175 additions and 175 deletions.
12 changes: 6 additions & 6 deletions theme/boost/scss/moodle/calendar.scss
Expand Up @@ -292,12 +292,12 @@ $calendarEventUserColor: #dce7ec; // Pale blue.
//background-color: $grayLighter;
//border: 1px solid $grayLighter;
.yui3-overlay-content {
@extend .card;
// padding: 19px;
// background-color: lighten($wellBackground, 3%);
// border: 1px solid darken($wellBackground, 7%);
// @include border-radius($baseBorderRadius);
// @include box-shadow(inset 0 1px 1px rgba(0 ,0 ,0 , .05));
@extend .card;
// padding: 19px;
// background-color: lighten($wellBackground, 3%);
// border: 1px solid darken($wellBackground, 7%);
// @include border-radius($baseBorderRadius);
// @include box-shadow(inset 0 1px 1px rgba(0 ,0 ,0 , .05));
h2 {
&.eventtitle {
line-height: 1.2;
Expand Down
38 changes: 19 additions & 19 deletions theme/boost/scss/moodle/core.scss
Expand Up @@ -946,12 +946,12 @@ tr.flagged-tag a {
margin-bottom: 0;
}
}
.user-enroller-panel .uep-search-results .user .details {
width: 237px;
}
.user-enroller-panel .uep-search-results .cohort .details {
width: 237px;
}
.user-enroller-panel .uep-search-results .user .details {
width: 237px;
}
.user-enroller-panel .uep-search-results .cohort .details {
width: 237px;
}
}
#page-enrol-users .enrol-users-page-action input {
margin-left: 0
Expand All @@ -978,21 +978,21 @@ tr.flagged-tag a {
display: table-cell;
}
.label .mod-indent {
float:left;
padding-top:20px
float:left;
padding-top:20px
}

$mod-indent-size: 30px;
/* Creates a series of .mod-indent-# rule declarations based on indent size and number of indent levels. */
@for $i from 1 through 16 {
$width: ($i * $mod-indent-size);
$width: ($i * $mod-indent-size);

.mod-indent-#{$i} {
width: $width;
}
.mod-indent-#{$i} {
width: $width;
}
}
.mod-indent-huge {
width: (16 * $mod-indent-size);
width: (16 * $mod-indent-size);
}

/* Audio player size in 'block' mode (can only change width, height is hardcoded in JS) */
Expand Down Expand Up @@ -1333,7 +1333,7 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
/* The instruction/help area */
.jschooser .choosercontainer #chooseform .instruction,
.jschooser .choosercontainer #chooseform .typesummary {
display: none;
display: none;
position: absolute;
top: 0;
right: 0;
Expand Down Expand Up @@ -1738,8 +1738,8 @@ a.disabled {
color: #808080;
}
body.lockscroll {
height: 100%;
overflow: hidden;
height: 100%;
overflow: hidden;
}

.progressbar_container {
Expand All @@ -1754,11 +1754,11 @@ body.lockscroll {

dd:before,
dd:after {
display: block;
content: " ";
display: block;
content: " ";
}
dd:after {
clear: both;
clear: both;
}

// Active tabs with links should have a different
Expand Down
30 changes: 15 additions & 15 deletions theme/boost/scss/moodle/course.scss
Expand Up @@ -99,17 +99,17 @@
}
}
.label {
.contentwithoutlink,
.activityinstance {
padding-right: 32px;
display: block;
height: inherit;
}
.contentwithoutlink,
.activityinstance {
padding-right: 32px;
display: block;
height: inherit;
}

.mod-indent-outer {
padding-left: 24px;
display: block;
}
.mod-indent-outer {
padding-left: 24px;
display: block;
}
}

.filler {
Expand Down Expand Up @@ -832,7 +832,7 @@ span.editinstructions {
}
> .firstpage .listitem:first-child > div .item-actions .action-moveup,
> .lastpage .listitem:last-child > div .item-actions .action-movedown {
display: none;
display: none;
}
.bulk-action-checkbox {
margin:-2px 6px 0 0;
Expand Down Expand Up @@ -861,7 +861,7 @@ span.editinstructions {
}
&:first-child > div .item-actions .action-moveup,
&:last-child > div .item-actions .action-movedown {
display: none;
display: none;
}
}
.course-count {
Expand Down Expand Up @@ -955,9 +955,9 @@ span.editinstructions {
float:right;
line-height:40px;
> div {
margin-left:1em;
margin: 10px 0;
display:inline-block;
margin-left:1em;
margin: 10px 0;
display:inline-block;
}
}
select {
Expand Down
36 changes: 18 additions & 18 deletions theme/boost/scss/moodle/expendable.scss
Expand Up @@ -44,26 +44,26 @@ table#permissions {
// language editing progress bar
// copied in because the styles are set on the HTML
div[id^="bar_pbar_"] {
overflow: hidden !important;
height: $line-height-base !important;
margin-bottom: $line-height-base !important;
@include gradient-y(#f5f5f5, #f9f9f9);
@include box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
@include border-radius($border-radius);
border: none !important;
overflow: hidden !important;
height: $line-height-base !important;
margin-bottom: $line-height-base !important;
@include gradient-y(#f5f5f5, #f9f9f9);
@include box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
@include border-radius($border-radius);
border: none !important;
}
div[id^="progress_pbar_"] {
height: 100% !important;
color: $body-bg !important;
float: left !important;
font-size: 12px !important;
text-align: center !important;
text-shadow: 0 -1px 0 rgba(0,0,0,.25) !important;
@include gradient-y(#149bdf, #0480be);
@include box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
@include transition(width .6s ease);
padding-top: 0 !important;
border: none !important;
height: 100% !important;
color: $body-bg !important;
float: left !important;
font-size: 12px !important;
text-align: center !important;
text-shadow: 0 -1px 0 rgba(0,0,0,.25) !important;
@include gradient-y(#149bdf, #0480be);
@include box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
@include transition(width .6s ease);
padding-top: 0 !important;
border: none !important;
}
// colored buttons
input.form-submit,
Expand Down
2 changes: 1 addition & 1 deletion theme/boost/scss/moodle/filemanager.scss
@@ -1,4 +1,4 @@
// File Picker and File Manager
// File Picker and File Manager
.fp-content-center {
height: 100%;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion theme/boost/scss/moodle/grade.scss
Expand Up @@ -307,7 +307,7 @@
cursor: pointer;
}
}
}
}

/**
* User report.
Expand Down
4 changes: 2 additions & 2 deletions theme/boost/scss/moodle/message.scss
Expand Up @@ -228,7 +228,7 @@ table.message .searchresults td {
margin-left: 20px;
}
.message .messagearea .messagehistory .messageactive {
background-color: $table-bg-hover;
background-color: $table-bg-hover;
}
.message .messagearea .messagesend {
padding-top: 20px;
Expand Down Expand Up @@ -316,7 +316,7 @@ table.message .searchresults td {
.message-input {
width: 100%;
height: 100%;
// @include box-sizing(border-box);
// @include box-sizing(border-box);
}
.message-send {
margin: 0;
Expand Down
28 changes: 14 additions & 14 deletions theme/boost/scss/moodle/modules.scss
Expand Up @@ -128,7 +128,7 @@ select {

// Override hardcoded forum modules styling
.forumsearch input[type=text] {
margin-bottom: 0 !important;
margin-bottom: 0 !important;
}

#page-mod-forum-discuss .discussioncontrols {
Expand Down Expand Up @@ -233,8 +233,8 @@ div#dock {

.path-mod-survey {
.surveytable {
> tbody > tr:nth-of-type(odd) {background-color: $table-bg;}
> tbody > tr:nth-of-type(even) {background-color: $table-bg-accent;}
> tbody > tr:nth-of-type(odd) {background-color: $table-bg;}
> tbody > tr:nth-of-type(even) {background-color: $table-bg-accent;}
.rblock label {text-align: center;}
}
.resultgraph, .reportsummary, .studentreport, .reportbuttons, .centerpara {
Expand All @@ -251,18 +251,18 @@ div#dock {
.divider {
overflow: hidden;
width: 0;
// height: $navbarHeight;
// border-left: 1px solid $navbarBackground;
// border-right: 1px solid $navbarBackgroundHighlight;
// height: $navbarHeight;
// border-left: 1px solid $navbarBackground;
// border-right: 1px solid $navbarBackgroundHighlight;
}
}
//.navbar-inverse {
// .nav {
// .divider {
// border-left-color: $navbarInverseBackground;
// border-right-color: lighten($navbarInverseBackground, 25%);
// }
// }
// .divider {
// border-left-color: $navbarInverseBackground;
// border-right-color: lighten($navbarInverseBackground, 25%);
// }
// }
//}

// Usermenu
Expand Down Expand Up @@ -557,9 +557,9 @@ div#dock {
top: auto;
}
.path-mod-assign [data-region="grade-panel"] .has-popout {
background-color: $card-bg;
@include border-radius($card-border-radius);
border: $card-border-width solid $card-border-color;
background-color: $card-bg;
@include border-radius($card-border-radius);
border: $card-border-width solid $card-border-color;
}
.path-mod-assign [data-region="grade-panel"] .popout {
background-color: $modal-content-bg;
Expand Down
18 changes: 9 additions & 9 deletions theme/boost/scss/moodle/question.scss
Expand Up @@ -79,9 +79,9 @@
overflow-y: auto;
max-height: 400px;
max-height: calc(100vh - 15em);
/* The next line is a workaround because recess is crap. Delete ththe following line once
* https://github.com/twitter/recess/issues/59 / https://github.com/twitter/recess/issues/75
* is fixed. The previous line is the right one. */
/* The next line is a workaround because recess is crap. Delete ththe following line once
* https://github.com/twitter/recess/issues/59 / https://github.com/twitter/recess/issues/75
* is fixed. The previous line is the right one. */
max-height: 60vh;
width: 60%;
}
Expand Down Expand Up @@ -279,9 +279,9 @@ body.path-question-type .fitem_fgroup .accesshide {
border-color: $borderColor;
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
&:focus {
border-color: darken($borderColor, 10%);
$shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($borderColor, 20%);
@include box-shadow($shadow);
border-color: darken($borderColor, 10%);
$shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($borderColor, 20%);
@include box-shadow($shadow);
}
}

Expand All @@ -296,15 +296,15 @@ body.path-question-type .fitem_fgroup .accesshide {
}
.formulation select.correct,
.formulation input.correct {
@include answerState($btn-success-color, $btn-success-bg);
@include answerState($btn-success-color, $btn-success-bg);
}
.formulation select.partiallycorrect,
.formulation input.partiallycorrect {
@include answerState($btn-warning-color, $btn-warning-bg);
@include answerState($btn-warning-color, $btn-warning-bg);
}
.formulation select.incorrect,
.formulation input.incorrect {
@include answerState($btn-danger-color, $btn-danger-bg);
@include answerState($btn-danger-color, $btn-danger-bg);
}

.que .grading,
Expand Down

0 comments on commit 9cb4123

Please sign in to comment.