travis-web/assets/styles/components/travis-switch.sass
Henrik Hodne 2450f9fe9d Revert previous revert
I found the commit that caused the bug that caused me to do the last
revert. I'm therefore reverting the previous revert and I will be
committing a revert that reverts the commit that introduced the bug. See
next commit.

This reverts commit db2d38a7af.
2014-02-12 09:54:24 -06:00

38 lines
651 B
Sass

.settings-row
margin-top: 20px
.travis-switch
position: relative
display: inline-block
float: left
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
.travis-switch.active
width: 56px
padding: 0 0 0 14px
background: #40454f
border: 1px solid #bdbdbd
color: #fff
text-align: left
&:before
left: auto
right: -1px