Readonly for enrollment end date/time on edX (for non-global-staff)

TNL-2694

Add accessibility aria-readonly attributes
This commit is contained in:
Bill DeRusha
2015-09-15 10:36:44 -04:00
parent ac0d926492
commit c6b54aa61f
4 changed files with 164 additions and 19 deletions

View File

@@ -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);