]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix form styles on prepend/append for consistency, update code docs with examples...
authorMark Otto <markdotto@gmail.com>
Sun, 29 Jan 2012 21:25:13 +0000 (13:25 -0800)
committerMark Otto <markdotto@gmail.com>
Sun, 29 Jan 2012 21:25:13 +0000 (13:25 -0800)
docs/assets/css/bootstrap.css
docs/base-css.html
docs/templates/pages/base-css.mustache
less/forms.less

index 675446f62d661642f93643fd2c4f89d261ca01d0..5330b5102b983b9fd23fa60d7b013fa1705b7536 100644 (file)
@@ -894,7 +894,7 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
   min-width: 16px;
   height: 18px;
   margin-right: -1px;
-  padding: 4px 4px 4px 5px;
+  padding: 4px 5px;
   font-weight: normal;
   line-height: 18px;
   color: #999999;
index 0b2c4547ef42fc3384234a33b47d3946f0be1314..0406ff229eb3a1e19620870059e09b2219d2f5f1 100644 (file)
@@ -372,6 +372,9 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
     <div class="span4">
       <h2>Basic block</h2>
       <p>Use <code>&lt;pre&gt;</code> for multiple lines of code. Be sure to turn any carets into their unicode characters for proper rendering.</p>
+<pre>
+&lt;p&gt;Sample text here...&lt;/p&gt;
+</pre>
 <pre class="prettyprint linenums" style="margin-bottom: 9px;">
 &lt;pre&gt;
   &amp;lt;p&amp;gt;Sample text here...&amp;lt;/p&amp;gt;
@@ -383,6 +386,9 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
       <h2>Google Prettify</h2>
       <p>Take the same <code>&lt;pre&gt;</code> element and add two optional classes for enhanced rendering.</p>
 <pre class="prettyprint linenums" style="margin-bottom: 9px;">
+&lt;p&gt;Sample text here...&lt;/p&gt;
+</pre>
+<pre class="prettyprint linenums" style="margin-bottom: 9px;">
 &lt;pre class="prettyprint
      linenums"&gt;
   &amp;lt;p&amp;gt;Sample text here...&amp;lt;/p&amp;gt;
index 2b9a459c8037a645323bed7e9105f8334092ed73..b47bcf265919a74154de0e4d80f7cb9799bd7f29 100644 (file)
     <div class="span4">
       <h2>Basic block</h2>
       <p>{{_i}}Use <code>&lt;pre&gt;</code> for multiple lines of code. Be sure to turn any carets into their unicode characters for proper rendering.{{/i}}</p>
+<pre>
+&lt;p&gt;{{_i}}Sample text here...{{/i}}&lt;/p&gt;
+</pre>
 <pre class="prettyprint linenums" style="margin-bottom: 9px;">
 &lt;pre&gt;
   &amp;lt;p&amp;gt;{{_i}}Sample text here...{{/i}}&amp;lt;/p&amp;gt;
       <h2>Google Prettify</h2>
       <p>Take the same <code>&lt;pre&gt;</code> element and add two optional classes for enhanced rendering.</p>
 <pre class="prettyprint linenums" style="margin-bottom: 9px;">
+&lt;p&gt;{{_i}}Sample text here...{{/i}}&lt;/p&gt;
+</pre>
+<pre class="prettyprint linenums" style="margin-bottom: 9px;">
 &lt;pre class="prettyprint
      linenums"&gt;
   &amp;lt;p&amp;gt;{{_i}}Sample text here...{{/i}}&amp;lt;/p&amp;gt;
index 6b0f5ec52ec67e6ac27dfa3fdf2e1771268b87a0..9d94a64b7ea285ccf3ed8bc25d4364051b0ba44f 100644 (file)
@@ -417,7 +417,7 @@ select:focus:required:invalid {
     min-width: 16px;
     height: @baseLineHeight;
     margin-right: -1px;
-    padding: 4px 4px 4px 5px;
+    padding: 4px 5px;
     font-weight: normal;
     line-height: @baseLineHeight;
     color: @grayLight;