Merge branch 'MDL-84826-405' of https://github.com/meirzamoodle/moodle into MOODLE_405_STABLE
This commit is contained in:
@@ -40,12 +40,15 @@
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
// Add dropdown menu items styles for each theme color (mantainning default hover colour for contrast).
|
||||
// Add dropdown menu items styles for each theme color mantainning default hover/focus colour for contrast.
|
||||
@each $color, $value in $theme-colors {
|
||||
.dropdown-item.text-#{$color} {
|
||||
color: $value;
|
||||
&:hover {
|
||||
color: $dropdown-link-hover-color !important; /* stylelint-disable-line declaration-no-important */
|
||||
.dropdown-item {
|
||||
&:hover,
|
||||
&:focus {
|
||||
&.text-#{$color},
|
||||
a.text-#{$color} {
|
||||
color: $dropdown-link-hover-color !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39224,59 +39224,51 @@ div.editor_atto_toolbar button .icon {
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.dropdown-item.text-primary {
|
||||
color: #0f6cbf;
|
||||
}
|
||||
.dropdown-item.text-primary:hover {
|
||||
.dropdown-item:hover.text-primary,
|
||||
.dropdown-item:hover a.text-primary, .dropdown-item:focus.text-primary,
|
||||
.dropdown-item:focus a.text-primary {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-secondary {
|
||||
color: #ced4da;
|
||||
}
|
||||
.dropdown-item.text-secondary:hover {
|
||||
.dropdown-item:hover.text-secondary,
|
||||
.dropdown-item:hover a.text-secondary, .dropdown-item:focus.text-secondary,
|
||||
.dropdown-item:focus a.text-secondary {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-success {
|
||||
color: #357a32;
|
||||
}
|
||||
.dropdown-item.text-success:hover {
|
||||
.dropdown-item:hover.text-success,
|
||||
.dropdown-item:hover a.text-success, .dropdown-item:focus.text-success,
|
||||
.dropdown-item:focus a.text-success {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-info {
|
||||
color: #008196;
|
||||
}
|
||||
.dropdown-item.text-info:hover {
|
||||
.dropdown-item:hover.text-info,
|
||||
.dropdown-item:hover a.text-info, .dropdown-item:focus.text-info,
|
||||
.dropdown-item:focus a.text-info {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-warning {
|
||||
color: #f0ad4e;
|
||||
}
|
||||
.dropdown-item.text-warning:hover {
|
||||
.dropdown-item:hover.text-warning,
|
||||
.dropdown-item:hover a.text-warning, .dropdown-item:focus.text-warning,
|
||||
.dropdown-item:focus a.text-warning {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-danger {
|
||||
color: #ca3120;
|
||||
}
|
||||
.dropdown-item.text-danger:hover {
|
||||
.dropdown-item:hover.text-danger,
|
||||
.dropdown-item:hover a.text-danger, .dropdown-item:focus.text-danger,
|
||||
.dropdown-item:focus a.text-danger {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-light {
|
||||
color: #f8f9fa;
|
||||
}
|
||||
.dropdown-item.text-light:hover {
|
||||
.dropdown-item:hover.text-light,
|
||||
.dropdown-item:hover a.text-light, .dropdown-item:focus.text-light,
|
||||
.dropdown-item:focus a.text-light {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-dark {
|
||||
color: #343a40;
|
||||
}
|
||||
.dropdown-item.text-dark:hover {
|
||||
.dropdown-item:hover.text-dark,
|
||||
.dropdown-item:hover a.text-dark, .dropdown-item:focus.text-dark,
|
||||
.dropdown-item:focus a.text-dark {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
|
||||
@@ -39158,59 +39158,51 @@ div.editor_atto_toolbar button .icon {
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.dropdown-item.text-primary {
|
||||
color: #0f6cbf;
|
||||
}
|
||||
.dropdown-item.text-primary:hover {
|
||||
.dropdown-item:hover.text-primary,
|
||||
.dropdown-item:hover a.text-primary, .dropdown-item:focus.text-primary,
|
||||
.dropdown-item:focus a.text-primary {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-secondary {
|
||||
color: #ced4da;
|
||||
}
|
||||
.dropdown-item.text-secondary:hover {
|
||||
.dropdown-item:hover.text-secondary,
|
||||
.dropdown-item:hover a.text-secondary, .dropdown-item:focus.text-secondary,
|
||||
.dropdown-item:focus a.text-secondary {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-success {
|
||||
color: #357a32;
|
||||
}
|
||||
.dropdown-item.text-success:hover {
|
||||
.dropdown-item:hover.text-success,
|
||||
.dropdown-item:hover a.text-success, .dropdown-item:focus.text-success,
|
||||
.dropdown-item:focus a.text-success {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-info {
|
||||
color: #008196;
|
||||
}
|
||||
.dropdown-item.text-info:hover {
|
||||
.dropdown-item:hover.text-info,
|
||||
.dropdown-item:hover a.text-info, .dropdown-item:focus.text-info,
|
||||
.dropdown-item:focus a.text-info {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-warning {
|
||||
color: #f0ad4e;
|
||||
}
|
||||
.dropdown-item.text-warning:hover {
|
||||
.dropdown-item:hover.text-warning,
|
||||
.dropdown-item:hover a.text-warning, .dropdown-item:focus.text-warning,
|
||||
.dropdown-item:focus a.text-warning {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-danger {
|
||||
color: #ca3120;
|
||||
}
|
||||
.dropdown-item.text-danger:hover {
|
||||
.dropdown-item:hover.text-danger,
|
||||
.dropdown-item:hover a.text-danger, .dropdown-item:focus.text-danger,
|
||||
.dropdown-item:focus a.text-danger {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-light {
|
||||
color: #f8f9fa;
|
||||
}
|
||||
.dropdown-item.text-light:hover {
|
||||
.dropdown-item:hover.text-light,
|
||||
.dropdown-item:hover a.text-light, .dropdown-item:focus.text-light,
|
||||
.dropdown-item:focus a.text-light {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
.dropdown-item.text-dark {
|
||||
color: #343a40;
|
||||
}
|
||||
.dropdown-item.text-dark:hover {
|
||||
.dropdown-item:hover.text-dark,
|
||||
.dropdown-item:hover a.text-dark, .dropdown-item:focus.text-dark,
|
||||
.dropdown-item:focus a.text-dark {
|
||||
color: #fff !important; /* stylelint-disable-line declaration-no-important */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user