From 5cd46e5a0da3841719d0676a06c963c70c5a524c Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Mon, 9 Nov 2015 01:15:12 +0100 Subject: Created theme for apigen4, wsat doc fixes --- buildscripts/apigen/pradosoft/resources/style.css | 86 +++++++++++++---------- 1 file changed, 47 insertions(+), 39 deletions(-) (limited to 'buildscripts/apigen/pradosoft/resources/style.css') diff --git a/buildscripts/apigen/pradosoft/resources/style.css b/buildscripts/apigen/pradosoft/resources/style.css index 418fe08b..9b919734 100644 --- a/buildscripts/apigen/pradosoft/resources/style.css +++ b/buildscripts/apigen/pradosoft/resources/style.css @@ -1,15 +1,9 @@ -/*! - * ApiGen 2.8.0 - API documentation generator for PHP 5.3+ - * - * Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) - * Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) - * Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) - * - * For the full copyright and license information, please view - * the file LICENSE.md that was distributed with this source code. - */ - body { + font: 13px/1.5 Verdana, 'Geneva CE', lucida, sans-serif; + margin: 0; + padding: 0; + background: #ffffff; + color: #333333; } h1, h2, h3, h4, caption { @@ -66,7 +60,7 @@ hr { height: 0; } -.maintable a { +a { color: #CD2C27; padding: 3px 1px; text-decoration: none; @@ -76,10 +70,9 @@ h1 a { color: #821B18; } -.maintable a:hover, .maintable a:active, .maintable a:focus, .maintable a:hover b, .maintable a:hover var { - color: #821B18; - text-decoration: underline; - background-color:#FFDBDB; +a:hover, a:active, a:focus, a:hover b, a:hover var { + background-color: #FFDBDB; + color: #821B18 !important; } code, var, pre { @@ -102,6 +95,7 @@ code a b { .deprecated { text-decoration: line-through; + opacity: .5; } .invalid { @@ -112,15 +106,12 @@ code a b { display: none; } -#maintable { - width:100%; -} - /* Left side */ #left { overflow: auto; width: 270px; - vertical-align: top; + height: 100%; + position: fixed; } /* Menu */ @@ -145,7 +136,7 @@ code a b { #menu a { display: block; - padding: 0 6px; + padding: 0 2px; } #menu .active > a, #menu > span { @@ -164,8 +155,8 @@ code a b { #menu #groups span { position: absolute; - top: 2px; - left: -10px; + top: 4px; + right: 2px; cursor: pointer; display: block; width: 12px; @@ -192,8 +183,11 @@ code a b { /* Right side */ #right { overflow: auto; + margin-left: 275px; height: 100%; - vertical-align: top; + position: relative; + left: 0; + right: 0; } #rightInner { @@ -291,12 +285,6 @@ code a b { font-weight: bold; } -#navigation ul li.active span{ - color: #ffffff; - font-weight: bold; - padding: 4px; -} - #navigation ul li a { color: #000000; font-weight: bold; @@ -305,7 +293,7 @@ code a b { #navigation ul li span { float: left; - padding: 4px; + padding: 0 3px; } #navigation ul li a:hover span, #navigation ul li a:active span, #navigation ul li a:focus span { @@ -375,6 +363,10 @@ dl.tree dd { text-align: right; } +.summary td hr { + margin: 3px -10px; +} + #packages.summary td:first-child, #namespaces.summary td:first-child, .inherited.summary td:first-child, .used.summary td:first-child { text-align: left; } @@ -411,7 +403,7 @@ dl.tree dd { white-space: nowrap; } -.value { +.value code { white-space: pre-wrap; } @@ -419,20 +411,25 @@ td.name, td.attributes { width: 1%; } -.class #methods .name { +td.attributes { + width: 1%; +} + +.class .methods .name, .class .properties .name, .class .constants .name { width: auto; white-space: normal; } -.class #methods .name > div > code { +.class .methods .name > div > code { white-space: pre-wrap; } -.class #methods .name > div > code span, .function .value > code { +.class .methods .name > div > code span, .function .value > code { white-space: nowrap; + display: inline-block; } -.class #methods td.name > div, .class td.description > div { +.class .methods td.name > div, .class td.value > div { position: relative; padding-right: 1em; } @@ -458,7 +455,6 @@ div.invalid { /* Splitter */ #splitter { - display:none; position: fixed; height: 100%; width: 5px; @@ -479,7 +475,7 @@ div.invalid { font-size: 8pt; text-align: center; padding: 20px 0 0; - margin: 0; + margin: 3em 0 0; height: 90px; background: #ffffff url('footer.png') no-repeat center top; } @@ -549,6 +545,10 @@ div.tree span.padding { font-weight: bold; } +pre.numbers { + float: left; +} + span.l { display: block; } @@ -609,3 +609,11 @@ span.l a.l:hover, span.l a.l:active, span.l a.l:focus { #rightInner.small #navigation ul:first-child { clear: both; } + +/* global style */ +.left, .summary td.left { + text-align: left; +} +.right, .summary td.right { + text-align: right; +} -- cgit v1.2.3