summaryrefslogtreecommitdiffstats
path: root/browser/themes/linux/places/organizer.css
blob: d8897b41495b848140ccd2047c7f281f58853b0c (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/* 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/. */

#placesList {
  width: 200px;
  min-width: 100px;
  max-width: 400px;
}

/* Toolbar */

@media (-moz-menubar-drag) {
  #placesToolbar {
    -moz-window-dragging: drag;
  }
}

#placesToolbar > toolbarbutton > .toolbarbutton-icon {
  -moz-context-properties: fill;
  fill: currentColor;
}

/* Back and forward buttons */

#back-button {
  list-style-image: url("chrome://browser/skin/back.svg");
}

#forward-button {
  list-style-image: url("chrome://browser/skin/forward.svg");
}

#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
  transform: scaleX(-1);
}

/* Menus */
#placesMenu > menu {
  padding-inline-start: 4px;
  appearance: auto;
  -moz-default-appearance: toolbarbutton;
}

#placesMenu > menu:hover {
  color: ButtonText;
}

#placesMenu > menu:active,
#placesMenu > menu[open] {
  color: -moz-buttonactivetext;
}

#placesMenu > menu::after {
  display: flex;
  width: 12px;
  height: 12px;
  content: url("chrome://global/skin/icons/arrow-down-12.svg");
  -moz-context-properties: fill;
  fill: currentColor;
}

/* Root View */
#placesView {
  background-color: Window;
}

/* Info box */
#infoBox:not([hidden="true"]) {
  display: block;
}

#editBookmarkPanelContent {
  grid-template-columns: auto 1fr;
}

#editBookmarkPanelContent .caption-label:not([hidden="true"]) {
  display: block;
  grid-column: 2;
}

#editBookmarkPanelContent input,
.expander-up,
.expander-down {
  margin: 4px;
}

#editBookmarkPanelContent label {
  align-self: center;
}

#editBMPanel_itemsCountText {
  grid-column: auto / span 2;
  justify-self: center;
}

#editBMPanel_tagsSelectorRow {
  grid-column: auto / span 2;
}

#detailsPane {
  min-height: 16em;
  padding: 5px;
}

/* Expanders */

.expander-up,
.expander-down {
  min-width: 0;
  padding: 2px 0;
  padding-inline-start: 2px;
}

.expander-up > .button-box {
  appearance: auto;
  -moz-default-appearance: button-arrow-up;
}

.expander-down > .button-box {
  appearance: auto;
  -moz-default-appearance: button-arrow-down;
}

/* Downloads pane */
#clearDownloadsButton > .toolbarbutton-icon {
  display: none;
}