Index: trunk/extensions/VisualEditor/demo/es.js |
— | — | @@ -148,11 +148,47 @@ |
149 | 149 | { |
150 | 150 | 'type': 'listItem', |
151 | 151 | 'attributes': { |
152 | | - 'styles': ['number'] |
| 152 | + 'styles': ['bullet', 'bullet', 'bullet'] |
153 | 153 | }, |
154 | 154 | 'content': { |
155 | 155 | 'text': 'Test 666666' |
156 | 156 | } |
| 157 | + }, |
| 158 | + { |
| 159 | + 'type': 'listItem', |
| 160 | + 'attributes': { |
| 161 | + 'styles': ['number'] |
| 162 | + }, |
| 163 | + 'content': { |
| 164 | + 'text': 'Test 7777777' |
| 165 | + } |
| 166 | + }, |
| 167 | + { |
| 168 | + 'type': 'listItem', |
| 169 | + 'attributes': { |
| 170 | + 'styles': ['number', 'number'] |
| 171 | + }, |
| 172 | + 'content': { |
| 173 | + 'text': 'Test 88888888' |
| 174 | + } |
| 175 | + }, |
| 176 | + { |
| 177 | + 'type': 'listItem', |
| 178 | + 'attributes': { |
| 179 | + 'styles': ['term'] |
| 180 | + }, |
| 181 | + 'content': { |
| 182 | + 'text': 'Test 999999999' |
| 183 | + } |
| 184 | + }, |
| 185 | + { |
| 186 | + 'type': 'listItem', |
| 187 | + 'attributes': { |
| 188 | + 'styles': ['definition'] |
| 189 | + }, |
| 190 | + 'content': { |
| 191 | + 'text': 'Test 0000000000' |
| 192 | + } |
157 | 193 | } |
158 | 194 | ] |
159 | 195 | }, |
Index: trunk/extensions/VisualEditor/modules/es/es.Surface.css |
— | — | @@ -86,59 +86,95 @@ |
87 | 87 | |
88 | 88 | .es-listItemView { |
89 | 89 | position: relative; |
90 | | - padding: 0 0 0 1em; |
91 | | - background-position: left 0.6em; |
92 | | - background-repeat: no-repeat; |
93 | 90 | } |
94 | 91 | |
95 | 92 | .es-listItemView-bullet { |
96 | | - background-image: url(images/bullet.png); |
| 93 | + padding-left: 1.2em; |
97 | 94 | } |
98 | 95 | |
99 | 96 | .es-listItemView-number { |
100 | | - /* */ |
| 97 | + padding-left: 3.2em; |
101 | 98 | } |
102 | 99 | |
103 | | -.es-listItemView-bullet .es-listItemView-icon { |
104 | | - display: none; |
105 | | -} |
106 | | - |
107 | | -.es-listItemView-number .es-listItemView-icon { |
| 100 | +.es-listItemView-icon { |
108 | 101 | position: absolute; |
109 | 102 | right: 100%; |
110 | | - margin-right: -0.5em; |
111 | 103 | height: 1.5em; |
112 | 104 | line-height: 1.5em; |
113 | 105 | } |
114 | 106 | |
| 107 | +.es-listItemView-bullet .es-listItemView-icon { |
| 108 | + background-image: url(images/bullet.png); |
| 109 | + background-position: left 0.6em; |
| 110 | + background-repeat: no-repeat; |
| 111 | + width: 5px; |
| 112 | + margin-right: -0.5em; |
| 113 | +} |
| 114 | + |
| 115 | +.es-listItemView-number .es-listItemView-icon { |
| 116 | + margin-right: -2.8em; |
| 117 | +} |
| 118 | + |
| 119 | +.es-listItemView-term { |
| 120 | + font-weight: bold; |
| 121 | +} |
| 122 | + |
| 123 | +.es-listItemView-definition .es-contentView { |
| 124 | + margin-left: 2em; |
| 125 | +} |
| 126 | + |
115 | 127 | .es-listItemView-level0 { |
116 | | - margin-left: 0.5em; |
| 128 | + margin-left: 0; |
117 | 129 | } |
118 | 130 | |
119 | 131 | .es-listItemView-level1 { |
120 | | - margin-left: 2.5em; |
| 132 | + margin-left: 2em; |
121 | 133 | } |
122 | 134 | |
123 | 135 | .es-listItemView-level2 { |
124 | | - margin-left: 4.5em; |
| 136 | + margin-left: 4em; |
125 | 137 | } |
126 | 138 | |
127 | 139 | .es-listItemView-level3 { |
128 | | - margin-left: 6.5em; |
| 140 | + margin-left: 6em; |
129 | 141 | } |
130 | 142 | |
131 | 143 | .es-listItemView-level4 { |
132 | | - margin-left: 8.5em; |
| 144 | + margin-left: 8em; |
133 | 145 | } |
134 | 146 | |
135 | 147 | .es-listItemView-level5 { |
136 | | - margin-left: 10.5em; |
| 148 | + margin-left: 10em; |
137 | 149 | } |
138 | 150 | |
139 | 151 | .es-listItemView-level6 { |
140 | | - margin-left: 12.5em; |
| 152 | + margin-left: 12em; |
141 | 153 | } |
142 | 154 | |
| 155 | +.es-listItemView-level1.es-listItemView-number { |
| 156 | + margin-left: 4em; |
| 157 | +} |
| 158 | + |
| 159 | +.es-listItemView-level2.es-listItemView-number { |
| 160 | + margin-left: 8em; |
| 161 | +} |
| 162 | + |
| 163 | +.es-listItemView-level3.es-listItemView-number { |
| 164 | + margin-left: 12em; |
| 165 | +} |
| 166 | + |
| 167 | +.es-listItemView-level4.es-listItemView-number { |
| 168 | + margin-left: 16em; |
| 169 | +} |
| 170 | + |
| 171 | +.es-listItemView-level5.es-listItemView-number { |
| 172 | + margin-left: 18em; |
| 173 | +} |
| 174 | + |
| 175 | +.es-listItemView-level6.es-listItemView-number { |
| 176 | + margin-left: 22em; |
| 177 | +} |
| 178 | + |
143 | 179 | .es-contentView-line, |
144 | 180 | .es-contentView-ruler { |
145 | 181 | line-height: 1.5em; |