annotate core/themes/classy/css/components/image-widget.css @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 /**
Chris@0 2 * @file
Chris@0 3 * Image upload widget.
Chris@0 4 *
Chris@0 5 * This CSS file is not used in this theme (Classy). It was intended to be used,
Chris@0 6 * but due to a bug, Drupal 8 shipped with it not being used. To not break
Chris@0 7 * backwards compatibility, we continue to not load it in Classy. Every
Chris@0 8 * subtheme of Classy is encouraged to use it, by attaching the
Chris@0 9 * classy/image-widget asset library in their image-widget.html.twig file.
Chris@0 10 *
Chris@0 11 * @see core/themes/seven/templates/content-edit/image-widget.html.twig.
Chris@0 12 *
Chris@0 13 * @todo In Drupal 9, let core/themes/classy/templates/content-edit/image-widget.html.twig
Chris@0 14 * attach the classy/image-widget asset library.
Chris@0 15 */
Chris@0 16
Chris@0 17 .image-preview {
Chris@0 18 float: left; /* LTR */
Chris@0 19 padding: 0 10px 10px 0; /* LTR */
Chris@0 20 }
Chris@0 21 [dir="rtl"] .image-preview {
Chris@0 22 float: right;
Chris@0 23 padding: 0 0 10px 10px;
Chris@0 24 }
Chris@0 25 .image-widget-data {
Chris@0 26 float: left; /* LTR */
Chris@0 27 }
Chris@0 28 [dir="rtl"] .image-widget-data {
Chris@0 29 float: right;
Chris@0 30 }
Chris@0 31 .image-widget-data .text-field {
Chris@0 32 width: auto;
Chris@0 33 }