pip-webui
Version:
HTML5 UI for LOB applications
97 lines (80 loc) • 1.98 kB
text/less
// @file CSS styles for toggle buttons control
// @copyright Digital Living Software Corp. 2014-2016
@divider-button-border: 0;
pip-toggle-buttons {
.md-select-value {
.pip-tagged {
font-size: 20px;
}
}
}
pip-toggle-buttons:focus {
outline-width: 0 ;
}
.dark,
.black {
.pip-toggle-buttons button {
color: @color-primary-dark;
}
}
.pip-toggle-buttons {
width: 100%;
.flex-direction-row;
border-radius: 16px ;
height: 36px;
&:focus {
outline-width: 0 ;
}
button {
background-color: @color-divider;
color: @color-secondary;
&.pip-chip-button.md-button {
text-align: -webkit-center;
margin: 0 ;
height: 32px ;
margin-left: 2px ;
border-radius: 0 ;
.pip-tagged {
font-size: 20px;
display: inline-block;
height: 36px;
vertical-align: middle;
}
md-icon {
margin-left: -30px;
margin-top: -3px;
}
&:hover,
&:focus {
background-color: rgba(0, 0, 0, .26);
}
&.md-accent {
box-shadow: none;
}
&:first-of-type {
border-bottom-left-radius: 4px ;
border-top-left-radius: 4px ;
margin-left: 0 ;
}
&:last-of-type {
border-bottom-right-radius: 4px ;
border-top-right-radius: 4px ;
border-right: 0 ;
}
& > span {
font-size: 13px;
//font-family: @font-family;
.text-overflow();
text-transform: uppercase ;
}
&:disabled {
background-color: rgba(0, 0, 0, .06);
color: rgba(0, 0, 0, .38) ;
}
&:disabled.selected {
color: #000 ;
opacity: .38;
}
}
}
}