@pi0/framework7
Version:
Full featured mobile HTML framework for building iOS & Android apps
52 lines (49 loc) • 895 B
text/less
/* === Chips === */
.chip {
font-weight: normal;
display: inline-flex;
box-sizing: border-box;
vertical-align: middle;
align-items: center;
margin: 2px 0;
}
.chip-media {
border-radius: 50%;
text-align: center;
color: #fff;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
img {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
border-radius: 50%;
display: block;
}
}
.chip-label {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
position: relative;
flex-shrink: 1;
min-width: 0;
}
.chip-delete {
text-align: center;
cursor: pointer;
flex-shrink: 0;
background-repeat: no-repeat;
}
.chip .chip-delete.active-state {
opacity: 1;
}
& when (@include-ios-theme) {
@import url('./chip-ios.less');
}
& when (@include-md-theme) {
@import url('./chip-md.less');
}