File size: 3,184 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
@import "@wordpress/base-styles/breakpoints";
@import "@automattic/typography/styles/variables";
@import "@automattic/color-studio/dist/color-variables";
@import "client/landing/subscriptions/styles/search-component";

@mixin hover-color {
	&:hover,
	&:focus {
		color: var(--color-text-inverted);
		background: var(--color-primary);

		.reader-import-button__label,
		.reader-export-button__label {
			color: var(--color-text-inverted);
		}

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

		svg path[stroke],
		svg path[stroke-width],
		svg path[stroke-opacity] {
			stroke: var(--color-text-inverted);
		}
	}
}

body.is-section-reader .layout.is-section-reader .site-subscriptions-manager {
	&.main {
		max-width: 1168px;
		min-height: 100vh;
		margin: 0 auto;

		@extend %search-component-subscriptions-style;
	}

	.site-subscriptions-list-actions-bar,
	.site-subscriptions-list,
	.recommended-sites,
	.navigation-header {
		@media (max-width: $break-small) {
			padding: 0 16px;
		}
	}

	&__header-h-stack {
		margin: 0 0 26px;

		& .formatted-header {
			&.is-left-align,
			&.is-right-align {
				margin: 0;
			}

			&__subtitle {
				margin-bottom: 0;

				a.site-subscriptions-manager__manage-notifications-button {
					font-size: inherit;
					font-family: inherit;
					line-height: inherit;
					text-decoration: none;
					color: var(--color-primary);
				}
			}
		}
	}

	.site-subscriptions-manager__nav {
		margin-bottom: 32px;
	}

	hr.subscriptions__separator {
		width: 100%;
		height: 0;
		margin: 0;
		padding: 0;
		border: none;
		border-top: 1px solid $studio-gray-5;
	}

	&__import-export-popover {
		box-sizing: border-box;
		width: 305px;

		button.components-button {
			@include hover-color;

			padding: 0 15px;

			justify-content: flex-start;

			.reader-import-button__label,
			.reader-export-button__label {
				padding-left: 8px;
			}
		}
	}

	.not-found-site-subscriptions,
	.site-subscriptions__search-recommendations-label {
		color: $studio-gray-60;
		font-size: $font-body-small;
		font-weight: 500;
		font-family: "SF Pro Text", $sans;
		line-height: $font-title-small;
		margin: 48px 0 16px;
	}
}

hr.subscriptions__separator {
	width: 100%;
	height: 0;
	margin: 0;
	padding: 0;
	border: none;
	border-top: 1px solid $studio-gray-5;
}

.subscriptions-ellipsis-menu__popover.popover.site-subscriptions-manager__import-export-popover .popover__inner,
.subscriptions-ellipsis-menu__popover.popover.comment-settings-popover .popover__inner {
	padding: 5px 0 !important;
}

.subscriptions-ellipsis-menu__popover.popover .popover__inner {
	padding: 5px 0 14px !important;

	.settings.site-settings {
		padding: 15px 0 0;

		.setting-item {
			padding: 0 21px;

			&.email-me-new-comments-toggle {
				margin-bottom: 16px;
			}
		}

		.delivery-frequency-input__control {
			max-width: 100%;
		}
	}

	.site-settings-popover__unsubscribe-button.components-button.has-icon:not(:last-child) {
		margin-bottom: 16px;
	}

	.subscriptions__separator {
		margin: 0 24px 15px;
		width: auto;
	}

	& > .components-button,
	.site-settings-popover__view-feed-button {
		padding: 0 21px;
		line-height: 36px;
		width: 100%;

		@include hover-color;

	}
}