12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/2815083
- * @preserve
- */
- /**
- * @file
- * Image preview component.
- */
- /**
- * Image preview.
- */
- .image-preview {
- line-height: 0;
- }
- .image-preview__img-wrapper {
- display: inline-block;
- max-width: 100%;
- background-color: #fff;
- box-shadow: inset 0 0 0.4375rem #d4d4d8;
- }
- .image-preview img {
- background-image:
- linear-gradient(-45deg, #d4d4d8 25%, transparent 26%),
- linear-gradient(-45deg, #d4d4d8 25%, transparent 26%),
- linear-gradient(135deg, #d4d4d8 25%, transparent 26%),
- linear-gradient(135deg, #d4d4d8 25%, transparent 26%);
- background-position:
- 0 0,
- 0.4375rem 0.4375rem,
- 0.4375rem 0.4375rem,
- 0 0;
- background-size: 0.875rem 0.875rem;
- }
- @media screen and (-ms-high-contrast: active) {
- .image-preview img {
- background: none;
- }
- }
- /**
- * Don't display file icon in image widgets.
- */
- .image-widget .file.file {
- padding: 0; /* LTR and RTL */
- background: none;
- }
|