# HG changeset patch # User Patrick PIERRE # Date 1365692018 -7200 # Node ID f233748889409a032b9237795eddc587bb663ad6 # Parent 48cf8cfe8b1a2a1cf8507f289259d469a7d63b66 Gestion des dropzones diff -r 48cf8cfe8b1a -r f23374888940 Xxe/Css/publidoc.css --- a/Xxe/Css/publidoc.css mer. avril 10 23:13:49 2013 +0200 +++ b/Xxe/Css/publidoc.css jeu. avril 11 16:53:38 2013 +0200 @@ -535,10 +535,6 @@ margin: 0 .5em 0 .5em; } -hotspot > blank { - background-color: transparent; -} - hotspot:after { display: marker; padding-bottom: .7em; diff -r 48cf8cfe8b1a -r f23374888940 Xxe/Css/publiquiz.css --- a/Xxe/Css/publiquiz.css mer. avril 10 23:13:49 2013 +0200 +++ b/Xxe/Css/publiquiz.css jeu. avril 11 16:53:38 2013 +0200 @@ -344,6 +344,33 @@ vertical-align: middle; } +/* dropzone ~~~~~~~~~~~~~~~~~~~~~~~~ */ + +dropzone { + display: block; + padding: .4em; + margin: 0 1em .1em 0; + background-color: #ffefd8; + border-radius: 1.5em; +} + +dropzone image:before { + content: ""; +} +dropzone > image { + content: concatenate("image('Images/", attr(id), ".png', -128, -96, smooth)"); +} + +dropzone > blank { + background-color: transparent; +} + +dropzone:after { + display: marker; + padding-bottom: .7em; + content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc)); +} + /* choices.right, choices.wrong ~~~~ */ choices-radio right:before, choices-radio wrong:before,