Doc: Adjust CSS of 'extra' information elements for functions/properties

QDoc generates a <code> element adjacent to function/property signatures
with information on when something was introduced or deprecated.

The location and attributes of this code element are changed in 6.7 -
adjust CSS accordingly.

Task-number: QTBUG-117152
Change-Id: I64523f38ece4f5ea7663f86769bb0e73de3e7fe6
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Topi Reinio 2023-12-01 11:18:34 +00:00
parent 990d150fe5
commit cf78b5ec95
3 changed files with 29 additions and 5 deletions

View File

@ -372,9 +372,18 @@ h3.fn, span.fn {
.fngroup h3.fngroupitem {
margin-bottom: 5px;
}
h3.fn code {
h3.fn code,
h3.flags code,
td.tblQmlFuncNode > p > code,
td.tblQmlPropNode > p > code {
float: right;
}
code.extra.summary {
font-size: 12px;
}
h3.fn:target {
background-color: #F6F6D6;
}

View File

@ -369,9 +369,18 @@ h3.fn, span.fn {
.fngroup h3.fngroupitem {
margin-bottom: 5px;
}
h3.fn code {
h3.fn code,
h3.flags code,
td.tblQmlFuncNode > p > code,
td.tblQmlPropNode > p > code {
float: right;
}
code.extra.summary {
font-size: 12px;
}
h3.fn:target {
background-color: #F6F6D6;
}

View File

@ -1109,12 +1109,18 @@ span.wrap:active {
code,.codelike {
font-family:"Droid Sans Mono"
}
h3.fn code {
font-size:0.75em;
h3.fn code,
h3.flags code,
td.tblQmlFuncNode > p > code,
td.tblQmlPropNode > p > code {
font-size:0.6em;
float:right;
background-color:#eee;
padding:3px;
margin: 3px 0 0 20px
margin-left:20px
}
code.extra.summary {
font-size:0.75em;
}
pre:hover>.copy_text {
display:inline-block;