Merge branch 'MDL-71689-master' of git://github.com/ilyatregubov/moodle

This commit is contained in:
Andrew Nicols 2021-10-15 11:31:57 +08:00
commit 6dfd0bc8ce
6 changed files with 103 additions and 18 deletions

View file

@ -1253,3 +1253,25 @@ span.editinstructions {
font-size: 100%;
}
}
$activity-item-background: theme-color-level('primary', -12) !default;
$activity-item-border: theme-color-level('primary', -2) !default;
$activity-item-color: $body-color;
$activity-item-hover: theme-color-level('primary', -10) !default;
.activity-add {
@if $enable-rounded {
@include border-radius($card-border-radius);
}
@include alert-variant($activity-item-background, $activity-item-border, $activity-item-border);
border-width: $border-width;
border-style: dashed;
.pluscontainer {
border: $border-width solid $activity-item-border;
}
&:hover {
cursor: pointer;
background-color: $activity-item-hover;
}
width: 100%;
border-radius: 4px;
}

View file

@ -14548,6 +14548,24 @@ span.editinstructions {
.automatic-completion-conditions .badge {
font-size: 100%; }
.activity-add {
color: #3586ce;
background-color: #f5f9fd;
border-color: #3586ce;
border-width: 1px;
border-style: dashed;
width: 100%;
border-radius: 4px; }
.activity-add hr {
border-top-color: #2e79bc; }
.activity-add .alert-link {
color: #296ca7; }
.activity-add .pluscontainer {
border: 1px solid #3586ce; }
.activity-add:hover {
cursor: pointer;
background-color: #cfe2f3; }
/* Anchor link offset fix. This makes hash links scroll 60px down to account for the fixed header. */
:target {
scroll-margin-top: 70px; }

View file

@ -14548,6 +14548,25 @@ span.editinstructions {
.automatic-completion-conditions .badge {
font-size: 100%; }
.activity-add {
border-radius: 0.25rem;
color: #3586ce;
background-color: #f5f9fd;
border-color: #3586ce;
border-width: 1px;
border-style: dashed;
width: 100%;
border-radius: 4px; }
.activity-add hr {
border-top-color: #2e79bc; }
.activity-add .alert-link {
color: #296ca7; }
.activity-add .pluscontainer {
border: 1px solid #3586ce; }
.activity-add:hover {
cursor: pointer;
background-color: #cfe2f3; }
/* Anchor link offset fix. This makes hash links scroll 60px down to account for the fixed header. */
:target {
scroll-margin-top: 60px; }