pip-webui
Version:
HTML5 UI for LOB applications
103 lines (88 loc) • 2.23 kB
text/less
// @file Chip controls styles
// @copyright Digital Living Software Corp. 2014-2015
.pip-chip,
.pip-type-chip {
@font-size-chips: 14px;
@font-size-little-chips: 10px;
@font-weight-chips: 500;
@letter-spacing-chips: .01em;
@line-height-chips: 24px;
@font-chips: normal @font-weight-chips @font-size-chips @font-family;
font: @font-chips;
display: inline-block;
padding: 0 12px 0 12px ;
margin: 4px 4px 0 0 ;
overflow: hidden ;
box-shadow: none ;
line-height: 20px ;
vertical-align: middle ;
height: 32px ;
border-radius: 16px;
background: rgb(224, 224, 224);
color: rgb(66, 66, 66);
padding-right: 16px;
&.pip-type-little-chip {
height: 24px ;
padding-left: 17px ;
& > span,
.pip-text {
margin: 3px 0 0 0;
font-size: @font-size-little-chips ;
margin-right: 0 ;
}
}
.pip-avatar,
.pip-pic {
display: block;
float: left;
margin-left: -12px;
vertical-align: middle;
height: 32px ;
width: 32px ;
border-radius: 50%;
margin-right: 8px ;
}
.pip-avatar md-icon,
.pip-pic {
width: 32px;
height: 32px;
}
& > span,
.pip-text {
display: inline-block;
max-width: 150px;
vertical-align: middle;
.text-overflow();
font-size: 13px;
margin-top: 6px;
margin-bottom: 6px;
text-transform: none;
}
}
.pip-type-chip {
cursor: default;
border-radius: 16px;
display: block;
height: 32px;
line-height: 32px;
margin: 8px 8px 0 0;
padding: 0 8px 0 12px;
float: left;
margin-left: -25px ;
margin-right: 4px;
padding-left: 25px ;
padding-right: 16px ;
@media (max-width: 1200px) {
margin-left: -17px ;
padding-left: 17px ;
}
}
.pip-type-chip-left {
border-top-left-radius: 0 ;
border-bottom-left-radius: 0 ;
}
.pip-type-chip-right {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
margin-right: 0 ;
}