Optimize scss

This commit is contained in:
Dennis Eichhorn 2017-07-13 15:08:54 +02:00 committed by GitHub
parent 55c78a7ea3
commit e7ff89d44a

View File

@ -48,40 +48,40 @@ ul.btns {
list-style: none; list-style: none;
overflow: hidden; overflow: hidden;
font-size: 12px; font-size: 12px;
}
ul.btns li { li {
background: $content-background-color; background: $content-background-color;
border-left: 1px solid $content-border-color; border-left: 1px solid $content-border-color;
border-top: 1px solid $content-border-color; border-top: 1px solid $content-border-color;
border-bottom: 1px solid $content-border-color; border-bottom: 1px solid $content-border-color;
float: left; float: left;
text-shadow: -1px -1px 1px #ffffff; text-shadow: -1px -1px 1px #ffffff;
cursor: pointer; cursor: pointer;
@include box-shadow-out(#ffffff); @include box-shadow-out(#ffffff);
&:last-child { &:last-child {
border-right: 1px solid $content-border-color; border-right: 1px solid $content-border-color;
}
&:before {
border-left-color: $content-border-color;
margin-left: 1px;
}
} }
}
ul.btns a { a {
display: block; display: block;
padding: 10px; padding: 10px;
} }
ul.btns li:before { .active {
border-left-color: $content-border-color; cursor: default;
margin-left: 1px; }
}
ul.btns .active, ul.btns li:hover { .active, li:hover {
background: #ffffff; background: #ffffff;
} }
ul.btns .active {
cursor: default;
} }
button.simple { button.simple {