Merge branch 'ember-cli' into error500
This commit is contained in:
commit
f7b034102a
|
@ -12,4 +12,10 @@ Controller = Ember.Controller.extend
|
|||
"#{location.protocol}//www.gravatar.com/avatar/#{@get('user.gravatarId')}?s=48&d=mm"
|
||||
).property('user.gravatarId')
|
||||
|
||||
actions: {
|
||||
toggleBurgerMenu: ->
|
||||
@toggleProperty('is-open')
|
||||
return false
|
||||
}
|
||||
|
||||
`export default Controller`
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Travis</title>
|
||||
<title>{{title}}</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
.centered .row
|
||||
max-width: 1024px
|
||||
|
||||
.main, .profile-view
|
||||
.main,
|
||||
.profile-view
|
||||
position: relative
|
||||
width: 100%
|
||||
min-height: 100vh
|
||||
|
@ -14,13 +15,10 @@
|
|||
#not-found #main
|
||||
padding: 100px 50px 0 50px
|
||||
|
||||
|
||||
#left, #right
|
||||
#left, #right, .wrapper-main
|
||||
position: relative
|
||||
min-height: 100%
|
||||
|
||||
#left
|
||||
min-height: 100%
|
||||
padding: 0 0 110px 0
|
||||
background-color: #fbfbfa
|
||||
border-right: 1px solid $color-border-normal
|
||||
|
@ -52,17 +50,18 @@
|
|||
// layout magic http://lea.verou.me/2011/01/styling-children-based-on-their-number-with-css3/
|
||||
.wrapper-main
|
||||
overflow: hidden
|
||||
height: 100%
|
||||
& > div:first-child:nth-last-child(2)
|
||||
width: grid-calc(18, 24)
|
||||
width: grid-calc(20, 24)
|
||||
float: left
|
||||
|
||||
& > div:first-child:nth-last-child(2) ~ div
|
||||
width: grid-calc(6, 24)
|
||||
width: grid-calc(4, 24)
|
||||
max-width: 180px
|
||||
float: right
|
||||
|
||||
.maximized
|
||||
.wrapper-main
|
||||
overflow: hidden
|
||||
& > div:first-child:nth-last-child(2)
|
||||
width: grid-calc(24, 24)
|
||||
float: none
|
||||
|
@ -71,10 +70,15 @@
|
|||
display: none
|
||||
|
||||
@media #{$large-up}
|
||||
|
||||
#left, #right, .wrapper-main
|
||||
min-height: 100vh
|
||||
|
||||
#left
|
||||
width: grid-calc(5, 24)
|
||||
float: left
|
||||
margin-left: -100%
|
||||
max-width: 325px
|
||||
|
||||
.wrapper-main
|
||||
width: grid-calc(19, 24)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
div.loading
|
||||
div.loading, p.loading
|
||||
padding: 15px 25px 0 0
|
||||
span
|
||||
padding-right: 25px
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
|
||||
.controls
|
||||
position: absolute
|
||||
top: 10px
|
||||
top: 8px
|
||||
right: 0
|
||||
white-space: nowrap
|
||||
a
|
||||
|
|
|
@ -72,10 +72,6 @@
|
|||
#tab_new.display
|
||||
display: inline-block
|
||||
|
||||
@media #{$medium-up}
|
||||
.tab
|
||||
min-height: 100vh
|
||||
|
||||
#main
|
||||
.tabs
|
||||
border-bottom: 3px solid #f5f5f6
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
|
||||
#top
|
||||
font-size: $font-size-small
|
||||
font-size: $font-size-normal
|
||||
background : $topbar-bg
|
||||
height: 55px
|
||||
overflow: hidden
|
||||
|
||||
#logo
|
||||
position: relative
|
||||
|
@ -21,6 +19,12 @@
|
|||
@include resetul
|
||||
line-height: 30px
|
||||
|
||||
#navigation
|
||||
height: 0
|
||||
overflow: hidden
|
||||
&.is-open
|
||||
height: auto
|
||||
|
||||
a, span
|
||||
color: $white
|
||||
text-decoration: none
|
||||
|
@ -47,6 +51,11 @@
|
|||
|
||||
@media #{$medium-up}
|
||||
overflow: visible
|
||||
height: 55px
|
||||
|
||||
#navigation
|
||||
height: auto
|
||||
overflow: visible
|
||||
ul
|
||||
line-height: 55px
|
||||
position: relative
|
||||
|
@ -55,7 +64,7 @@
|
|||
display: inline-block
|
||||
border: none
|
||||
|
||||
@media #{$medium}
|
||||
@media #{$medium-only}
|
||||
li.traviscicom
|
||||
display: none
|
||||
|
||||
|
@ -76,13 +85,12 @@
|
|||
&:hover
|
||||
cursor: pointer
|
||||
|
||||
|
||||
&.is-open
|
||||
height: auto
|
||||
|
||||
.menu
|
||||
position: relative
|
||||
|
||||
&.signed-out
|
||||
ul
|
||||
display: none
|
||||
.handle
|
||||
margin: 0
|
||||
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
{{/link-to}}
|
||||
|
||||
<div class="nav-burger">
|
||||
<button type="button" id="burger">≡</button>
|
||||
<button type="button" id="burger" {{action 'toggleBurgerMenu'}}>≡</button>
|
||||
</div>
|
||||
|
||||
<ul id="navigation">
|
||||
<ul id="navigation" {{bind-attr class="is-open"}}>
|
||||
<li class="home">
|
||||
{{#link-to "main"}}Home{{/link-to}}
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue
Block a user