ソースを参照

Merge branch 'verstka' of Adyn/medgis-ru-assets into master

verstka-medgis 8 年 前
コミット
d6ac896761

+ 9 - 1
app/assets/scripts/main.js

@@ -300,4 +300,12 @@
         }
     })($);
 
-})(window.document, window, window.jQuery);
+})(window.document, window, window.jQuery);
+
+$(document).ready(function(){
+
+    $(".navigation__mobileButton").click(function(){
+        $(".header__item--floatmenu").slideToggle(500);
+    });
+
+});

+ 23 - 0
app/assets/styles/media.scss

@@ -20,7 +20,30 @@
 }
 @media screen and (max-width: 960px) {
 .navigation__mobileButton {
+    display: -webkit-flex;
+    display: -ms-flex;
+    display: flex;
+    flex-direction: row;
+    justify-content: flex-start;
+    align-items: center;
+    margin-right: 4%;
+}
+.navigation__mobileButton img {
+    height: 32px;
+}
+.floatmenu {
+    display: block !important;
+position: absolute ;
+right: 0;
+top: 70px;
+background: #3b434d;
+}
+.floatmenu__list {
     display: block;
+    padding: 10px;
+}
+.floatmenu__link {
+    line-height: 30px;
 }
 }
 @media (min-width: 641px) and (max-width: 960px) {

+ 20 - 1
app/www/css/all.css

@@ -6187,7 +6187,26 @@ input[type='submit'].styler[disabled] {
 
 @media screen and (max-width: 960px) {
   .navigation__mobileButton {
-    display: block; } }
+    display: -webkit-flex;
+    display: -ms-flex;
+    display: flex;
+    flex-direction: row;
+    justify-content: flex-start;
+    align-items: center;
+    margin-right: 4%; }
+  .navigation__mobileButton img {
+    height: 32px; }
+  .floatmenu {
+    display: block !important;
+    position: absolute;
+    right: 0;
+    top: 70px;
+    background: #3b434d; }
+  .floatmenu__list {
+    display: block;
+    padding: 10px; }
+  .floatmenu__link {
+    line-height: 30px; } }
 
 @media (min-width: 641px) and (max-width: 960px) {
   .wrapper--content {

ファイルの差分が大きいため隠しています
+ 0 - 0
app/www/css/all.css.map


ファイルの差分が大きいため隠しています
+ 0 - 0
app/www/css/all.min.css


ファイルの差分が大きいため隠しています
+ 0 - 0
app/www/js/all.min.js


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません