travis-web/assets/styles/components/travis-switch.sass
2014-01-21 17:57:35 +01:00

34 lines
596 B
Sass

.travis-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
.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