Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Moved .ck-progress-bar outside .ck-content and removed obsolete CSS variables #240

Merged
merged 2 commits into from
Jul 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 7 additions & 12 deletions theme/ckeditor5-image/imageuploadprogress.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,19 @@
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

/* Infinite progress bar default width. */
:root {
--ck-image-upload-progress-line-width: 30px;
}

.ck-content .image {
/* Showing animation. */
&.ck-appear {
animation: fadeIn 700ms;
}
}

/* Upload progress bar. */
& .ck-progress-bar {
height: 2px;
width: 0;
background: var(--ck-color-upload-bar-background);
transition: width 100ms;
}
/* Upload progress bar. */
.ck .ck-progress-bar {
height: 2px;
width: 0;
background: var(--ck-color-upload-bar-background);
transition: width 100ms;
}

@keyframes fadeIn {
Expand Down
1 change: 0 additions & 1 deletion theme/ckeditor5-ui/globals/_colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
/* -- Upload -------------------------------------------------------------------------------- */

--ck-color-upload-bar-background: hsl(209, 92%, 70%);
--ck-color-upload-infinite-background: hsla(0, 0%, 0%, 0.1);

/* -- Link -------------------------------------------------------------------------------- */

Expand Down