| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- /*
- * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
- /*
- * Note: This file should contain the wireframe styles only. But since there are no such styles,
- * it acts as a message to the builder telling that it should look for the corresponding styles
- * **in the theme** when compiling the editor.
- */
- @import "@ckeditor/ckeditor5-ui/theme/components/tooltip/mixins/_tooltip.css";
- .ck-content .media {
- & .ck-media__wrapper {
- & > *:not(.ck-media__placeholder) {
- pointer-events: none;
- }
- & .ck-media__placeholder {
- display: flex;
- flex-direction: column;
- align-items: center;
- & .ck-media__placeholder__url {
- @mixin ck-tooltip_enabled;
- /* Otherwise the URL will overflow when the content is very narrow. */
- max-width: 100%;
- position: relative;
- &:hover {
- @mixin ck-tooltip_visible;
- }
- & .ck-media__placeholder__url__text {
- overflow: hidden;
- display: block;
- }
- }
- }
- &[data-oembed-url*="twitter.com"],
- &[data-oembed-url*="google.com/maps"],
- &[data-oembed-url*="facebook.com"],
- &[data-oembed-url*="instagram.com"] {
- & .ck-media__placeholder__icon * {
- display: none;
- }
- }
- }
- }
|