svn: /pear2/sandbox/pear2.php.net/trunk/templates/pear2/ InstallInstructions.tpl.php css/package-details.css
[email protected] (Brett Bieber)
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
saltybeagle Tue, 01 Jun 2010 19:27:04 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300068
Log:
Use a black, console looking pearbox for the install instructions.
Changed paths:
U pear2/sandbox/pear2.php.net/trunk/templates/pear2/InstallInstructions.tpl.php
U pear2/sandbox/pear2.php.net/trunk/templates/pear2/css/package-details.css
Modified: pear2/sandbox/pear2.php.net/trunk/templates/pear2/InstallInstructions.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/templates/pear2/InstallInstructions.tpl.php 2010-06-01 19:14:52 UTC (rev 300067)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/InstallInstructions.tpl.php 2010-06-01 19:27:04 UTC (rev 300068)
@@ -1,4 +1,10 @@
-<h3>Installation</h3>
-<ol class="instructions">
- <li><code>$>php pyrus.phar install <?php echo $context; ?></code></li>
-</ol>
+<div class="pearbox instructions">
+ <div class="pearbox-header">
+ <h2>Installation</h2>
+ </div>
+ <div class="pearbox-content">
+ <ol>
+ <li><code>$>php pyrus.phar install <?php echo $context; ?></code></li>
+ </ol>
+ </div>
+</div>
Modified: pear2/sandbox/pear2.php.net/trunk/templates/pear2/css/package-details.css
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/templates/pear2/css/package-details.css 2010-06-01 19:14:52 UTC (rev 300067)
+++ pear2/sandbox/pear2.php.net/trunk/templates/pear2/css/package-details.css 2010-06-01 19:27:04 UTC (rev 300068)
@@ -58,18 +58,20 @@
margin-right: 5px;
}
-ol.instructions {
- -moz-border-radius:10px;
- -webkit-border-radius:10px;
- border-radius:10px;
- padding:10px;
+.package .releases .instructions .pearbox-content {
background-color:rgba(0, 0, 0, 0.8);
+ border-color:rgba(0, 0, 0, 0.8);
color:#FFF;
- font-size:120%;
- line-height:2em;
font-family:"andale mono", monaco, "courier new", courier;
}
-ol.instructions a,
-ol.instructions a:link {
+
+.package .instructions ol, .package .instructions ol li {
+ list-style: none !important;
+ margin:0 !important;
+ padding:0 !important;
+}
+
+.instructions a,
+.instructions a:link {
color:#FFF;
}