UNPKG

dh-c

Version:

The front-end development engineers jimberton gulp react component

68 lines (67 loc) 1.77 kB
.dh-list { background-color: #fff; border: 1px solid #e6e6e6; } .dh-list .dh-list-child { cursor: pointer; box-sizing: border-box; position: relative; height: 64px; padding-left: 24px; line-height: 1; } .dh-list .dh-list-child:not(:last-child) { border-bottom: 1px solid #e6e6e6; } .dh-list .dh-list-child:hover { background-color: #f6f6f6; } .dh-list .dh-list-child[data-selected="true"] { background: #f6f6f6; } .dh-list .dh-list-child__inner { height: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center; } .dh-list .dh-list-child__border { position: absolute; height: 100%; width: 2px; left: 0; top: 0; -webkit-transform: scaleY(1); -ms-transform: scaleY(1); transform: scaleY(1); transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1) 0ms; background-color: #23c132; } .dh-list-inner__avatar { max-height: 32px; max-width: 32px; overflow: hidden; margin-right: 12px; } .dh-list-inner__title { flex: 1; max-height: 64px; height: 64px; line-height: 64px; font-size: 14px; overflow: hidden; color: #999999; } .dh-list-inner__title:hover { color: #333333; } .dh-list-inner__icon { width: 64px; height: 100%; line-height: 1; text-align: center; display: flex; justify-content: center; align-items: center; overflow: hidden; } .dh-list-inner__icon .dh-list-info { cursor: pointer; font-size: 20px; color: #23c132; height: 32px; width: 32px; text-align: center; line-height: 32px; } .dh-list-inner__icon .dh-list-info i[type="radio"] { color: #cccccc; }