Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

moved checkboxes to the left

  • Loading branch information...
commit d8a438b8eb4a4e77d121aa04d915fb24e38b6f5c 1 parent 56e4ad9
@pilu pilu authored
View
16 index.html
@@ -106,24 +106,24 @@ <h2 class="title">Tables</h2>
<div class="content">
<form action="#" class="form">
<table class="table">
- <tr>
- <th class="first">ID</th>
+ <tr>
+ <th class="first"><input type="checkbox" class="checkbox toggle" /></th>
+ <th>ID</th>
<th>Login</th>
<th>Name</th>
- <th>Surname</th>
- <th class="last checkbox"><input type="checkbox" class="toggle" /></th>
+ <th class="last">Surname</th>
</tr>
<tr>
- <td>1</td><td>hulk</td><td>Hulk</td><td>Hogan</td><td><input type="checkbox" class="checkbox" name="id" value="1" /></td>
+ <td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>1</td><td>hulk</td><td>Hulk</td><td>Hogan</td>
</tr>
<tr>
- <td>2</td><td>ultimate</td><td>Ultimate</td><td>Warrior</td><td><input type="checkbox" class="checkbox" name="id" value="1" /></td>
+ <td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>2</td><td>ultimate</td><td>Ultimate</td><td>Warrior</td>
</tr>
<tr>
- <td>3</td><td>andre</td><td>Andre</td><td>The Giant</td><td><input type="checkbox" class="checkbox" name="id" value="1" /></td>
+ <td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>3</td><td>andre</td><td>Andre</td><td>The Giant</td>
</tr>
<tr>
- <td>4</td><td>machoman</td><td>Macho Man</td><td>Randy Savage</td><td><input type="checkbox" class="checkbox" name="id" value="1" /></td>
+ <td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>4</td><td>machoman</td><td>Macho Man</td><td>Randy Savage</td>
</tr>
</table>
<div class="actions-bar">
View
6 stylesheets/base.css
@@ -186,12 +186,12 @@ body {
text-align: left;
}
-.table th.last {
+.table th.first {
width: 30px;
}
-.table th.checkbox {
- padding: 10px;
+.table .checkbox {
+ margin-left: 10px;
}
.table td {
View
4 stylesheets/themes/default/style.css
@@ -136,10 +136,6 @@ hr {
color: #FFF;
}
-.table th.first {
- width: 30px;
-}
-
.table td {
border-bottom:1px solid #F0F0EE;
}
Please sign in to comment.
Something went wrong with that request. Please try again.