diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-02 22:28:40 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-02 22:28:40 +0200 |
commit | 6fb7311e6e8941be898d7eb4eaa3ff6664f426d2 (patch) | |
tree | 510877cdb5de8cc549945c9e47fe86af69dce824 /app/assets/stylesheets/generic | |
parent | d0cfa4651c08cc6da124baed30d316d9b607f619 (diff) | |
download | gitlab-ce-6fb7311e6e8941be898d7eb4eaa3ff6664f426d2.tar.gz |
Fix home page for mobile devices
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/assets/stylesheets/generic')
-rw-r--r-- | app/assets/stylesheets/generic/common.scss | 3 | ||||
-rw-r--r-- | app/assets/stylesheets/generic/header.scss | 1 | ||||
-rw-r--r-- | app/assets/stylesheets/generic/mobile.scss | 17 |
3 files changed, 21 insertions, 0 deletions
diff --git a/app/assets/stylesheets/generic/common.scss b/app/assets/stylesheets/generic/common.scss index 549234d8d69..eaa1fe07b01 100644 --- a/app/assets/stylesheets/generic/common.scss +++ b/app/assets/stylesheets/generic/common.scss @@ -371,6 +371,8 @@ table { } .center-top-menu { + padding: 0; + margin: 0; list-style: none; text-align: center; margin-top: 5px; @@ -385,6 +387,7 @@ table { a { padding: 15px; font-size: 20px; + line-height: 27px; color: #7f8fa4; border-bottom: 2px solid transparent; diff --git a/app/assets/stylesheets/generic/header.scss b/app/assets/stylesheets/generic/header.scss index 9825be8538e..d362f179c57 100644 --- a/app/assets/stylesheets/generic/header.scss +++ b/app/assets/stylesheets/generic/header.scss @@ -55,6 +55,7 @@ header { border-radius: 0; position: absolute; right: 2px; + top: 15px; &:hover { background-color: #EEE; diff --git a/app/assets/stylesheets/generic/mobile.scss b/app/assets/stylesheets/generic/mobile.scss index bb7b9356c70..36ae126f865 100644 --- a/app/assets/stylesheets/generic/mobile.scss +++ b/app/assets/stylesheets/generic/mobile.scss @@ -80,6 +80,23 @@ %ul.notes .note-role, .note-actions { display: none; } + + .center-top-menu { + height: 45px; + + li a { + font-size: 14px; + padding: 19px 10px; + } + } + + .projects-search-form { + margin: 0 -5px !important; + + .btn { + display: none; + } + } } @media (max-width: $screen-sm-max) { |