formrow.css 778 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. .ck.ck-form__row {
  6. display: flex;
  7. flex-direction: row;
  8. flex-wrap: nowrap;
  9. justify-content: space-between;
  10. padding: var(--ck-spacing-standard) var(--ck-spacing-large) 0;
  11. /* Ignore labels that work as fieldset legends */
  12. & > *:not(.ck-label) {
  13. flex-grow: 1;
  14. & + * {
  15. margin-left: var(--ck-spacing-large);
  16. }
  17. }
  18. & > .ck-label {
  19. width: 100%;
  20. min-width: 100%;
  21. }
  22. &.ck-table-form__action-row {
  23. margin-top: var(--ck-spacing-large);
  24. & .ck-button-save,
  25. & .ck-button-cancel {
  26. justify-content: center;
  27. }
  28. & .ck-button .ck-button__label {
  29. color: var(--ck-color-text);
  30. }
  31. }
  32. }