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,9 +48,8 @@ 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;
@ -64,24 +63,25 @@ ul.btns li {
&: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 {