summaryrefslogtreecommitdiffstats
path: root/browser/components/firefoxview/history.css
blob: dd2786a8c791088c892d6f3f3bb484144d118f3f (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/* 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 http://mozilla.org/MPL/2.0/. */

.history-sort-options:not([hidden]) {
  display: flex;
  gap: 24px;
}

.history-sort-option {
  display: flex;
  align-items: center;
  gap: 8px;

  & label {
    white-space: nowrap;
  }
}

.show-all-history-footer {
  text-align: center;
  margin-block-end: 24px;
}

.import-history-banner .banner-text {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  gap: 6px;
}

.import-history-banner .banner-text span:first-child {
  font-weight: 600;
}

.import-history-banner [slot="main"] {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 8px;
}

.import-history-banner .buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.choose-browser {
  font-size: 0.87em;
  cursor: pointer;
}

.import-history-banner .close {
  background-image: url("chrome://global/skin/icons/close-12.svg");
  background-repeat: no-repeat;
  background-position: center center;
  -moz-context-properties: fill;
  fill: currentColor;
  min-width: auto;
  min-height: auto;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

dialog {
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 2px 6px 0 rgba(0,0,0,0.3);
  padding: 24px;
}

@media (prefers-color-scheme: dark) {
  dialog {
    --in-content-page-background: #42414d;
  }
}