avm99963 | ad65e75 | 2020-09-01 00:13:59 +0200 | [diff] [blame^] | 1 | @keyframes loading-indicator { |
| 2 | from { |
| 3 | opacity: 0.25; |
| 4 | } |
| 5 | |
| 6 | to { |
| 7 | opacity: 1; |
| 8 | } |
| 9 | } |
| 10 | |
| 11 | ec-user-link.name > *, .thread-message-header__name > *, .thread-message-header__name > span:nth-child(3) > * { |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 12 | vertical-align: middle; |
| 13 | } |
| 14 | |
| 15 | .profile-indicator { |
avm99963 | 75d3744 | 2020-08-31 19:56:32 +0200 | [diff] [blame] | 16 | font-size: 14px; |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 17 | margin-left: 4px; |
| 18 | } |
| 19 | |
| 20 | .profile-indicator a { |
| 21 | text-decoration: none!important; |
| 22 | } |
| 23 | |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 24 | .profile-indicator.profile-indicator--loading a { |
| 25 | color: #6f6f6f; |
| 26 | |
| 27 | animation-duration: 0.75s; |
avm99963 | ad65e75 | 2020-09-01 00:13:59 +0200 | [diff] [blame^] | 28 | animation-name: loading-indicator; |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 29 | animation-iteration-count: infinite; |
| 30 | animation-direction: alternate; |
| 31 | } |
| 32 | |
| 33 | .profile-indicator.profile-indicator--first-post a { |
avm99963 | e1752a1 | 2020-08-31 20:00:34 +0200 | [diff] [blame] | 34 | color: #4285f4; |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | .profile-indicator.profile-indicator--other-posts-read a { |
| 38 | color: #FF8F00; |
| 39 | } |
| 40 | |
| 41 | .profile-indicator.profile-indicator--other-posts-unread a { |
| 42 | color: #C62828; |
| 43 | } |
| 44 | |
| 45 | .profile-indicator a { |
| 46 | opacity: 1; |
avm99963 | ad65e75 | 2020-09-01 00:13:59 +0200 | [diff] [blame^] | 47 | transition: opacity .5s, color .5s; |
| 48 | } |
| 49 | |
| 50 | .num-posts-indicator { |
| 51 | display: inline-block; |
| 52 | padding: 3px 7px; |
| 53 | margin-left: 4px; |
| 54 | border-radius: 16px; |
| 55 | height: 14px; |
| 56 | min-width: 12px; |
| 57 | |
| 58 | font-size: 12px; |
| 59 | line-height: 14px; |
| 60 | text-align: center; |
| 61 | |
| 62 | background-color: #E0E0E0; |
| 63 | color: black; |
| 64 | transition: background-color .5s; |
| 65 | } |
| 66 | |
| 67 | .num-posts-indicator.num-posts-indicator--loading { |
| 68 | background-color: #6f6f6f; |
| 69 | |
| 70 | animation-duration: 0.75s; |
| 71 | animation-name: loading-indicator; |
| 72 | animation-iteration-count: infinite; |
| 73 | animation-direction: alternate; |
| 74 | } |
| 75 | |
| 76 | .num-posts-indicator.num-posts-indicator--first-post { |
| 77 | background-color: #BBDEFB; |
| 78 | } |
| 79 | |
| 80 | .num-posts-indicator.num-posts-indicator--other-posts-read { |
| 81 | background-color: #FFE0B2; |
| 82 | } |
| 83 | |
| 84 | .num-posts-indicator.num-posts-indicator--other-posts-unread { |
| 85 | color: white; |
| 86 | background-color: #F44336; |
| 87 | } |
| 88 | |
| 89 | .num-posts-indicator .num-posts-indicator--num { |
| 90 | display: inline-block; |
| 91 | opacity: 1; |
| 92 | transition: opacity .5s; |
| 93 | } |
| 94 | |
| 95 | .num-posts-indicator .num-posts-indicator--num.num-posts-indicator--num--loading { |
| 96 | opacity: 0; |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 97 | } |