Verified Commit 794c6dee authored by Dave Long's avatar Dave Long
Browse files

feat: #3521857 Update Drupal's default file type icons to use SVG

By: jwilson3
By: smustgrave
By: mgifford
parent 675ec8e2
Loading
Loading
Loading
Loading
Loading
+14 −14
Original line number Diff line number Diff line
@@ -19,44 +19,44 @@
}
.file--general,
.file--application-octet-stream {
  background-image: url(../../../images/classy/icons/application-octet-stream.png);
  background-image: url(../../../images/classy/icons/application-octet-stream.svg);
}
.file--package-x-generic {
  background-image: url(../../../images/classy/icons/package-x-generic.png);
  background-image: url(../../../images/classy/icons/package-x-generic.svg);
}
.file--x-office-spreadsheet {
  background-image: url(../../../images/classy/icons/x-office-spreadsheet.png);
  background-image: url(../../../images/classy/icons/x-office-spreadsheet.svg);
}
.file--x-office-document {
  background-image: url(../../../images/classy/icons/x-office-document.png);
  background-image: url(../../../images/classy/icons/x-office-document.svg);
}
.file--x-office-presentation {
  background-image: url(../../../images/classy/icons/x-office-presentation.png);
  background-image: url(../../../images/classy/icons/x-office-presentation.svg);
}
.file--text-x-script {
  background-image: url(../../../images/classy/icons/text-x-script.png);
  background-image: url(../../../images/classy/icons/text-x-script.svg);
}
.file--text-html {
  background-image: url(../../../images/classy/icons/text-html.png);
  background-image: url(../../../images/classy/icons/text-html.svg);
}
.file--text-plain {
  background-image: url(../../../images/classy/icons/text-plain.png);
  background-image: url(../../../images/classy/icons/text-plain.svg);
}
.file--application-pdf {
  background-image: url(../../../images/classy/icons/application-pdf.png);
  background-image: url(../../../images/classy/icons/application-pdf.svg);
}
.file--application-x-executable {
  background-image: url(../../../images/classy/icons/application-x-executable.png);
  background-image: url(../../../images/classy/icons/application-x-executable.svg);
}
.file--audio {
  background-image: url(../../../images/classy/icons/audio-x-generic.png);
  background-image: url(../../../images/classy/icons/audio-x-generic.svg);
}
.file--video {
  background-image: url(../../../images/classy/icons/video-x-generic.png);
  background-image: url(../../../images/classy/icons/video-x-generic.svg);
}
.file--text {
  background-image: url(../../../images/classy/icons/text-x-generic.png);
  background-image: url(../../../images/classy/icons/text-x-generic.svg);
}
.file--image {
  background-image: url(../../../images/classy/icons/image-x-generic.png);
  background-image: url(../../../images/classy/icons/image-x-generic.svg);
}
+11 −0
Original line number Diff line number Diff line
<svg aria-hidden="true" focusable="false" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  <path d="M11 0L14 3V16H2V0H11Z" fill="#fff"/>
  <path d="M11 0L14 3V16H2V0H11ZM3 15H13V4H10V1H3V15ZM11 3H12.5L11 1.5V3Z" fill="#7f7f7f"/>
  <path d="M4 2H9V3H4V2Z" fill="#dadada"/>
  <path d="M4 3H9V4H4V3Z" fill="#e0e0e0"/>
  <path d="M4 4H9V5H4V4Z" fill="#ebebeb"/>
  <path d="M4 5H12V6H4V5Z" fill="#eee"/>
  <path d="M4 6H12V7H4V6Z" fill="#f5f5f5"/>
  <path d="M4 7H12V8H4V7Z" fill="#f8f8f8"/>
  <path d="M4 8H12V9H4V8Z" fill="#fcfcfc"/>
</svg>
+12 −0
Original line number Diff line number Diff line
<svg aria-hidden="true" focusable="false" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  <path d="M11 0L14 3V16H2V0H11Z" fill="#fff"/>
  <path d="M11 0L14 3V16H2V0H11ZM3 15H13V4H10V1H3V15ZM11 3H12.5L11 1.5V3Z" fill="#7f7f7f"/>
  <path d="M4 2H9V3H4V2Z" fill="#dadada"/>
  <path d="M4 3H9V4H4V3Z" fill="#e0e0e0"/>
  <path d="M4 4H9V5H4V4Z" fill="#ebebeb"/>
  <path d="M4 5H12V6H4V5Z" fill="#eee"/>
  <path d="M4 6H12V7H4V6Z" fill="#f5f5f5"/>
  <path d="M4 7H12V8H4V7Z" fill="#f8f8f8"/>
  <path d="M4 8H12V9H4V8Z" fill="#fcfcfc"/>
  <path d="M4.74 13.73C5.45 13.04 8.06 8.79 7.89 7.30C7.71 5.81 6.73 6.11 7 7.50C7.27 8.89 10.26 12.00 11.06 12.39C11.85 12.79 12.74 12.19 11.5 11.5C10.26 10.81 5.54 12.05 4.56 12.84C3.59 13.63 4.03 14.43 4.74 13.73Z" stroke="#FF2116" stroke-width="0.8"/>
</svg>
+11 −0
Original line number Diff line number Diff line
<svg aria-hidden="true" focusable="false" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  <path d="M11 0L14 3V16H2V0H11Z" fill="#fff"/>
  <path d="M11 0L14 3V16H2V0H11ZM3 15H13V4H10V1H3V15ZM11 3H12.5L11 1.5V3Z" fill="#7f7f7f"/>
  <path d="M4 2H9V3H4V2Z" fill="#dadada"/>
  <path d="M4 3H9V4H4V3Z" fill="#e0e0e0"/>
  <path d="M4 4H9V5H4V4Z" fill="#ebebeb"/>
  <path d="M4 5H12V6H4V5Z" fill="#eee"/>
  <path d="M4 6H12V7H4V6Z" fill="#f5f5f5"/>
  <path d="M4 7H12V8H4V7Z" fill="#f8f8f8"/>
  <path d="M4 8H12V9H4V8Z" fill="#fcfcfc"/>
</svg>
+12 −0
Original line number Diff line number Diff line
<svg aria-hidden="true" focusable="false" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  <path d="M11 0L14 3V16H2V0H11Z" fill="#fff"/>
  <path d="M11 0L14 3V16H2V0H11ZM3 15H13V4H10V1H3V15ZM11 3H12.5L11 1.5V3Z" fill="#7f7f7f"/>
  <path d="M4 2H9V3H4V2Z" fill="#dadada"/>
  <path d="M4 3H9V4H4V3Z" fill="#e0e0e0"/>
  <path d="M4 4H9V5H4V4Z" fill="#ebebeb"/>
  <path d="M4 5H12V6H4V5Z" fill="#eee"/>
  <path d="M4 6H12V7H4V6Z" fill="#f5f5f5"/>
  <path d="M4 7H12V8H4V7Z" fill="#f8f8f8"/>
  <path d="M4 8H12V9H4V8Z" fill="#fcfcfc"/>
  <path d="M12 5.06v6.41c0 .53-.49 1.06-1.18 1.25-.8.21-1.57-.09-1.73-.68-.16-.59.36-1.24 1.15-1.45.37-.1.74-.09 1.04 0V6.74L7 7.72v4.96c0 .53-.48 1.06-1.18 1.25-.8.21-1.57-.09-1.73-.68-.16-.59.36-1.24 1.15-1.45.37-.1.74-.09 1.04 0V6.28L12 5.06z" fill="#4e9a06"/>
</svg>
Loading