Skip to content

Commit

Permalink
Improvisation
Browse files Browse the repository at this point in the history
  • Loading branch information
clifford269 committed Aug 22, 2024
1 parent 90c111a commit a3109ff
Show file tree
Hide file tree
Showing 8 changed files with 234 additions and 201 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,27 @@

#urlbar-results .urlbarView-row[selected] .urlbarView-url {
color: rgb(31, 88, 159) !important;

}

#urlbar-results .urlbarView-row[selected] .urlbarView-action {
color: rgb(31, 88, 159) !important;

}

.urlbarView-url, .urlbarView-action {
color: #039bce !important;
}
}
.urlbarView-url{
transform: translateX(-5px) !important;

}
.urlbarView-action {
transform: translateX(15px) !important;
}
#urlbar-results:not([wrap="true"]) .urlbarView-action, #urlbar-results:not([wrap="true"]) .urlbarView-url{
transform: translateX(15px) !important;
}
#urlbar-results .urlbarView-action, #urlbar-results[wrap="true"] .urlbarView-action{
display: block !important;
}

This file was deleted.

147 changes: 147 additions & 0 deletions chrome/css/locationbar/ac_popup_megabar_title_and_url_two_lines.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@


.urlbarView-results > .urlbarView-row:not([rich-suggestion]) > .urlbarView-row-inner {
flex-wrap: wrap !important;
}

.urlbarView-results > .urlbarView-row:not([rich-suggestion]) > .urlbarView-row-inner > .urlbarView-no-wrap {
max-width: 100% !important;
flex-basis: 100% !important;
}

.urlbarView-results > .urlbarView-row[has-url] > .urlbarView-row-inner > .urlbarView-url {
margin-top: 2px !important;
}

.urlbarView-results > .urlbarView-row[has-url] > .urlbarView-row-inner > .urlbarView-url:-moz-locale-dir(ltr) {
margin-left: var(--urlbarView-second-line-indent) !important;
}

.urlbarView-results > .urlbarView-row[has-url] > .urlbarView-row-inner > .urlbarView-url:-moz-locale-dir(rtl) {
margin-right: var(--urlbarView-second-line-indent) !important;
}

.urlbarView[action-override] .urlbarView-results > .urlbarView-row[has-url]:not([restyled-search]),
.urlbarView-results > .urlbarView-row[has-url]:not([type$=tab], [sponsored], [restyled-search]),
.urlbarView-results > .urlbarView-row[has-url]:is([type=remotetab], [sponsored]):is(:hover, [selected]),
.urlbarView-results > .urlbarView-row[type=tabtosearch] {
.urlbarView-title-separator {
display: none !important;
}
}

.urlbarView-results > .urlbarView-row[type=tabtosearch] > .urlbarView-row-inner > .urlbarView-no-wrap {
flex-wrap: wrap !important;
}

.urlbarView-results > .urlbarView-row[type=tabtosearch] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-action {
flex-basis: 100% !important;
margin-inline-start: var(--urlbarView-second-line-indent) !important;
}

.urlbarView-results > .urlbarView-row[rich-suggestion] > .urlbarView-row-inner > .urlbarView-row-body > .urlbarView-row-body-top {
flex-wrap: wrap !important;
}

.urlbarView-results > .urlbarView-row[rich-suggestion] > .urlbarView-row-inner > .urlbarView-row-body > .urlbarView-row-body-top > .urlbarView-row-body-top-no-wrap {
flex-basis: 100% !important;
}

.urlbarView-results > .urlbarView-row[rich-suggestion] > .urlbarView-row-inner > .urlbarView-row-body > .urlbarView-url {
margin-top: 2px !important;
}

.urlbarView-row[label] {
margin-block-start: 0 !important;
}

.urlbarView-row[label]::before {
content: unset !important;
display: none !important;
}

.urlbarView-row[dynamicType=onboardTabToSearch] > .urlbarView-row-inner {
min-height: unset !important;
align-items: center;
}

.urlbarView-row[dynamicType=onboardTabToSearch] > .urlbarView-row-inner > .urlbarView-no-wrap {
align-items: center;
}

.urlbarView-row[dynamicType=onboardTabToSearch] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-favicon {
min-width: unset !important;
height: unset !important;
-moz-context-properties: fill;
}

.urlbarView-row[dynamicType=onboardTabToSearch]:not([selected]) > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-favicon {
color: var(--link-color);
}


.urlbarView-row[rich-suggestion] > .urlbarView-row-inner > .urlbarView-favicon {
width: 16px !important;
height: 16px !important;
}

.urlbarView-title:empty + .urlbarView-tags:empty + .urlbarView-row,
.urlbarView-row[type=search]:not([selected]):not([show-action-text]):not(:hover),
.urlbarView-row:not([has-action]):not([has-url]):not([restyled-search]) {
display: flex !important;
}


.urlbarView-row[has-url][type=remotetab]:not([selected]):not(:hover),
.urlbarView-row[has-url][sponsored]:not([selected]):not(:hover),
.urlbarView-row:not([has-action]):not([has-url]):not([restyled-search]) .urlbarView-row-inner .urlbarView-no-wrap,
.urlbarView[action-override] .urlbarView-row[type=switchtab] .urlbarView-row-inner .urlbarView-no-wrap {
display: flex !important;
}


.urlbarView-row:is([type=search],[type=remotetab],[type=switchtab],[type=autofill_origin]):not([rich-suggestion]) .urlbarView-row-inner,
.urlbarView-row:is([type=search],[type=remotetab],[type=switchtab],[type=autofill_origin]):not([rich-suggestion]) .urlbarView-no-wrap {
display: unset !important;
flex-wrap: wrap !important;
}

.urlbarView-row:is([type=search],[type=remotetab],[type=switchtab],[type=autofill_origin]):not([rich-suggestion]) .urlbarView-no-wrap .urlbarView-action {
display: unset !important;
flex-wrap: wrap !important;
appearance: none !important;
background: unset !important;
margin-inline-start: var(--urlbarView-second-line-indent) !important;
}

.urlbarView-row[type=autofill_origin][has-url]:not([rich-suggestion]) .urlbarView-no-wrap .urlbarView-action {
margin-inline-start: 0 !important;
}


.urlbarView-row[type=search]:not([rich-suggestion]) > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-action,
.urlbarView-row[type=remotetab]:not([rich-suggestion]) > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-action,
.urlbarView-row[type=switchtab]:not([rich-suggestion]) > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-action,
.urlbarView-row[type=autofill_origin]:not([rich-suggestion]) > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-action {
padding: 0px !important;
}

.urlbarView-row:is([type=search],[type=remotetab],[type=switchtab],[type=autofill_origin]):not([rich-suggestion]) .urlbarView-title-separator {
display: none !important;
}

.urlbarView-row-inner {
padding-block: 3px !important;
}

.urlbarView-favicon {
margin-bottom: -4px !important;
}
.urlbarView-row[rich-suggestion] :is(.urlbarView-row-body-description, .urlbarView-row-body-bottom) {
font-size: unset !important;
}

.urlbarView-row[rich-suggestion] .urlbarView-title-separator::before,
.urlbarView-row[rich-suggestion] .urlbarView-action {
display: none !important;
}
6 changes: 4 additions & 2 deletions chrome/css/locationbar/identitybox_colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.70) 45%, rgba(255, 255, 255, 0.50) 0%, rgba(207, 207, 207, 0.4)) !important;

}

#urlbar[pageproxystate="invalid"] #tab_label_in_urlbar_box, .unknownIdentity #tab_label_in_urlbar_box{
transform: translateY(1px) !important;
}
/* other tweaks */
#urlbar[pageproxystate="valid"] :is(.urlbar-input-box, #urlbar-display-box) {
border-image: unset !important;
Expand All @@ -163,7 +165,7 @@
filter: unset !important;
}

/**/

#identity-box[pageproxystate="valid"].notSecureText > .identity-box-button,
#identity-box[pageproxystate="valid"].chromeUI > .identity-box-button,
#identity-box[pageproxystate="valid"].extensionPage > .identity-box-button,
Expand Down
Loading

0 comments on commit a3109ff

Please sign in to comment.