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 | |
Adrià Vilanova MartÃnez | c8f6630 | 2023-07-06 21:38:50 +0200 | [diff] [blame] | 15 | /* To override the default styles applied to the profile link. */ |
| 16 | .profile-indicator-link { |
| 17 | display: inline!important; |
| 18 | } |
| 19 | |
| 20 | .profile-indicator-link:hover { |
| 21 | background: inherit!important; |
| 22 | } |
| 23 | |
| 24 | .profile-indicator-link:focus { |
| 25 | background: inherit!important; |
| 26 | border: inherit!important; |
| 27 | outline: 2px solid #0b57d0!important; |
| 28 | } |
| 29 | |
| 30 | .profile-indicator-link--dot { |
| 31 | margin-inline-start: 4px; |
| 32 | } |
| 33 | |
| 34 | .profile-indicator-link--num-posts { |
| 35 | margin-inline-start: 8px; |
| 36 | } |
| 37 | |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 38 | .profile-indicator { |
avm99963 | a1b23b6 | 2020-09-01 14:32:34 +0200 | [diff] [blame] | 39 | display: inline-block; |
| 40 | font-size: 16px; |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | .profile-indicator a { |
| 44 | text-decoration: none!important; |
| 45 | } |
| 46 | |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 47 | .profile-indicator.profile-indicator--loading a { |
| 48 | color: #6f6f6f; |
| 49 | |
| 50 | animation-duration: 0.75s; |
avm99963 | ad65e75 | 2020-09-01 00:13:59 +0200 | [diff] [blame] | 51 | animation-name: loading-indicator; |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 52 | animation-iteration-count: infinite; |
| 53 | animation-direction: alternate; |
| 54 | } |
| 55 | |
| 56 | .profile-indicator.profile-indicator--first-post a { |
avm99963 | e1752a1 | 2020-08-31 20:00:34 +0200 | [diff] [blame] | 57 | color: #4285f4; |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 58 | } |
| 59 | |
| 60 | .profile-indicator.profile-indicator--other-posts-read a { |
| 61 | color: #FF8F00; |
| 62 | } |
| 63 | |
| 64 | .profile-indicator.profile-indicator--other-posts-unread a { |
| 65 | color: #C62828; |
| 66 | } |
| 67 | |
| 68 | .profile-indicator a { |
| 69 | opacity: 1; |
avm99963 | ad65e75 | 2020-09-01 00:13:59 +0200 | [diff] [blame] | 70 | transition: opacity .5s, color .5s; |
| 71 | } |
| 72 | |
| 73 | .num-posts-indicator { |
| 74 | display: inline-block; |
| 75 | padding: 3px 7px; |
avm99963 | ad65e75 | 2020-09-01 00:13:59 +0200 | [diff] [blame] | 76 | border-radius: 16px; |
| 77 | height: 14px; |
| 78 | min-width: 12px; |
| 79 | |
| 80 | font-size: 12px; |
| 81 | line-height: 14px; |
| 82 | text-align: center; |
| 83 | |
| 84 | background-color: #E0E0E0; |
| 85 | color: black; |
| 86 | transition: background-color .5s; |
| 87 | } |
| 88 | |
| 89 | .num-posts-indicator.num-posts-indicator--loading { |
avm99963 | f2fd769 | 2020-09-01 16:52:20 +0200 | [diff] [blame] | 90 | background-color: #AFAFAF; |
avm99963 | ad65e75 | 2020-09-01 00:13:59 +0200 | [diff] [blame] | 91 | |
| 92 | animation-duration: 0.75s; |
| 93 | animation-name: loading-indicator; |
| 94 | animation-iteration-count: infinite; |
| 95 | animation-direction: alternate; |
| 96 | } |
| 97 | |
| 98 | .num-posts-indicator.num-posts-indicator--first-post { |
| 99 | background-color: #BBDEFB; |
| 100 | } |
| 101 | |
| 102 | .num-posts-indicator.num-posts-indicator--other-posts-read { |
| 103 | background-color: #FFE0B2; |
| 104 | } |
| 105 | |
| 106 | .num-posts-indicator.num-posts-indicator--other-posts-unread { |
| 107 | color: white; |
| 108 | background-color: #F44336; |
| 109 | } |
| 110 | |
| 111 | .num-posts-indicator .num-posts-indicator--num { |
| 112 | display: inline-block; |
| 113 | opacity: 1; |
| 114 | transition: opacity .5s; |
| 115 | } |
| 116 | |
| 117 | .num-posts-indicator .num-posts-indicator--num.num-posts-indicator--num--loading { |
| 118 | opacity: 0; |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 119 | } |