additional styling to auth page and new icon for finished label

This commit is contained in:
Justine Arreche 2013-10-03 18:00:54 -04:00
parent 872ebca991
commit 9d39402f2d
6 changed files with 42 additions and 15 deletions

BIN
assets/images/ui/cal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1,6 +1,9 @@
{{#if redirected}} {{#if redirected}}
<p>You need to sign in to see this page.</p> <p>You need to sign in to see this page.</p>
{{/if}} {{/if}}
<h3>Hey, we're so glad you're here!</h3>
<h2>In order to view your repositories, please sign in.</h2>
<p> <p>
<a href="#" {{action "signIn" target="Travis"}}> <a href="#" {{action "signIn" target="Travis"}}>
{{#if Travis.signingIn}} {{#if Travis.signingIn}}

View File

@ -21,9 +21,11 @@
{{/with}} {{/with}}
<p class="summary"> <p class="summary">
<span class="duration_label">{{t repositories.duration}}:</span> <span class="duration-icon"></span><span class="duration_label">{{t repositories.duration}}:</span>
<abbr class="duration" {{bindAttr title="lastBuildStartedAt"}}>{{formatDuration lastBuildDuration}}</abbr>, <abbr class="duration" {{bindAttr title="lastBuildStartedAt"}}>{{formatDuration lastBuildDuration}}</abbr>
<span class="finished_at_label">{{t repositories.finished_at}}:</span> </p>
<p class="summary">
<span class="finished-icon"></span><span class="finished_at_label">{{t repositories.finished_at}}:</span>
<abbr class="finished_at timeago" {{bindAttr title="lastBuildFinishedAt"}}>{{formatTime lastBuildFinishedAt}}</abbr> <abbr class="finished_at timeago" {{bindAttr title="lastBuildFinishedAt"}}>{{formatTime lastBuildFinishedAt}}</abbr>
</p> </p>

View File

@ -2,7 +2,7 @@
#auth #auth
#main #main
top: 100px margin-top: 100px
margin: 0 auto margin: 0 auto
padding: 25px 50px padding: 25px 50px
height: 100px height: 100px
@ -11,7 +11,6 @@
flex: none flex: none
width: 300px width: 300px
min-width: auto min-width: auto
//border: 10px solid #bbb
max-height: 400px max-height: 400px
@include border-radius(8px) @include border-radius(8px)
@ -19,6 +18,18 @@
margin-bottom: 1em margin-bottom: 1em
color: #333 color: #333
h2
color: #000000
font-weight: 400
text-align: center
margin-bottom: 40px
h3
font-size: 35px
color: #337389
text-align: center
margin: 0
p p
color: #334 color: #334
text-align: center text-align: center
@ -27,15 +38,10 @@
> a > a
display: inline-block display: inline-block
padding: 10px padding: 10px
border: 1px solid #d4d4d4 border: 0
-webkit-border-radius: 4px background-color: black
-moz-border-radius: 4px
-ms-border-radius: 4px
-o-border-radius: 4px
border-radius: 4px
background-color: #c7000f
font-size: 20px font-size: 20px
color: #f6f6f6 color: #ffffff
width: 200px width: 200px
text-align: center text-align: center

View File

@ -35,13 +35,29 @@
// @include border-radius(10px) // @include border-radius(10px)
.summary .summary
margin: 5px 0 0 16px margin: 5px 0 0 0
white-space: nowrap white-space: nowrap
overflow: hidden overflow: hidden
text-overflow: ellipsis text-overflow: ellipsis
color: $color-text-light color: $color-text-light
font-size: $font-size-small font-size: $font-size-small
.duration-icon
display: inline-block
width: 10px
height: 10px
margin-right: 5px
background-image: inline-image('ui/clock.png')
background-size: cover
.finished-icon
display: inline-block
width: 10px
height: 10px
margin-right: 5px
background-image: inline-image('ui/cal.png')
background-size: cover
.info .info
overflow: hidden overflow: hidden
margin: 12px -20px -15px -45px margin: 12px -20px -15px -45px
@ -66,7 +82,7 @@
span span
position: relative position: relative
display: block display: block
top: 25px top: 45px
left: -15px left: -15px
width: 20px width: 20px
height: 20px height: 20px

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B