Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-22 09:01:27 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-22 09:01:27 +0300
commit87b04868a11a840d04a86ea1f8b2af9ec94efbd8 (patch)
tree571ab1c6be25f0650b08cd98ff993cc3875c9614 /app/assets/stylesheets/generic/mobile.scss
parent52902f54346acb8076594a85e34f16605790b49f (diff)
Create Aside js class for handling all sidebars in UI for mobile devices
Diffstat (limited to 'app/assets/stylesheets/generic/mobile.scss')
-rw-r--r--app/assets/stylesheets/generic/mobile.scss20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/assets/stylesheets/generic/mobile.scss b/app/assets/stylesheets/generic/mobile.scss
index 54e06661161..2bb69f4aa7e 100644
--- a/app/assets/stylesheets/generic/mobile.scss
+++ b/app/assets/stylesheets/generic/mobile.scss
@@ -50,4 +50,24 @@
.issue_edited_ago, .note_edited_ago {
display: none;
}
+
+ aside {
+ display: none;
+ }
+
+ .show-aside {
+ display: block !important;
+ }
+}
+
+.show-aside {
+ display: none;
+ position: fixed;
+ right: 0px;
+ top: 30%;
+ padding: 5px 15px;
+ background: #EEE;
+ font-size: 20px;
+ color: #777;
+ @include box-shadow(0 1px 2px #DDD);
}