Add text to empty figure captions
This commit is contained in:
parent
334725594a
commit
feb409c8c6
|
|
@ -1011,6 +1011,10 @@ body .redactor_air .redactor_toolbar {
|
|||
.redactor_box figure:hover .oc-figure-controls {
|
||||
display: block;
|
||||
}
|
||||
.redactor_box figcaption:empty:before {
|
||||
opacity: .4;
|
||||
content: "Type to add caption (optional)";
|
||||
}
|
||||
.redactor_box .oc-figure-controls {
|
||||
background: #dddddd !important;
|
||||
padding: 0;
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@
|
|||
}
|
||||
&:empty:before {
|
||||
opacity: 0.4;
|
||||
// @todo Convert to language value
|
||||
content: "\2014 Type to add citation (optional)";
|
||||
}
|
||||
}
|
||||
|
|
@ -126,6 +127,14 @@
|
|||
display: block
|
||||
}
|
||||
|
||||
figcaption {
|
||||
&:empty:before {
|
||||
opacity: .4;
|
||||
// @todo Convert to language value
|
||||
content: "Type to add caption (optional)";
|
||||
}
|
||||
}
|
||||
|
||||
.oc-figure-controls {
|
||||
background: @color-richeditor-toolbar !important;
|
||||
padding: 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue