File size: 2,800 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
@import "@automattic/color-studio/dist/color-variables";
@import "@automattic/typography/styles/variables";
@import "@wordpress/base-styles/breakpoints";
@import "client/landing/subscriptions/styles/row-title-label";

%ellipsis {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.subscription-manager__comment-list {
	min-width: 300px;

	.row-wrapper {
		border-block-end: 1px solid rgb(238, 238, 238);

		&.header {
			@media (max-width: $break-small) {
				display: none;
			}
		}
	}

	.row {
		display: flex;
		align-items: center;
		flex-direction: row;
		min-height: 44px;
		margin-top: 20px;
		margin-bottom: 20px;
		justify-content: space-between;

		* {
			flex: 1;
		}

		&.header {
			min-height: auto;
			padding-bottom: $font-code;
			padding-top: 0;
			margin: 0;
		}

		.post {
			flex: 1 0 30%;
			font-size: $font-body-small;
			line-height: 20px;
			color: $studio-gray-60;
			min-width: 200px;

			.title {
				max-width: 350px;

				a {
					@extend %ellipsis;
					display: block;
					font-weight: 500;
					color: $studio-gray-100;

					&:hover {
						text-decoration: underline;
					}

					&:focus {
						outline-offset: -1px;
					}
				}
			}

			.excerpt {
				max-width: 350px;
				font-weight: 400;
				color: $studio-gray-60;
				margin-top: 4px;
				@extend %ellipsis;
			}
		}

		@media (max-width: $break-small) {
			.post {
				flex: 1 1;
				max-width: calc(100% - 54px);
			}
		}

		.title-box {
			display: flex;
			align-items: center;
			min-width: 0;
			flex: 1 0 30%;

			&:focus {
				outline-offset: -1px;
			}

			.site-icon {
				max-width: 40px;
			}

			.title-column {
				display: flex;
				flex-direction: column;
				min-width: 0;
				padding-left: 12px;

				.name {
					font-weight: 600;
					font-size: $font-code;
					line-height: 22px;
					color: $studio-gray-100;
					letter-spacing: -0.24px;
					padding-right: 10px;
					@extend %ellipsis;

					&:hover {
						text-decoration: underline;
					}

					.p2-label {
						@extend %p2-label;
					}

					.paid-label {
						@extend %paid-label;
					}
				}

				.url {
					font-weight: 400;
					font-size: $font-body-extra-small;
					line-height: 18px;
					color: $studio-gray-40;
					@extend %ellipsis;

					&:hover {
						text-decoration: underline;
					}
				}
			}
		}

		@media (max-width: $break-small) {
			.title-box {
				display: none;
			}
		}

		.title-box,
		.date {
			font-weight: 400;
			font-size: $font-body-small;
			line-height: 20px;
			letter-spacing: -0.15px;
			color: $studio-gray-60;
		}

		@media (max-width: $break-medium) {
			.date {
				display: none;
			}
		}

		.actions {
			flex-basis: 38px;
			flex-grow: initial;

			.gridicon {
				fill: $studio-gray-50;
			}
		}

		&:last-child {
			border-bottom: none;
		}
	}
}