mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-13 19:04:22 +01:00
Fixes #5. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@91 a4c988fc-2ded-0310-b66e-134b36920a42
381 lines
No EOL
6.5 KiB
CSS
381 lines
No EOL
6.5 KiB
CSS
/* Stylesheet for the main listing page */
|
|
|
|
body {
|
|
font-family: "Lucida Grande", Verdana, Geneva, Arial, sans-serif;
|
|
font-size: 12px;
|
|
line-height: 19px;
|
|
padding: 0px 10px;
|
|
margin: 0px;
|
|
background: #eee;
|
|
}
|
|
|
|
p {
|
|
padding: 2px;
|
|
}
|
|
|
|
img {border: 0px;}
|
|
|
|
a, a:link, a:active, a:visited {
|
|
color: #cc3334;
|
|
text-decoration: none;
|
|
padding-left: 1px;
|
|
padding-right: 1px;
|
|
}
|
|
|
|
a:hover {
|
|
color: #fff;
|
|
background-color: #cc3334;
|
|
}
|
|
|
|
/* Structural divs */
|
|
|
|
#display_box {
|
|
float: left;
|
|
width: 450px;
|
|
margin: 0px 15px 50px 15px;
|
|
}
|
|
|
|
#full_width_display {
|
|
float: left;
|
|
width: 800px;
|
|
margin: 0px 15px 50px 15px;
|
|
}
|
|
|
|
#display_box_projects {
|
|
float: left;
|
|
width: 820px;
|
|
margin: 0px 15px 50px 15px;
|
|
}
|
|
|
|
/* Navigation links at the top */
|
|
|
|
#navcontainer {
|
|
margin: 15px;
|
|
width: 822px;
|
|
}
|
|
|
|
#navlist {
|
|
margin: 0;
|
|
padding: 0 0 20px 10px;
|
|
border-bottom: 1px solid #000;
|
|
}
|
|
|
|
#navlist ul, #navlist li {
|
|
margin: 0;
|
|
padding: 0;
|
|
display: inline;
|
|
list-style-type: none;
|
|
}
|
|
|
|
#navlist a:link, #navlist a:visited {
|
|
float: left;
|
|
line-height: 14px;
|
|
font-weight: bold;
|
|
margin: 0 10px 4px 10px;
|
|
text-decoration: none;
|
|
color: #999;
|
|
}
|
|
|
|
#navlist a:link#current, #navlist a:visited#current, #navlist a:hover {
|
|
border-bottom: 4px solid #000;
|
|
padding-bottom: 2px;
|
|
background: transparent;
|
|
color: #000;
|
|
}
|
|
|
|
#navlist a:hover { color: #000; }
|
|
|
|
.contexts {
|
|
padding: 0px 5px 2px 5px;
|
|
border: 1px solid #999;
|
|
margin: 0px 0px 15px 0px;
|
|
background: #fff;
|
|
}
|
|
|
|
.contexts h2 {
|
|
background: #CCC;
|
|
padding: 5px;
|
|
margin-top: 0px;
|
|
margin-left: -5px;
|
|
margin-right: -5px;
|
|
color: #fff;
|
|
text-shadow: rgba(0,0,0,.4) 0px 2px 5px;
|
|
}
|
|
|
|
.new_actions {
|
|
padding: 0px 5px 2px 5px;
|
|
background: #E7FDDE;
|
|
border: 1px solid #57A620;
|
|
padding: 5px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.new_actions h2 {
|
|
padding: 0 px 5px 0px 5px;
|
|
color: #57A620;
|
|
}
|
|
|
|
h2 a, h2 a:link, h2 a:active, h2 a:visited {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
h2 a:hover {
|
|
color: #cc3334;
|
|
background-color: transparent;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#input_box {
|
|
margin-left: 490px;
|
|
margin-top: 20px;
|
|
width: 313px;
|
|
padding: 0px 15px 0px 15px;
|
|
/* border: 1px solid #999; */
|
|
}
|
|
|
|
#input_box h2 {
|
|
color: #999;
|
|
|
|
}
|
|
|
|
#input_box ul {list-style-type: circle; font-size: 0.9em;}
|
|
|
|
.box {
|
|
float: left;
|
|
width: 20px;
|
|
}
|
|
|
|
.big-box {
|
|
float: left;
|
|
width: 55px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.description {
|
|
margin-left: 60px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.tools {
|
|
margin-left: 25px;
|
|
width: 40px;
|
|
border-top: 1px solid #999;
|
|
}
|
|
|
|
#footer {
|
|
clear: both;
|
|
font-size: 0.8em;
|
|
text-align: center;
|
|
color: #999;
|
|
margin: 20px 20px 5px 20px;
|
|
padding: 0px;
|
|
}
|
|
|
|
/* The notes which may be attached to an item */
|
|
.notes {
|
|
margin: 5px 20px;
|
|
padding: 3px;
|
|
border: 1px solid #F5ED59;
|
|
background: #FAF6AE;
|
|
color: #666666;
|
|
}
|
|
|
|
.notes p, .notes li {
|
|
padding: 1px 5px;
|
|
margin: 0px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.notes ul {
|
|
list-style-type: disc;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.notes ol {
|
|
list-style-type: decimal;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
/* The alert box notifications */
|
|
.confirmation {
|
|
margin: 20px 50px 20px 490px;
|
|
border: 1px solid #007E00;
|
|
background-color: #c2ffc2;
|
|
padding: 5px;
|
|
color: #007E00;
|
|
text-align: center;
|
|
}
|
|
|
|
.warning {
|
|
margin: 20px 50px 20px 490px;
|
|
border: 1px solid #ED2E38;
|
|
background-color: #F6979C;
|
|
padding: 5px;
|
|
color: #ED2E38;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Draw attention to some text
|
|
Same format as traffic lights */
|
|
.red {
|
|
color: #fff;
|
|
background: #f00;
|
|
padding: 1px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.amber {
|
|
color: #fff;
|
|
background: #ff6600;
|
|
padding: 1px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.green {
|
|
color: #fff;
|
|
background: #33cc00;
|
|
padding: 1px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.grey {
|
|
color: #fff;
|
|
background: #999;
|
|
padding: 1px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.info {
|
|
color: #fff;
|
|
background: #CCC;
|
|
border: 1px solid #999;
|
|
padding: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Backgrounds marking out 'staleness' of a task based on age of creation date
|
|
The colour of the background gets progressively yellower with age */
|
|
|
|
.stale_l1 {
|
|
margin-left: 60px;
|
|
margin-right: 10px;
|
|
background: #ffffCC;
|
|
}
|
|
|
|
.stale_l2 {
|
|
margin-left: 60px;
|
|
margin-right: 10px;
|
|
background: #ffff66;
|
|
}
|
|
|
|
.stale_l3 {
|
|
margin-left: 60px;
|
|
margin-right: 10px;
|
|
background: #ffff00;
|
|
}
|
|
|
|
|
|
/* Shows the number of undone next action */
|
|
.badge {
|
|
color: #fff;
|
|
background: #f00;
|
|
padding: 5px;
|
|
font-size: 16px;
|
|
margin: 10px 10px 0px 0px;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: none;
|
|
margin-left: -25px;
|
|
}
|
|
|
|
li {
|
|
font-size: 1.1em;
|
|
padding: 3px 0px;
|
|
}
|
|
|
|
.even_row {
|
|
background: #fff;
|
|
padding: 5px 5px 5px 10px;
|
|
}
|
|
|
|
.odd_row {
|
|
background: #EDF3FE;
|
|
padding: 5px 5px 5px 10px;
|
|
}
|
|
|
|
.edit-form {
|
|
background: #ccc;
|
|
padding: 5px;
|
|
border-top: 1px solid #999;
|
|
border-bottom: 1px solid #999;
|
|
}
|
|
|
|
/* Right align labels in forms */
|
|
|
|
.label {
|
|
text-align: right;
|
|
}
|
|
|
|
input {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Positioning the 'cells' in the list */
|
|
.position {text-align: left; width: 10%; float: left; font-size: 1.1em;}
|
|
.data {text-align: left; width: 60%; float: left;}
|
|
.buttons {text-align: right; width: 25%; margin-left: 75%;}
|
|
|
|
table.list {
|
|
margin-top: 0px;
|
|
border-top: 1px solid #ccc;
|
|
border-left: 1px solid #ccc;
|
|
border-right: 1px solid #ccc;
|
|
background: #fff;
|
|
}
|
|
|
|
div#list-projects, div#list-contexts {
|
|
border: 1px solid #999;
|
|
}
|
|
|
|
.next_actions td {
|
|
border: none;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
/* Form elements */
|
|
form {
|
|
border: 1px solid #CCC;
|
|
padding: 10px;
|
|
margin: 0px;
|
|
width: 313px;
|
|
}
|
|
|
|
.inline-form {
|
|
border: none;
|
|
padding: 3px;
|
|
width: 100%;
|
|
}
|
|
|
|
label {
|
|
font-weight: bold;
|
|
padding: 0px 0px;
|
|
}
|
|
|
|
input, select {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.feed {
|
|
font-family: verdana, sans-serif;
|
|
font-size: 10px;
|
|
font-weight:bold;
|
|
text-decoration:none;
|
|
color: white;
|
|
background-color: #F60;
|
|
border:1px solid;
|
|
border-color: #FC9 #630 #330 #F96;
|
|
padding:0px 3px 0px 3px;
|
|
margin:0px;
|
|
} |