vue-material/src/components/mdButtonToggle/mdButtonToggle.scss

43 lines
752 B
SCSS
Raw Normal View History

@import '../../core/stylesheets/variables.scss';
2016-07-18 16:00:51 +00:00
$button-radius: 2px;
2016-07-18 16:00:51 +00:00
.md-button-toggle {
width: auto;
display: flex;
> .md-button {
margin: 0;
overflow: hidden;
border-width: 1px 0 1px 1px;
border-radius: 0;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
&:first-child {
border-radius: 2px 0 0 2px;
}
&:last-child {
border-right-width: 1px;
border-radius: 0 2px 2px 0;
}
2016-09-09 17:02:47 +00:00
&:not([disabled]) {
color: rgba(#000, .54);
2016-07-18 16:00:51 +00:00
2016-09-09 17:02:47 +00:00
&:hover:not(.md-toggle) {
&:not(.md-raised) {
background-color: rgba(#999, .2);
text-decoration: none;
}
2016-07-18 16:00:51 +00:00
}
}
.md-ink-ripple {
border-radius: $button-radius;
}
2016-07-18 16:00:51 +00:00
}
}