Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved appearance of admin screens
- Loading branch information
Jenny Steele
committed
Feb 25, 2010
1 parent
55d95ca
commit 4623308
Showing
6 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
devtools/templates/turbogears/+package+/public/css/admin.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
.admin_grid{ | ||
margin-top: 1em; | ||
width: 400px; | ||
} | ||
.admin_grid img{ | ||
border: 0; | ||
vertical-align: middle; | ||
} | ||
|
||
a.add_link, a.edit_link{ | ||
background-repeat: no-repeat; | ||
padding-left: 20px; | ||
} | ||
a.add_link{ | ||
background-image: url('/images/add.png'); | ||
} | ||
a.edit_link{ | ||
background-image: url('/images/pencil.png'); | ||
} | ||
|
||
/* admin list view */ | ||
.crud_table .grid { | ||
border-collapse: collapse; | ||
border: 1px solid #ccc; | ||
} | ||
.crud_table .grid .odd{ | ||
background-color: #eee; | ||
} | ||
.crud_table .grid th{ | ||
background: url("/images/menubg.png") no-repeat scroll -20px top transparent; | ||
color: #fff; | ||
font-weight: normal; | ||
text-transform: capitalize; | ||
} | ||
.crud_table .grid td a{ | ||
color: #286571; | ||
} | ||
.crud_table .grid td.col_0 div{ | ||
float: left; | ||
} | ||
.crud_table .grid td.col_0 .edit_link, .crud_table .grid td.col_0 .delete-button{ | ||
display:block; | ||
height:17px; | ||
width:20px; | ||
padding:0; | ||
text-indent:-400px; | ||
background-repeat: no-repeat; | ||
} | ||
.crud_table .grid td.col_0 .delete-button{ | ||
font-size: inherit; | ||
background-image: url('/images/delete.png'); | ||
cursor: pointer; | ||
} | ||
|
||
/* admin add/edit view */ | ||
.crud_edit label, .crud_add label{ | ||
font-size: 12px; | ||
} | ||
.crud_edit input, .crud_add input, | ||
.crud_edit select, .crud_add select{ | ||
width: 15em; | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters