travis-web/assets/styles/profile/hooks.sass

111 lines
2.2 KiB
Sass

@import "_mixins/all"
#profile
#unadministerable-hooks
margin-top: 15px
h3
font-size: $font-size-big
.tip
margin-top: 5px
#hooks, #unadministerable-hooks
// @include list-base
margin-top: 10px
li
position: relative
height: 19px
padding: 10px
white-space: nowrap
overflow: hidden
border-bottom: 1px solid $color-border-light
&:nth-child(3)
border-top: 1px solid $color-border-light
&:nth-child(odd)
background-color: $color-bg-hooks-odd
.controls
background: $color-bg-hooks-odd
&:nth-child(even)
background-color: $color-bg-hooks-even
.controls
background: $color-bg-hooks-even
> a
float: left
font-size: $font-size-big
text-decoration: none
.description
display: none
margin-left: 10px
line-height: 22px
font-size: $font-size-smaller
white-space: nowrap
overflow: hidden
text-overflow: ellipsis
color: $color-text-light
.controls
position: absolute
top: 10px
right: 0
white-space: nowrap
a
float: left
display: block
.github-admin
// Overriding an earlier definition above, which is probably
// obsolete. TODO: Remove if so.
position: relative
height: 20px
width: 20px
padding-right: 0
background: inline-image('ui/github-admin.png') no-repeat 3px 4px
.switch
position: relative
display: block
width: 60px
height: 18px
margin: 0 10px 0 15px
padding: 0 10px 0 0
border: 1px solid #bdbdbd
line-height: 21px
font-size: 11px
color: #999
cursor: pointer
text-align: right
&:before
content: ""
position: absolute
top: -1px
left: -1px
width: 28px
height: 18px
background: #e9e9e7
border: 1px solid #bdbdbd
&.active .switch
width: 56px
padding: 0 0 0 14px
background: #40454f
border: 1px solid #bdbdbd
color: #fff
text-align: left
&:before
left: auto
right: -1px
&:hover
> a
color: $color-link-highlight
.description
display: inline