CustomCSSforFx icon indicating copy to clipboard operation
CustomCSSforFx copied to clipboard

ac_popup_classic_with_two_lines_fx68.css

Open Thalon77 opened this issue 6 years ago • 5 comments

  1. Describe the issue

Something changed in the way popup results are displayed onscreen using the option I wrote in the subject, see attached Screen2

  1. What should have happened instead?

The apparance should be different (at least it always was so since I began using the CSS), with thinner fonts in the first line, smaller blue fonts in the second line and a bit more space between results, see the attached Screen1

  1. Steps to reproduce the issue?

Switching between V 2.90 and V2.96 like I did, something changed between those two releases.

  1. SCREENSHOTS with/without this projects files (drag & drop images into this post)

Screen1 Screen2

  1. System information
  • OS & OS version: Win 10pro
  • DPI / HiDPI resolution: 1920x1080
  • Firefox version: V72
  • Firefox theme / lw-theme: using only crystal Icons from the CSS.

Thalon77 avatar Jan 08 '20 10:01 Thalon77

Font size changed within the files. You can configure it inside general_variables.css file.

Aris-t2 avatar Jan 08 '20 12:01 Aris-t2

Firefox updates becomes a bit anoying.... now everytime they update, the custom css is need to be changed... My problem is not classic 2 lines, but for ac_popup_default_with_two_lines_fx68. it is not shown as 2 lines. could you fix it? Screenshot (559)

motfis avatar Jan 08 '20 17:01 motfis

Use this instead of ac_popup_default_with_two_lines_fx68.css in Fx72 (I will add this as a new option on next update):

.urlbarView .urlbarView-results > .urlbarView-row > .urlbarView-row-inner {
  flex-wrap: wrap !important;
}
.urlbarView .urlbarView-results > .urlbarView-row > .urlbarView-row-inner > .urlbarView-no-wrap {
  max-width: 100% !important;
  flex-basis: 100% !important;
}
.urlbarView .urlbarView-results > .urlbarView-row[has-url] > .urlbarView-row-inner > .urlbarView-url {
  margin-top: 2px !important;
  padding-inline-start: calc(6px + 2px + 16px) !important;
}
.urlbarView[actionoverride] .urlbarView-results > .urlbarView-row[has-url] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-title-separator,
.urlbarView .urlbarView-results > .urlbarView-row[has-url]:not([type$=tab]) > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-title-separator,
.urlbarView .urlbarView-results > .urlbarView-row[type=remotetab]:not([selected]):not(:hover) {
  display: none !important;
}

#urlbar-results {
  --item-padding-start: 0 !important;
  --item-padding-end: 0 !important;
}

Aris-t2 avatar Jan 08 '20 18:01 Aris-t2

Use this instead of ac_popup_default_with_two_lines_fx68.css in Fx72 (I will add this as a new option on next update):

It fix partially. The fix is not working for bookmarks which have keywords, and also for switch tab. the bookmark still shown as 1 line when we type the keyword. But I can live with this until the next update. Thanks!!

motfis avatar Jan 08 '20 21:01 motfis

In Fx72+ the code changed to match the one used for the new megabar (default in Fx73), so both now use the same internal configuration of result items. For now displaying in two lines only works for results with an actual url/link and doesn't for heuristic results like bookmarks, open in tab, visit etc.

Aris-t2 avatar Jan 09 '20 09:01 Aris-t2