From 58ccc930f6e79a1561d49851103fa949c8b10e91 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Wed, 25 Apr 2012 14:22:37 +0200 Subject: Add icons for previous and next page. Change-Id: I3b16c70b4742a942ceec2035c46618ebc63b697f Reviewed-by: Casper van Donderen --- doc/src/template/images/btn_next_green.png | Bin 0 -> 695 bytes doc/src/template/images/btn_prev_green.png | Bin 0 -> 687 bytes doc/src/template/style/style.css | 65 ++++++++++++++------- .../doc/config/qt-html-online-styles.qdocconf | 2 + tools/qdoc3/test/qt-html-online-styles.qdocconf | 2 + 5 files changed, 47 insertions(+), 22 deletions(-) create mode 100644 doc/src/template/images/btn_next_green.png create mode 100644 doc/src/template/images/btn_prev_green.png diff --git a/doc/src/template/images/btn_next_green.png b/doc/src/template/images/btn_next_green.png new file mode 100644 index 0000000..c649f18 Binary files /dev/null and b/doc/src/template/images/btn_next_green.png differ diff --git a/doc/src/template/images/btn_prev_green.png b/doc/src/template/images/btn_prev_green.png new file mode 100644 index 0000000..d1d2989 Binary files /dev/null and b/doc/src/template/images/btn_prev_green.png differ diff --git a/doc/src/template/style/style.css b/doc/src/template/style/style.css index 4071145..48ed49b 100644 --- a/doc/src/template/style/style.css +++ b/doc/src/template/style/style.css @@ -1185,28 +1185,49 @@ padding:0px; } - .content .alignedsummary - { - margin: 15px; - } - - .details - { - text-align: left; - font-size: 80%; - color: blue - } - .variableName - { - font-family: courier; - color: blue - } - .newStuff - { - text-align: left; - font-size: 80%; - color: red - } + .content .alignedsummary + { + margin: 15px; + } + + .details + { + text-align: left; + font-size: 80%; + color: blue + } + .variableName + { + font-family: courier; + color: blue + } + .newStuff + { + text-align: left; + font-size: 80%; + color: red; + } + + .naviNextPrevious > a:first-child + { + background-image:url(../images/btn_prev_green.png); + background-repeat:no-repeat; + background-position:left; + padding-left:20px; + height:20px; + padding-left:20px; + } + + .naviNextPrevious > a:last-child + { + background-image:url(../images/btn_next_green.png); + background-repeat:no-repeat; + background-position:right; + padding-right:20px; + height:20px; + margin-left:30px; + } + .qmltype { diff --git a/tools/qdoc3/doc/config/qt-html-online-styles.qdocconf b/tools/qdoc3/doc/config/qt-html-online-styles.qdocconf index f915cb4..22f0a8b 100644 --- a/tools/qdoc3/doc/config/qt-html-online-styles.qdocconf +++ b/tools/qdoc3/doc/config/qt-html-online-styles.qdocconf @@ -25,6 +25,8 @@ extraimages.HTML = qt-logo.png \ bg_l_blank.png \ bg_ll_blank.png \ bg_ul_blank.png \ + btn_next_green.png \ + btn_prev_green.png \ header_bg.png \ bg_r.png \ box_bg.png \ diff --git a/tools/qdoc3/test/qt-html-online-styles.qdocconf b/tools/qdoc3/test/qt-html-online-styles.qdocconf index 6db3491..cb3d0c6 100644 --- a/tools/qdoc3/test/qt-html-online-styles.qdocconf +++ b/tools/qdoc3/test/qt-html-online-styles.qdocconf @@ -25,6 +25,8 @@ extraimages.HTML = qt-logo.png \ bg_l_blank.png \ bg_ll_blank.png \ bg_ul_blank.png \ + btn_next_green.png \ + btn_prev_green.png \ header_bg.png \ bg_r.png \ box_bg.png \ -- cgit v0.12