summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVenugopal Shivashankar <venugopal.shivashankar@digia.com>2015-11-17 11:46:55 +0100
committerLiang Qi <liang.qi@theqtcompany.com>2015-12-07 19:38:04 +0000
commitdf57e3a33f6da6bfd076ab5e20ca1addbbbe8f25 (patch)
treea8f01b395bb8b1364f6c122f8efa35c1f22d0ec9 /doc
parent60536d742175bacca2130f46d06663013c91bae2 (diff)
Doc: Add the missing styles to get multi-column classes list
Add two- and three-column layouts for the 'All C++ Classes' list. Also affects the layout of 'All QML Types' page. Task-number: QTBUG-49376 Change-Id: I80953c0955dbc37db5aa4c60eb9ea8e3023a77f2 Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/global/template/style/offline.css15
-rw-r--r--doc/global/template/style/online.css25
2 files changed, 40 insertions, 0 deletions
diff --git a/doc/global/template/style/offline.css b/doc/global/template/style/offline.css
index 5aabd82dcb..1f76efbd38 100644
--- a/doc/global/template/style/offline.css
+++ b/doc/global/template/style/offline.css
@@ -595,6 +595,21 @@ ol.a > li{
margin-left: 15px
}
+.flowList {
+ padding: 25px
+}
+.flowList dd {
+ display: inline-block;
+ margin-left: 10px;
+ width: 255px;
+ line-height: 1.15em;
+ overflow-x: hidden;
+ text-overflow: ellipsis
+}
+.alphaChar {
+ font-size: 2em;
+ position: relative
+}
/*
-----------
Content table
diff --git a/doc/global/template/style/online.css b/doc/global/template/style/online.css
index 86e30e89b3..c7758d0ca8 100644
--- a/doc/global/template/style/online.css
+++ b/doc/global/template/style/online.css
@@ -254,6 +254,13 @@
line-height:1.4;
font-size:0.875em
}
+@media (min-width: 1320px) {
+ .context .flowListDiv dl.flowList {
+ -webkit-column-count:3;
+ -moz-column-count:3;
+ column-count:3
+ }
+}
@media (min-width: 1120px) {
#navbar.fixed,#navbar.shadow_bottom {
-moz-box-shadow:0px 0px 8px rgba(0,0,0,0.2);
@@ -293,6 +300,11 @@
#navbar.fixed #mainmenu li.current-menu-item a {
border-bottom:4px solid #80C342
}
+ .flowListDiv dl.flowList {
+ -webkit-column-count:2;
+ -moz-column-count:2;
+ column-count:2
+ }
}
@media (max-width: 1120px) {
#navbar {
@@ -1220,6 +1232,19 @@ li a.active {
.flowList {
padding:25px
}
+.flowListDiv dl {
+ -webkit-column-count:1;
+ -moz-column-count:1;
+ column-count:1
+}
+.flowList dd {
+ display:inline-block;
+ margin-left:10px;
+ width:90%;
+ line-height:1.15em;
+ overflow-x:hidden;
+ text-overflow:ellipsis
+}
.alphaChar {
font-size:2em;
position:absolute