From fbbcea907f1fc216d5dda5934375a5613f6e0c89 Mon Sep 17 00:00:00 2001 From: Jerome Pasion Date: Mon, 19 Nov 2012 15:37:21 +0100 Subject: Doc: Adding subtitle to the online snapshot HTML -other fixes to the HTML template. Change-Id: I85070c615796c4342a89cc730ab2ca8ab51dd5e6 Reviewed-by: Geir Vattekar --- doc/global/qt-html-templates-online.qdocconf | 65 ++++++++++--------- doc/global/template/style/online.css | 95 ++++++++++++++++++++++++++-- 2 files changed, 124 insertions(+), 36 deletions(-) (limited to 'doc') diff --git a/doc/global/qt-html-templates-online.qdocconf b/doc/global/qt-html-templates-online.qdocconf index 4e6770d2f3..94648c2652 100644 --- a/doc/global/qt-html-templates-online.qdocconf +++ b/doc/global/qt-html-templates-online.qdocconf @@ -1,35 +1,35 @@ HTML.nobreadcrumbs = "true" HTML.stylesheets = template/style/online.css -extraimages.HTML = images/btn_next_green.png \ - images/box_bg.png \ - images/page.png \ - images/arrow_down.png \ - images/btn_prev.png \ - images/blu_dot.png \ - images/ico_note_attention.png \ - images/btn_prev_green.png \ - images/bg_ll_blank.png \ - images/btn_next.png \ - images/bg_l_blank.png \ - images/ico_note.png \ - images/home.png \ - images/ico_out.png \ - images/header_bg.png \ - images/page_bg.png \ - images/bg_l.png \ - images/bg_r.png \ - images/breadcrumb.png \ - images/bullet_dn.png \ - images/feedbackground.png \ - images/bullet_gt.png \ - images/arrow.png \ - images/bullet_sq.png \ - images/bullet_up.png \ - images/sprites-combined.png \ - images/horBar.png \ - images/bg_ul_blank.png \ - images/bgrContent.png \ +HTML.extraimages = template/images/btn_next_green.png \ + template/images/box_bg.png \ + template/images/page.png \ + template/images/arrow_down.png \ + template/images/btn_prev.png \ + template/images/blu_dot.png \ + template/images/ico_note_attention.png \ + template/images/btn_prev_green.png \ + template/images/bg_ll_blank.png \ + template/images/btn_next.png \ + template/images/bg_l_blank.png \ + template/images/ico_note.png \ + template/images/home.png \ + template/images/ico_out.png \ + template/images/header_bg.png \ + template/images/page_bg.png \ + template/images/bg_l.png \ + template/images/bg_r.png \ + template/images/breadcrumb.png \ + template/images/bullet_dn.png \ + template/images/feedbackground.png \ + template/images/bullet_gt.png \ + template/images/arrow.png \ + template/images/bullet_sq.png \ + template/images/bullet_up.png \ + template/images/sprites-combined.png \ + template/images/horBar.png \ + template/images/bg_ul_blank.png \ + template/images/bgrContent.png \ HTML.headerstyles = \ @@ -47,7 +47,12 @@ HTML.endheader = \ " \n" \ " \"Qt\"\n" \ " \n" \ - "

Reference Documentation Snapshots

\n" \ + "
\n" \ + "

Qt Documentation Snapshots

\n" \ + "
\n" \ + " --snapshots of unreleased Qt documentation\n" \ + "
\n" \ + "
\n" \ "
\n" \ "
\n" \ " Qt Releases\n" \ diff --git a/doc/global/template/style/online.css b/doc/global/template/style/online.css index 5b341d6955..6a6e8225c8 100644 --- a/doc/global/template/style/online.css +++ b/doc/global/template/style/online.css @@ -134,7 +134,10 @@ font-weight:bold; margin-right: 20px; display:inline-block; } - +.nav-subtitle{ +color: #869CD1; +margin-left: 220px; +} .header{ height:1px; padding:0px; @@ -173,16 +176,11 @@ float:right; .naviNextPrevious{ display: block; -position: relative; text-align: right; -top: -53px; float:right; -height:20px; z-index:1; padding-right:10px; -padding-top:2px; vertical-align:top; -margin:0px; } @@ -664,3 +662,88 @@ border:none;} .clearfix{ clear:both;} + +/* start index box */ +.indexbox +{ +width: 100%; +display:inline-block; +} + +.indexboxcont +{ +display: block; + +} + +.indexboxcont .section +{ +display: inline-block; +width: 49%; +*width:42%; +_width:42%; +padding:0 2% 0 1%; +vertical-align:top; +} + +.indexboxcont .indexIcon +{ +width: 11%; +*width:18%; +_width:18%; +overflow:hidden; +} + +.indexboxcont .section { + float: left; +} + +.indexboxcont .section p +{ +padding-top: 20px; +padding-bottom: 20px; +} +.indexboxcont .sectionlist +{ +display: inline-block; +vertical-align:top; +width: 32.5%; +padding: 0; +} +.indexboxcont .sectionlist ul +{ +margin-bottom: 20px; +} + +.indexboxcont .sectionlist ul li +{ +line-height: 12px; +} + +.content .indexboxcont li +{ +font: normal bold 13px/1 Verdana; +} + +.content .normallist li +{ +font: normal 13px/1 Verdana; +} + +.indexbox .indexIcon { +width: 11%; +} + +.indexbox .indexIcon span +{ +display: block; +} + +.indexboxcont:after +{ +content: "."; +display: block; +height: 0; +clear: both; +visibility: hidden; +} -- cgit v1.2.3