-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #462 from localgovdrupal/feature/1.x/ckeditor5-styles
Correct styles and height of CKEditor 5 WYSIWYG
- Loading branch information
Showing
2 changed files
with
115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
/* | ||
@file Styles for ckeditor5. | ||
*/ | ||
|
||
/* Alerts */ | ||
.ck-content .alert { | ||
padding: 2.5rem; | ||
font-size: 1.3125rem; | ||
font-weight: bold; | ||
} | ||
|
||
.alert { | ||
border: 5px solid black; | ||
background-color: white; | ||
} | ||
|
||
.alert-primary { | ||
border-color: #652c95; | ||
} | ||
|
||
.alert-info { | ||
border-color: #297bbb; | ||
} | ||
|
||
.alert-danger { | ||
border-color: #e4251b; | ||
} | ||
|
||
.alert-fail { | ||
border-color: #ed7522; | ||
} | ||
|
||
.alert-success { | ||
border-color: #048a04; | ||
} | ||
|
||
/* Links */ | ||
.btn.btn-start { | ||
padding: 0.5rem 1rem; | ||
color: white; | ||
border: 1px solid #048a04; | ||
background-color: #048a04; | ||
} | ||
|
||
.btn.btn-start:focus, | ||
.btn.btn-start:hover { | ||
color: #048a04; | ||
background-color: white; | ||
} | ||
|
||
.btn.btn-start::after { | ||
position: relative; | ||
top: 7px; | ||
margin-left: 0.5rem; | ||
content: "\203A"; | ||
font-size: 2.875rem; | ||
} | ||
|
||
.external-link::after { | ||
background-color: #652c95; | ||
} | ||
|
||
.list-checked li::marker { | ||
content: "\2714\0020"; | ||
color: #048a04; | ||
} | ||
|
||
/* Call out */ | ||
.callout { | ||
color: white; | ||
font-size: 1.3125rem; | ||
line-height: 2; | ||
padding-left: 0.5rem; | ||
} | ||
|
||
.callout a { | ||
color: white; | ||
} | ||
.callout a:focus { | ||
color: white; | ||
background-color: #505a5f; | ||
} | ||
|
||
.callout-primary { | ||
background-color: #652c95; | ||
} | ||
|
||
.callout-success { | ||
background-color: #048a04; | ||
} | ||
|
||
.callout-danger { | ||
background-color: #e4251b; | ||
} | ||
|
||
.callout-teal { | ||
background-color: teal; | ||
} | ||
|
||
.callout-carbon { | ||
background-color: #505a5f; | ||
} | ||
|
||
.callout-yellow, | ||
.callout-yellow a { | ||
color: #505a5f; | ||
background-color: #fd0; | ||
} | ||
|
||
/* ckeditor minimum size */ | ||
.ck-editor__editable { | ||
min-height: 200px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters