summaryrefslogtreecommitdiffstats
path: root/browser/components/sidebar/sidebar-main.css
blob: 14fac4d7736f4b5aa3b0465e57c2df9a186093c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */

.wrapper {
  display: grid;
  grid-template-rows: auto 1fr;
  box-sizing: border-box;
  height: 100%;
  padding: var(--space-medium);
  border-inline-end: 1px solid var(--chrome-content-separator-color);
  background-color: var(--sidebar-background-color);
  color: var(--sidebar-text-color);
  :host([positionend]) & {
    border-inline-start: 1px solid var(--chrome-content-separator-color);
    border-inline-end: none;
  }
}

.actions-list {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: var(--space-xsmall);
}

.icon-button::part(button) {
  background-image: var(--action-icon);
}