Readonly for enrollment end date/time on edX (for non-global-staff)
TNL-2694 Add accessibility aria-readonly attributes
This commit is contained in:
@@ -62,6 +62,27 @@
|
||||
margin-top: ($baseline);
|
||||
}
|
||||
|
||||
// specific fields - settings details
|
||||
.settings-details {
|
||||
|
||||
// course details that should appear more like content than elements to change
|
||||
.is-not-editable {
|
||||
|
||||
label {
|
||||
|
||||
}
|
||||
|
||||
input, textarea {
|
||||
@extend %t-copy-lead1;
|
||||
@extend %t-strong;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
background: none;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// in form - elements
|
||||
.group-settings {
|
||||
@@ -305,21 +326,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
// course details that should appear more like content than elements to change
|
||||
.field.is-not-editable {
|
||||
|
||||
label {
|
||||
|
||||
}
|
||||
.is-not-editable {
|
||||
|
||||
input, textarea {
|
||||
@extend %t-copy-lead1;
|
||||
@extend %t-strong;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
background: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -438,6 +448,13 @@
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.is-not-editable {
|
||||
|
||||
input, textarea {
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.field {
|
||||
@include float(left);
|
||||
width: flex-grid(3, 9);
|
||||
|
||||
Reference in New Issue
Block a user