Skip to content

Commit

Permalink
Doc: Remove background colors from simplified offline CSS
Browse files Browse the repository at this point in the history
The simplified style needs to work for both light and dark themes
in Qt Creator's help system. Background and text colors are already
applied according to the active theme, this commit removes the rest
of the hardcoded element colors that do not look good with a dark
theme.

Task-number: QTBUG-49417
Task-number: QTBUG-69327
Change-Id: Ib5ebe2755e98ca120f0500ab82713a37ec7199bd
Reviewed-by: Kai Koehne <[email protected]>
  • Loading branch information
toreinio committed Mar 10, 2019
1 parent 912bcf0 commit c7f6761
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions doc/global/template/style/offline-simple.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pre, .LegaleseLeft {
background-color: #f0f0f0;
font-family: Courier, monospace;
font-weight: 600;
vertical-align: top;
Expand Down Expand Up @@ -40,7 +39,6 @@ h1.title {
}

h2, p.h2 {
background-color: #F2F3F4;
padding: 4px;
margin: 30px 0px 20px 10px;
}
Expand All @@ -67,10 +65,6 @@ ul li, ol li {
}

h3.fn, span.fn {
border-width: 3px;
border-style: solid;
border-color: #aaaaaa;
background-color: #eeeeee;
word-spacing: 3px;
padding: 5px;
text-decoration: none;
Expand All @@ -94,10 +88,6 @@ table td {
padding: 6px 10px 6px 10px;
}

table tr.odd {
background-color: #eeeeee;
}

table.qmlname td {
padding: 0px;
margin-left: 6px;
Expand Down Expand Up @@ -144,19 +134,10 @@ span.naviSeparator {
margin: 0;
}

.navigationbar table tr {
background-color: #eeeeee;
}

td#buildversion {
background-color: #ffffff;
}

.footer, .footer p {
padding: 5px 0px 5px 0px;
margin: 45px 15px 5px 15px;
font-size: 8.5pt;
background-color: #cccccc;
}

.footer p {
Expand Down

0 comments on commit c7f6761

Please sign in to comment.