__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* some very targetted corrections to roll back nameclashes between
* Moodle and Bootstrap like .row, .label, .content, .controls
*
* Mostly relies on these styles being more specific than the Bootstrap
* ones in order to overule them.
*/
// .label vs .label
li.activity.label,
.file-picker td.label {
background: inherit;
color: inherit;
text-shadow: none;
white-space: normal;
display: block;
font-size: inherit;
line-height: inherit;
text-align: inherit;
}
.file-picker td.label {
border: inherit;
display: table-cell;
text-align: right;
padding: 8px;
}
// Some of this dialog is sized in ems so a different font size
// effects the whole layout.
.choosercontainer #chooseform .option {
font-size: 12px;
}
/* block.invisible vs .invisible
* block.hidden vs .invisible
*
* uses .invisible where the rest of Moodle uses @mixin dimmed
* fixible in block renderer?
*
* There's seems to be even more naming confusion here since,
* blocks can be actually 'visible' (or not) to students,
* marked 'visible' but really just dimmed to indicate to editors
* that students can't see them or 'visible' to the user who
* collapses them, 'visible' if you have the right role and in
* different circumstances different sections of a block can
* be 'visible' or not.
*
* currently worked around in renderers.php function block{}
* by rewriting the class name "invisible" to "dimmed",
* though the blocks don't look particularly different apart
* from their contents disappearing. Maybe try .muted? or
* dimming all the edit icons apart from unhide, might be a
* nice effect, though they'd still be active. Maybe reverse
* it to white?
*/
.section.hidden,
.block.hidden,
.block.invisible {
visibility: visible;
display: block;
}
/* .row vs .row
*
* very tricky to track down this when it goes wrong,
* since the styles are applied to generated content
*
* basically if you see things shifted left or right compared
* with where they should be check for a .row
*/
.forumpost .row {
margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
}
.forumpost .row:before,
.forumpost .row:after {
content: none;
}
/* fieldset.hidden vs .hidden
*
* Moodle uses fieldset.hidden for mforms, to signify a collection of
* form elements that don't have a box drawn round them. Bootstrap
* uses hidden for stuff that is hidden in various responsive modes.
*
* Relatedly, there is also fieldset.invisiblefieldset which hides the
* border and sets the display to inline.
*
* Originally this just set block and visible, but it is used
* in random question dialogue in Quiz,
* that dialogue is hidden and shown, so when hidden the
* above workaround leaves you with a button floating around
*/
fieldset.hidden {
display: inherit;
visibility: inherit;
}
/* .container vs .container
*
* bootstrap uses .container to set the width of the layout at 960px or so, Moodle uses it
* in the Quiz to contain the questions to add. If you don't overule the Bootstrap code,
* it becomes near unuseable.
*/
#questionbank + .container {
width: auto;
}
// Allow the custom menu to expand/collapse when the user hovers over it with JS disabled.
body:not(.jsenabled) .dropdown:hover > .dropdown-menu {
display: block;
margin-top: -6px; // We need to move it up to counter the arrows as they introduce hover bugs.
}
// Enable scroll in the language menu.
body:not(.jsenabled) .langmenu:hover > .dropdown-menu,
.langmenu.open > .dropdown-menu {
display: block;
max-height: 150px;
overflow-y: auto;
}
// Set menus in the fixed header to scroll vertically when they are longer than the page.
.navbar.fixed-top .dropdown .dropdown-menu {
max-height: calc(100vh - #{$navbar-height});
overflow-y: auto;
}
// Dont allow z-index creep anywhere.
.page-item {
&.active .page-link {
&,
&:hover,
&:focus {
z-index: inherit;
}
}
}
// Fixes an issue on Safari when the .custom-select is inside a .card class.
.custom-select {
word-wrap: normal;
}
/* Add commented out carousel transistions back in.
*
* The Css prefixer used in Moodle breaks on @supports syntax, See MDL-61515.
*/
.carousel-item-next.carousel-item-left,
.carousel-item-prev.carousel-item-right {
transform: translateX(0);
}
.carousel-item-next,
.active.carousel-item-right {
transform: translateX(100%);
}
.carousel-item-prev,
.active.carousel-item-left {
transform: translateX(-100%);
}
/**
* Reset all of the forced style on the page.
* - Remove borders on header and content.
* - Remove most of the vertical padding.
* - Make the content region flex grow so it pushes things like the
* next activity selector to the bottom of the page.
*/
$allow-reset-style: true !default;
@if $allow-reset-style {
body.reset-style {
#page-header {
.card {
border: none;
.page-header-headings {
h1 {
margin-bottom: 0;
}
}
.card-body {
@include media-breakpoint-down(sm) {
padding-left: 0;
padding-right: 0;
}
}
}
& > div {
padding-top: 0 !important; /* stylelint-disable-line declaration-no-important */
padding-bottom: 0 !important; /* stylelint-disable-line declaration-no-important */
}
}
#page-content {
padding-bottom: 0 !important; /* stylelint-disable-line declaration-no-important */
#region-main-box {
#region-main {
border: none;
display: inline-flex;
flex-direction: column;
padding: 0;
height: 100%;
width: 100%;
padding-left: $card-spacer-x;
padding-right: $card-spacer-x;
vertical-align: top;
div[role="main"] {
flex: 1 0 auto;
}
.activity-navigation {
overflow: hidden;
}
&.has-blocks {
width: calc(100% - #{$blocks-plus-gutter});
@include media-breakpoint-down(lg) {
width: 100%;
}
}
@include media-breakpoint-down(sm) {
padding-left: 0;
padding-right: 0;
}
}
[data-region="blocks-column"] {
margin-left: auto;
}
@include media-breakpoint-down(lg) {
display: flex;
flex-direction: column;
}
}
}
select,
input,
textarea,
.btn:not(.btn-icon) {
border-radius: $border-radius-lg;
}
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| action-menu.scss | File | 2.43 KB | 0777 |
|
| admin.scss | File | 12.84 KB | 0777 |
|
| atto.scss | File | 4.99 KB | 0777 |
|
| backup-restore.scss | File | 4.83 KB | 0777 |
|
| blocks.scss | File | 8.11 KB | 0777 |
|
| bootstrap-rtl.scss | File | 1.76 KB | 0777 |
|
| bs5-bridge.scss | File | 3.44 KB | 0777 |
|
| buttons.scss | File | 2.02 KB | 0777 |
|
| calendar.scss | File | 18.75 KB | 0777 |
|
| chat.scss | File | 2.28 KB | 0777 |
|
| contentbank.scss | File | 3.75 KB | 0777 |
|
| core.scss | File | 62.36 KB | 0777 |
|
| course.scss | File | 43.36 KB | 0777 |
|
| courseindex.scss | File | 5.39 KB | 0777 |
|
| debug.scss | File | 2.6 KB | 0777 |
|
| deprecated.scss | File | 1.52 KB | 0777 |
|
| drawer.scss | File | 7.55 KB | 0777 |
|
| dropdown.scss | File | 1.19 KB | 0777 |
|
| filemanager.scss | File | 21 KB | 0777 |
|
| forms.scss | File | 11.98 KB | 0777 |
|
| grade.scss | File | 18.4 KB | 0777 |
|
| icons.scss | File | 5.64 KB | 0777 |
|
| layout.scss | File | 5.75 KB | 0777 |
|
| login.scss | File | 2.12 KB | 0777 |
|
| message.scss | File | 14.99 KB | 0777 |
|
| modal.scss | File | 1.58 KB | 0777 |
|
| modules.scss | File | 44.08 KB | 0777 |
|
| moodlenet.scss | File | 2.48 KB | 0777 |
|
| moremenu.scss | File | 2.71 KB | 0777 |
|
| navbar.scss | File | 4.87 KB | 0777 |
|
| popover-region.scss | File | 10.16 KB | 0777 |
|
| prefixes.scss | File | 1.21 KB | 0777 |
|
| primarynavigation.scss | File | 691 B | 0777 |
|
| print.scss | File | 312 B | 0777 |
|
| process-monitor.scss | File | 884 B | 0777 |
|
| question.scss | File | 13.53 KB | 0777 |
|
| reportbuilder.scss | File | 11.77 KB | 0777 |
|
| reports.scss | File | 1.66 KB | 0777 |
|
| search.scss | File | 1.77 KB | 0777 |
|
| secondarynavigation.scss | File | 558 B | 0777 |
|
| sticky-footer.scss | File | 2.42 KB | 0777 |
|
| tables.scss | File | 1.86 KB | 0777 |
|
| templates.scss | File | 238 B | 0777 |
|
| tertiarynavigation.scss | File | 1.69 KB | 0777 |
|
| toasts.scss | File | 1.16 KB | 0777 |
|
| tool_usertours.scss | File | 3.36 KB | 0777 |
|
| undo.scss | File | 7.05 KB | 0777 |
|
| user.scss | File | 5.28 KB | 0777 |
|
| variables.scss | File | 12.18 KB | 0777 |
|