1 | /* |
---|
2 | * This is the file where you put your CSS changes. |
---|
3 | * You should preferrably use this and override the |
---|
4 | * relevant properties you want to change here instead |
---|
5 | * of customizing plone.css to survive upgrades. Writing |
---|
6 | * your own plone.css only makes sense for very heavy |
---|
7 | * customizations. Useful variables from Plone are |
---|
8 | * documented at the bottom of this file. |
---|
9 | */ |
---|
10 | |
---|
11 | /* <dtml-with base_properties> (do not remove this :) */ |
---|
12 | /* <dtml-call "REQUEST.set('portal_url', portal_url())"> (not this either :) */ |
---|
13 | |
---|
14 | |
---|
15 | /* DELETE THIS LINE AND PUT YOUR CUSTOM STUFF HERE */ |
---|
16 | |
---|
17 | |
---|
18 | /* The global section tabs. */ |
---|
19 | |
---|
20 | |
---|
21 | #portal-globalnav { |
---|
22 | background-color: transparent; |
---|
23 | float: left; |
---|
24 | padding: 0em 0em 0em 0em; |
---|
25 | white-space: nowrap; |
---|
26 | list-style: none; |
---|
27 | margin: 63px 0 0 150px; |
---|
28 | height: auto; |
---|
29 | line-height: normal; |
---|
30 | } |
---|
31 | #portal-globalnav li { |
---|
32 | display: inline; |
---|
33 | } |
---|
34 | #portal-globalnav li a { |
---|
35 | /* The normal, unselected tabs. They are all links */ |
---|
36 | background-color: transparent; |
---|
37 | border:none; |
---|
38 | font-weight:bold; |
---|
39 | color: white; |
---|
40 | height: auto; |
---|
41 | margin-right: 0.0em; |
---|
42 | padding: 0em 0em; |
---|
43 | text-decoration: none; |
---|
44 | text-transform: &dtml-textTransform;; |
---|
45 | } |
---|
46 | #portal-globalnav li.selected a { |
---|
47 | /* The selected tab. There's only one of this */ |
---|
48 | background-color: transparent; |
---|
49 | border: none; |
---|
50 | color: White; |
---|
51 | } |
---|
52 | #portal-globalnav li a:hover { |
---|
53 | background-color: transparent; |
---|
54 | border:none; |
---|
55 | color: white; |
---|
56 | text-decoration: underline; |
---|
57 | } |
---|
58 | |
---|
59 | |
---|
60 | .editoria { |
---|
61 | color: #000000; |
---|
62 | font-size: 9px; |
---|
63 | font-weight:bold; |
---|
64 | text-decoration: none; |
---|
65 | } |
---|
66 | |
---|
67 | a.editoria:hover { |
---|
68 | font-size: 9px; |
---|
69 | color: #000000; |
---|
70 | text-decoration: underline; |
---|
71 | } |
---|
72 | |
---|
73 | .chamada { |
---|
74 | font-size: 11px; |
---|
75 | font-weight: normal; |
---|
76 | color: #000000; |
---|
77 | text-decoration: none; |
---|
78 | } |
---|
79 | |
---|
80 | a.chamada:hover { |
---|
81 | font-size: 11px; |
---|
82 | font-weight: normal; |
---|
83 | color: green; |
---|
84 | text-decoration: underline; |
---|
85 | } |
---|
86 | |
---|
87 | .titulo { |
---|
88 | font-size: 12px; |
---|
89 | font-weight: bold; |
---|
90 | } |
---|
91 | |
---|
92 | .titulo2 { |
---|
93 | font-size: 10px; |
---|
94 | font-weight: bold; |
---|
95 | color: #0066CC; |
---|
96 | text-decoration: none; |
---|
97 | } |
---|
98 | |
---|
99 | a.titulo2:hover{ |
---|
100 | text-decoration: underline; |
---|
101 | } |
---|
102 | |
---|
103 | |
---|
104 | #portlet-ult-news dd{ |
---|
105 | margin-left:5px; |
---|
106 | } |
---|
107 | |
---|
108 | #portlet-box_02 .destaques{ |
---|
109 | margin:0 0 0 5px; |
---|
110 | padding:10px 0px 20px 0px; |
---|
111 | border-bottom:2px dotted black; |
---|
112 | } |
---|
113 | |
---|
114 | |
---|
115 | |
---|
116 | #portlet-box_03 td{ |
---|
117 | padding:5px; |
---|
118 | vertical-align:top; |
---|
119 | } |
---|
120 | |
---|
121 | |
---|
122 | .portletHeader { |
---|
123 | background-color: #007236; |
---|
124 | color:white; |
---|
125 | padding: 0em 1em 0 0; |
---|
126 | text-transform: none; |
---|
127 | font-weight: bold; |
---|
128 | line-height: 1.6em; |
---|
129 | } |
---|
130 | |
---|
131 | |
---|
132 | .portletItem { |
---|
133 | margin: 0; |
---|
134 | padding: 1em; |
---|
135 | border:0px; |
---|
136 | background-color: #f6f6f6; |
---|
137 | font-family: Verdana, Arial, Helvetica, sans-serif; |
---|
138 | font-size: 11px; |
---|
139 | font-weight: normal; |
---|
140 | color: #000000; |
---|
141 | text-decoration: none; |
---|
142 | } |
---|
143 | |
---|
144 | .portletItem a { |
---|
145 | font-family: Verdana, Arial, Helvetica, sans-serif; |
---|
146 | font-size: 10px; |
---|
147 | font-weight: bold; |
---|
148 | color: #0066CC; |
---|
149 | text-decoration: none; |
---|
150 | display: block; |
---|
151 | } |
---|
152 | |
---|
153 | .portletItem a:hover { |
---|
154 | font-family: Verdana, Arial, Helvetica, sans-serif; |
---|
155 | font-size: 10px; |
---|
156 | font-weight: bold; |
---|
157 | color: #0066CC; |
---|
158 | text-decoration: underline; |
---|
159 | display: block; |
---|
160 | } |
---|
161 | |
---|
162 | |
---|
163 | dd.portletFooter { |
---|
164 | background-color: #f6f6f6; |
---|
165 | margin: 0; |
---|
166 | padding: 0.25em 1em; |
---|
167 | text-align: right; |
---|
168 | border:0; |
---|
169 | } |
---|
170 | |
---|
171 | .navTreeItem a { |
---|
172 | border-color: &dtml-globalBackgroundColor;; |
---|
173 | display: block; |
---|
174 | text-decoration: none; |
---|
175 | padding-top: 0.2em; |
---|
176 | padding-bottom: 0.25em; |
---|
177 | } |
---|
178 | |
---|
179 | |
---|
180 | .contentViews { |
---|
181 | padding-left: 0.5em; |
---|
182 | } |
---|
183 | |
---|
184 | .contentViews li a { |
---|
185 | margin-right: 0.2em; |
---|
186 | padding: 0.0em 0.5em 0.0em 0.5em; |
---|
187 | } |
---|
188 | |
---|
189 | #content { |
---|
190 | padding: 1em 0em 0 0em !important; |
---|
191 | } |
---|
192 | |
---|
193 | |
---|
194 | #visual-portal-wrapper { |
---|
195 | margin: 0; |
---|
196 | padding: 0; |
---|
197 | width: 780px; |
---|
198 | } |
---|
199 | |
---|
200 | |
---|
201 | #portal-column-one .visualPadding { |
---|
202 | padding: 0em 2em 0em 0em; |
---|
203 | } |
---|
204 | |
---|
205 | #portal-column-two .visualPadding { |
---|
206 | padding: 0em 0em 0em 1em; |
---|
207 | } |
---|
208 | |
---|
209 | #portal-column-one dl{ |
---|
210 | padding:0; |
---|
211 | margin:0; |
---|
212 | } |
---|
213 | |
---|
214 | #portal-column-two dl{ |
---|
215 | padding:0; |
---|
216 | margin:0; |
---|
217 | } |
---|
218 | |
---|
219 | #portal-logo { |
---|
220 | /*background: url(&dtml-portal_url;/&dtml-logoName;) no-repeat;*/ |
---|
221 | background:none; |
---|
222 | border: 0; |
---|
223 | margin: 0.0em 0em 0.0em 0em; |
---|
224 | padding: 0; |
---|
225 | } |
---|
226 | #portal-logo a { |
---|
227 | display: block; |
---|
228 | text-decoration: none; |
---|
229 | overflow: hidden; |
---|
230 | border: 0; |
---|
231 | margin: 0; |
---|
232 | padding: 0; |
---|
233 | padding-top: <dtml-var "_[logoName].height">px; |
---|
234 | height: 10px; |
---|
235 | width: 125px; |
---|
236 | cursor: pointer; |
---|
237 | } |
---|
238 | |
---|
239 | |
---|
240 | #portal-top { |
---|
241 | background: transparent url(&dtml-portal_url;/&dtml-logoName;) top left no-repeat; |
---|
242 | } |
---|
243 | |
---|
244 | |
---|
245 | |
---|
246 | |
---|
247 | /* </dtml-with> */ |
---|
248 | |
---|
249 | /* DOCUMENTATION ON PRE-DEFINED PROPERTIES FROM PLONE */ |
---|
250 | |
---|
251 | /* You can insert colors and other variables from Plone's |
---|
252 | base_properties by doing: |
---|
253 | |
---|
254 | & dtml-variableName ; (without the spaces, excluded here to not make it render) |
---|
255 | |
---|
256 | Example: |
---|
257 | |
---|
258 | myLink { |
---|
259 | color: & dtml-fontColor ; (again, without the spaces) |
---|
260 | } |
---|
261 | |
---|
262 | This means you can generate your own elements that use Plone's defaults, |
---|
263 | and respect any customizations people have done. See base_properties for |
---|
264 | the default values. |
---|
265 | |
---|
266 | These are the available properties: |
---|
267 | |
---|
268 | logoName - the file name of the portal logo. |
---|
269 | |
---|
270 | fontFamily - the font family used for all text that is not headers |
---|
271 | |
---|
272 | fontBaseSize - the base font size that everything is calculated from |
---|
273 | |
---|
274 | fontColor - the main font color |
---|
275 | |
---|
276 | fontSmallSize - used for various elements like buttons and discreet text |
---|
277 | |
---|
278 | backgroundColor - the background color |
---|
279 | |
---|
280 | linkColor - the color used on normal links |
---|
281 | |
---|
282 | linkActiveColor - color used on active links |
---|
283 | |
---|
284 | linkVisitedColor - color used on visited links |
---|
285 | |
---|
286 | borderWidth - the width of most borders in Plone |
---|
287 | |
---|
288 | borderStyle - the style of the border lines, normally solid |
---|
289 | |
---|
290 | borderStyleAnnotations - style of border lines on comments etc |
---|
291 | |
---|
292 | globalBorderColor - the border color used on the main tabs, the portlets etc |
---|
293 | |
---|
294 | globalBackgroundColor - background color for the selected tabs, portlet headings etc |
---|
295 | |
---|
296 | globalFontColor - the color of the font in the tabs and in portlet headings |
---|
297 | |
---|
298 | headingFontFamily - font family for h1/h2/h3/h4/h5/h6 headlines. |
---|
299 | |
---|
300 | contentViewBorderColor - the content view tabs border color |
---|
301 | |
---|
302 | contentViewBackgroundColor - the content view tabs background color |
---|
303 | |
---|
304 | contentViewFontColor - the font color used in the content view tabs |
---|
305 | |
---|
306 | inputFontColor - the font color used for input elements |
---|
307 | |
---|
308 | textTransform - whether to lowercase text in portlets, tabs etc. |
---|
309 | |
---|
310 | evenRowBackgroundColor - the background color of even rows in listings |
---|
311 | |
---|
312 | oddRowBackgroundColor - the background color of even rows in listings |
---|
313 | |
---|
314 | notifyBorderColor - border color of notification elements like the status message, the calendar focus |
---|
315 | |
---|
316 | notifyBackgroundColor - background color of notification elements like the status message, the calendar focus |
---|
317 | |
---|
318 | discreetColor:string=#999999 |
---|
319 | helpBackgroundColor:string=#ffffe1 |
---|
320 | |
---|
321 | */ |
---|
322 | |
---|
323 | |
---|