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

Commit

Permalink
Merge pull request #74 from ckeditor/t/ckeditor5-ui/144
Browse files Browse the repository at this point in the history
Other: Migrated package styles to PostCSS. Moved visual styles to ckeditor5-theme-lark (see ckeditor/ckeditor5-ui#144).
  • Loading branch information
oleq authored Nov 30, 2017
2 parents 8bc5510 + 5fbc9c8 commit faf6100
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 66 deletions.
2 changes: 1 addition & 1 deletion src/imageuploadprogress.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import uploadingPlaceholder from '../theme/icons/image_placeholder.svg';
import UIElement from '@ckeditor/ckeditor5-engine/src/view/uielement';
import ImageUploadEngine from './imageuploadengine';

import '../theme/imageuploadprogress.scss';
import '../theme/imageuploadprogress.css';

/**
* Image upload progress plugin.
Expand Down
29 changes: 29 additions & 0 deletions theme/imageuploadprogress.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md.
*/

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

figure.image {
position: relative;
overflow: hidden;

/* Infinite progress bar on top while image is read. */
&.ck-infinite-progress::before {
content: "";
position: absolute;
top: 0;
right: 0;
}

/* Upload progress bar. */
& .ck-progress-bar {
position: absolute;
top: 0;
left: 0;
}
}
65 changes: 0 additions & 65 deletions theme/imageuploadprogress.scss

This file was deleted.

0 comments on commit faf6100

Please sign in to comment.