edbob/edbob/pyramid/static/css/edbob.css
Lance Edgar 727b9a5fa7 save point (see note)
Added 'db' command, tweaked pyramid scaffold a bit (added 'initialize' command
there),  removed migrate 'schema' repository in preparation for alembic.
2012-03-25 13:48:13 -05:00

421 lines
5.9 KiB
CSS

/******************************
* General
******************************/
* {
margin: 0px;
}
html, body {
font-family: sans-serif;
font-size: .9em;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
li {
line-height: 2em;
}
.left {
float: left;
text-align: left;
}
.right {
float: right;
text-align: right;
}
/******************************
* Main Layout
******************************/
#main-wrapper {
padding: 5px;
text-align: center;
}
#main {
margin: auto;
text-align: left;
width: 800px;
}
#header {
border-bottom: 1px solid #000000;
overflow: auto;
}
#header h1 {
margin: 0px 5px 10px 5px;
}
#login {
margin: 8px auto auto 20px;
}
#user-menu {
float: left;
}
#home-link {
font-weight: bold;
}
#header-links {
float: right;
text-align: right;
}
#main-menu {
border-top: 1px solid black;
clear: both;
font-weight: bold;
}
#main-menu li {
display: inline;
margin-right: 15px;
}
ul.sub-menu {
border-top: 1px solid black;
}
ul.sub-menu li {
display: inline;
margin-right: 15px;
}
#footer {
clear: both;
margin-top: 40px;
text-align: center;
}
#body {
padding-top: 15px;
}
h1 {
margin-bottom: 15px;
}
h2 {
margin-bottom: 10px;
}
p {
margin-bottom: 5px;
}
div.flash-message {
background-color: #dddddd;
margin-bottom: 8px;
padding: 3px;
}
div.error {
color: #dd6666;
font-weight: bold;
margin-bottom: 10px;
}
div.buttons {
clear: both;
margin-top: 10px;
}
div.controls {
font-weight: bold;
margin: 10px auto;
}
div.controls div {
margin: 5px;
}
div.controls label {
display: block;
float: left;
width: 120px;
}
/******************************
* Dialogs
******************************/
div.dialog {
display: none;
}
#feedback-dialog textarea {
height: 180px;
width: 500px;
}
/******************************
* Filters
******************************/
div.filters {
/* margin-bottom: 10px; */
}
div.filter {
margin-bottom: 10px;
}
div.filter label {
margin-right: 8px;
}
div.filter select.filter-type {
margin-right: 8px;
}
div.filters div.buttons * {
margin-right: 8px;
}
/******************************
* "Grid Management"
******************************/
/* div.grid-mgmt { */
/* float: right; */
/* } */
table.search-wrapper {
border-collapse: collapse;
margin-bottom: 10px;
width: 100%;
}
table.search-wrapper td {
/* border: 1px solid black; */
padding: 0px;
}
table.search-wrapper td.grid-mgmt {
text-align: right;
vertical-align: bottom;
}
/******************************
* Grids
******************************/
a.add-object {
display: block;
float: right;
}
ul.grid-menu {
display: block;
float: right;
list-style-type: none;
margin-bottom: 5px;
}
div.grid {
clear: both;
}
table.grid {
border-top: 1px solid black;
border-left: 1px solid black;
border-collapse: collapse;
font-size: 90%;
white-space: nowrap;
width: 100%;
}
table.grid th,
table.grid td {
border-right: 1px solid black;
border-bottom: 1px solid black;
padding: 2px 3px;
}
table.grid th.sortable a {
display: block;
padding-right: 18px;
}
table.grid th.sorted {
background-position: right center;
background-repeat: no-repeat;
}
table.grid th.sorted.asc {
background-image: url(../img/sort_arrow_up.png);
}
table.grid th.sorted.desc {
background-image: url(../img/sort_arrow_down.png);
}
table.grid tr.even {
background-color: #e0e0e0;
}
table.grid thead th.checkbox,
table.grid tbody td.checkbox {
text-align: center;
vertical-align: middle;
width: 15px;
}
table.grid td.action {
cursor: default;
}
table.grid td.delete {
text-align: center;
width: 18px;
background-image: url(../img/delete.png);
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
}
table.grid tbody tr.hovering {
background-color: #bbbbbb;
}
table.grid.hoverable tbody tr {
cursor: default;
}
table.grid.clickable tbody tr {
cursor: pointer;
}
table.grid.selectable tbody tr,
table.grid.checkable tbody tr {
cursor: pointer;
}
table.grid.selectable tbody tr.selected,
table.grid.checkable tbody tr.selected {
background-color: #666666;
color: white;
}
div.pager {
margin-top: 3px;
}
div.pager p.showing {
float: left;
}
#grid-page-count {
font-size: 85%;
}
div.pager p.page-links {
float: right;
}
/******************************
* Fieldsets
******************************/
div.field-couple {
clear: both;
margin-bottom: 10px;
}
div.field-couple div.label,
div.field-couple label {
display: block;
float: left;
width: 135px;
font-weight: bold;
margin-top: 2px;
white-space: nowrap;
}
div.field-couple div.field-error {
clear: both;
color: #dd6666;
font-weight: bold;
}
div.field-couple div.field {
display: block;
float: left;
margin-bottom: 5px;
line-height: 25px;
}
div.field-couple div.field input[type=text],
div.field-couple div.field select {
width: 180px;
}
div.checkbox {
margin: 15px 0px;
}
table.fieldset tr {
vertical-align: top;
}
table.fieldset td {
padding: 2px;
}
table.fieldset td.label {
font-weight: bold;
width: 120px;
}
/******************************
* Sub-Grids
******************************/
div.subgrid {
margin-top: 20px;
}
div.subgrid label {
font-weight: bold;
display: block;
float: left;
margin-bottom: 5px;
}
/******************************
* Autocomplete
******************************/
div.autocomplete {
border: 1px solid #000000;
margin-top: 5px;
}
div.autocomplete div {
background-color: #dddddd;
margin: 0px;
padding: 2px 5px;
}
div.autocomplete strong {
margin: 0px 1px;
}
div.autocomplete .selected {
cursor: pointer;
background-color: #aaaaaa;
}