Loading css/components/image-preview.css 0 → 100644 +28 −0 Original line number Diff line number Diff line /** * @file * Image preview component. */ .image-preview__img-wrapper { background-color: #ffffff0b; box-shadow: inset 0 0 0.4375rem #ffffff0b; } .image-preview img { background-image: linear-gradient(-45deg, #ffffff0b 25%, transparent 26%), linear-gradient(-45deg, #ffffff0b 25%, transparent 26%), linear-gradient(135deg, #ffffff0b 25%, transparent 26%), linear-gradient(135deg, #ffffff0b 25%, transparent 26%); } @media screen and (-ms-high-contrast: active) { .image-preview img { background: #ffffff0b; } } .image-widget .file.file { padding: 0; /* LTR and RTL */ background: #ffffff0b; } darcula.libraries.yml +1 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ global-styling: css/components/tablesort-indicator.css: {} css/components/tabs.css: {} css/components/views-ui.css: {} css/components/image-preview.css: {} dependencies: - claro/global-styling Loading Loading
css/components/image-preview.css 0 → 100644 +28 −0 Original line number Diff line number Diff line /** * @file * Image preview component. */ .image-preview__img-wrapper { background-color: #ffffff0b; box-shadow: inset 0 0 0.4375rem #ffffff0b; } .image-preview img { background-image: linear-gradient(-45deg, #ffffff0b 25%, transparent 26%), linear-gradient(-45deg, #ffffff0b 25%, transparent 26%), linear-gradient(135deg, #ffffff0b 25%, transparent 26%), linear-gradient(135deg, #ffffff0b 25%, transparent 26%); } @media screen and (-ms-high-contrast: active) { .image-preview img { background: #ffffff0b; } } .image-widget .file.file { padding: 0; /* LTR and RTL */ background: #ffffff0b; }
darcula.libraries.yml +1 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ global-styling: css/components/tablesort-indicator.css: {} css/components/tabs.css: {} css/components/views-ui.css: {} css/components/image-preview.css: {} dependencies: - claro/global-styling Loading