Skip to content

Commit

Permalink
Tweaked Grid CSS to address BB Torch forms issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Jackson authored and Paul Jackson committed Sep 12, 2012
1 parent 1a4e64c commit 13ec8c0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/grids/css/util-min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demos/grids/grid-icon-eng.html
Expand Up @@ -112,10 +112,10 @@ <h2>Table of contents</h2>
<h2 id="overview">Overview</h2>
<p>The Fugue icon set was created by <a href="http://p.yusukekamiyamane.com/">Yusuke Kamiyamane</a>. Fugue has over 3,400 icons, however only commonly used icons have them have been incorporated into WET.</p>
<p>An icon is attached to an empty <code>span</code>: </p>
<pre>&lt;span class=&quot;icon-alarm&quot;&gt;&lt;/span&gt;</pre>
<pre>&lt;span class=&quot;wb-icon-alarm&quot;&gt;&lt;/span&gt;</pre>

<p>Since the icons are CSS background images, they cannot have an <code>alt</code> attribute. Therefore, the icon must be accompanied by actual text to ensure that there is no loss of information for the visually impaired user. For example: </p>
<pre>&lt;p&gt;&lt;span class=&quot;icon-calendar&quot;&gt;&lt;/span&gt;&lt;a href=&quot;#&quot;&gt;View the events calendar&lt;/a&gt;&lt;/p&gt;</pre>
<pre>&lt;p&gt;&lt;span class=&quot;wb-icon-calendar&quot;&gt;&lt;/span&gt;&lt;a href=&quot;#&quot;&gt;View the events calendar&lt;/a&gt;&lt;/p&gt;</pre>
<h2 id="icons">Icon options</h2>
<div class="span-2">
<h2 class="background-light">Time and place</h2>
Expand Down
9 changes: 7 additions & 2 deletions src/grids/sass/includes/util-mobile.scss
Expand Up @@ -50,6 +50,11 @@ form {
position:absolute;
}

input, textarea, select {
box-shadow:none !important;
.ui-mobile {
input, textarea, select {
&:focus, &:active {
box-shadow: none;
/*transition: all 0 ease 0;*/
}
}
}

0 comments on commit 13ec8c0

Please sign in to comment.