File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 175175
176176 @media (max-width : $tablet ) {
177177
178- #menu {
179- display : none
180- }
181-
182178 h2 {
183179 color : $white ;
184180 font-weight : bold ;
188184 margin : 0 ;
189185 border : 1px solid #999 ;
190186 border-radius : 10px ;
191- background : #bbb ;
192- padding : 5px $margin-small
187+ padding : 5px 10px 5px 40px ;
188+ cursor : pointer ;
189+ text-shadow : 0 -1px 0 rgba (0 ,0 ,0 ,.4 );
190+ box-shadow : 0 1px 0 #fff ;
191+ background : {
192+ color : #bbb ;
193+ image : url (" /images/menu-dropdown.png" ), url (" /images/menu-gradient.png" );
194+ position : 10px center , left bottom ;
195+ repeat : no-repeat , repeat-x ;
196+ size : 18px , auto ;
197+ }
193198 }
194199 }
195200
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ $(function(){
99 menu = wrapper . find ( "#menu" ) ;
1010 header = wrapper . find ( "#menu_header" ) ;
1111
12+ menu . hide ( ) ;
13+
1214 header . click ( function ( ) {
1315 if ( $ ( window ) . width ( ) <= tablet_width ) {
1416 wrapper . stop ( ) . toggleClass ( class_name ) ;
Original file line number Diff line number Diff line change 118118 .wrapper # menu_wrapper ul li : first-child a {
119119 border : none; }
120120 @media (max-width : 767px ) {
121- .wrapper # menu_wrapper # menu {
122- display : none; }
123121 .wrapper # menu_wrapper h2 {
124122 color : white;
125123 font-weight : bold;
129127 margin : 0 ;
130128 border : 1px solid # 999 ;
131129 border-radius : 10px ;
132- background : # bbb ;
133- padding : 5px 10px ; } }
130+ padding : 5px 10px 5px 40px ;
131+ cursor : pointer;
132+ text-shadow : 0 -1px 0 rgba (0 , 0 , 0 , 0.4 );
133+ box-shadow : 0 1px 0 # fff ;
134+ background-color : # bbb ;
135+ background-image : url ("/images/menu-dropdown.png" ), url ("/images/menu-gradient.png" );
136+ background-position : 10px center, left bottom;
137+ background-repeat : no-repeat, repeat-x;
138+ background-size : 18px , auto; } }
134139 @media (min-width : 768px ) {
135140 .wrapper # menu_wrapper # menu {
136141 display : block !important ; } }
You can’t perform that action at this time.
0 commit comments