From ab8e048f1ada1a2fa3938dcef2a33715f2a7f60b Mon Sep 17 00:00:00 2001 From: Janette Day Date: Wed, 11 Jul 2018 09:46:25 -0500 Subject: [PATCH] Update css for ppt/pptx files --- modules/dkan/dkan_dataset/css/dkan_dataset.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/dkan/dkan_dataset/css/dkan_dataset.css b/modules/dkan/dkan_dataset/css/dkan_dataset.css index d280b78c8b..722fbb5874 100644 --- a/modules/dkan/dkan_dataset/css/dkan_dataset.css +++ b/modules/dkan/dkan_dataset/css/dkan_dataset.css @@ -519,6 +519,13 @@ li .heading:hover { .label[data-format*=kmz] { background-color: #3F6EA5; } +.label[data-format=ppt], +.label[data-format*=ppt], +.label[data-format=pptx], +.label[data-format*=pptx] { + background-color: #CF452C; +} + .format-label { color: transparent; @@ -627,6 +634,11 @@ li .heading:hover { content: "\e655"; color: #3F6EA5; } +.format-label[data-format=ppt]:before, +.format-label[data-format=pptx]:before { + content: "\e682"; + color: #CF452C; +} .node-resource .download .format-label { display: block;