[epiphany/wip/exalm/urlbar] Add drop shadow to app icon in about: page



commit 2e10d14373d501968560354cf55b1ad61cf15e91
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Tue Jan 29 21:17:27 2019 +0500

    Add drop shadow to app icon in about: page

 embed/ephy-about-handler.c | 2 +-
 src/resources/about.css    | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/embed/ephy-about-handler.c b/embed/ephy-about-handler.c
index 970f2af2c..35214b328 100644
--- a/embed/ephy-about-handler.c
+++ b/embed/ephy-about-handler.c
@@ -175,7 +175,7 @@ ephy_about_handler_handle_about (EphyAboutHandler       *handler,
                           "<link href=\""EPHY_PAGE_TEMPLATE_ABOUT_CSS "\" rel=\"stylesheet\" 
type=\"text/css\">"
                           "</head><body>"
                           "<div class=\"dialog\">"
-                          "<img src=\"file://%s\"/>"
+                          "<img id=\"about-icon\" src=\"file://%s\"/>"
                           "<h1 id=\"about-title\">%s</h1>"
                           "<h2 id=\"about-subtitle\">%s</h2>"
                           "<p id=\"about-tagline\">%s</p>"
diff --git a/src/resources/about.css b/src/resources/about.css
index 603039d59..39602592f 100644
--- a/src/resources/about.css
+++ b/src/resources/about.css
@@ -52,6 +52,11 @@ html {
     text-shadow: 0 1px 0 white;
 }
 
+#about-icon {
+    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.2))
+            drop-shadow(0 1px 2px rgba(0,0,0,0.7));
+}
+
 /* about:plugins */
 
 #plugin-table


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]