Permalink
Browse files

CSS tidy up

  • Loading branch information...
1 parent 66d0e7d commit ad6169d606394955083090d59af904a4a394f1db @JonJagger committed Oct 5, 2012
@@ -7,16 +7,11 @@
border-radius: $radius;
}
-@mixin font-family
-{
- font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
-}
-
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
body
{
- @include font-family;
+ font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
padding: 0;
margin: 0;
margin-top: 0.5em;
@@ -68,7 +63,7 @@ input { font-size: 1.15em; }
color: $main-color;
font-size: 0.8em;
cursor: pointer;
- padding: 2px 8px 2px 8px;
+ padding: 0.1em 0.2em 0.1em 0.2em;
text-decoration: none;
font-weight: normal;
border: none;
@@ -81,8 +76,6 @@ input { font-size: 1.15em; }
.button.big { font-size: 1.45em; }
.button.large { font-size: 1.95em; }
-.tiny.button, .small.button { padding: 0 0.2em 0 0.2em; /* Top Right Bottom Left */ }
-
.button[disabled]
{
cursor: default;
@@ -159,7 +152,7 @@ div[class~="filename"], .button[disabled]:hover, .button
background: $light-background-color;
color: $main-color;
width: 45em;
- font-weight: 500;
+ font-weight: 500;
}
.line_numbers, .file_content { height: 27em; }
@@ -203,13 +196,12 @@ div[class~="filename"], .button[disabled]:hover, .button
border: 4px solid $light-background-color;
color: $main-color;
overflow-y: auto;
- font-family: monospace;
font-size: 16pt;
}
#kata_id_input { font-size: 0.9em; }
-#test { padding: 0 0.5em 0 0.5em; }
+#test { padding: 0 0.7em 0 0.7em; }
@@ -2,7 +2,6 @@
#seconds_per_column,
#maximum_columns
{
- @include font-family;
font-size: 1.1em;
width: 2em;
text-align: center;
@@ -1,7 +1,6 @@
#tag_number, .tag_number
{
- @include font-family;
font-size: 1.3em;
text-align: center; /* for diff and dashboard */
}
@@ -40,6 +40,6 @@ $j(document).ready(function() {
//--></script>
<input type="button"
- class="medium button"
+ class="small button"
id="resume_coding"
value="resume" />
@@ -18,6 +18,6 @@ $j(document).ready(function() {
//--></script>
<input type="button"
- class="medium button"
+ class="small button"
id="review_coding"
value="review" />
@@ -9,7 +9,7 @@
<tr>
<td>
- enter your id&nbsp;
+ enter your id
<input type="text"
id="kata_id_input"
size="12"
@@ -12,6 +12,6 @@ $j(document).ready(function() {
//--></script>
<input type="button"
- class="medium button"
+ class="small button"
id="setup"
value="setup" />
@@ -61,6 +61,6 @@ $j(document).ready(function() {
//--></script>
<input type="button"
- class="medium button"
+ class="small button"
id="start_coding"
value="start" />
@@ -51,7 +51,7 @@ $j(document).ready(function() {
</tr>
<tr>
- <td class="thin panel" align="left" style="font-size: 1.5em;">
+ <td class="thin panel monospace" align="left" style="font-size: 1.7em;">
<%= render :partial => 'row_code' -%>
</td>
</tr>
@@ -61,6 +61,7 @@ $j(document).ready(function() {
<%= render :partial => 'row_donate' -%>
</td>
</tr>
+
</table>
<table align="center">
@@ -14,9 +14,9 @@
<td>
<div id="tip"
style="font-size:0.8em;">
- Click any<br/>
+ Clicking a<br/>
traffic-light<br/>
- to open a<br/>
+ opens a<br/>
diff-view
</div>
</td>
View
@@ -23,13 +23,16 @@ The Diff view doesn't work properly in IE8.
MINOR
-----
+make the front-page font monospaced now its looks a bit like code?
make red/green diff-counts on diff-page into buttons that toggle red/green lines on-off
allow entry of only first 5 characters of ID as long as its unique to that length
dashboard/show URL does not contain the ID
add help button on diff page
add help button on dashboard page
-add donate button + raspberryPi logo to run-tests/dashboard/diff pages
if run-tests detects no change in files then don't create new traffic-light?
+sort filenames so filenames with no . in them are grouped together
+ and filenames with one or more . in them are grouped together?
+sort filenames so files with the same extension are grouped together?
. . . . . . .
$cd.alert() in cyberdojo-helpers.js can be refactored to use $cd.popupDialog()
upon start-coding the server could run cyber-dojo.sh and open the output file in the editor?

0 comments on commit ad6169d

Please sign in to comment.