This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Merged
Changes from 14 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f5f8447
Replaced svg placeholder by html one.
oskarwrobel 1395997
Unified private function names.
oskarwrobel a85d5f8
Changed class name of upload placeholder.
oskarwrobel cbda02d
Fixed failing custom render method of placeholder element.
oskarwrobel c26d2c6
Fixed failing tests of ImageUploadProgress.
oskarwrobel 525f42e
Image upload loader WIP.
52a49fe
Changed blankImage data-uri to svg.
3482b66
Improved styling & moved styles to the theme-lark.
73afc96
Added background to the image placeholder.
0945ccf
Changed placeholder loader markup.
7b76e46
Fixed failing tests.
67fa043
Reverted code with a placeholder as a class property.
oskarwrobel f79fe7a
Removed unused import and global definition.
oskarwrobel f7a9528
Added empty line at EOF.
c5e2e81
Merge branch 'master' into t/207
oleq 38ce469
Moved some styles to the lark theme.
86e5ebe
Fixed manual test of image upload placeholder.
oskarwrobel 308c834
Removed obsolete horizontal infinite progress loader.
ade5686
Tests: Improved manual test description.
oleq File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,26 @@ | ||
/* | ||
* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. | ||
* For licensing, see LICENSE.md. | ||
*/ | ||
|
||
:root { | ||
--ck-upload-placeholder-loader-size: 24px; | ||
} | ||
|
||
.ck .ck-upload-placeholder-loader { | ||
position: absolute; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 100%; | ||
height: 100%; | ||
top: 0; | ||
left: 0; | ||
|
||
&::before { | ||
content: ''; | ||
position: relative; | ||
width: var(--ck-upload-placeholder-loader-size); | ||
height: var(--ck-upload-placeholder-loader-size); | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Styles like
width
,height
, belong to Lark.position
,top
,content
,flex
should stay here.