Projet

Général

Profil

Paste
Télécharger (4,63 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / sky / css / page.css @ 98c5df5c

1
/* Page and genereral module styles */
2

    
3
/* Gutters - if gutters are set in theme settings they will override these
4
   values: see Extensions > Modify Output > Design */
5
#main-content,
6
.block-inner,
7
.pane-inner,
8
.menu-wrapper,
9
.branding-elements,
10
.breadcrumb-wrapper,
11
.attribution,
12
.at-panel .rounded-corner,
13
.block-panels-mini > .block-title,
14
div.messages {
15
  margin-left: 20px;
16
  margin-right: 20px;
17
}
18
/* Panel pages need negative margin equal to the gutter width applied to #content,
19
  this is taken care of in theme settings as per above for normal gutters */
20
#content .panel-display,
21
#content .panel-flexible {
22
  margin-left: -20px;
23
  margin-right: -20px;
24
}
25
.columns-inner {
26
  padding-top: 20px;
27
}
28
#page > header {
29
  clear: both;
30
  padding: 20px 0 0;
31
}
32
#branding {
33
  float: left;
34
  margin: 0 0 40px;
35
  width: 40%;
36
}
37
#logo {
38
  padding: 0 20px;
39
  float: left;
40
}
41
#page > header > .h-group {
42
  line-height: 1.2;
43
  margin: 0 20px;
44
}
45

    
46
h1#site-name { /* 48px */
47
  font-size: 3.692em;
48
  margin: 0 0 0.2em 0;
49
  padding: 0;
50
}
51
h2#site-slogan {
52
  font-size: 1.077em;
53
  margin: 0;
54
  padding: 0;
55
}
56
#site-name {
57
  font-size: 1.846em;
58
}
59
#site-name a    {
60
  text-decoration: none;
61
}
62
#site-name a:visited {}
63
#site-name a:hover   {}
64
#site-name a:focus   {}
65
#site-name a:active  {}
66

    
67
#site-slogan {
68
  font-size: 1.077em;
69
  font-weight: 400;
70
}
71
.region-header {
72
  float: right;
73
  max-width: 60%;
74
  clear: none;
75
}
76
h1#page-title {
77
  margin-top: 0;
78
}
79
.in-maintenance h1#page-title {
80
  padding: 10px;
81
  margin-top: 0;
82
}
83
#content-column,
84
.region-sidebar-first,
85
.region-sidebar-second {
86
  margin-bottom: 20px;
87
  margin-top: 20px;
88
}
89
.region-content-aside {
90
  padding-top: 20px;
91
}
92
.region-tertiary-content {
93
  padding-bottom: 20px;
94
}
95

    
96
a.feed-icon {
97
  padding: 10px;
98
}
99

    
100
/* Footer - the main page footer only */
101
#page > footer {
102
  padding: 20px 0;
103
}
104

    
105
/* Feed icons */
106
.feed-icon img {
107
  padding: 0 10px;
108
}
109

    
110
/* Search results list. */
111
.search-results {
112
  margin: 0;
113
}
114
.search-results .search-result {}
115
.search-results .title {
116
  font-size: 1.154em;
117
}
118
.search-results .search-snippet-info {
119
  padding: 0;
120
}
121
.search-results p {
122
  margin: 0;
123
}
124
.search-results .search-snippet {}
125
.search-results .search-info {
126
  font-size: .923em;
127
}
128

    
129
/* Maintenance page */
130
.maintenance-page #skip-link {
131
  position: absolute;
132
  top: -99em;
133
}
134
.maintenance-page footer {
135
  margin: 10px 0 0;
136
}
137
.maintenance-page footer a {
138
  text-decoration: none;
139
  color: #ccc;
140
}
141
div.messages {
142
  margin: 5px 20px;
143
}
144

    
145
/* Override max-width 100% for Gmaps and Getlocations modules */
146
.gmap img,
147
.view-gmap img,
148
#getlocations_map_canvas img {
149
  max-width: none;
150
}
151

    
152
/* Collapsible region */
153
.js .region-collapsible,
154
.collapsible-toggle {
155
  display: none;
156
}
157
.region-collapsible-wrapper {
158
  display: none;
159
}
160
.toggle-active .region-collapsible-wrapper {
161
  display: block;
162
}
163
.section-collapsible,
164
.region-highlighted {
165
  padding: 1em 0;
166
}
167
.js .section-collapsible {
168
  bottom: 0;
169
  height: 50%;
170
  height: auto !important;
171
  max-height: 50%;
172
  position: fixed;
173
  right: 0;
174
  z-index: 100;
175
}
176
.section-collapsible.toggle-active {
177
  overflow: auto;
178
  -moz-box-shadow: 0 0 12px rgba(0,0,0,0.5);
179
  -webkit-box-shadow: 0 0 12px rgba(0,0,0,0.5);
180
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
181
}
182
.region-collapsible {
183
  padding: 15px 30px 15px 15px;
184
  overflow: hidden;
185
}
186
.region-collapsible  .block {
187
  margin: 0;
188
  padding: 0;
189
  overflow: hidden;
190
}
191
.js .collapsible-toggle {
192
  border: none;
193
  display: block;
194
  font-size: 1.077em;
195
  font-weight: 500;
196
  margin: 0;
197
  position: relative;
198
  text-transform: uppercase;
199
}
200
.collapsible-toggle a,
201
.collapsible-toggle a:visited {
202
  background: url(images/black.png) no-repeat 16px -248px;
203
  bottom: 0;
204
  display: inline-block;
205
  height: 20px;
206
  padding: 1em;
207
  position: fixed;
208
  right: 0;
209
  text-indent: -999em;
210
  width: 20px;
211
  z-index: 1;
212
  -moz-border-radius: 4px 0 0 0;
213
  -webkit-border-radius: 4px 0 0 0;
214
  border-radius: 4px 0 0 0;
215
  -moz-box-shadow: 0 0 12px rgba(0,0,0,0.5);
216
  -webkit-box-shadow: 0 0 12px rgba(0,0,0,0.5);
217
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
218
}
219
.toggle-active .collapsible-toggle a {
220
  background-position: 16px -390px;
221
  position: relative;
222
  float: right;
223
  -moz-border-radius: 0 0 0 4px;
224
  -webkit-border-radius: 0 0 0 4px;
225
  border-radius: 0 0 0 4px;
226
  -moz-box-shadow: none;
227
  -webkit-box-shadow: none;
228
  box-shadow: none;
229
}
230
.collapsible-toggle a:hover,
231
.collapsible-toggle a:focus,
232
.collapsible-toggle a:active {
233
  background-image: url(images/gray.png);
234
  outline: 0;
235
}
236
.link { background-position: 0 0; }
237
.locked { background-position: 0 -66px; }
238
.minus { background-position: 0 -132px; }
239
.plus { background-position: 0 -198px; }
240
.popout { background-position: 0 -264px; }
241
.search { background-position: 0 -330px; }
242
.x { background-position: 0 -396px;}