Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: static/css/main.css

Issue 29551738: Issue 5634 - Replaced logo and refactored navbar width and colors (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Rebased Created Sept. 25, 2017, 3:10 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | static/css/main-desktop.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 * 1 *
2 { 2 {
3 font-family: Arial, sans; 3 font-family: Arial, sans;
4 font-size: 16px; 4 font-size: 16px;
5 } 5 }
6 6
7 body 7 body
8 { 8 {
9 margin: 0; 9 margin: 0;
10 line-height: 1.5; 10 line-height: 1.5;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 background-repeat: no-repeat; 46 background-repeat: no-repeat;
47 } 47 }
48 48
49 nav ul 49 nav ul
50 { 50 {
51 list-style: none; 51 list-style: none;
52 margin: 0; 52 margin: 0;
53 padding: 0; 53 padding: 0;
54 } 54 }
55 55
56 nav a:link, nav a:visited 56 nav a:link,
57 nav a:visited
57 { 58 {
58 color: #7d7d7d; 59 color: #7d7d7d;
59 text-decoration: none; 60 text-decoration: none;
60 } 61 }
61 62
62 nav a:hover 63 nav a:hover
63 { 64 {
64 text-decoration: underline; 65 text-decoration: underline;
65 } 66 }
66 67
68 .container
69 {
70 margin: 0 15px;
71 max-width: 1170px;
72 }
73
74 @media (min-width: 1200px)
75 {
76 .container
77 {
78 margin: 0 auto;
79 }
80 }
81
82 .accent
83 {
84 background-color: #c70d2c;
85 color: #fff;
86 }
87
88 .accent a,
89 .accent a:link,
90 .accent a:visited
91 {
92 color: #fff;
93 }
94
95 .secondary
96 {
97 background-color: #292929;
98 color: #fff;
99 }
100
101 .secondary a,
102 .secondary a:link,
103 .secondary a:visited
104 {
105 color: #fff;
106 }
107
108 .navbar
109 {
110 height: 70px;
111 }
112
113 .navbar a:hover,
114 .navbar a:active,
115 .navbar a:focus
116 {
117 text-decoration: none;
118 }
119
120 .navbar-brand img
121 {
122 display: inline;
123 height: 48px;
124 padding: 11px 0px;
125 line-height: 48px;
126 }
127
128 .navbar-brand,
129 .navbar-nav li
130 {
131 float: left;
132 }
133
134 .navbar-nav
135 {
136 float: right;
137 }
138
139 .navbar-nav a
140 {
141 display: inline-block;
142 padding: 26px 15px;
143 font-size: 18px;
144 line-height: 1;
145 }
146
147 .navbar-nav a:hover,
148 .navbar-nav a:active,
149 .navbar-nav a:focus
150 {
151 background-color: #AE0013;
152 }
153
154 .navbar-nav,
155 .navbar-nav li
156 {
157 display: inline-block;
158 list-style-type: none;
159 }
160
161 .dropdown
162 {
163 position: relative;
164 }
165
166 .dropdown-menu
167 {
168 position: absolute;
169 display: none;
170 min-width: 160px;
171 max-height: 384px;
172 max-height: 50vh;
173 top: 100%;
174 right: 0;
175 overflow: auto;
176 z-index: 1000;
177 }
178
179 .dropdown-menu.visible
180 {
181 display: block;
182 }
183
184 .dropdown-menu li,
185 .dropdown-menu a
186 {
187 display: block;
188 float: none;
189 white-space: nowrap;
190 }
191
192 .dropdown-menu a
193 {
194 font-size: 16px;
195 line-height: 50px;
196 padding: 0px 15px;
197 }
198
199 .dropdown-menu a:hover,
200 .dropdown-menu a:active,
201 .dropdown-menu a:focus
202 {
203 background-color: #434343;
204 }
205
206 .dropdown-toggle::after
207 {
208 display: inline-block;
209 width: 0;
210 height: 0;
211 margin-left: .255em;
212 vertical-align: .255em;
213 content: "";
214 border-top: .3em solid;
215 border-right: .3em solid transparent;
216 border-left: .3em solid transparent;
217 }
218
67 header 219 header
68 { 220 {
69 display: block; 221 display: block;
70 position: relative; 222 position: relative;
71 background: white; 223 background: white;
72 border: 1px solid #d9d9d9; 224 border: 1px solid #d9d9d9;
73 border-top: none; 225 border-top: none;
74 box-shadow: 1px 1px 0 0 #d9d9d9; 226 box-shadow: 1px 1px 0 0 #d9d9d9;
75 z-index: 1; 227 z-index: 1;
76 } 228 }
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 566
415 [dir="ltr"] .alert 567 [dir="ltr"] .alert
416 { 568 {
417 border-left: 5px solid #d14841; 569 border-left: 5px solid #d14841;
418 } 570 }
419 571
420 [dir="rtl"] .alert 572 [dir="rtl"] .alert
421 { 573 {
422 border-right: 5px solid #d14841; 574 border-right: 5px solid #d14841;
423 } 575 }
OLDNEW
« no previous file with comments | « no previous file | static/css/main-desktop.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld