Skip to content

Commit 89d2636

Browse files
committed
v 1.1
little fixed and optimized
1 parent a1d60d2 commit 89d2636

10 files changed

+9567
-370
lines changed

.htaccess

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
RewriteEngine On
2+
RewriteCond %{HTTP_HOST} ^www.responsivemultimenu.com$ [NC]
3+
RewriteRule ^(.*)$ http://responsivemultimenu.com/$1 [R=301,L]
4+
5+
RewriteCond %{HTTP_HOST} ^79\.96\.137\.115
6+
RewriteRule (.*) http://responsivemultimenu.com/$1 [R=301,L]
7+
8+
RewriteRule ^([a-zA-Z]+).html$ index.html [L,QSA]

aaa

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<NotepadPlus>
2+
<Session activeView="0">
3+
<mainView activeIndex="2">
4+
<File firstVisibleLine="0" xOffset="0" scrollWidth="756" startPos="678" endPos="678" selMode="0" lang="HTML" encoding="-1" filename="D:\WebServ\httpd\projects\responsive-multi-menu\index.html" backupFilePath="" originalFileLastModifTimestamp="1423138280" />
5+
<File firstVisibleLine="0" xOffset="0" scrollWidth="1482" startPos="5429" endPos="5429" selMode="0" lang="CSS" encoding="-1" filename="D:\WebServ\httpd\projects\responsive-multi-menu\css\responsivemultimenu.css" backupFilePath="" originalFileLastModifTimestamp="1423138903" />
6+
<File firstVisibleLine="132" xOffset="0" scrollWidth="833" startPos="3874" endPos="3874" selMode="0" lang="Javascript" encoding="-1" filename="D:\WebServ\httpd\projects\responsive-multi-menu\js\responsivemultimenu.js" backupFilePath="" originalFileLastModifTimestamp="1423138169" />
7+
</mainView>
8+
<subView activeIndex="0" />
9+
</Session>
10+
</NotepadPlus>

css/responsivemultimenu.css

+130
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,300,600);
2+
3+
@font-face {
4+
font-family: 'icomoon';
5+
src:url('../fonts/icomoon.eot');
6+
src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
7+
url('../fonts/icomoon.woff') format('woff'),
8+
url('../fonts/icomoon.ttf') format('truetype'),
9+
url('../fonts/icomoon.svg#icomoon') format('svg');
10+
font-weight: normal;
11+
font-style: normal;
12+
}
13+
14+
/* minimal styles for that navi */
15+
.rmm {margin: 0 auto;}
16+
.rmm ul {margin: 0; padding:0; list-style: none; position: relative; background: #000;}
17+
.rmm ul:after {content: ""; clear: both; display: block;}
18+
.rmm ul li {float: left;}
19+
.rmm ul li:hover {background: #202020;}
20+
.rmm ul li:hover > ul {display: block;}
21+
.rmm ul li:hover a{color: #fff;}
22+
.rmm ul li a {color: #fff; display: block; text-decoration: none;}
23+
.rmm ul ul {display: none; margin:0; padding: 0; position: absolute; top: 100%;}
24+
.rmm ul ul li {float: none; position: relative;}
25+
.rmm ul ul li a{color: #fff;}
26+
.rmm ul ul li a:hover {background: #202020;}
27+
.rmm ul ul ul {position: absolute; left: 100%; top:0; width: 100%;}
28+
29+
/* mobile menu header button */
30+
.rmm-toggled {width: 100%; background-color: #555555; min-height: 50px; margin: 0 auto; display: none;}
31+
.rmm-closed ~ .rmm-mobile {display: none!important;}
32+
.rmm-toggled-controls{width: 100%;}
33+
.rmm-toggled-title{width: 60%; float: left; font-size: 27px; color: #fff; font-weight:600; display: block; padding: 8px 0; text-decoration: none; text-transform: uppercase; text-align: left; padding-left: 35px;}
34+
.rmm-toggled-button{width: 20%; float: left; margin-top: 3px;
35+
display:block;
36+
width: 32px;
37+
padding:0 !important;
38+
margin:10px 10px 0 0;
39+
border:1px solid #fff;
40+
border-radius:3px;
41+
float: right;
42+
}
43+
.rmm-toggled-button span{float: left; display:block; margin: 3px 6px; height: 3px; background:white; width:20px;}
44+
45+
/* normalny back button visible only on mobiles */
46+
.rmm .rmm-back{display: none; font-size: 12px;}
47+
.rmm .rmm-back:after {display: none;}
48+
.rmm .rmm-back a:after {
49+
font-family: 'icomoon';
50+
speak: none;
51+
-webkit-font-smoothing: antialiased;
52+
content: "\e000";
53+
position: relative;
54+
display: inline-block;
55+
-webkit-transform: rotate(-60deg);
56+
transform: rotate(-60deg);
57+
top: 0px;
58+
right: -2px ;
59+
float: left;
60+
font-size: 10px;
61+
}
62+
.rmm-mobile .rmm-back{display: block;}
63+
64+
/* mobile menu list */
65+
.rmm-mobile{width: 100%;}
66+
.rmm-mobile .rmm-dropdown:hover ~ ul, .rmm-mobile .rmm-dropdown:hover > ul ,.rmm-mobile .rmm-dropdown:hover + ul {display: none!important;}
67+
.rmm-mobile ul{width: 100%; position: inherit!important;}
68+
.rmm-mobile li{width: 100%; }
69+
70+
/* mobile menu js action */
71+
.rmm-dropdown{display: block!important;}
72+
.rmm-mobile .rmm-subview{display: block!important; width: 100%;}
73+
.rmm-mobile .rmm-subover-hidden{display: none!important;}
74+
.rmm-mobile .rmm-subover-visible{display: block;}
75+
.rmm-mobile .rmm-subover-header{display: none!important; padding: 0; margin: 0;}
76+
77+
/* mobile menu content */
78+
.rmm-mobile .rmm-submenu{position: relative; left: 0px;}
79+
80+
.rmm .rmm-mobile li:hover > ul {display: none;}
81+
82+
/* arrow down for wide screen */
83+
.rmm.style {text-align: left; font-family: Tahoma;}
84+
.rmm.style ul {box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.15); background:#990; text-transform: uppercase; display: inline-table; text-align:left;}
85+
.rmm.style ul li {text-align:left;}
86+
.rmm.style ul li:hover {background: #4b545f;}
87+
.rmm.style ul ul {display: none; margin:0; background: #5f6975; border-radius: 0px; padding: 0; position: absolute;}
88+
.rmm.style ul li a {color: #fff; font-weight:600; display: block; padding: 15px 35px; text-decoration: none; font-weight:600; }
89+
.rmm.style ul ul li {border-bottom: 1px solid #575F6A; border-top: 1px solid #6B727C;}
90+
.rmm.style ul ul li a {padding: 12px 35px; color: #fff; }
91+
.rmm.style ul ul li a:hover {background: #4b545f;}
92+
93+
/* arrow down for wide screen */
94+
.rmm.style ul li > a:not(:only-child):after {
95+
font-family: 'icomoon';
96+
speak: none;
97+
-webkit-font-smoothing: antialiased;
98+
content: "\e000";
99+
position: relative;
100+
display: inline-block;
101+
-webkit-transform: rotate(210deg);
102+
transform: rotate(210deg);
103+
top: -4px;
104+
left: 1px;
105+
font-size: 10px;
106+
}
107+
108+
/* arrow left for wide screen submenus */
109+
.rmm.style ul ul li > a:not(:only-child):after {-webkit-transform: rotate(120deg)!important; transform: rotate(120deg)!important; top: 2px; font-size: 14px; float: right; margin-right: -20px;}
110+
111+
/* mobile style */
112+
.rmm.style .rmm-mobile li > a:not(:only-child):after {-webkit-transform: rotate(120deg)!important; transform: rotate(120deg)!important; top: 4px!important; font-size: 14px!important; float: right; margin-right: -20px;}
113+
.rmm.style .rmm-mobile li{background: #3ab4a6; border-bottom: 1px solid #575f6a!important; border-top: 0!important; }
114+
115+
116+
117+
118+
/*
119+
like mobile view style
120+
.rmm.style2 {text-align: left; font-family: Tahoma;}
121+
.rmm.style2 ul {box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.15); background:#990; text-transform: uppercase; display: inline-table; text-align:left; width: 100%;}
122+
.rmm.style2 ul li {float: none;}
123+
.rmm.style2 ul li:hover {background: #4b545f;}
124+
.rmm.style2 ul ul {display: none; margin:0; background: #5f6975; border-radius: 0px; padding: 0; position: relative;}
125+
.rmm.style2 ul li a {color: #fff; font-weight:600; display: block; padding: 15px 35px; text-decoration: none; font-weight:600; }
126+
.rmm.style2 ul ul li {border-bottom: 1px solid #575F6A; border-top: 1px solid #6B727C;}
127+
.rmm.style2 ul ul li a {padding: 12px 35px; color: #fff; }
128+
.rmm.style2 ul ul li a:hover {background: #4b545f;}
129+
.rmm.style2 ul ul ul {left: 0;}
130+
*/

css/resposnivemultimenu.css

-106
This file was deleted.

index.html

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Responsive Multi Menu</title>
5+
6+
<meta name="description" content="">
7+
<meta name="keywords" content="">
8+
<meta name="author" content="">
9+
10+
<!-- Include scripts -->
11+
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
12+
<script type="text/javascript" src="js/responsivemultimenu.js"></script>
13+
14+
<!-- Include styles -->
15+
<link rel="stylesheet" href="css/responsivemultimenu.css" type="text/css"/>
16+
17+
<!-- Include media queries -->
18+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
19+
</head>
20+
<body style="background: #2C2B2C;">
21+
<div>
22+
<div class="rmm style" data-title="Menu" data-breakpoint="960">
23+
<ul>
24+
<li>
25+
<a href="Books.html">Books</a>
26+
<ul>
27+
<li>
28+
<a href="Audiobooks.html">Audiobooks</a>
29+
</li>
30+
<li>
31+
<a href="Cookbooks.html">Cookbooks</a>
32+
</li>
33+
<li>
34+
<a href="Catalogs.html">Catalogs</a>
35+
</li>
36+
<li>
37+
<a href="Other.html">Other</a>
38+
<ul>
39+
<li><a href="Other.html">Other 1</a></li>
40+
<li><a href="Other.html">Other 2</a></li>
41+
</ul>
42+
</li>
43+
</ul>
44+
</li>
45+
<li>
46+
<a href="Dvds.html">Dvds</a>
47+
</li>
48+
<li>
49+
<a href="Music.html">Music</a>
50+
<ul>
51+
<li><a href="Cassettes.html">Cassettes</a></li>
52+
<li><a href="CD.html">CD</a></li>
53+
<li><a href="Records.html">Records</a></li>
54+
</ul>
55+
</li>
56+
<li>
57+
<a href="Videogames.html">Video games</a>
58+
</li>
59+
</ul>
60+
</div>
61+
</div>
62+
</body>
63+
</html>

0 commit comments

Comments
 (0)