You've already forked 98.css
mirror of
https://github.com/jdan/98.css.git
synced 2026-05-05 06:01:22 +09:00
Updates
This commit is contained in:
File diff suppressed because one or more lines are too long
79
index.html
79
index.html
@@ -44,6 +44,7 @@
|
|||||||
<li><a href="#tabs">Tabs</a></li>
|
<li><a href="#tabs">Tabs</a></li>
|
||||||
<li><a href="#table-view">TableView</a></li>
|
<li><a href="#table-view">TableView</a></li>
|
||||||
<li><a href="#progress-indicator">Progress Indicator</a></li>
|
<li><a href="#progress-indicator">Progress Indicator</a></li>
|
||||||
|
<li><a href="#field-borders">Field borders</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#issues-contributing-etc">Issues, Contributing, etc.</a></li>
|
<li><a href="#issues-contributing-etc">Issues, Contributing, etc.</a></li>
|
||||||
@@ -1571,6 +1572,84 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="component">
|
||||||
|
<h3 id="field-borders">Field borders</a></li></h3>
|
||||||
|
<div>
|
||||||
|
<blockquote>
|
||||||
|
Text boxes, check boxes, drop-down list boxes, spin boxes and list
|
||||||
|
boxes use the <em>field border style</em>. You can also use the style
|
||||||
|
for define the work area within a window. It uses the sunken outer and
|
||||||
|
sunken inner basic border styles.
|
||||||
|
|
||||||
|
For most controls, the interior of the field uses the button highlight
|
||||||
|
color. For text fields, such as text boxes and combo boxes, the
|
||||||
|
interior uses the button face color when the field is read-only or
|
||||||
|
disabled.
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
— Microsoft Windows User Experience p. 421
|
||||||
|
</footer>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
Status fields use the <em>status field border style</em>. This style
|
||||||
|
uses only the sunken outer basic border style. You use the status
|
||||||
|
field style in status bars and other read-only fields where the
|
||||||
|
content of the file can change dynamically.
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
— Microsoft Windows User Experience p. 422
|
||||||
|
</footer>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
As mentioned in these guidelines, these styles are used in other
|
||||||
|
contexts than just form elements and status fields such as to indicate
|
||||||
|
work areas and dynamic content. For that reason, we provide three
|
||||||
|
classes for these generic usages, <code>field-border</code>,
|
||||||
|
<code>field-border-disabled</code>, and
|
||||||
|
<code>status-field-border</code>. These classes only define the border
|
||||||
|
and background color and minimal padding, so you will typically need to
|
||||||
|
at least provide some extra padding yourself.
|
||||||
|
|
||||||
|
<div class="example">
|
||||||
|
<div class="field-border" style="padding: 8px">
|
||||||
|
Work area
|
||||||
|
</div>
|
||||||
|
<details>
|
||||||
|
<summary>Show code</summary>
|
||||||
|
<pre><code><span class="hljs-tag"><<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"field-border"</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"padding: 8px"</span>></span>
|
||||||
|
Work area
|
||||||
|
<span class="hljs-tag"></<span class="hljs-name">div</span>></span></code></pre>
|
||||||
|
</details>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="example">
|
||||||
|
<div class="field-border-disabled" style="padding: 8px">
|
||||||
|
Disabled work area
|
||||||
|
</div>
|
||||||
|
<details>
|
||||||
|
<summary>Show code</summary>
|
||||||
|
<pre><code><span class="hljs-tag"><<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"field-border-disabled"</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"padding: 8px"</span>></span>
|
||||||
|
Disabled work area
|
||||||
|
<span class="hljs-tag"></<span class="hljs-name">div</span>></span></code></pre>
|
||||||
|
</details>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="example">
|
||||||
|
<div class="status-field-border" style="padding: 8px">
|
||||||
|
Dynamic content
|
||||||
|
</div>
|
||||||
|
<details>
|
||||||
|
<summary>Show code</summary>
|
||||||
|
<pre><code><span class="hljs-tag"><<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"status-field-border"</span> <span class="hljs-attr">style</span>=<span class="hljs-string">"padding: 8px"</span>></span>
|
||||||
|
Dynamic content
|
||||||
|
<span class="hljs-tag"></<span class="hljs-name">div</span>></span></code></pre>
|
||||||
|
</details>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<h2 id="issues-contributing-etc">Issues, Contributing, etc.</h2>
|
<h2 id="issues-contributing-etc">Issues, Contributing, etc.</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
<li><a href="#tabs">Tabs</a></li>
|
<li><a href="#tabs">Tabs</a></li>
|
||||||
<li><a href="#table-view">TableView</a></li>
|
<li><a href="#table-view">TableView</a></li>
|
||||||
<li><a href="#progress-indicator">Progress Indicator</a></li>
|
<li><a href="#progress-indicator">Progress Indicator</a></li>
|
||||||
|
<li><a href="#field-borders">Field borders</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#issues-contributing-etc">Issues, Contributing, etc.</a></li>
|
<li><a href="#issues-contributing-etc">Issues, Contributing, etc.</a></li>
|
||||||
@@ -1045,6 +1046,66 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="component">
|
||||||
|
<h3 id="field-borders">Field borders</a></li></h3>
|
||||||
|
<div>
|
||||||
|
<blockquote>
|
||||||
|
Text boxes, check boxes, drop-down list boxes, spin boxes and list
|
||||||
|
boxes use the <em>field border style</em>. You can also use the style
|
||||||
|
for define the work area within a window. It uses the sunken outer and
|
||||||
|
sunken inner basic border styles.
|
||||||
|
|
||||||
|
For most controls, the interior of the field uses the button highlight
|
||||||
|
color. For text fields, such as text boxes and combo boxes, the
|
||||||
|
interior uses the button face color when the field is read-only or
|
||||||
|
disabled.
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
— Microsoft Windows User Experience p. 421
|
||||||
|
</footer>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<blockquote>
|
||||||
|
Status fields use the <em>status field border style</em>. This style
|
||||||
|
uses only the sunken outer basic border style. You use the status
|
||||||
|
field style in status bars and other read-only fields where the
|
||||||
|
content of the file can change dynamically.
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
— Microsoft Windows User Experience p. 422
|
||||||
|
</footer>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
As mentioned in these guidelines, these styles are used in other
|
||||||
|
contexts than just form elements and status fields such as to indicate
|
||||||
|
work areas and dynamic content. For that reason, we provide three
|
||||||
|
classes for these generic usages, <code>field-border</code>,
|
||||||
|
<code>field-border-disabled</code>, and
|
||||||
|
<code>status-field-border</code>. These classes only define the border
|
||||||
|
and background color and minimal padding, so you will typically need to
|
||||||
|
at least provide some extra padding yourself.
|
||||||
|
|
||||||
|
<%- example(`
|
||||||
|
<div class="field-border" style="padding: 8px">
|
||||||
|
Work area
|
||||||
|
</div>
|
||||||
|
`) %>
|
||||||
|
|
||||||
|
|
||||||
|
<%- example(`
|
||||||
|
<div class="field-border-disabled" style="padding: 8px">
|
||||||
|
Disabled work area
|
||||||
|
</div>
|
||||||
|
`) %>
|
||||||
|
|
||||||
|
<%- example(`
|
||||||
|
<div class="status-field-border" style="padding: 8px">
|
||||||
|
Dynamic content
|
||||||
|
</div>
|
||||||
|
`) %>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<h2 id="issues-contributing-etc">Issues, Contributing, etc.</h2>
|
<h2 id="issues-contributing-etc">Issues, Contributing, etc.</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
Reference in New Issue
Block a user