*** empty log message ***
[Packages/TYPO3.CMS.git] / typo3 / sysext / css_styled_content / static / editorcfg.txt
1 /*
2 # Setting up the CSS Editor
3 CSS_editor = Template Styles
4 CSS_editor.ch {
5 BODY = General
6 BODY.selector = BODY
7 BODY.attribs = font-family, background-color
8 BODY.example = Plan text outside of any tags written in the page-body.
9
10 A = Links
11 A.selector = A
12 A.attribs = LINKS,font-weight
13 A.example = This is <A href="#">a link to</A> the page top.
14 A.exampleStop=1
15 A.ch {
16 hover = Mouseover links
17 hover.selector = + :hover
18 hover.attribs = LINKS
19
20 active = Active links
21 active.selector = + :active
22 active.attribs = LINKS
23
24 visited = Visited links
25 visited.selector = + :visited
26 visited.attribs = LINKS
27 }
28
29 content = < tt_content.CSS_editor
30 }
31
32
33
34
35
36 tt_content.CSS_editor = General content
37 tt_content.CSS_editor {
38 title.dk = Generelt Indhold
39 ch {
40 P = Text
41 P.selector = P
42 P.attribs = BODYTEXT
43 P.example = <P>General text wrapped in &lt;P&gt;:<BR>In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>
44 P.ch {
45 caption = Caption
46 caption.attribs = TEXT
47 caption.selector = + .csc-caption
48 caption.example = <P class="csc-caption">Caption text<BR>Dixit autem Deus fiant luminaria in firmamento caeli ut dividant diem ac noctem et sint...</P>
49
50 menu_sitemap = Menu/Sitemap item
51 menu_sitemap.attribs = TEXT
52 menu_sitemap.selector = + .csc-menu
53 menu_sitemap.example = <P class="csc-menu">Menu/Sitemap items</P><P class="csc-menu">Item number 2</P><P class="csc-menu">The third item here</P>
54
55 section = Menu/Sitemap item: Section-title
56 section.attribs = TEXT
57 section.selector = + .csc-section
58 section.example = <P class="csc-section">Menu/Sitemap item: Section-title</P>
59
60 header_date = Header date
61 header_date.attribs = TEXT
62 header_date.selector = + .csc-header-date
63 header_date.example = <P class="csc-header-date">Header date: 01/02 2002:</P>
64
65 P = Page content
66 P.selector = +.bodytext
67 P.attribs = BODYTEXT
68 P.example = <P class="bodytext">Page content, wrapped in &lt;P&gt;:<BR>In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>
69 P.exampleStop=1
70 P.ch {
71 firstline = First line
72 firstline.selector = +:first-line
73 firstline.attribs = TEXT,TEXT+
74 firstline.example = <P class="bodytext">In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>
75
76 firstletter = First letter
77 firstletter.selector = +:first-letter
78 firstletter.attribs = TEXT,TEXT+
79 firstletter.example = <P class="bodytext">In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>
80
81 P_plus = Page content, next paragraph
82 P_plus.selector = ++ P
83 P_plus.attribs = BODYTEXT,TEXT+
84 P_plus.example (
85 <P class="bodytext"><strong>First paragraph</strong> of bodytext here. In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>
86 <P class="bodytext"><strong>Second paragraph</strong> of bodytext here. In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>
87 <P class="bodytext"><strong>Third paragraph</strong> of bodytext here. In principio creavit Deus caelum et terram terra autem erat inanis et vacua et tenebrae super faciem abyssi et spiritus...</P>
88 )
89
90 links = < CSS_editor.ch.A
91 links.example = <P class="bodytext">This is bodytext <A href="#">with a link</A> in it.</P>
92 }
93 links = < CSS_editor.ch.A
94 links.example = <P>This is text <A href="#">with a link</A> in it.</P>
95 }
96
97 H1 = Header 1
98 H1.selector = H1
99 H1.attribs = HEADER
100 H1.example = <H1>Header 1 example <A href="#"> with link</A></H1><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>
101 H1.exampleStop=1
102 H1.ch.links = < CSS_editor.ch.A
103 H1.ch.links.example =
104
105 H2 = Header 2
106 H2.selector = H2
107 H2.attribs = HEADER
108 H2.example = <H2>Header 2 example <A href="#"> with link</A></H2><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>
109 H2.exampleStop=1
110 H2.ch.links = < CSS_editor.ch.A
111 H2.ch.links.example =
112
113 H3 = Header 3
114 H3.selector = H3
115 H3.attribs = HEADER
116 H3.example = <H3>Header 3 example <A href="#"> with link</A></H3><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>
117 H3.exampleStop=1
118 H3.ch.links = < CSS_editor.ch.A
119 H3.ch.links.example =
120
121 H4 = Header 4
122 H4.selector = H4
123 H4.attribs = HEADER
124 H4.example = <H4>Header 4 example <A href="#"> with link</A></H4><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>
125 H4.exampleStop=1
126 H4.ch.links = < CSS_editor.ch.A
127 H4.ch.links.example =
128
129 H5 = Header 5
130 H5.selector = H5
131 H5.attribs = HEADER
132 H5.example = <H5>Header 5 example <A href="#"> with link</A></H5><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>
133 H5.exampleStop=1
134 H5.ch.links = < CSS_editor.ch.A
135 H5.ch.links.example =
136
137 H6 = Header 6
138 H6.selector = H6
139 H6.attribs = HEADER
140 H6.example = <H6>Header 6 example <A href="#"> with link</A></H6><P>Bodytext, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P>
141 H6.exampleStop=1
142 H6.ch.links = < CSS_editor.ch.A
143 H6.ch.links.example =
144
145 PRE = Preformatted code
146 PRE.selector = PRE
147 PRE.attribs = TEXT,margin-top,margin-bottom
148 PRE.example (
149 <PRE>This is &lt;PRE&gt; content!
150 This is line number one
151 Line number two with two spacer indents.
152 Another line there
153 Tabulated line
154 Normal line again. </PRE>
155 <PRE>Yet a &lt;PRE&gt; section here!</PRE>
156 )
157
158 OL = Ordered bullet lists (numbers)
159 OL.selector = OL
160 OL.attribs = TEXT,BULLETS
161 OL.example = <P>Ordered bulletlist:</P><OL><LI>Bullet number 1</LI><LI>Bullet number 2, Dixitque Deus ecce dedi vobis omnem herbam adferentem semen super...</LI><LI>Bullet number 3, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</LI></OL>
162
163 UL = Unordered bullet lists
164 UL.selector = UL
165 UL.attribs = TEXT,BULLETS
166 UL.example = <P>Un-Ordered bulletlist:</P><UL><LI>Bullet number 1</LI><LI>Bullet number 2, Dixitque Deus ecce dedi vobis omnem herbam adferentem semen super...</LI><LI>Bullet number 3, Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</LI></UL>
167
168 TABLE = Tables in content
169 TABLE.selector = TABLE.contenttable
170 TABLE.attribs = TABLE
171 TABLE.example (
172 <table class="contenttable">
173 <tr>
174 <td><P>Column/Row 1</P></td>
175 <td><P>Column number 2</P></td>
176 <td><P>Column number 3</P></td>
177 </tr>
178 <tr>
179 <td><P>Row 2</P></td>
180 <td><P>Dixitque Deus ecce dedi vobis omnem herbam adferentem semen super...</P></td>
181 <td><P>Et praeessent diei ac nocti et dividerent lucem ac tenebras et vidit Deus quod esset bonum et factum est...</P></td>
182 </tr>
183 </table>
184 )
185 TABLE.exampleStop=1
186 TABLE.ch {
187 TD = Table cells
188 TD.selector = TD
189 TD.attribs = TD
190 }
191 TABLE.ch.P < .P.ch.P
192 TABLE.ch.P.selector = P
193
194 BLOCKQUOTE = Indented blocks
195 BLOCKQUOTE.selector = BLOCKQUOTE
196 BLOCKQUOTE.attribs = margin-left, margin-right
197 BLOCKQUOTE.example = <BLOCKQUOTE><P>This is bodytext in a block-quote.</P></BLOCKQUOTE>
198
199 # tx_myextension = < plugin.tx_myextension.CSS_editor
200 }
201 }
202
203
204 */
205
206 // Commented out since it needs update - or a vision... ?
207
208 # TYPO3 CVS ID: $Id$