All sections - alphabetical | grouped | visual
Special headers - a way to have individual header toolbars
For the places listed below you can have an individual view, that can be another color, another background and/or an individual icon at the left of the toolbar. In old Opera versions we had these entries primary for individual large icons at the left of the mail/chat/feed etc. toolbars, defined in [Images], in order to identify the toolbar. But with the same names specified as common sections it is possible to have also individual toolbar backgrounds, eg blue for mails, red for chat, yellow for feeds and so on. Here some examples:
`Attachment documents header` with an individual icon at the left, see Icons - for headers:
`Mail unread header` with an individual background, see Backgrounds - for headers:
`Chat room header` with an individual background and individual icon, see Backgrounds and Icons - for headers:
Special headers list
For the following headers you can have an individual icon and/or background:
- Attachment archives header
- Attachment documents header
- Attachment images header
- Attachment music header
- Attachment video header
- Chat private header
- Chat room header
- Folder Header
- Label important header
- Label todo header
- Label mail back header
- Label call back header
- Label meeting header
- Label funny header
- Label valuable header
- Mail drafts header
- Mail filter header
- Mail inbox header
- Mail outbox header
- Mail sentbox header
- Mail spam header
- Mail trash header
- Mail thread header
- Mail unread header
- Newsfeed Header
- News Header
- Search header
- Unknown contact header
Icons - for headers
-
If a header name is in use, then 80px from the left of the concerned toolbar are reserved by default. An icon is then also always left-aligned and top-aligned:
-
Specified as entry in [Images], you have only the possibility to adjust the space from the left border to the text with a negative value for Margin right:
[Images] Attachment documents header = docs.png,,,,-22
In order to move the icon you have to add some transparent space at the top/left directly into the .png file then - margin or padding for top/left have no effect here or not the expected. -
But here a more elegant way; you have to define the header as common section and to call the icon as child - in the child-section you have then the desired placement possibilities with Margin left/top:
[Attachment documents header] Type = Image Tile center = NONE Width = 50 Height = 57 Margin right = -15 Child0 = Docschild [Docschild] Type = Box Tile center = docs.png Margin top = 24 Margin left = 20
Please note: the header section above must contain the `Type = Image`, as well as `Tile center` as dummy-call and `Width/Height` of the original icon; negative `Margin right` there reduces the space to the left again. The child section have the `Type = Box`, the defined icon as well as the `Margin` entries for top/left. -
Another possibility; to stretch the header area via Width/Height (original icon 65x29px, now 224x100px), note also the image-type in the child section:
[Attachment documents header] Type = Image Tile center = NONE Width = 224 Height = 100 Margin right = -80 Child0 = Docschild [Docschild] Type = Image Tile center = docs2.png margin top = -2 margin left = -2
Backgrounds - for headers
-
The easiest way to have individual backgrounds for the headers are separate colors, the trick is; you have to define the complete size the toolbar can have via Width/Height (I think 3000x100px should be enough for every situation):
[Chat room header] Width = 3000 Height = 100 Margin right = -80 Color = #FFC62D
-
But also here you have the possibility to specify an image as bg instead of a color - stretched then to the 3000x100px (the original is 30x100px):
[Mail unread header] Type = Image Tile center = unreadbg.png Width = 3000 Height = 100 Margin right = -80
Backgrounds and Icons- for headers
-
And here a combination of a bg (20x100px stretched to 3000x100px) together with the child for the yellow text (170x100px unstretched, note Margin left: 3000 - 170 = 2830):
[Chat room header] Type = Image Tile center = chatbg.png Width = 3000 Height = 100 Margin right = -80 Child0 = Chatchild [Chatchild] Type = Box Tile center = chaticon.png Margin left = -2830
-
Example for header toolbars grouped by color:
All sections - alphabetical | grouped | visual
More
Section types and states
Section entries
Defaults
Boxes | Images | Notation
Special sections Info, Options and Generic
Special headers
Fallback
General rules
Version numbers in this guide
Latest changes in this guide
Credits and links
Skin changelogs
-


