[gimp-web/gimp-web-static] Small styling to mobile 'hamburger' navigation icon
- From: Pat David <patdavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/gimp-web-static] Small styling to mobile 'hamburger' navigation icon
- Date: Mon, 21 Sep 2015 22:04:37 +0000 (UTC)
commit 2a6d2ee1f5687bf80b12d569565fa5eff43cb325
Author: Pat David <patdavid gmail com>
Date: Mon Sep 21 17:04:30 2015 -0500
Small styling to mobile 'hamburger' navigation icon
themes/newgimp/static/css/gimp.css | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/themes/newgimp/static/css/gimp.css b/themes/newgimp/static/css/gimp.css
index d05962d..650f439 100644
--- a/themes/newgimp/static/css/gimp.css
+++ b/themes/newgimp/static/css/gimp.css
@@ -340,6 +340,7 @@ footer .nav-bottom a {
-o-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
+ box-shadow: 0 -10px 10px 10px rgba(0,0,0,0.85);
}
nav#menu.hide {
@@ -348,6 +349,7 @@ footer .nav-bottom a {
-o-transform: translateY(-100%);
-ms-transform: translateY(-100%);
transform: translateY(-100%);
+ box-shadow: none;
}
#menu ul {
@@ -358,9 +360,19 @@ footer .nav-bottom a {
nav#menu ul li {
display: block;
font-size: 1rem;
+ margin-left: 0;
+ /*
letter-spacing: 0.1rem;
padding-bottom: 0.75rem;
padding-top: 0.75rem;
+ */
+ }
+
+ nav#menu ul li a {
+ display: block;
+ letter-spacing: 0.1rem;
+ padding-bottom: 0.5rem;
+ padding-top: 0.5rem;
}
#menu ul a#navel {
@@ -371,6 +383,11 @@ footer .nav-bottom a {
padding-top: 0.5rem;
background-color: transparent;
position: absolute;
+ color: white;
+ text-shadow: 1px 1px black,
+ 1px -1px black,
+ -1px -1px black,
+ -1px 1px black;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]