imageuploadloader.css 877 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. :root {
  6. --ck-color-upload-placeholder-loader: hsl(0, 0%, 70%);
  7. --ck-upload-placeholder-loader-size: 32px;
  8. }
  9. .ck .ck-image-upload-placeholder {
  10. /* We need to control the full width of the SVG gray background. */
  11. width: 100%;
  12. margin: 0;
  13. }
  14. .ck .ck-upload-placeholder-loader {
  15. width: 100%;
  16. height: 100%;
  17. &::before {
  18. width: var(--ck-upload-placeholder-loader-size);
  19. height: var(--ck-upload-placeholder-loader-size);
  20. border-radius: 50%;
  21. border-top: 3px solid var(--ck-color-upload-placeholder-loader);
  22. border-right: 2px solid transparent;
  23. animation: ck-upload-placeholder-loader 1s linear infinite;
  24. }
  25. }
  26. @keyframes ck-upload-placeholder-loader {
  27. to {
  28. transform: rotate( 360deg );
  29. }
  30. }