-
Notifications
You must be signed in to change notification settings - Fork 1
/
userChrome.css
105 lines (72 loc) · 2.95 KB
/
userChrome.css
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
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* location for this file
~/.mozilla/firefox/default-[number]/chrome/userChrome.css */
/* Read Me
https://github.com/wookingwoo/firefox-custom-bookmarks */
/* change sidebar font style */
#bookmarks-view {
font-size: 17pt !important;
/* font-family: "Microsoft YaHei" !important;
font: "Microsoft YaHei" !important; */
color: #000000 !important;
border-width: 0px !important;
padding: 0px !important;
margin-top: 0px !important;
margin-bottom: 0px !important;
}
/* negative amounts, when allowed, can pack lines close */
#bookmarks-view treechildren::-moz-tree-row {
margin-top: 5px !important;
margin-bottom: 5px !important;
}
/* background color on selected */
.sidebar-placesTree treechildren::-moz-tree-row(selected) {
background-color: rgb(141, 190, 219) !important;
}
/* Colored folders for bookmark sidebar, toolbar, menu button */
/* old code used for years - works in Fx 57 except sidebar column header is still white */
#bookmarks-view-children,
#historyTree {
height: .75 em !important;
}
#bookmarks-view,
#historyTree {
background-color: rgb(235, 235, 235) !important;
}
#bookmarksMenuPopup * {
background-color: rgb(235, 235, 235) !important;
color: #333333 !important;
}
/* Standard folder */
#bookmarks-view treechildren::-moz-tree-image(container),
#PlacesToolbarItems toolbarbutton[container="true"] .toolbarbutton-icon,
#PlacesToolbarItems menu[container="true"] .menu-iconic-left,
#BMB_bookmarksPopup menu[container="true"] .menu-iconic-icon {
fill: #e8bb00 !important;
/* slightly muted gold */
}
/* Live Bookmark (RSS Feed) */
#bookmarks-view treechildren::-moz-tree-image(container, livemark),
#PlacesToolbarItems toolbarbutton[container="true"][livemark="true"] .toolbarbutton-icon,
#PlacesToolbarItems menu[container="true"][livemark="true"] .menu-iconic-left,
#BMB_bookmarksPopup menu[container="true"][livemark="true"] .menu-iconic-icon {
fill: orange !important;
}
/* Smart bookmark folder */
#bookmarks-view treechildren::-moz-tree-image(container, query),
#PlacesToolbarItems toolbarbutton[container="true"][query="true"] .toolbarbutton-icon,
#PlacesToolbarItems menu[container="true"][query="true"] .menu-iconic-left,
#BMB_bookmarksPopup menu[container="true"][query="true"] .menu-iconic-icon {
fill: #69c !important;
/* similar to blue smart folder color */
}
/* These "containers" are SVG in the sidebar, not yet on the menu */
#bookmarks-view treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) {
fill: olive !important;
}
#bookmarks-view treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) {
fill: olive !important;
}
#bookmarks-view treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) {
fill: olive !important;
}