Merge branch 'MDL-86086-501' of https://github.com/andimendunia/moodle into MOODLE_501_STABLE

This commit is contained in:
Huong Nguyen
2025-12-18 11:44:36 +08:00
committed by Jake Dallimore
3 changed files with 21 additions and 0 deletions
+11
View File
@@ -521,3 +521,14 @@ textarea[data-auto-rows] {
}
}
}
// Readonly inputs should have visual distinction from editable inputs.
// Apply the same styling as disabled inputs to make them clearly readonly.
.form-control[readonly] {
color: $input-disabled-color;
background-color: $input-disabled-bg;
border-color: $input-disabled-border-color;
// Follows disabled styles in bootstrap/forms/_form-control.scss.
// iOS fix for unreadable content.
opacity: 1;
}
+5
View File
@@ -35379,6 +35379,11 @@ textarea[data-auto-rows] {
display: none;
}
}
.form-control[readonly] {
background-color: var(--bs-secondary-bg);
opacity: 1;
}
.pagelayout-login #region-main {
border: 0;
background-color: inherit;
+5
View File
@@ -35379,6 +35379,11 @@ textarea[data-auto-rows] {
display: none;
}
}
.form-control[readonly] {
background-color: var(--bs-secondary-bg);
opacity: 1;
}
.pagelayout-login #region-main {
border: 0;
background-color: inherit;