@ohu-mobile/core
Version:
85 lines • 1.89 kB
CSS
.ohu-entry-item {
display: inline-flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
color: #333;
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.ohu-entry-item__icon {
width: 0.85333rem;
height: 0.85333rem;
font-size: 0.42667rem;
display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items: center;
}
.ohu-entry-item__icon .ohu-icon {
width: 1.375em;
height: 1.375em;
color: inherit;
pointer-events: none;
}
.ohu-entry-item__icon ~ .ohu-entry-item__text {
margin-top: 0.21333rem;
}
.ohu-entry-item__icon img {
width: 100%;
height: 100%;
}
.ohu-entry-item__text {
display: block;
width: 100%;
text-align: center;
flex-grow: 0;
flex-shrink: 0;
font-size: 0.42667rem;
line-height: 1.375em;
color: inherit;
}
.ohu-entry-item__text .ohu-icon {
margin-left: 0.08rem;
margin-right: 0.08rem;
width: 1.1em;
height: 1.1em;
}
.ohu-entry-item__minor-text {
font-size: 0.37333rem;
line-height: 1.3846em;
color: #999;
}
.ohu-entry-item.is-icon-area-sm .ohu-entry-item__icon {
width: 0.64rem;
height: 0.64rem;
}
.ohu-entry-item.is-icon-area-lg .ohu-icon {
width: 2.5em;
height: 2.5em;
}
.ohu-entry-item.is-icon-area-lg .ohu-entry-item__icon {
width: 1.06667rem;
height: 1.06667rem;
}
.ohu-entry-item.is-text-xsm .ohu-entry-item__text {
font-size: 0.26667rem;
margin-top: 0;
}
.ohu-entry-item.is-text-sm .ohu-entry-item__text {
font-size: 0.37333rem;
}
.ohu-entry-item.is-text-md .ohu-entry-item__text {
font-size: 0.42667rem;
}
.ohu-entry-item.is-text-lg .ohu-entry-item__text {
font-size: 0.48rem;
font-weight: 500;
line-height: 1.3888888889em;
}
.ohu-entry-item.is-text-lg .ohu-entry-item__minor-text {
margin-top: 0.02667rem;
}