Skip to content

Commit

Permalink
MDL-82457 theme_boost: Remove styles for chat and survey
Browse files Browse the repository at this point in the history
* Remove styles that were associated with the modules
  • Loading branch information
laurentdavid committed Nov 15, 2024
1 parent 3e63ffb commit e075d75
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 291 deletions.
5 changes: 5 additions & 0 deletions .upgradenotes/MDL-82457-2024111509052922.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
issueNumber: MDL-82457
notes:
theme_boost:
- message: Remove styles related to mod_chat and mod_survey.
type: removed
1 change: 0 additions & 1 deletion theme/boost/scss/moodle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ $breadcrumb-divider-rtl: "◀" !default;
@import "moodle/forms";
@import "moodle/login";
@import "moodle/modules";
@import "moodle/chat";
@import "moodle/reports";
@import "moodle/backup-restore";
@import "moodle/tables";
Expand Down
90 changes: 0 additions & 90 deletions theme/boost/scss/moodle/chat.scss

This file was deleted.

23 changes: 0 additions & 23 deletions theme/boost/scss/moodle/modules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -967,10 +967,6 @@ $grading-content-show-content-button-padding-left: calc(#{map-get($spacers, 2) *
text-align: inherit;
}

#page-mod-chat-gui_basic input#message {
max-width: 100%;
}

#page-mod-data-view #singleimage {
width: auto;
}
Expand Down Expand Up @@ -1054,25 +1050,6 @@ div#dock {
width: 100%;
}

// Survey module

.path-mod-survey {
.surveytable {
> tbody > tr:nth-of-type(odd) {
background-color: $table-bg;
}

> tbody > tr:nth-of-type(even) {
background-color: $table-accent-bg;
}

.rblock label {
text-align: center;
}
}

}

.nav .caret {
margin-left: 4px;
}
Expand Down
5 changes: 0 additions & 5 deletions theme/boost/scss/moodle/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,6 @@ $backup-restore-state12-bg: #222 !default;
// Calendar
$calendar-month-clickable-bg: #ededed !default;


// Chat
$chat-users-list-img-border-color: #ccc !default;


// Core
$yui-overlay-bg: #ffee69 !default;
$yui-overlay-color: $black !default;
Expand Down
86 changes: 0 additions & 86 deletions theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -34421,10 +34421,6 @@ select {
text-align: inherit;
}

#page-mod-chat-gui_basic input#message {
max-width: 100%;
}

#page-mod-data-view #singleimage {
width: auto;
}
Expand Down Expand Up @@ -34507,13 +34503,6 @@ div#dock {
width: 100%;
}

.path-mod-survey .surveytable > tbody > tr:nth-of-type(even) {
background-color: rgba(0, 0, 0, 0.03);
}
.path-mod-survey .surveytable .rblock label {
text-align: center;
}

.nav .caret {
margin-left: 4px;
}
Expand Down Expand Up @@ -35190,81 +35179,6 @@ img.userpicture {
content: " ► ";
}

.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax {
background-color: #fff;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit div.yui-layout-bd-nohd,
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit div.yui-layout-bd-noft,
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit div.yui-layout-bd,
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit-right,
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit-bottom {
border: 0;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit-right,
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit-bottom {
border-radius: 0;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit div.yui-layout-bd {
background-color: transparent;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit.yui-layout-unit-center div.yui-layout-bd {
background-color: #f8f9fa;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-input-area.py-3 {
padding: 0 !important; /* stylelint-disable-line declaration-no-important */
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-input-area table.generaltable,
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-input-area table.generaltable td.cell {
border: 0;
padding: 3px 15px;
white-space: nowrap;
margin-bottom: 0;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-userlist {
padding: 10px 5px;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-userlist #users-list {
border-top: 1px solid #dee2e6;
border-bottom: 1px solid #fff;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-userlist #users-list li {
border-top: 1px solid #fff;
border-bottom: 1px solid #dee2e6;
padding: 5px 10px;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-userlist #users-list img {
margin-right: 8px;
border: 1px solid #ccc;
border-radius: 4px;
max-width: none;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-messages {
margin: 20px 25px;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-messages .chat-event.course-theme {
text-align: center;
margin: 10px 0;
font-size: 0.8203125rem;
color: #495057;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-messages .chat-message.course-theme {
margin-bottom: 0.75rem;
border-radius: 0.5rem;
border: 1px solid rgba(0, 0, 0, 0.125);
padding: 1.25rem;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-messages .chat-message.course-theme .time {
float: right;
font-size: 11px;
color: #495057;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-messages .chat-message.course-theme {
background-color: #fff;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-messages .chat-message.course-theme .user {
font-weight: bold;
}

/* reports.less */
#page-report-participation-index .participationselectform div label {
display: inline-block;
Expand Down
86 changes: 0 additions & 86 deletions theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -34421,10 +34421,6 @@ select {
text-align: inherit;
}

#page-mod-chat-gui_basic input#message {
max-width: 100%;
}

#page-mod-data-view #singleimage {
width: auto;
}
Expand Down Expand Up @@ -34507,13 +34503,6 @@ div#dock {
width: 100%;
}

.path-mod-survey .surveytable > tbody > tr:nth-of-type(even) {
background-color: rgba(0, 0, 0, 0.03);
}
.path-mod-survey .surveytable .rblock label {
text-align: center;
}

.nav .caret {
margin-left: 4px;
}
Expand Down Expand Up @@ -35190,81 +35179,6 @@ img.userpicture {
content: " ► ";
}

.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax {
background-color: #fff;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit div.yui-layout-bd-nohd,
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit div.yui-layout-bd-noft,
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit div.yui-layout-bd,
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit-right,
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit-bottom {
border: 0;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit-right,
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit-bottom {
border-radius: 0;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit div.yui-layout-bd {
background-color: transparent;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax .yui-layout-unit.yui-layout-unit-center div.yui-layout-bd {
background-color: #f8f9fa;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-input-area.py-3 {
padding: 0 !important; /* stylelint-disable-line declaration-no-important */
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-input-area table.generaltable,
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-input-area table.generaltable td.cell {
border: 0;
padding: 3px 15px;
white-space: nowrap;
margin-bottom: 0;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-userlist {
padding: 10px 5px;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-userlist #users-list {
border-top: 1px solid #dee2e6;
border-bottom: 1px solid #fff;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-userlist #users-list li {
border-top: 1px solid #fff;
border-bottom: 1px solid #dee2e6;
padding: 5px 10px;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-userlist #users-list img {
margin-right: 8px;
border: 1px solid #ccc;
border-radius: 4px;
max-width: none;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-messages {
margin: 20px 25px;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-messages .chat-event.course-theme {
text-align: center;
margin: 10px 0;
font-size: 0.8203125rem;
color: #495057;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-messages .chat-message.course-theme {
margin-bottom: 0.75rem;
border-radius: 0.25rem;
border: 1px solid rgba(0, 0, 0, 0.125);
padding: 1.25rem;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-messages .chat-message.course-theme .time {
float: right;
font-size: 11px;
color: #495057;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-messages .chat-message.course-theme {
background-color: #fff;
}
.yui-skin-sam .yui-layout.path-mod-chat-gui_ajax #chat-messages .chat-message.course-theme .user {
font-weight: bold;
}

/* reports.less */
#page-report-participation-index .participationselectform div label {
display: inline-block;
Expand Down

0 comments on commit e075d75

Please sign in to comment.