UNPKG

framework7-without-localstorage

Version:

Full featured mobile HTML framework for building iOS & Android apps

71 lines 1.83 kB
/* === Chips === */ .chip { font-size: 13px; font-weight: normal; color: rgba(0,0,0,0.87); background: rgba(0,0,0,0.12); display: inline-block; height: 32px; line-height: 32px; border-radius: 16px; padding: 0 12px; box-sizing: border-box; vertical-align: middle; .flexbox-inline(); .align-items(center); margin: 2px 0; } .chip-media { width: 32px; height: 32px; margin-left: -12px; vertical-align: top; border-radius: 50%; text-align: center; line-height: 32px; color: #fff; .flex-shrink(0); font-size: 16px; .flexbox(); .align-items(center); .justify-content(center); img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 50%; display: block; } + .chip-label { margin-left: 8px; } } .chip-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; .flex-shrink(1); min-width: 0; + .chip-delete { margin-left: 4px; } } .chip-delete { margin-right: -8px; width: 24px; height: 24px; text-align: center; line-height: 24px; cursor: pointer; .flex-shrink(0); .encoded-svg-background("<svg fill='#000' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z'/><path d='M0 0h24v24H0z' fill='none'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 20px 20px; opacity: 0.54; html:not(.watch-active-state) &:active, &.active-state { opacity: 1; } }