Skip to content

Commit

Permalink
Update default ol / ul styles to match editor
Browse files Browse the repository at this point in the history
  • Loading branch information
occupant committed Aug 27, 2024
1 parent fbecbdb commit ab26e12
Show file tree
Hide file tree
Showing 9 changed files with 112 additions and 6 deletions.
36 changes: 36 additions & 0 deletions css/drupal.ckeditor.theme.styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/drupal.ckeditor.theme.styles.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/drupal.ckeditor.theme.styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/drupal.ckeditor.theme.styles.min.css.map

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions css/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/styles.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/styles.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/styles.min.css.map

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions src/css/base/list.base.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,40 @@
* This file contains rules for adjusting the presentation of lists and list items
*/

/* default ol styles */
ol li {
list-style-type: decimal;
}

ol li li {
list-style-type: lower-alpha;
}

ol li li li {
list-style-type: lower-roman;
}

ol li li li li {
list-style-type: upper-alpha;
}

ol li li li li li {
list-style-type: upper-roman;
}

/* default ul styles */
ul li {
list-style-type: disc;
}

ul li li {
list-style-type: circle;
}

ul li li li {
list-style-type: square;
}

/* styles for formatted text (since we don't style lists automatically) */
ul.list-unstyled,
ol.list-unstyled,
Expand Down

0 comments on commit ab26e12

Please sign in to comment.