blob: 25119c5694d8ac2b27b8b2fb8b4120345be94b8d [file] [log] [blame]
avm99963ad65e752020-09-01 00:13:59 +02001@keyframes loading-indicator {
2 from {
3 opacity: 0.25;
4 }
5
6 to {
7 opacity: 1;
8 }
9}
10
11ec-user-link.name > *, .thread-message-header__name > *, .thread-message-header__name > span:nth-child(3) > * {
avm99963129fb502020-08-28 05:18:53 +020012 vertical-align: middle;
13}
14
Adrià Vilanova Martínezc8f66302023-07-06 21:38:50 +020015/* 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
avm99963129fb502020-08-28 05:18:53 +020038.profile-indicator {
avm99963a1b23b62020-09-01 14:32:34 +020039 display: inline-block;
40 font-size: 16px;
avm99963129fb502020-08-28 05:18:53 +020041}
42
43.profile-indicator a {
44 text-decoration: none!important;
45}
46
avm99963129fb502020-08-28 05:18:53 +020047.profile-indicator.profile-indicator--loading a {
48 color: #6f6f6f;
49
50 animation-duration: 0.75s;
avm99963ad65e752020-09-01 00:13:59 +020051 animation-name: loading-indicator;
avm99963129fb502020-08-28 05:18:53 +020052 animation-iteration-count: infinite;
53 animation-direction: alternate;
54}
55
56.profile-indicator.profile-indicator--first-post a {
avm99963e1752a12020-08-31 20:00:34 +020057 color: #4285f4;
avm99963129fb502020-08-28 05:18:53 +020058}
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;
avm99963ad65e752020-09-01 00:13:59 +020070 transition: opacity .5s, color .5s;
71}
72
73.num-posts-indicator {
74 display: inline-block;
75 padding: 3px 7px;
avm99963ad65e752020-09-01 00:13:59 +020076 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 {
avm99963f2fd7692020-09-01 16:52:20 +020090 background-color: #AFAFAF;
avm99963ad65e752020-09-01 00:13:59 +020091
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;
avm99963129fb502020-08-28 05:18:53 +0200119}