Commit e42e4d2e authored by Dão Gottwald's avatar Dão Gottwald
Browse files

Bug 1759498 - Clean up panel footer button styling after Proton. r=mconley

parent 927ad62c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -348,7 +348,7 @@ function triggerSecondaryCommand(popup, index) {
  }

  // Extra secondary actions appear in a menu.
  notification.secondaryButton.nextElementSibling.nextElementSibling.focus();
  notification.secondaryButton.nextElementSibling.focus();

  popup.addEventListener(
    "popupshown",
+7 −7
Original line number Diff line number Diff line
@@ -446,7 +446,7 @@ menupopup::part(drop-indicator) {
  margin: 0;
}

#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"] .popup-notification-button.popup-notification-primary-button {
#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"] .popup-notification-primary-button {
  background-color: rgba(216, 216, 216, 0.2);
  color: white;
  border: none;
@@ -456,7 +456,7 @@ menupopup::part(drop-indicator) {
  flex: 1;
}

#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"] .popup-notification-button.popup-notification-primary-button:after {
#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"] .popup-notification-primary-button:after {
  content: url(chrome://global/skin/icons/arrow-left-12.svg);
  -moz-context-properties: fill;
  fill: currentColor;
@@ -464,19 +464,19 @@ menupopup::part(drop-indicator) {
  float: inline-end;
}

#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"]:-moz-locale-dir(ltr) .popup-notification-button.popup-notification-primary-button:after {
#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"]:-moz-locale-dir(ltr) .popup-notification-primary-button:after {
  content: url(chrome://global/skin/icons/arrow-right-12.svg);
}

#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"] .popup-notification-button.popup-notification-primary-button:hover {
#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"] .popup-notification-primary-button:hover {
  background-color: rgba(216, 216, 216, 0.4);
}

#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"] .popup-notification-button.popup-notification-primary-button:active {
#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"] .popup-notification-primary-button:active {
  background-color: rgba(216, 216, 216, 0.5);
}

#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"] .popup-notification-button.popup-notification-secondary-button {
#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"] .popup-notification-secondary-button {
  margin: 3px;
  border: none;
  border-radius: 2px;
@@ -496,7 +496,7 @@ menupopup::part(drop-indicator) {
  font-size: 0;
}

#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"] .popup-notification-button.popup-notification-secondary-button:hover {
#contextual-feature-recommendation-notification[data-notification-bucket="CFR_MILESTONE_MESSAGE"] .popup-notification-secondary-button:hover {
  background-color: rgba(216, 216, 216, 0.4);
}

+0 −12
Original line number Diff line number Diff line
@@ -458,14 +458,6 @@ description#identity-popup-content-verifier,

/* CONTENT BLOCKING / TRACKING PROTECTION */

#protections-popup-sendReportView-footer {
  display: flex;
}

#protections-popup-sendReportView-footer > button {
  flex: 1;
}

#protections-popup-sendReportView-heading,
#protections-popup-sendReportView-body {
  padding: var(--vertical-section-padding) var(--horizontal-padding);
@@ -1088,10 +1080,6 @@ description#identity-popup-content-verifier,
  color: var(--panel-description-color);
}

#protections-popup-sendReportView-footer > button {
  flex: none;
}

.protections-popup-description > description {
  margin: 10px 16px;
}
+0 −1
Original line number Diff line number Diff line
@@ -90,7 +90,6 @@
}

#downloadsPanel-blockedSubview-buttons {
  display: flex;
  margin-top: 1.5em;
}

+1 −5
Original line number Diff line number Diff line
@@ -92,10 +92,6 @@ html|img#editBookmarkPanelFavicon[src] {
  background-color: var(--button-active-bgcolor);
}

#editBookmarkPanelBottomButtons {
  display: flex;
}

#editBookmarkPanel > #editBookmarkHeaderSeparator,
#editBookmarkPanel > .panel-subview-body > #editBookmarkSeparator {
  margin-bottom: 0;
@@ -140,7 +136,7 @@ html|img#editBookmarkPanelFavicon[src] {
}

#editBookmarkPanelBottomButtons > button {
  margin-block: 0;
  margin-top: 0;
}

#editBookmarkPanel .expander-up > .button-box > .button-text,
Loading