diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-09-23 14:11:29 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-09-23 14:11:29 +0300 |
commit | be906c26367855257ba3fe8db668a8fe16174bd1 (patch) | |
tree | f632053770b403295f77d8dbd0484dc1c245bd69 /app/assets/stylesheets/pages/cycle_analytics.scss | |
parent | 2c2b487dc377962e241c09b30bf722b32315224f (diff) |
Improves design when in mobile and tablet
Diffstat (limited to 'app/assets/stylesheets/pages/cycle_analytics.scss')
-rw-r--r-- | app/assets/stylesheets/pages/cycle_analytics.scss | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/app/assets/stylesheets/pages/cycle_analytics.scss b/app/assets/stylesheets/pages/cycle_analytics.scss index fec34287e35..778471a34d7 100644 --- a/app/assets/stylesheets/pages/cycle_analytics.scss +++ b/app/assets/stylesheets/pages/cycle_analytics.scss @@ -9,10 +9,18 @@ padding: 24px 0; border-bottom: none; position: relative; + + @media (max-width: $screen-sm-min) { + padding: 6px 0 24px; + } } .column { text-align: center; + + @media (max-width: $screen-sm-min) { + padding: 15px 0; + } .header { font-size: 30px; @@ -28,16 +36,15 @@ &:last-child { text-align: right; + + @media (max-width: $screen-sm-min) { + text-align: center; + } } } .dropdown { top: 13px; - - @media (max-width: $screen-sm-min) { - right: 15px; - top: 30px; - } } } @@ -64,9 +71,15 @@ line-height: 19px; font-size: 15px; font-weight: 600; + color: $gl-title-color; } - &:text { - color: $cycle-analytics-box-text-color; + + &.text { + color: $layout-link-gray; + + &.value-col { + color: $gl-title-color; + } } } } @@ -75,7 +88,9 @@ text-align: right; span { - line-height: 42px; + position: relative; + vertical-align: middle; + top: 3px; } } } @@ -101,10 +116,9 @@ } .inner-content { - text-align: center; - @media (max-width: $screen-sm-min) { padding: 0 28px; + text-align: center; } h4 { |