From a878a3cfd5b25da5e142b6d84eb177d3dd887c02 Mon Sep 17 00:00:00 2001 From: Janette Day Date: Thu, 19 Jul 2018 11:34:04 -0500 Subject: [PATCH] Update css for ppt/pptx files (#2592) --- 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;