Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Substantial improvements to layout in all four major browsers (IE7, F…
…F3, Safari 3, Chrome)
  • Loading branch information
Dave Peck committed Mar 24, 2009
1 parent 0f7658f commit 6ad5a00
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 62 deletions.
61 changes: 7 additions & 54 deletions static/css/go.css
Expand Up @@ -51,16 +51,6 @@ a
text-decoration: none;
}

.hard_to_see
{
opacity: 0.0;
}

.easy_to_see
{
opacity: 1.0;
}


/*----------------------------------------------------------------------------
* Sprites
Expand Down Expand Up @@ -552,16 +542,19 @@ p.flash
border: 1px solid #555;
background: #383838;
color: #BBB;
padding: 5px;
/* padding: 5px; */
font-size: 1.0em;
font-weight: normal;
line-height: 1.2em;
height: 3.4em;
font-family: HelveticaNeue, Helvetica, Arial, sans-serif;
resize: none;
outline: none;
max-width: 361px;
width: 361px;
/* max-width: 349px; */
/* width: 349px; */
margin: 0;
padding: 5px 0px 5px 5px;
width: 354px;
}

#game_info h2.chat_heading
Expand Down Expand Up @@ -745,46 +738,6 @@ p.flash
{
padding-left: 2em;
}

#game_info #game_status div.email_settings
{
border: 0;
margin: 0;
padding: 0;
float: right;
}

img.yes_email
{
width: 25px;
height: 25px;
border: 0;
background:url(/img/email-on.png);
}

img.no_email
{
width: 25px;
height: 25px;
border: 0;
background:url(/img/email-off.png);
}

img.yes_email:hover
{
width: 25px;
height: 25px;
border: 0;
background:url(/img/email-on-hover.png);
}

img.no_email:hover
{
width: 25px;
height: 25px;
border: 0;
background:url(/img/email-off-hover.png);
}

#chat_contents
{
Expand Down Expand Up @@ -884,7 +837,7 @@ img.no_email:hover
padding-bottom: 0px;

position: absolute;
right: 5;
right: 0px;
top: 0;
display: block;
}
Expand Down
14 changes: 7 additions & 7 deletions static/css/ie.css
Expand Up @@ -20,14 +20,14 @@ along with Dave Peck's Go. If not, see <http://www.gnu.org/licenses/>.
*/


.hard_to_see
#chat
{
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);
padding-top: 1em;
}

.easy_to_see
#grid_information
{
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
}
position: absolute;
top: -2px;
right: 0px;
}
5 changes: 5 additions & 0 deletions templates/head.html
@@ -1,5 +1,10 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link href="/css/go.css" type="text/css" rel="stylesheet"></link>

<!--[if IE]>
<link href="/css/ie.css" type="text/css" rel="stylesheet"></link>
<![endif]-->

<script src="/js/prototype.js" type="text/javascript"></script>
<script src="/js/scriptaculous.js" type="text/javascript"></script>
<script src="/js/go.js" type="text/javascript"></script>
2 changes: 1 addition & 1 deletion templates/play.html
Expand Up @@ -32,7 +32,7 @@
<div id="board_extras"><a href="/options/{{your_cookie}}/" class="extra_link">options</a> | <a href="/history/{{your_cookie}}/" id="view_history" class="{% if has_last_move %}extra_link{% else %}disabled_extra_link{% endif %}">view history</a>
<span id="grid_information">
<span id="grid_location">&nbsp;</span>
<img id="grid_button" src="/img/transparent-1x1.png" class="grid_disabled" alt="Click this to turn on grid square names." />
<img id="grid_button" src="/img/transparent-1x1.png" class="grid_disabled" alt="Click this to toggle grid square names on and off." title="Click this to toggle grid square names on and off." />
</span>
</div>
</div>
Expand Down

0 comments on commit 6ad5a00

Please sign in to comment.