linkform.scss 948 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. @import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_spacing';
  4. .ck-link {
  5. &-form {
  6. padding: ck-spacing( 'large' );
  7. overflow: hidden;
  8. &:focus {
  9. // https://github.com/ckeditor/ckeditor5-link/issues/90
  10. outline: none;
  11. }
  12. .ck-input-text {
  13. // https://github.com/ckeditor/ckeditor5-link/issues/145
  14. width: 100%;
  15. }
  16. .ck-label {
  17. margin-bottom: ck-spacing( 'tiny' );
  18. }
  19. &__actions {
  20. clear: both;
  21. padding-top: ck-spacing( 'large' );
  22. .ck-button {
  23. float: right;
  24. // "Save" and "Cancel" buttons.
  25. & + .ck-button {
  26. margin-right: ck-spacing( 'medium' );
  27. }
  28. // The "Unlink" button.
  29. &:last-child {
  30. float: left;
  31. // https://github.com/ckeditor/ckeditor5-link/issues/145
  32. margin-right: 4 * ck-spacing( 'medium' );
  33. }
  34. }
  35. }
  36. }
  37. }