123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- .search-result-list-item {
- padding: 8px 10px;
- border-bottom: 1px solid rgba(0,0,0,0.1);
- cursor: pointer;
- &-image {
- display: inline-block;
- width: 100px;
- height: 100px;
- max-width: 100px;
- max-height: 100px;
- overflow: hidden;
- box-sizing: content-box;
- border: 1px solid #f1f1f1;
- padding: 0;
- margin: 5px;
- }
- &-file {
- border: none;
- }
- .info {
- display: flex;
- flex-direction: row;
- justify-content: center;
- &-left {
- &-avatar {
- width: 36px;
- height: 36px;
- border-radius: 5px;
- }
- }
- &-main {
- flex: 1;
- padding: 0 10px;
- overflow: hidden;
- &-name,
- &-content {
- flex: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- &-name {
- color: #333;
- font-size: 14px;
- height: 20px;
- }
- &-content {
- color: #999;
- font-size: 12px;
- .highlight {
- color: #007aff;
- }
- .normal {
- color: #999;
- }
- }
- }
- &-right {
- width: fit-content;
- &-time {
- font-weight: 400;
- font-size: 12px;
- color: #999;
- letter-spacing: 0;
- white-space: nowrap;
- }
- }
- }
- .bubble {
- display: flex;
- flex-direction: row;
- justify-content: center;
- &-left {
- &-avatar {
- width: 36px;
- height: 36px;
- border-radius: 5px;
- }
- }
- &-main {
- flex: 1;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- padding: 0 8px;
- &-name {
- max-width: 100%;
- width: fit-content;
- padding-bottom: 4px;
- font-weight: 400;
- font-size: 12px;
- color: #999;
- letter-spacing: 0;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- &-content {
- max-width: 100%;
- width: fit-content;
- box-sizing: border-box;
- padding: 12px;
- font-weight: 400;
- font-size: 14px;
- color: #000;
- letter-spacing: 0;
- word-wrap: break-word;
- word-break: break-all;
- overflow: hidden;
- background: #eff0f1;
- border-radius: 0 10px 10px;
- .highlight {
- background-color: #007aff33;
- }
- .normal {
- color: #1f2329;
- }
- }
- }
- &-right {
- display: flex;
- flex-direction: column;
- align-items: flex-end;
- &-time {
- font-weight: 400;
- font-size: 12px;
- color: #999;
- letter-spacing: 0;
- white-space: nowrap;
- }
- &-to {
- cursor: pointer;
- font-weight: 400;
- font-size: 12px;
- color: #007aff;
- letter-spacing: 0;
- white-space: nowrap;
- }
- }
- }
- .file {
- display: flex;
- flex-direction: column;
- justify-content: center;
- &-header {
- flex: 1;
- padding: 10px 0;
- overflow: hidden;
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- &-avatar {
- width: 24px;
- height: 24px;
- border-radius: 4px;
- margin-right: 3px;
- }
- &-name {
- flex: 1;
- }
- &-name,
- &-time,
- &-to {
- color: #666;
- font-size: 14px;
- height: 24px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- &-to {
- cursor: pointer;
- font-weight: 400;
- color: #007aff;
- letter-spacing: 0;
- white-space: nowrap;
- padding-right: 3px;
- }
- }
- &-main-content {
- padding: 10px;
- background-color: #f1f1f1;
- }
- }
- .image {
- width: 100px;
- height: 100px;
- max-width: 100px;
- max-height: 100px;
- overflow: hidden;
- box-sizing: content-box;
- .image-container {
- width: 100px;
- height: 100px;
- max-width: 100px;
- max-height: 100px;
- overflow: hidden;
- position: relative;
- .image-container-hover {
- position: absolute;
- bottom: 0;
- width: 100%;
- height: 40%;
- background-color: rgba(0,0,0,0.3);
- .image-container-hover-text {
- width: 100%;
- height: 100%;
- font-size: 12px;
- display: flex;
- justify-content: center;
- align-items: center;
- color: #fff;
- cursor: pointer;
- user-select: none;
- }
- }
- }
- }
- }
- .hover-info {
- border-radius: 5px;
- background-color: #f5f5f5;
- }
- .hover-bubble {
- background-color: #f5f5f5;
- }
|