Skip to content

Commit 5a7c939

Browse files
committed
Fixed positions
1 parent 0317869 commit 5a7c939

File tree

4 files changed

+22
-14
lines changed

4 files changed

+22
-14
lines changed

config.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
set :js_dir, 'javascripts'
55
set :images_dir, 'images'
66

7+
activate :livereload
8+
79
configure :build do
810
activate :minify_css
911
activate :minify_javascript

source/index.haml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
#timeline
1+
#box
2+
#box-inner
3+
#timeline

source/javascripts/timesheet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
'<span class="label">',
3737
cur.label,
3838
'</span>'
39-
];
39+
].join('');
4040

4141
html.push('<li>' + line + '</li>');
4242
}

source/stylesheets/all.css.sass

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,21 @@ html, body
55
padding: 0
66
width: 100%
77
height: 100%
8-
background-color: rgba(51, 51, 51, 0.9)
8+
background-color: rgba(61, 61, 61, 1)
99

1010
#container
11+
height: 100%
12+
13+
#box
1114
display: table
1215
width: 100%
1316
height: 100%
1417

15-
#content
16-
display: table-cell
17-
height: 100%
18-
text-align: center
19-
vertical-align: middle
18+
#box-inner
19+
display: table-cell
20+
height: 100%
21+
text-align: center
22+
vertical-align: middle
2023

2124
#timeline
2225
width: 800px
@@ -25,6 +28,7 @@ html, body
2528

2629
.timeline
2730
border-top: 1px solid rgba(250, 250, 250, 0.5)
31+
background-color: rgba(51, 51, 51, 1)
2832
position: relative
2933

3034
.scale
@@ -50,7 +54,7 @@ html, body
5054
border-right: 1px dashed rgba(250, 250, 250, 0.3)
5155
5256
.data
53-
margin: 24px 0 0 0
57+
margin: 28px 0 0 0
5458
padding: 0
5559
text-align: left
5660
list-style-type: none
@@ -60,10 +64,10 @@ html, body
6064
overflow: hidden
6165

6266
li
63-
// background-color: rgba(251, 251, 251, 0.1)
64-
margin: 0 0 4px -3px
65-
line-height: 24px
66-
height: 24px
67+
background-color: rgba(251, 251, 251, 0.1)
68+
margin: 0 0 3px -3px
69+
line-height: 21px
70+
height: 21px
6771
display: block
6872
cursor: pointer
6973
clear: both
@@ -87,7 +91,7 @@ html, body
8791
display: block
8892
float: left
8993
position: relative
90-
top: 8px
94+
top: 7px
9195
border-radius: 3px
9296
margin: 0 10px 0 0
9397
opacity: 0.7

0 commit comments

Comments
 (0)