2011-11-09 22:55:59 +01:00
|
|
|
/* CSS file for Stop… Camping Time! */
|
|
|
|
|
|
|
|
// Colours
|
|
|
|
$light-grey: #efefef
|
2011-11-28 13:31:26 +01:00
|
|
|
$medium-grey: #cfcfcf
|
2011-11-09 22:55:59 +01:00
|
|
|
$dark-grey: #9f9f9f
|
2012-01-03 17:39:21 +01:00
|
|
|
$light-red: #cb0000
|
2011-11-09 22:55:59 +01:00
|
|
|
$dark-red: #990000
|
|
|
|
|
|
|
|
/* General classes */
|
|
|
|
.right
|
|
|
|
text-align: right
|
|
|
|
|
|
|
|
.float_left
|
|
|
|
float: left
|
|
|
|
margin-right: 50px
|
|
|
|
|
|
|
|
.clear
|
|
|
|
clear: both
|
|
|
|
padding-top: 10px
|
|
|
|
|
2011-11-28 13:26:12 +01:00
|
|
|
.billed
|
|
|
|
text-decoration: line-through
|
|
|
|
|
2011-12-02 22:18:55 +01:00
|
|
|
.indent
|
|
|
|
padding-left: 20px
|
|
|
|
|
2012-01-03 17:39:21 +01:00
|
|
|
.warn
|
|
|
|
font-weight: bold
|
|
|
|
color: $light-red
|
|
|
|
|
2011-11-09 22:55:59 +01:00
|
|
|
/* Basic elements */
|
|
|
|
a
|
|
|
|
text-decoration: none
|
|
|
|
color: $dark-red
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
text-decoration: underline
|
|
|
|
|
|
|
|
body
|
|
|
|
font-family: sans-serif
|
|
|
|
font-size: 13px
|
|
|
|
margin: 0px
|
|
|
|
|
2011-11-29 17:33:07 +01:00
|
|
|
h3
|
|
|
|
margin: 10px 0px
|
|
|
|
|
2011-11-09 22:55:59 +01:00
|
|
|
/* Main layout */
|
|
|
|
#wrapper
|
|
|
|
width: auto
|
|
|
|
height: auto
|
|
|
|
margin: 10px 10px
|
|
|
|
|
|
|
|
#content
|
|
|
|
padding: 10px
|
|
|
|
border: 1px solid
|
|
|
|
background: $light-grey
|
|
|
|
|
|
|
|
ol#menu
|
|
|
|
list-style: none
|
|
|
|
padding: 0px
|
|
|
|
margin: 5px
|
|
|
|
|
|
|
|
li
|
|
|
|
display: inline
|
|
|
|
border: solid black
|
|
|
|
border-width: 1px 1px 0 1px
|
|
|
|
padding: 5px 10px
|
|
|
|
margin: 0px 0.5em 0px 0px
|
|
|
|
|
|
|
|
&.selected
|
|
|
|
padding-bottom: 6px
|
|
|
|
background: $light-grey
|
|
|
|
|
2011-11-11 14:55:17 +01:00
|
|
|
/* Table layout */
|
2011-11-09 22:55:59 +01:00
|
|
|
table
|
|
|
|
padding: 3px 0px
|
|
|
|
border-spacing: 0px 4px
|
|
|
|
|
|
|
|
col.amount, col.hours, col.hourly_rate
|
2011-11-11 14:55:17 +01:00
|
|
|
width: 10%
|
2011-11-09 22:55:59 +01:00
|
|
|
col.flag
|
2011-11-16 11:00:17 +01:00
|
|
|
width: 3%
|
2011-11-11 14:55:17 +01:00
|
|
|
col.date
|
2011-11-15 18:03:29 +01:00
|
|
|
width: 9%
|
2011-11-09 22:55:59 +01:00
|
|
|
col.start_time, col.end_time
|
2011-11-11 14:55:17 +01:00
|
|
|
width: 5%
|
2011-11-09 22:55:59 +01:00
|
|
|
col.comment
|
2011-11-11 14:55:17 +01:00
|
|
|
width: 20%
|
2011-12-22 16:35:03 +01:00
|
|
|
col.customer
|
|
|
|
width: 10%
|
2011-11-09 22:55:59 +01:00
|
|
|
col.task
|
2011-12-22 16:35:03 +01:00
|
|
|
width: 20%
|
2011-11-09 22:55:59 +01:00
|
|
|
col.name, col.period
|
|
|
|
width: 25%
|
|
|
|
col.short_name
|
|
|
|
width: 20%
|
|
|
|
col.address
|
|
|
|
width: 20%
|
2011-11-11 14:55:17 +01:00
|
|
|
col.email, col.phone
|
2011-11-09 22:55:59 +01:00
|
|
|
width: 15%
|
|
|
|
col.number
|
|
|
|
width: 7%
|
|
|
|
|
|
|
|
&.overview
|
|
|
|
width: 50%
|
|
|
|
|
|
|
|
&.timeline
|
|
|
|
width: 100%
|
|
|
|
|
|
|
|
&.tasks
|
|
|
|
width: 60%
|
|
|
|
|
2011-11-16 11:00:17 +01:00
|
|
|
&.customers, &.invoice_select
|
2011-11-09 22:55:59 +01:00
|
|
|
width: 75%
|
|
|
|
|
|
|
|
&.invoices
|
|
|
|
width: 50%
|
|
|
|
|
|
|
|
td
|
2011-11-11 14:55:17 +01:00
|
|
|
padding: 0px 5px
|
2011-11-09 22:55:59 +01:00
|
|
|
vertical-align: top
|
|
|
|
|
|
|
|
th
|
2011-11-11 14:55:17 +01:00
|
|
|
padding: 0px 5px
|
2011-11-09 22:55:59 +01:00
|
|
|
text-align: left
|
|
|
|
background: $dark-grey
|
|
|
|
|
2011-11-28 13:31:26 +01:00
|
|
|
tr
|
|
|
|
&:hover
|
|
|
|
background-color: $medium-grey
|
|
|
|
|
|
|
|
&.total
|
|
|
|
border-top: solid black
|
2011-11-09 22:55:59 +01:00
|
|
|
|
|
|
|
td.key
|
|
|
|
font-weight: bold
|
|
|
|
width: 80px
|
|
|
|
padding-bottom: 5px
|
|
|
|
|
2011-11-11 14:55:17 +01:00
|
|
|
input
|
|
|
|
width: 100%
|
|
|
|
|
2011-11-16 11:00:17 +01:00
|
|
|
input[type="submit"], input[type="reset"], input[type="checkbox"]
|
2011-11-11 14:55:17 +01:00
|
|
|
width: auto
|
|
|
|
|
2011-11-09 22:55:59 +01:00
|
|
|
/* Form layout */
|
2011-11-11 14:55:17 +01:00
|
|
|
form
|
2011-11-09 22:55:59 +01:00
|
|
|
ol
|
|
|
|
list-style: none
|
2012-01-06 20:19:58 +01:00
|
|
|
padding: 1px 10px
|
|
|
|
margin: 2px
|
2011-11-09 22:55:59 +01:00
|
|
|
|
|
|
|
label
|
|
|
|
width: 180px
|
2012-01-03 17:39:46 +01:00
|
|
|
margin: 4px 10px 4px 0px
|
2011-11-09 22:55:59 +01:00
|
|
|
float: left
|
|
|
|
|
2012-01-03 17:39:46 +01:00
|
|
|
a, span
|
|
|
|
margin: 4px 0px
|
|
|
|
display: inline-block
|
2011-11-09 22:55:59 +01:00
|
|
|
|
|
|
|
ol.radio
|
|
|
|
margin-left: 195px
|
|
|
|
padding: 0px
|
|
|
|
|
|
|
|
label
|
|
|
|
float: none
|
|
|
|
|
|
|
|
input
|
|
|
|
width: auto
|
|
|
|
|
2011-11-11 13:52:57 +01:00
|
|
|
li
|
2012-01-06 16:39:37 +01:00
|
|
|
padding-bottom: 5px
|
2012-01-03 17:39:46 +01:00
|
|
|
vertical-align: top
|
2011-11-09 22:55:59 +01:00
|
|
|
|
2012-01-03 17:39:46 +01:00
|
|
|
input[type="text"], select
|
2011-11-11 14:55:17 +01:00
|
|
|
width: 250px
|