File size: 1,901 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
.conversation-follow-button,
button.conversation-follow-button {
	border: 0;
	padding: 0;

	.reader-follow-conversation {
		pointer-events: auto;

		path {
			fill: var(--color-primary);
		}
	}

	.conversation-follow-button__label {
		color: var(--color-primary);
		position: relative;
	}

	&:hover,
	&:focus {
		color: var(--color-primary);
	}

	&.popover__menu-item {
		&:hover,
		&:focus {
			.conversation-follow-button__label {
				color: var(--color-text-inverted);
			}

			.gridicon {
				fill: var(--color-text-inverted);
				g {
					fill: var(--studio-white);
					stroke: var(--color-success);
				}
			}
		}
	}

	&:focus {
		box-shadow: none;
	}

	// Hides Following icon by default
	.reader-following-conversation {
		display: none;
		pointer-events: none;
	}

	&.is-following {
		.reader-following-conversation {
			display: inline-block;
			pointer-events: auto;
			fill: var(--color-success);
		}

		.conversation-follow-button__label {
			color: var(--color-success);
		}

		// Hides Follow icon if already following
		.reader-follow-conversation {
			display: none;
			pointer-events: none;
		}

		&:hover,
		&:focus {
			color: var(--color-success);

			.reader-following-conversation {
				fill: var(--color-success);
			}
		}

		&.popover__menu-item {
			&:hover,
			&:focus {
				color: var(--color-text-inverted);

				.gridicon,
				.reader-follow-conversation,
				.reader-following-conversation {
					color: var(--color-text-inverted);
				}

				svg.reader-external path {
					fill: var(--color-text-inverted);
				}

				svg.reader-follow-conversation path,
				svg.reader-following-conversation path {
					fill: var(--color-text-inverted);

					&.status {
						fill: none;
					}
				}
			}
		}
	}

	.gridicon {
		height: 18px;
		top: 5px;
		width: 18px;
	}
}

.conversation-follow-button__label {
	@include breakpoint-deprecated( "<660px" ) {
		display: none;
	}
}