Revision 881e7ecf
Added by Andreas Kohlbecker over 11 years ago
7.x/themes/zen_dataportal/css/layouts/responsive-sidebars.css | ||
---|---|---|
11 | 11 |
/* |
12 | 12 |
* Center the page. |
13 | 13 |
*/ |
14 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\0000344}}
|
|
14 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\0000344}}
|
|
15 | 15 |
#page, |
16 | 16 |
.region-bottom { |
17 | 17 |
/* For screen sizes larger than 1200px, prevent excessively long lines of text |
... | ... | |
24 | 24 |
/* |
25 | 25 |
* Apply the shared properties of grid items in a single, efficient ruleset. |
26 | 26 |
*/ |
27 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\0000362}}
|
|
27 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\0000362}}
|
|
28 | 28 |
#header, |
29 | 29 |
#content, |
30 | 30 |
#navigation, |
... | ... | |
43 | 43 |
/* |
44 | 44 |
* Containers for grid items and flow items. |
45 | 45 |
*/ |
46 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass-extensions\/zen-grids\/stylesheets\/zen\/_grids\.scss}line{font-family:\0000352}}
|
|
46 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass-extensions\/zen-grids\/stylesheets\/zen\/_grids\.scss}line{font-family:\0000352}}
|
|
47 | 47 |
#header:before, #header:after, |
48 | 48 |
#main:before, |
49 | 49 |
#main:after, |
... | ... | |
52 | 52 |
content: ""; |
53 | 53 |
display: table; |
54 | 54 |
} |
55 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass-extensions\/zen-grids\/stylesheets\/zen\/_grids\.scss}line{font-family:\0000356}}
|
|
55 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass-extensions\/zen-grids\/stylesheets\/zen\/_grids\.scss}line{font-family:\0000356}}
|
|
56 | 56 |
#header:after, |
57 | 57 |
#main:after, |
58 | 58 |
#footer:after { |
... | ... | |
63 | 63 |
* Navigation bar |
64 | 64 |
*/ |
65 | 65 |
@media all and (min-width: 480px) { |
66 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\0000381}}
|
|
66 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\0000381}}
|
|
67 | 67 |
#main { |
68 | 68 |
padding-top: 60px; |
69 | 69 |
/* Move all the children of #main down to make room. */ |
70 | 70 |
position: relative; |
71 | 71 |
} |
72 | 72 |
|
73 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\0000385}}
|
|
73 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\0000385}}
|
|
74 | 74 |
#navigation { |
75 | 75 |
position: absolute; |
76 | 76 |
top: 0; |
... | ... | |
86 | 86 |
/* |
87 | 87 |
* The layout when there is only one sidebar, the left one. |
88 | 88 |
*/ |
89 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003104}}
|
|
89 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003104}}
|
|
90 | 90 |
.sidebar-first #content { |
91 | 91 |
/* Span 2 columns, starting in 2nd column from left. */ |
92 | 92 |
float: left; |
... | ... | |
94 | 94 |
margin-left: 33.33333%; |
95 | 95 |
margin-right: -100%; |
96 | 96 |
} |
97 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003108}}
|
|
97 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003108}}
|
|
98 | 98 |
.sidebar-first .region-sidebar-first { |
99 | 99 |
/* Span 1 column, starting in 1st column from left. */ |
100 | 100 |
float: left; |
... | ... | |
106 | 106 |
/* |
107 | 107 |
* The layout when there is only one sidebar, the right one. |
108 | 108 |
*/ |
109 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003118}}
|
|
109 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003118}}
|
|
110 | 110 |
.sidebar-second #content { |
111 | 111 |
/* Span 2 columns, starting in 1st column from left. */ |
112 | 112 |
float: left; |
... | ... | |
114 | 114 |
margin-left: 0%; |
115 | 115 |
margin-right: -66.66667%; |
116 | 116 |
} |
117 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003122}}
|
|
117 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003122}}
|
|
118 | 118 |
.sidebar-second .region-sidebar-second { |
119 | 119 |
/* Span 1 column, starting in 3rd column from left. */ |
120 | 120 |
float: left; |
... | ... | |
126 | 126 |
/* |
127 | 127 |
* The layout when there are two sidebars. |
128 | 128 |
*/ |
129 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003132}}
|
|
129 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003132}}
|
|
130 | 130 |
.two-sidebars #content { |
131 | 131 |
/* Span 2 columns, starting in 2nd column from left. */ |
132 | 132 |
float: left; |
... | ... | |
134 | 134 |
margin-left: 33.33333%; |
135 | 135 |
margin-right: -100%; |
136 | 136 |
} |
137 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003136}}
|
|
137 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003136}}
|
|
138 | 138 |
.two-sidebars .region-sidebar-first { |
139 | 139 |
/* Span 1 column, starting in 1st column from left. */ |
140 | 140 |
float: left; |
... | ... | |
142 | 142 |
margin-left: 0%; |
143 | 143 |
margin-right: -33.33333%; |
144 | 144 |
} |
145 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003140}}
|
|
145 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003140}}
|
|
146 | 146 |
.two-sidebars .region-sidebar-second { |
147 | 147 |
/* Start a new row and span all 3 columns. */ |
148 | 148 |
float: left; |
... | ... | |
153 | 153 |
padding-right: 0; |
154 | 154 |
clear: left; |
155 | 155 |
} |
156 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003145}}
|
|
156 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003145}}
|
|
157 | 157 |
.two-sidebars .region-sidebar-second .block { |
158 | 158 |
padding-left: 20px; |
159 | 159 |
padding-right: 20px; |
... | ... | |
163 | 163 |
box-sizing: border-box; |
164 | 164 |
word-wrap: break-word; |
165 | 165 |
} |
166 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003148}}
|
|
166 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003148}}
|
|
167 | 167 |
.two-sidebars .region-sidebar-second .block:nth-child(3n+1) { |
168 | 168 |
/* Span 1 column, starting in the 1st column from left. */ |
169 | 169 |
float: left; |
... | ... | |
172 | 172 |
margin-right: -33.33333%; |
173 | 173 |
clear: left; |
174 | 174 |
} |
175 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003152}}
|
|
175 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003152}}
|
|
176 | 176 |
.two-sidebars .region-sidebar-second .block:nth-child(3n+2) { |
177 | 177 |
/* Span 1 column, starting in the 2nd column from left. */ |
178 | 178 |
float: left; |
... | ... | |
180 | 180 |
margin-left: 33.33333%; |
181 | 181 |
margin-right: -66.66667%; |
182 | 182 |
} |
183 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003155}}
|
|
183 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003155}}
|
|
184 | 184 |
.two-sidebars .region-sidebar-second .block:nth-child(3n) { |
185 | 185 |
/* Span 1 column, starting in the 3rd column from left. */ |
186 | 186 |
float: left; |
... | ... | |
196 | 196 |
/* |
197 | 197 |
* The layout when there is only one sidebar, the left one. |
198 | 198 |
*/ |
199 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003173}}
|
|
199 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003173}}
|
|
200 | 200 |
.sidebar-first #content { |
201 | 201 |
/* Span 4 columns, starting in 2nd column from left. */ |
202 | 202 |
float: left; |
... | ... | |
204 | 204 |
margin-left: 25%; |
205 | 205 |
margin-right: -100%; |
206 | 206 |
} |
207 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003177}}
|
|
207 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003177}}
|
|
208 | 208 |
.sidebar-first .region-sidebar-first { |
209 | 209 |
/* Span 1 column, starting in 1st column from left. */ |
210 | 210 |
float: left; |
... | ... | |
216 | 216 |
/* |
217 | 217 |
* The layout when there is only one sidebar, the right one. |
218 | 218 |
*/ |
219 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003187}}
|
|
219 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003187}}
|
|
220 | 220 |
.sidebar-second #content { |
221 | 221 |
/* Span 4 columns, starting in 1st column from left. */ |
222 | 222 |
float: left; |
... | ... | |
224 | 224 |
margin-left: 0%; |
225 | 225 |
margin-right: -75%; |
226 | 226 |
} |
227 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003191}}
|
|
227 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003191}}
|
|
228 | 228 |
.sidebar-second .region-sidebar-second { |
229 | 229 |
/* Span 1 column, starting in 5th column from left. */ |
230 | 230 |
float: left; |
... | ... | |
236 | 236 |
/* |
237 | 237 |
* The layout when there are two sidebars. |
238 | 238 |
*/ |
239 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003201}}
|
|
239 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003201}}
|
|
240 | 240 |
.two-sidebars #content { |
241 | 241 |
/* Span 3 columns, starting in 2nd column from left. */ |
242 | 242 |
float: left; |
... | ... | |
244 | 244 |
margin-left: 25%; |
245 | 245 |
margin-right: -75%; |
246 | 246 |
} |
247 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003205}}
|
|
247 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003205}}
|
|
248 | 248 |
.two-sidebars .region-sidebar-first { |
249 | 249 |
/* Span 1 column, starting in 1st column from left. */ |
250 | 250 |
float: left; |
... | ... | |
252 | 252 |
margin-left: 0%; |
253 | 253 |
margin-right: -25%; |
254 | 254 |
} |
255 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003209}}
|
|
255 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/layouts\/responsive-sidebars\.scss}line{font-family:\00003209}}
|
|
256 | 256 |
.two-sidebars .region-sidebar-second { |
257 | 257 |
/* Span 1 column, starting in 5th column from left. */ |
258 | 258 |
float: left; |
Also available in: Unified diff
fine tuning some margins in synonymy and search results