forked from connors/twitter-user-style
-
Notifications
You must be signed in to change notification settings - Fork 0
/
twitter.css
179 lines (163 loc) · 3.95 KB
/
twitter.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/* Custom user style for Twitter.com by Connor Sears
================================================== */
/* Hide all the things! (Footer, Mini-profile, Trends, Profile Tweetbox, etc) */
.Footer,
.trends,
.wtf-module.has-content,
.enhanced-media-thumbnails,
.mini-profile,
.chev-right,
.module[data-component-term^="profile_tweetbox"],
.bird-topbar-etched {
display: none !important;
}
/* Base structure
================================================== */
/* Center the content and resize to one column */
.content-main { float: none; margin: 0 auto; }
.wrapper {
width: 520px;
padding-left: 15px;
padding-right: 15px;
}
/* Top bar
================================================== */
/* Flatten up that top bar */
.topbar {
box-shadow: none;
}
.global-nav,
.global-nav .well,
.nav .active > a,
.btn-tweet,
.btn-tweet:hover,
.btn-tweet:active,
.card-soccer .cover {
background-image: none;
}
.global-nav .container {
width: 550px;
}
/* Hide the main navigation text */
.global-nav #global-actions li span.text {
display: none;
}
/* Condense the main nav icons and center the glow */
#global-actions.nav i {
margin-right: 0;
}
.nav .nav-new {
margin-left: -12px;
}
/* Adjust the search form to work well in the smaller top bar */
.global-nav .form-search {
width: 170px;
}
.global-nav .search-input {
width: 110px;
box-shadow: none;
}
.global-nav .search-input.focus { width: 130px; }
.btn-tweet:hover {
background-color: #3493e8;
}
/* Move the load spinner to the top right on the screen */
.pushstate-spinner {
position: absolute;
top: 1px;
right: 20px;
left: auto;
}
/* So I can place the pushstate-spinner all the way to the right. */
.container { position: static; }
/* Side navigation
================================================== */
/* Move the dashboard parent div to the left margin. */
.dashboard {
position: absolute;
left: -210px;
width: 200px;
}
/* Nav module */
.module {
border: none;
}
.module .list-link {
border-top: none;
-webkit-transition: all .1s linear;
-moz-transition: all .1s linear;
}
/* Nav styles based on the user specified overlay color */
/* White */
.module {
-webkit-box-shadow: 0 -1px 0 rgba(0,0,0,.2);
-moz-box-shadow: 0 -1px 0 rgba(0,0,0,.2);
box-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.module .list-link {
background-color: rgba(255,255,255,.5);
color: #333;
text-shadow: 0 1px 0 rgba(255,255,255,.3);
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.module:hover .list-link {
background-color: rgba(255,255,255,.7);
}
.module .list-link:hover,
.module .active .list-link {
color: #111;
}
.module .list-link:hover,
.module .active .list-link {
background-color: rgba(255,255,255,.9);;
}
/* Black */
.wrapper.black .module .list-link {
background-color: rgba(0,0,0,.3);
color: #ccc;
text-shadow: 0 1px 0 rgba(0,0,0,.5);
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.wrapper.black .module:hover .list-link {
background-color: rgba(0,0,0,.5);
}
.wrapper.black .module .list-link:hover,
.wrapper.black .module .active .list-link {
color: #eee;
}
.wrapper.black .module .list-link:hover,
.wrapper.black .module .active .list-link {
background-color: rgba(0,0,0,.7);
}
/* Tweet actions
================================================== */
.persistent-inline-actions .tweet .tweet-actions {
display: none;
}
.persistent-inline-actions .tweet:hover .tweet-actions {
display: inline-block;
}
/* Conversations line
================================================== */
.vellip,
.vellip:before,
.vellip:after,
.conversation-module > li:after,
.conversation-module > li:before {
background-color: #ddd;
}
/* Misc
================================================== */
/* Change the profile bio text to Georgia. For old times sake. */
.profile-card.profile-header .bio {
font-family: Georgia, serif;
font-style: italic;
}
/* Remove the outline on :active in Chrome. */
button {
outline: none;
}