-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
63 lines (54 loc) · 1.46 KB
/
app.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
/* Hide components */
[data-testid="DMDrawer"],
[data-testid="SideNav_NewTweet_Button"],
[data-testid="retweet"] > div span,
[data-testid="unretweet"] > div span,
[data-testid="like"] > div span,
[data-testid="unlike"] > div span,
[data-testid="reply"] > div span,
[data-testid="socialContext"],
[data-testid="SideNav_AccountSwitcher_Button"] > div svg {
display: none !important;
}
/* Hide right column but first section */
[data-testid="sidebarColumn"]
> div
> div:last-child
> div
> div
> div
> div:not(:first-child) {
display: none;
}
/* Desktop view */
@media (min-width: 1280px) {
/* Set primary nav to have 20% width */
nav[aria-label="Primary"] {
max-width: 20%;
}
/* Hide trending link on left column */
[data-testid="AppTabBar_Explore_Link"] {
display: none !important;
}
}
/* Hide nav menu item labels */
nav[aria-label="Primary"] > a > div > div + div,
[data-testid="AppTabBar_More_Menu"] > div > div + div {
display: none;
}
/* Hide search input placeholder */
[data-testid="SearchBox_Search_Input"]::-webkit-input-placeholder {
color: transparent !important;
}
[data-testid="SearchBox_Search_Input"]::-moz-placeholder {
color: transparent !important;
}
[data-testid="SearchBox_Search_Input"]:-ms-input-placeholder {
color: transparent !important;
}
[data-testid="SearchBox_Search_Input"]:-moz-placeholder {
color: transparent !important;
}
[data-testid="SearchBox_Search_Input"]::placeholder {
color: transparent !important;
}