[guadec-web: 1/2] Make navigation bar work for people who disable JavaScript
- From: Oliver Gutiérrez <ogutierrez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web: 1/2] Make navigation bar work for people who disable JavaScript
- Date: Wed, 27 Jun 2018 12:32:32 +0000 (UTC)
commit 99f518c8142b200c33e0252204008f571934a678
Author: Jorge Maldonado Ventura <jorgesumle freakspot net>
Date: Wed Jun 27 14:23:29 2018 +0200
Make navigation bar work for people who disable JavaScript
Fixes #16
src/haml/base/base.haml | 2 ++
src/sass/noscript.sass | 2 ++
2 files changed, 4 insertions(+)
---
diff --git a/src/haml/base/base.haml b/src/haml/base/base.haml
index ed0c30a..c8a9a9a 100644
--- a/src/haml/base/base.haml
+++ b/src/haml/base/base.haml
@@ -43,6 +43,8 @@
%link{:rel => "stylesheet", :href => "{{ SITEURL }}/theme/css/screen.css"}
+ %noscript
+ %link{:rel => "stylesheet", :href => "{{ SITEURL }}/theme/css/noscript.css"}
/[if lt IE 9]
%script{:src => "https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"}
diff --git a/src/sass/noscript.sass b/src/sass/noscript.sass
new file mode 100644
index 0000000..ff91435
--- /dev/null
+++ b/src/sass/noscript.sass
@@ -0,0 +1,2 @@
+.dropdown:hover > .dropdown-menu
+ display: block
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]