Änderungen von Dokument Style

Zuletzt geändert von Holger Engels am 2026/10/22 13:00

Von Version 3.1
bearbeitet von Holger Engels
am 2026/09/22 10:06
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-annotation-ui/18.7.0]
Auf Version 2.1
bearbeitet von Holger Engels
am 2026/02/28 19:35
Änderungskommentar: Install extension [org.xwiki.platform:xwiki-platform-annotation-ui/18.1.0]

Zusammenfassung

Details

XWiki.StyleSheetExtension[0]
Code
... ... @@ -50,15 +50,6 @@
50 50   The highlights can happen in the middle of words, and it would look odd. */
51 51   padding: 0;
52 52   cursor: pointer;
53 -
54 - &.updated {
55 - background-color: var(--mark-updated-bg);
56 - }
57 -
58 - &.altered {
59 - background-color: var(--mark-altered-bg);
60 - }
61 -
62 62   &.hovered,
63 63   &.hovered .annotation-highlight, &.hovered .selection-highlight {
64 64   /* We want to increase the accent on the element when hovered.
... ... @@ -206,14 +206,17 @@
206 206  #allAnnotations .annotation {
207 207   margin: 0 0 8px;
208 208  }
209 -.annotationText {
210 - padding: 0 36px 0 0;
200 +#allAnnotations .annotation .annotationText, #Commentspane .annotation .annotationText {
201 + padding: 0 36px 0 14px;
202 + background: transparent #attImgURL('notesmall') left 4px no-repeat;
211 211   text-align: justify;
212 212  }
213 -#allAnnotations .UPDATED .annotationText {
205 +#allAnnotations .UPDATED .annotationText, #xwikicontent .UPDATED {
206 + ##background-image: #imgURL('note_error');
214 214   background-image: #attImgURL('notesmallorange');
215 215  }
216 -#allAnnotations .ALTERED annotationText {
209 +#allAnnotations .ALTERED annotationText, #xwikicontent .ALTERED {
210 + ##background-image: #imgURL('note_delete');
217 217   background-image: #attImgURL('notesmallred');
218 218  }
219 219  
... ... @@ -221,28 +221,6 @@
221 221  .annotationHeader{
222 222   padding: 2px 0px 6px;
223 223  }
224 -
225 -.annotatedText {
226 - font-style: italic;
227 - font-size: 1.2em;
228 - border-left: none;
229 - padding: 10px 0 0 0;
230 - margin: 0;
231 - /* We hide the overflow so that the decorative quote doesn't go over the rest of the UI. */
232 - overflow: hidden;
233 -
234 - &:before {
235 - content: "“";
236 - font-size: 4em;
237 - line-height: .1em;
238 - margin-right: .1em;
239 - vertical-align: -.45em;
240 - font-family: var(--font-family-serif);
241 - font-weight: var(--font-weight-semibold);
242 - font-style: normal;
243 - }
244 -}
245 -
246 246  #allAnnotations .annotationHeader:hover {
247 247   background-color: $theme.highlightColor;
248 248  }