Skip to content
Snippets Groups Projects
Commit 4dc10d52 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'feature/ISTWCMS-5225-m26lebla-style-all-list-types' into '1.0.x'

ISTWCMS-5225: adding css for the appearance of the list styles to ckeditor

See merge request !63
parents 01feb1a1 246c170d
No related branches found
No related tags found
1 merge request!63ISTWCMS-5225: adding css for the appearance of the list styles to ckeditor
...@@ -32,3 +32,101 @@ kbd > kbd { ...@@ -32,3 +32,101 @@ kbd > kbd {
background: #575757; background: #575757;
color: #ffffff; color: #ffffff;
} }
/*list types*/
ul {
list-style-type: disc;
margin: 0 0 1rem;
padding: 0 0 0 1.5rem; }
[dir='rtl'] ul {
padding: 0 1.5rem 0 0; }
ul ul {
list-style-type: circle;
margin: 0.5rem 0 0; }
ul ul li > ul {
list-style-type: disc; }
.disc {
list-style: disc; }
.disc ul {
list-style-type: disc; }
.disc ul li > ul {
list-style-type: disc; }
.square {
list-style: square; }
.square ul {
list-style-type: square; }
.square ul li > ul {
list-style-type: square; }
.circle {
list-style-type: circle; }
.circle ul {
list-style-type: circle; }
.circle ul li > ul {
list-style-type: circle; }
ol {
margin: 0 0 1rem;
padding: 0 0 0 1.5rem; }
[dir='rtl'] ol {
padding: 0 1.5rem 0 0; }
ol ol {
list-style-type: lower-alpha;
margin: 0.5rem 0 0; }
ol ol li ol {
list-style-type: lower-roman; }
.lower-alpha {
list-style-type: lower-alpha; }
.lower-alpha li ol {
list-style-type: lower-alpha; }
.upper-alpha {
list-style-type: upper-alpha; }
.upper-alpha li ol {
list-style-type: upper-alpha; }
.lower-roman {
list-style-type: lower-roman; }
.lower-roman li ol {
list-style-type: lower-roman; }
.upper-roman {
list-style-type: upper-roman; }
.upper-roman li ol {
list-style-type: upper-roman; }
.decimal {
list-style: decimal outside none;
margin: 0;
padding: 0 0 1rem 1rem; }
.decimal li {
counter-increment: item;
display: table;
margin: 0.5rem 0; }
.decimal li::before {
content: counters(item, ".") ". ";
display: table-cell;
padding-right: 0.6rem; }
.decimal li li {
margin: 0.5rem 0; }
.decimal li li li::before {
content: counters(item, ".") " "; }
.decimal li ol {
counter-reset: item;
list-style: square outside none;
list-style-type: none;
margin: 0;
padding: 0; }
li {
margin-bottom: 0.5rem;
padding-left: 0.5rem; }
li:last-child {
margin-bottom: 0; }
li > *:last-child {
margin-bottom: 0; }
@media print {
li {
page-break-inside: avoid; } }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment