Commit 62c6d6c4 authored by henry's avatar henry Committed by henry
Browse files

fixup! BB 40925: Implemented the Security Level component



TB 43610: Update CSS variable names.

Also change the security level shield background to a new variable with
closer semantics.


(cherry picked from commit cf8b385f1f44518aa3cc79bd47c1597b2261658e)

Co-authored-by: default avatarHenry Wilkes <henry@torproject.org>
parent 350f2221
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
  background-size: 9em 9em;
  -moz-context-properties: fill, fill-opacity;
  fill-opacity: 1;
  fill: var(--button-bgcolor);
  fill: var(--border-color-card);
}

/* NOTE: Use ":dir" instead of ":-moz-locale-dir" when panel switches to HTML. */
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
  width: 24px;
  height: 24px;
  -moz-context-properties: fill;
  fill: var(--in-content-icon-color);
  fill: var(--icon-color);
  margin-block-start: var(--space-xsmall);
  margin-inline-end: var(--space-large);
}
@@ -92,7 +92,7 @@

#security-level-current {
  margin-block-start: var(--space-large);
  background: var(--in-content-box-background);
  background: var(--background-color-box);
  border: 1px solid var(--in-content-box-border-color);
  border-radius: var(--border-radius-small);
  padding: var(--space-medium);