Chris@0: /** Chris@0: * @file Chris@0: * Image upload widget. Chris@0: * Chris@0: * This CSS file is not used in this theme (Classy). It was intended to be used, Chris@0: * but due to a bug, Drupal 8 shipped with it not being used. To not break Chris@0: * backwards compatibility, we continue to not load it in Classy. Every Chris@0: * subtheme of Classy is encouraged to use it, by attaching the Chris@0: * classy/image-widget asset library in their image-widget.html.twig file. Chris@0: * Chris@0: * @see core/themes/seven/templates/content-edit/image-widget.html.twig. Chris@0: * Chris@0: * @todo In Drupal 9, let core/themes/classy/templates/content-edit/image-widget.html.twig Chris@0: * attach the classy/image-widget asset library. Chris@0: */ Chris@0: Chris@0: .image-preview { Chris@0: float: left; /* LTR */ Chris@0: padding: 0 10px 10px 0; /* LTR */ Chris@0: } Chris@0: [dir="rtl"] .image-preview { Chris@0: float: right; Chris@0: padding: 0 0 10px 10px; Chris@0: } Chris@0: .image-widget-data { Chris@0: float: left; /* LTR */ Chris@0: } Chris@0: [dir="rtl"] .image-widget-data { Chris@0: float: right; Chris@0: } Chris@0: .image-widget-data .text-field { Chris@0: width: auto; Chris@0: }