Skip to content

Commit 7040294

Browse files
styling cleanup on firstparty text and hidden sliders in popup
1 parent d959710 commit 7040294

File tree

2 files changed

+31
-7
lines changed

2 files changed

+31
-7
lines changed

src/skin/popup.css

+27-5
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ font-size: 16px;
171171

172172
#blockedResourcesContainer {
173173
min-height: 70px;
174+
margin-top: 10px;
174175
}
175176

176177
#intro-reminder-btn, #critical-error-link, #learning-prompt-btn {
@@ -307,14 +308,14 @@ font-size: 16px;
307308
}
308309
#instructions-firstparty-description {
309310
font-size: 14px;
311+
margin-top: -30px;
310312
}
311-
#instructions-no-trackers, #special-browser-page, #disabled-site-message, #instructions-firstparty-protections {
313+
#instructions-no-trackers, #special-browser-page, #disabled-site-message {
312314
text-align: center;
313315
margin: 45px 0;
314316
padding: 0;
315317
}
316318
#instructions-many-trackers {
317-
text-align: center;
318319
margin: 10px 0;
319320
}
320321
#instructions-many-trackers, #instructions-no-trackers, #no-third-parties, #instructions-firstparty-description {
@@ -470,10 +471,31 @@ div.overlay.active {
470471
.tooltipster-sidetip .tooltipster-arrow-border {
471472
border: none;
472473
}
473-
/* #firstparty-protections-container {
474+
#firstparty-protections-container {
474475
display: none;
475-
} */
476-
476+
border-top: 1px solid #707070;
477+
padding: 0;
478+
margin: 0;
479+
text-align: left;
480+
}
481+
#instructions-firstparty-protections {
482+
margin: 45px 0;
483+
padding: 0;
484+
}
485+
#toggle-firstparty-info-section {
486+
float: right;
487+
margin-top: -65px;
488+
}
489+
#toggle-blocked-resources-container {
490+
float: right;
491+
margin-top: -30px;
492+
}
493+
.ui-icon.ui-icon-caret-d, .ui-icon.ui-icon-caret-u {
494+
font-size: 18px;
495+
}
496+
.ui-icon.ui-icon-caret-d, .ui-icon.ui-icon-caret-u {
497+
font-size: 18px;
498+
}
477499
@media screen and (max-width: 400px){
478500
.origin {
479501
max-width: 150px;

src/skin/popup.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,10 @@ <h2 id="title-name"><span class="i18n_name"></span></h2>
139139

140140
<div id="firstparty-protections-container">
141141
<div id="instructions-firstparty-protections" class="i18n_popup_info_firstparty_protections popup_info"></div>
142-
<span id="expand-firstparty-popup" class="ui-icon ui-icon-caret-d"></span>
143-
<span id="collapse-firstparty-popup" class="ui-icon ui-icon-caret-u"></span>
142+
<div id="toggle-firstparty-info-section">
143+
<span id="expand-firstparty-popup" class="ui-icon ui-icon-caret-d"></span>
144+
<span id="collapse-firstparty-popup" class="ui-icon ui-icon-caret-u"></span>
145+
</div>
144146
<div id="instructions-firstparty-description" class="i18n_popup_info_firstparty_description"></div>
145147
</div>
146148

0 commit comments

Comments
 (0)