mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 10:42:57 +00:00
dev day #99
This commit is contained in:
@@ -171,12 +171,31 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 700;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 4px;
|
||||
color: #e53e3e;
|
||||
position: relative;
|
||||
}
|
||||
.ql-toolbar.ql-snow button.ql-colorreset::before,
|
||||
.ql-toolbar.ql-snow button.ql-bgreset::before {
|
||||
content: "×";
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background: #fff;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.ql-toolbar.ql-snow button.ql-colorreset::after,
|
||||
.ql-toolbar.ql-snow button.ql-bgreset::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 20px;
|
||||
height: 2px;
|
||||
background: #e53e3e;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
/* Center icons and enlarge align icon */
|
||||
@@ -265,6 +284,20 @@
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
|
||||
/* Quill v2 renders bullets via li[data-list=bullet] > .ql-ui::before. Allow switching marker type via parent UL[data-bullets] */
|
||||
.ql-editor ul[data-bullets="disc"] li[data-list="bullet"] > .ql-ui::before { content: '\2022'; }
|
||||
.ql-editor ul[data-bullets="circle"] li[data-list="bullet"] > .ql-ui::before { content: '\25E6'; }
|
||||
.ql-editor ul[data-bullets="square"] li[data-list="bullet"] > .ql-ui::before { content: '\25AA'; }
|
||||
|
||||
/* Ensure our custom marker is visible and not overridden */
|
||||
.ql-editor li[data-list] > .ql-ui::before {
|
||||
display: inline-block;
|
||||
width: 1.2em;
|
||||
margin-left: -1.5em;
|
||||
margin-right: 0.3em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.ql-editor blockquote {
|
||||
border-left: 4px solid #3182ce;
|
||||
padding-left: 16px;
|
||||
@@ -425,7 +458,7 @@
|
||||
|
||||
.ql-editor {
|
||||
background-color: white !important;
|
||||
color: #2d3748 !important;
|
||||
/* do not force color here; allow inline styles from the editor to apply */
|
||||
}
|
||||
|
||||
/* Responsive Adjustments */
|
||||
|
||||
Reference in New Issue
Block a user