diff options
Diffstat (limited to 'doc/backends/deckjs/deck.js/extensions/navigation/deck.navigation.css')
-rw-r--r-- | doc/backends/deckjs/deck.js/extensions/navigation/deck.navigation.css | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/backends/deckjs/deck.js/extensions/navigation/deck.navigation.css b/doc/backends/deckjs/deck.js/extensions/navigation/deck.navigation.css new file mode 100644 index 00000000..02ff7188 --- /dev/null +++ b/doc/backends/deckjs/deck.js/extensions/navigation/deck.navigation.css @@ -0,0 +1,42 @@ +.deck-prev-link, .deck-next-link { + display: none; + position: absolute; + z-index: 3; + top: 50%; + width: 32px; + height: 32px; + margin-top: -16px; + font-size: 20px; + font-weight: bold; + line-height: 32px; + vertical-align: middle; + text-align: center; + text-decoration: none; + color: #fff; + background: #888; + border-radius: 16px; +} +.deck-prev-link:hover, .deck-prev-link:focus, .deck-prev-link:active, .deck-prev-link:visited, .deck-next-link:hover, .deck-next-link:focus, .deck-next-link:active, .deck-next-link:visited { + color: #fff; +} + +.deck-prev-link { + left: 8px; +} + +.deck-next-link { + right: 8px; +} + +.deck-container:hover .deck-prev-link, .deck-container:hover .deck-next-link { + display: block; +} +.deck-container:hover .deck-prev-link.deck-nav-disabled, .touch .deck-container:hover .deck-prev-link, .deck-container:hover .deck-next-link.deck-nav-disabled, .touch .deck-container:hover .deck-next-link { + display: none; +} + +@media print { + .deck-prev-link, .deck-next-link { + display: none !important; + } +} |