first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-09-30 18:11:26 -04:00
commit e592ca6823
27270 changed files with 5002257 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
// Import All of Bootstrap
@import "../../boost/scss/bootstrap";
@@ -0,0 +1,10 @@
body {
background-image: url($imageurl);
background-size: cover;
}
.region-main .region-main-content {
padding: 0.875rem;
background-color: $body-bg;
border: $card-border-width solid $card-border-color;
@include border-radius($card-border-radius);
}
@@ -0,0 +1,28 @@
$nabvar-bg-color: $dark !default;
.navbar-bootswatch {
@extend .navbar-dark;
background-color: $nabvar-bg-color;
.usermenu {
color: $navbar-dark-color;
.login a {
color: $navbar-dark-color;
}
}
a.dropdown-toggle,
a .usertext {
color: $navbar-dark-active-color;
&:hover,
&:focus {
color: $navbar-dark-hover-color;
}
&.disabled {
color: $navbar-dark-disabled-color;
}
}
.dropdown-menu a .icon {
color: inherit !important; // stylelint-disable-line declaration-no-important
}
}
@@ -0,0 +1,4 @@
.navbar-bootswatch {
@extend .navbar-light;
background-color: $white;
}
+208
View File
@@ -0,0 +1,208 @@
// General Post SCSS for use in all presets.
// Generate the column layout css.
@mixin page_layout($blockswidth) {
$mainwidth-oneblock: (100% - $blockswidth);
$mainwidth-twoblocks: (100% - $blockswidth * 2);
#page-content {
display: flex;
.region-main {
flex: 0 0 100%;
padding: 0 1rem;
max-width: 100%;
}
&.blocks-pre {
.columnleft {
flex: 0 0 $blockswidth;
order: -1;
padding: 0 1rem;
max-width: $blockswidth;
}
.region-main {
flex: 0 0 $mainwidth-oneblock;
max-width: $mainwidth-oneblock;
padding: 0 1rem 0 0;
#region-main {
border: $card-border-width solid $card-border-color;
padding: $card-spacer-x;
@if $enable-rounded {
@include border-radius($card-border-radius);
}
}
}
}
&.blocks-post {
.region-main {
flex: 0 0 $mainwidth-oneblock;
max-width: $mainwidth-oneblock;
padding: 0 0 0 1rem;
}
.columnright {
flex: 0 0 $blockswidth;
padding: 0 1rem;
max-width: $blockswidth;
}
}
&.blocks-pre.blocks-post {
.region-main {
flex: 0 0 $mainwidth-twoblocks;
max-width: $mainwidth-twoblocks;
padding: 0;
}
}
[data-region="blocks-column"] {
width: 100%;
}
}
.empty-region-side-pre {
&.used-region-side-post {
#page-content {
.region-main {
flex: 0 0 $mainwidth-oneblock;
max-width: $mainwidth-oneblock;
padding-left: 1rem;
}
.columnright {
flex: 0 0 $blockswidth;
padding: 0 1rem;
max-width: $blockswidth;
}
}
}
}
.empty-region-side-post {
&.used-region-side-pre {
#page-content {
.region-main {
flex: 0 0 $mainwidth-oneblock;
max-width: $mainwidth-oneblock;
padding-right: 1rem;
}
.columnleft {
flex: 0 0 $blockswidth;
order: -1;
padding: 0 1rem;
max-width: $blockswidth;
}
}
}
}
.used-region-side-post {
&.used-region-side-pre {
#page-content {
.region-main {
flex: 0 0 $mainwidth-twoblocks;
max-width: $mainwidth-twoblocks;
padding: 0;
}
.columnleft {
flex: 0 0 $blockswidth;
order: -1;
padding: 0 1rem;
max-width: $blockswidth;
}
.columnright {
flex: 0 0 $blockswidth;
padding: 0 1rem;
max-width: $blockswidth;
}
}
}
}
}
.path-grade-report-grader .gradeparent {
tr.heading {
top: $navbar-height;
}
th.header {
left: 0;
}
}
// The block column needs some padding on small devices.
@include media-breakpoint-down(sm) {
.blockcolumn,
.region-main {
flex: 0 0 100%;
max-width: 100%;
padding: 0 1rem;
margin-bottom: 1rem;
}
}
// When changing this please check the size of the calendar block.
@include media-breakpoint-up(md) {
@include page_layout(32%);
}
@include media-breakpoint-up(lg) {
@include page_layout(25%);
}
@include media-breakpoint-up(xl) {
@include page_layout(20%);
}
@media print {
#page-content .region-main {
max-width: 100% !important; /* stylelint-disable-line declaration-no-important */
flex: 0 0 100% !important; /* stylelint-disable-line declaration-no-important */
padding: 0 1rem 0 !important; /* stylelint-disable-line declaration-no-important */
}
}
// Settings and Navigation blocks don't render well from default boost.
.block_navigation,
.block_settings {
.block_tree {
&.list > li > ul {
padding-left: 0;
}
.tree_item.branch {
margin-left: 5px;
padding-left: 0.75rem;
}
p.hasicon {
text-indent: 0;
padding-left: 0.75rem;
}
ul {
margin-left: 0.25rem;
padding-left: 1rem;
}
}
}
.block_navigation .block_tree p.hasicon .icon,
.block_settings .block_tree p.hasicon .icon {
margin-right: 5px;
}
// Remove left indenting from root nodes to allow sub-nodes to indent correctly.
.root_node,
.navigation_node {
margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
padding-left: 0 !important; /* stylelint-disable-line declaration-no-important */
}
.block.block_settings {
#settingsnav {
padding-top: 0 !important; /* stylelint-disable-line declaration-no-important */
}
}
#page-footer {
padding-top: $spacer * .5;
padding-bottom: $spacer * .5;
}
body.hasstickyfooter #page-footer {
padding-bottom: calc(#{$spacer} * .5 + #{$stickyfooter-height});
}
+7
View File
@@ -0,0 +1,7 @@
// General variables for all presets
// Disable the Boost theme reset styling and fixed width content.
$allow-reset-style: false;
$navbar-height: 50px;
$moremenu-height: 50px;
+4
View File
@@ -0,0 +1,4 @@
// This file allows the creation of precompiled css from the core Grunt task.
@import "classic/pre";
@import "preset/default";
@import "classic/post";
+2
View File
@@ -0,0 +1,2 @@
// Import FontAwesome.
@import "../../boost/scss/fontawesome";
+61
View File
@@ -0,0 +1,61 @@
// Import Boost Core moodle CSS
@import "../../boost/scss/moodle";
img.userpicture {
margin-right: 0.5rem;
}
.path-mod-forum {
// Style for the forum subscription mode node.
.subscriptionmode {
color: $body-color;
}
// Style for the currently selected subscription mode.
.activesetting {
color: $body-color;
font-weight: bold;
}
}
.path-mod-book {
#mod_book-chaptersnavigation {
margin: 0 -0.75rem;
@include media-breakpoint-down(sm) {
top: calc(100% - 150px);
z-index: 1;
}
}
.book_content {
margin: 0 30px;
@include media-breakpoint-down(sm) {
margin-left: -10px;
margin-right: -10px;
padding: 0 5px;
}
}
}
.tertiary-navigation {
&.full-width-bottom-border {
width: calc(100% + 2.5rem);
margin-left: -1.25rem;
margin-right: -1.25rem;
@include media-breakpoint-down(sm) {
width: calc(100% + 2rem);
margin-left: -1rem;
margin-right: -1rem;
}
}
}
#page-footer .homelink,
#page-footer .tool_dataprivacy,
#page-footer .purgecaches {
padding-bottom: 5px;
}
+150
View File
@@ -0,0 +1,150 @@
// Bootstrap variables
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #8f959e !default;
$gray-600: #6a737b !default;
$gray-700: #495057 !default;
$gray-800: #343a40 !default;
$gray-900: #1d2125 !default;
$black: #000 !default;
$blue: #0f6cbf !default;
$indigo: #6610f2 !default;
$purple: #613d7c !default;
$pink: #e83e8c !default;
$red: #ca3120 !default;
$orange: #f0ad4e !default;
$yellow: #ff7518 !default;
$green: #357a32 !default;
$teal: #20c997 !default;
$cyan: #008196 !default;
$primary: $blue !default;
$success: $green !default;
$info: $cyan !default;
$warning: $orange !default;
$danger: $red !default;
$secondary: $gray-400 !default;
$info-outline: #1f7e9a;
$warning-outline: #a6670e;
// Tables
$table-accent-bg: rgba($black, .03) !default;
// Options
$enable-rounded: true !default;
$enable-responsive-font-sizes: true !default;
// Body
$body-color: $gray-900 !default;
// Fonts
$font-size-base: 0.9375rem !default;
$rfs-base-font-size: 0.9rem !default;
$headings-font-weight: 300 !default;
// Navbar
$navbar-dark-hover-color: rgba($white, 1) !default;
$navbar-light-color: rgba($black, 0.6) !default;
$navbar-light-hover-color: rgba($black, .9) !default;
// Breadcrumbs
$breadcrumb-padding-y: .25rem !default;
$breadcrumb-padding-x: 0 !default;
$breadcrumb-item-padding: .5rem !default;
$breadcrumb-margin-bottom: 0 !default;
$breadcrumb-bg: transparent !default;
$breadcrumb-divider: "/" !default;
$breadcrumb-divider-rtl: "/" !default;
// Alerts
$alert-border-width: 0 !default;
$card-group-margin: .25rem;
// Toasts
$toast-color: $white !default;
$toast-background-color: rgba($gray-900, .95) !default;
$toast-header-color: $gray-100 !default;
$toast-header-background-color: rgba($white, .1) !default;
$input-btn-focus-color: rgba($primary, .75) !default;
$input-border-color: $gray-500 !default;
$dropdown-link-hover-color: $white;
$dropdown-link-hover-bg: $primary;
// stylelint-disable
$theme-colors: () !default;
$theme-colors: map-merge((
primary: $primary,
secondary: $secondary,
success: $success,
info: $info,
warning: $warning,
danger: $danger,
), $theme-colors);
// stylelint-enable
$spacer: 1rem !default;
$spacers: (
0: 0,
1: ($spacer * .25),
2: ($spacer * .5),
3: $spacer,
4: ($spacer * 1.5),
5: ($spacer * 2),
6: ($spacer * 3)
) !default;
// Import FontAwesome.
@import "fontawesome";
// Import All of Bootstrap
@import "bootstrap";
// Import Core moodle CSS
@import "moodle";
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
// Preset CSS
.navbar {
box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
}
// Rounded user pictures
.userpicture {
border-radius: 50%;
}
.block {
background-color: $gray-100;
}
#page-my-index {
background-color: $white;
}
// Reset the default styling back to the bootstrap defaults for
// the secondary outline button because gray-200 is much too light
// for an outline button.
.btn-outline-secondary {
@include button-outline-variant($gray-600);
border-color: $gray-600;
}
.btn-outline-info {
@include button-outline-variant($info-outline);
}
.btn-outline-warning {
@include button-outline-variant($warning-outline);
}
+8
View File
@@ -0,0 +1,8 @@
// Import FontAwesome.
@import "fontawesome";
// Import All of Bootstrap
@import "bootstrap";
// Import Core moodle CSS
@import "moodle";