added css and functions to make some acf fields read-only
This commit is contained in:
17
plugins/cipf_plugin/css/acf_fields.css
Normal file
17
plugins/cipf_plugin/css/acf_fields.css
Normal file
@@ -0,0 +1,17 @@
|
||||
.read_only_cipf {
|
||||
.acf-input {
|
||||
position: relative;
|
||||
* {
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
}
|
||||
> * {
|
||||
color: #666;
|
||||
background-color: #f0f0f1;
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
textarea {
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user