diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-09-28 13:41:09 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-10-03 11:49:48 +0300 |
commit | e36b6daa7f7f75ea78b01ab098092ddf2d31321e (patch) | |
tree | 0e332ba1c95a238f5ab655a402ce78e2bcb72bc6 /app/assets | |
parent | 7134599860651cc0f502581c97853a26f2fb4471 (diff) | |
download | gitlab-ce-e36b6daa7f7f75ea78b01ab098092ddf2d31321e.tar.gz |
Better empty state for Groups view.
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/pages/groups.scss | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/groups.scss b/app/assets/stylesheets/pages/groups.scss index 732dc645c66..185ce970e71 100644 --- a/app/assets/stylesheets/pages/groups.scss +++ b/app/assets/stylesheets/pages/groups.scss @@ -57,7 +57,6 @@ } .groups-header { - @media (min-width: $screen-sm-min) { .nav-links { width: 35%; @@ -68,3 +67,38 @@ } } } + +.groups-empty-state { + padding: 50px 100px; + overflow: hidden; + + @media (max-width: $screen-md-min) { + padding: 50px 0; + } + + svg { + float: right; + + @media (max-width: $screen-md-min) { + float: none; + display: block; + width: 250px; + position: relative; + left: 50%; + margin-left: -125px; + } + } + + .text-content { + float: left; + width: 460px; + margin-top: 120px; + + @media (max-width: $screen-md-min) { + float: none; + margin-top: 60px; + width: auto; + text-align: center; + } + } +} |