Skip to content

Commit

Permalink
only show figure placeholders on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWoodward committed Mar 5, 2014
1 parent 57daeab commit 1e86e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/oer/figure/css/figure-plugin.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ figure {
overflow: auto;
}

figure div.title:not(:focus):empty:before {
.semantic-container:hover figure div.title:not(:focus):empty:before {
color: #AAA;
font-style: italic;
content: "Add a figure title (optional)";
}

figure figcaption > p:not(:focus):empty:before {
.semantic-container:hover figure figcaption > p:not(:focus):empty:before {
color: #AAA;
font-style: italic;
content: "Add a figure caption (optional)";
Expand Down

0 comments on commit 1e86e6b

Please sign in to comment.