summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/preferences/translations.css
blob: ddc55993a88083a76d6394c4cd53cc3dd995a0d2 (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
/* 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/. */

#translations-settings-header {
  margin-top: var(--space-xlarge);
  margin-bottom: calc( 2 * var(--space-small));
}

.translations-settings-manage-section {
  margin-top: var(--space-xlarge);
}

.translations-settings-manage-language {
  margin: 0 calc( 2 * var(--space-small));
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.translations-settings-manage-section-info {
  display: flex;
  flex-direction: column;
  h2, p, a {
    display: block;
    margin: var(--space-small) calc( 2 * var(--space-small));
  }
  a {
    display: block;
  }
}

.translations-settings-languages-card {
  display: flex;
  flex-direction: column;
  max-height: calc( 7 * var(--space-xlarge));
  overflow: auto;
  padding-inline: calc( 2 * var(--space-small));
}

.translations-settings-language-header {
  margin: calc( 2 * var(--space-small)) 0;
  font-size: var(--font-size-root);
  font-weight: var(--font-weight-bold);
}

.translations-settings-language {
  display: flex;
  align-items: center;
  padding: var(--space-small) 0;
  border-top: 1px solid var(--in-content-border-color);
  label {
    margin: 0px calc( 2 * var(--space-small));
  }
}

.translations-settings-download-icon[type~="icon"]::part(button) {
  background-image: url(chrome://browser/skin/downloads/downloads.svg);
}

.translations-settings-delete-icon[type~="icon"]::part(button) {
  background-image: url(chrome://global/skin/icons/delete.svg);
}