File size: 1,344 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
// Add a New Comment Form
.comments__form {
	position: relative;
	padding: 0 0 0 42px;
	margin-top: 24px;

	.gravatar {
		position: absolute;
		top: 0;
		left: 0;
		border-radius: 48px; /* stylelint-disable-line scales/radii */
	}

	input {
		font-size: $font-body-small;
		padding: 5px 10px;
	}

	button:not(.components-button) {
		opacity: 0;
		position: absolute;
		margin: 16px 0 0;
		transition: all 0.2s ease-in-out;

		&.is-active {
			cursor: pointer;
		}

		&.is-visible {
			position: relative;
			z-index: z-index("root", ".comments__form .button:not(.components-button)");
			float: right;
			opacity: 1;
		}
	}

	button:focus {
		outline: dotted 1px var(--color-primary);
		color: var(--color-primary);
	}

	.comments__cancel-reply {
		font-size: $font-body-extra-small;
		cursor: pointer;
	}
}

// On /reader/conversations, balance the space below and
// above the "Send" button.  The default negative margin
// of -19px is intended for the pages like
// /reader/feeds/:feed_id/posts/:post_id.
.conversations__comment-list {
	.comments__form {
		button {
			margin-bottom: -9px;
		}
	}
}

.comments__form-closed {
	color: var(--color-text-subtle);
	margin-top: 20px;
	margin-bottom: -3px;
	font-family: $sans;
	text-align: center;
	border-top: 1px solid var(--color-neutral-0);
	padding-top: 22px;
	font-size: $font-body-small;
}