linkform.css 893 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. @import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
  6. .ck.ck-link-form {
  7. display: flex;
  8. & .ck-label {
  9. display: none;
  10. }
  11. @mixin ck-media-phone {
  12. flex-wrap: wrap;
  13. & .ck-labeled-field-view {
  14. flex-basis: 100%;
  15. }
  16. & .ck-button {
  17. flex-basis: 50%;
  18. }
  19. }
  20. }
  21. /*
  22. * Style link form differently when manual decorators are available.
  23. * See: https://github.com/ckeditor/ckeditor5-link/issues/186.
  24. */
  25. .ck.ck-link-form_layout-vertical {
  26. display: block;
  27. /*
  28. * Whether the form is in the responsive mode or not, if there are decorator buttons
  29. * keep the top margin of action buttons medium.
  30. */
  31. & .ck-button {
  32. &.ck-button-save,
  33. &.ck-button-cancel {
  34. margin-top: var(--ck-spacing-medium);
  35. }
  36. }
  37. }