Project

General

Profile

« Previous | Next » 

Revision ca55d066

Added by Andreas Kohlbecker over 11 years ago

configuring theme and first sass editing

View differences:

7.x/themes/zen_dataportal/css/pages.css
6 6
 * miscellaneous Drupal elements that appear in the $content variable, such as
7 7
 * ul.links, .pager, .more-link, etc.
8 8
 */
9

  
10

  
11 9
/*
12 10
 * Body
13 11
 */
14

  
12
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000317}}
15 13
body {
16 14
  margin: 0;
17 15
  padding: 0;
18 16
}
19 17

  
18
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000322}}
19
h1, h2, h3, h4, h5, h6 {
20
  font-weight: normal;
21
}
22

  
23
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000327}}
20 24
#page {
25
  -webkit-box-shadow: 0px 5px 10px black;
26
  -moz-box-shadow: 0px 5px 10px black;
27
  box-shadow: 0px 5px 10px black;
28
  padding-top: 10px;
21 29
}
22 30

  
23 31
/*
24 32
 * The skip-link link will be completely hidden until a user tabs to the link.
25 33
 * See the element-focusable rule in system.base.css.
26 34
 */
27

  
35
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000338}}
28 36
#skip-link {
29 37
  margin: 0;
30 38
}
39
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000342}}
31 40
#skip-link a,
32 41
#skip-link a:visited {
33 42
  display: block;
......
41 50
/*
42 51
 * Header
43 52
 */
44

  
45
#header {
46
}
47

  
48
#logo { /* Wrapping link for logo */
49
  float: left; /* LTR */
53
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000359}}
54
#logo {
55
  /* Wrapping link for logo */
56
  float: left;
57
  /* LTR */
50 58
  margin: 0;
51 59
  padding: 0;
52 60
}
61
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000364}}
53 62
#logo img {
54 63
  vertical-align: bottom;
55 64
}
56 65

  
57
#name-and-slogan { /* Wrapper for website name and slogan */
66
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000369}}
67
#name-and-slogan {
68
  /* Wrapper for website name and slogan */
58 69
  float: left;
59 70
}
60 71

  
61
#site-name { /* The name of the website */
72
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000373}}
73
#site-name {
74
  /* The name of the website */
62 75
  margin: 0;
63 76
  font-size: 2em;
64 77
  line-height: 1.5em;
65 78
}
79
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000379}}
66 80
#site-name a:link,
67 81
#site-name a:visited {
68 82
  color: #000;
69 83
  text-decoration: none;
70 84
}
85
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000385}}
71 86
#site-name a:hover,
72 87
#site-name a:focus {
73 88
  text-decoration: underline;
74 89
}
75 90

  
76
#site-slogan { /* The slogan (or tagline) of a website */
91
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000390}}
92
#site-slogan {
93
  /* The slogan (or tagline) of a website */
77 94
  margin: 0;
78 95
  font-size: 1em;
79 96
}
80 97

  
81
.region-header { /* Wrapper for any blocks placed in the header region */
82
  clear: both; /* Clear the logo */
98
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\0000395}}
99
.region-header {
100
  /* Wrapper for any blocks placed in the header region */
101
  clear: both;
102
  /* Clear the logo */
83 103
}
84 104

  
85 105
/*
86 106
 * Main (container for everything else)
87 107
 */
88

  
89
#main {
90
}
91

  
92 108
/*
93 109
 * Content
94 110
 */
95

  
96
#content {
97
}
98

  
99
.region-highlighted {
100
}
101

  
102
.breadcrumb { /* The path to the current page in the form of a list of links */
111
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003116}}
112
.breadcrumb {
113
  /* The path to the current page in the form of a list of links */
103 114
}
115
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003117}}
104 116
.breadcrumb ol {
105 117
  margin: 0;
106 118
  padding: 0;
107 119
}
120
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003121}}
108 121
.breadcrumb li {
109 122
  display: inline;
110 123
  list-style-type: none;
......
112 125
  padding: 0;
113 126
}
114 127

  
115
h1.title, /* The title of the page */
116
h2.node-title, /* Title of a piece of content when it is given in a list of content */
117
h2.block-title, /* Block title */
118
h2.title, /* Comment section heading */
119
h2.comment-form, /* Comment form heading */
120
h3.title { /* Comment title */
128
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003134}}
129
h1.title,
130
h2.node-title,
131
h2.block-title,
132
h2.title,
133
h2.comment-form,
134
h3.title {
135
  /* Comment title */
121 136
  margin: 0;
122 137
}
123 138

  
124
tr.even { /* Some tables have rows marked even or odd. */
125
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
139
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003138}}
140
tr.even {
141
  /* Some tables have rows marked even or odd. */
142
  /* background-color: #eee; */
143
  /* Drupal core uses a #eee background */
126 144
}
127 145

  
146
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003142}}
128 147
tr.odd {
129
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
148
  /* background-color: #eee; */
149
  /* Drupal core uses a #eee background */
130 150
}
131 151

  
132
div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
133
  margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
152
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003146}}
153
div.messages {
154
  /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
155
  margin: 1.5em 0;
156
  /* Drupal core uses "6px 0" margin */
134 157
}
158
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003149}}
135 159
div.messages ul {
136 160
  margin-top: 0;
137 161
  margin-bottom: 0;
138 162
}
139 163

  
140
div.status { /* Normal priority messages */
164
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003155}}
165
div.status {
166
  /* Normal priority messages */
141 167
}
142 168

  
169
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003159}}
143 170
div.warning,
144
tr.warning { /* Medium priority messages */
145
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
171
tr.warning {
172
  /* Medium priority messages */
173
  /* border: 1px solid #f0c020; */
174
  /* Drupal core uses: 1px solid #f0c020 */
146 175
}
147 176

  
177
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003164}}
148 178
div.error,
149
tr.error { /* High priority messages. See also the .error declaration below. */
179
tr.error {
180
  /* High priority messages. See also the .error declaration below. */
150 181
}
151 182

  
152
.error { /* Errors that are separate from div.messages status messages. */
153
  /* color: #e55; */ /* Drupal core uses a #e55 background */
183
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003167}}
184
.error {
185
  /* Errors that are separate from div.messages status messages. */
186
  /* color: #e55; */
187
  /* Drupal core uses a #e55 background */
154 188
}
155 189

  
156
.warning { /* Warnings that are separate from div.messages status messages. */
157
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
190
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003171}}
191
.warning {
192
  /* Warnings that are separate from div.messages status messages. */
193
  /* color: #e09010; */
194
  /* Drupal core uses a #e09010 background */
158 195
}
159 196

  
160
.tabs { /* See also the tabs.css file. */
197
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003175}}
198
.tabs {
199
  /* See also the tabs.css file. */
161 200
}
162 201

  
163
.region-help { /* Help text on a page */
202
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003178}}
203
.region-help {
204
  /* Help text on a page */
164 205
}
165 206

  
166
.more-help-link { /* Link to more help */
207
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003181}}
208
.more-help-link {
209
  /* Link to more help */
167 210
}
168 211

  
169
.region-content { /* Wrapper for the actual page content */
212
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003184}}
213
.region-content {
214
  /* Wrapper for the actual page content */
170 215
}
171 216

  
172
ul.inline { /* List of links generated by theme_links() */
217
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003187}}
218
ul.inline {
219
  /* List of links generated by theme_links() */
173 220
  display: inline;
174 221
  padding: 0;
175 222
}
223
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003191}}
176 224
ul.inline li {
177 225
  display: inline;
178 226
  list-style-type: none;
179
  padding: 0 1em 0 0; /* LTR */
227
  padding: 0 1em 0 0;
228
  /* LTR */
180 229
}
181 230

  
182
span.field-label { /* The inline field label used by the Fences module */
183
  padding: 0 1em 0 0; /* LTR */
231
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003197}}
232
span.field-label {
233
  /* The inline field label used by the Fences module */
234
  padding: 0 1em 0 0;
235
  /* LTR */
184 236
}
185 237

  
186
.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
238
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003201}}
239
.item-list .pager {
240
  /* A list of page numbers when more than 1 page of content is available */
187 241
  padding: 0;
188 242
}
189
.item-list .pager li { /* Each page number in the pager list */
243
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003204}}
244
.item-list .pager li {
245
  /* Each page number in the pager list */
190 246
  padding: 0 0.5em;
191 247
}
192 248

  
193
.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
249
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003209}}
250
.feed-icon {
251
  /* The link to the RSS or Atom feed for the current list of content */
194 252
}
195 253

  
196
.more-link { /* Aggregator, blog, and forum more link */
254
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003212}}
255
.more-link {
256
  /* Aggregator, blog, and forum more link */
197 257
}
198 258

  
199 259
/*
......
202 262
 * Remember to NOT add padding or margin to your .region-sidebar-first
203 263
 * (see the layout.css file.)
204 264
 */
205

  
206
.region-sidebar-first {
207
}
208

  
209 265
/*
210 266
 * Second sidebar (on right in LTR languages, on left in RTL)
211 267
 *
212 268
 * Remember to NOT add padding or margin to your .region-sidebar-second
213 269
 * (see the layout.css file.)
214 270
 */
215

  
216
.region-sidebar-second {
217
}
218

  
219 271
/*
220 272
 * Footer
221 273
 */
222

  
223
#footer {
224
}
225

  
226 274
/*
227 275
 * Page bottom
228 276
 */
229

  
230
.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
277
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/pages\.scss}line{font-family:\00003246}}
278
.region-bottom {
279
  /* Wrapper for any blocks placed in the page bottom region */
231 280
}

Also available in: Unified diff