Skip to content

Commit

Permalink
Applied responsive design to menu bar using smartmenus
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed May 5, 2016
1 parent 33915cd commit 8480d35
Show file tree
Hide file tree
Showing 35 changed files with 2,573 additions and 300 deletions.
4 changes: 4 additions & 0 deletions jquery/.gitignore
@@ -0,0 +1,4 @@
.sass-cache
*-min.js
doxmenu*.css
jquery.js
25 changes: 20 additions & 5 deletions jquery/Makefile
Expand Up @@ -3,6 +3,8 @@ JQUERY_UI_VERSION = 1.8.18
HASHCHANGE_VERSION = 1.3
SCROLL_VERSION = 1.4.2
POWERTIP_VERSION = 1.2.0
TOUCHPUNCH_VERSION = 0.2.3
SMARTMENUS_VERSION = 1.0.0

MINIFIER ?= /usr/local/bin/yuicompressor-2.4.7
SCRIPTS = jquery-$(JQUERY_VERSION).js \
Expand All @@ -12,23 +14,36 @@ SCRIPTS = jquery-$(JQUERY_VERSION).js \
jquery.ui-$(JQUERY_UI_VERSION).resizable.js \
jquery.ba-$(HASHCHANGE_VERSION)-hashchange.js \
jquery.scrollTo-$(SCROLL_VERSION).js \
jquery.powertip-$(POWERTIP_VERSION).js
RESULTS = jquery.js
jquery.powertip-$(POWERTIP_VERSION).js \
jquery.ui-$(TOUCHPUNCH_VERSION).touch-punch.js \
jquery.smartmenus-$(SMARTMENUS_VERSION).js
RESULTS = jquery.js doxmenu-min.css

SCRIPTS_MIN = $(SCRIPTS:%.js=%-min.js)

all: $(RESULTS)

install: $(RESULTS)
cp $(RESULTS) ../templates/html/
cp jquery.js ../templates/html/jquery.js
cp doxmenu-min.css ../templates/html/tabs.css

jquery.js: scripts
jquery.js: $(SCRIPTS_MIN)
cat $(SCRIPTS_MIN) > jquery.js

doxmenu-min.css: sm-core-css.css \
sass/sm-dox.scss \
sass/_round-corners-last-item.scss \
sass/_sm-dox.scss \
sass/_sub-items-indentation.scss
compass compile --css-dir . --force sass/sm-dox.scss
cat sm-core-css.css sm-dox.css > doxmenu.css
java -jar $(MINIFIER).jar doxmenu.css > doxmenu-min.css
rm -f sm-dox.css doxmenu.css

scripts: $(SCRIPTS_MIN)

clean:
rm -f $(SCRIPTS_MIN) $(RESULTS)
rm -rf $(SCRIPTS_MIN) $(RESULTS) doxmenu.css .sass-cache jquery.js

%-min.js: %.js
java -jar $(MINIFIER).jar $^ > $@
Expand Down
8 changes: 5 additions & 3 deletions jquery/README
Expand Up @@ -7,8 +7,10 @@ packages:
- jquery.ui.widget
- jquery.ui.mouse
- jquery.ui.resizable
- jquery.hashchange: 1.3: http://benalman.com/projects/jquery-hashchange-plugin/
- jquery.scrollTo: 1.4.2: https://github.com/flesler/jquery.scrollTo
- jquery.powertip: 1.2.0: http://stevenbenner.github.io/jquery-powertip/
- jquery.hashchange: 1.3: http://benalman.com/projects/jquery-hashchange-plugin/
- jquery.scrollTo: 1.4.2: https://github.com/flesler/jquery.scrollTo
- jquery.powertip: 1.2.0: http://stevenbenner.github.io/jquery-powertip/
- jquery.touchpunch: 0.2.3: http://touchpunch.furf.com/
- jquery.smartmenus: 1.0.0: http://www.smartmenus.org/

The Makefile will built the jquery.js files used by doxygen.

0 comments on commit 8480d35

Please sign in to comment.