new style for disabled inputs
This commit is contained in:
parent
56e868c3dd
commit
e4cb7f7fdf
|
@ -12,7 +12,7 @@ function vnAcl(aclService, $timeout) {
|
||||||
function udateMaterial(input) {
|
function udateMaterial(input) {
|
||||||
if (input && input.className) {
|
if (input && input.className) {
|
||||||
let find = input.className.match(/mdl-[\w]+input/g);
|
let find = input.className.match(/mdl-[\w]+input/g);
|
||||||
if (find.length && find[0]) {
|
if (find && find.length && find[0]) {
|
||||||
let type = getMaterialType(find[0]);
|
let type = getMaterialType(find[0]);
|
||||||
if (type && input.parentNode[`Material${type}`] && input.parentNode[`Material${type}`].updateClasses_) {
|
if (type && input.parentNode[`Material${type}`] && input.parentNode[`Material${type}`].updateClasses_) {
|
||||||
input.parentNode[`Material${type}`].updateClasses_();
|
input.parentNode[`Material${type}`].updateClasses_();
|
||||||
|
|
|
@ -113,3 +113,23 @@ vn-main-block {
|
||||||
padding-bottom: 1em;
|
padding-bottom: 1em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.descriptor-header{
|
||||||
|
background: rgb(255,171,64);
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
i {
|
||||||
|
font-size: 51px;
|
||||||
|
}
|
||||||
|
img {
|
||||||
|
width: 51px;
|
||||||
|
height: 51px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fieldset[disabled] .mdl-textfield .mdl-textfield__input, .mdl-textfield.is-disabled .mdl-textfield__input,
|
||||||
|
fieldset[disabled] .mdl-checkbox .mdl-checkbox__label, .mdl-checkbox.is-disabled .mdl-checkbox__label{
|
||||||
|
border: none !important;
|
||||||
|
color: inherit !important;
|
||||||
|
}
|
||||||
|
fieldset[disabled] .mdl-textfield .mdl-textfield__label, .mdl-textfield.is-disabled.is-disabled .mdl-textfield__label {
|
||||||
|
color: rgb(255,171,64) !important;
|
||||||
|
}
|
Loading…
Reference in New Issue