diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-27 11:07:46 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-05-16 12:22:17 +0100 |
commit | 18b361cf809251dd633e31d3dd6d877b31d8db7f (patch) | |
tree | 2569df180220a00852785e83d91f4e79bf6b7026 /app/assets/stylesheets/framework/calendar.scss | |
parent | 36fdbc6edb1c0884f68c1267902b33a78d7be6ae (diff) | |
download | gitlab-ce-18b361cf809251dd633e31d3dd6d877b31d8db7f.tar.gz |
Group the contributing calendar by day
This aligns the boxes correctly with the day on the left side of the calendar
Diffstat (limited to 'app/assets/stylesheets/framework/calendar.scss')
-rw-r--r-- | app/assets/stylesheets/framework/calendar.scss | 69 |
1 files changed, 11 insertions, 58 deletions
diff --git a/app/assets/stylesheets/framework/calendar.scss b/app/assets/stylesheets/framework/calendar.scss index da03454d807..5b48801485b 100644 --- a/app/assets/stylesheets/framework/calendar.scss +++ b/app/assets/stylesheets/framework/calendar.scss @@ -26,75 +26,28 @@ } } -/** -* This overwrites the default values of the cal-heatmap gem -*/ -.calendar { - .qi { - fill: #fff; - } - - .q1 { - fill: #ededed !important; - } - - .q2 { - fill: #acd5f2 !important; - } - - .q3 { - fill: #7fa8d1 !important; - } - - .q4 { - fill: #49729b !important; - } - - .q5 { - fill: #254e77 !important; - } - - .future { - visibility: hidden; - } - - .domain-background { - fill: none; - shape-rendering: crispedges; - } +.user-calendar { + text-align: center; - .ch-tooltip { - padding: 3px; - font-weight: 550; + .calendar { + display: inline-block; } } .user-contrib-cell { - fill: #ededed; - cursor: pointer; - &:hover { + cursor: pointer; stroke: #000; } } -.user-contrib-cell-1 { - fill: #acd5f2; -} - -.user-contrib-cell-3 { - fill: #7fa8d1; -} - -.user-contrib-cell-4 { - fill: #49729b; -} - -.user-contrib-cell-5 { - fill: #254e77; -} - .user-contrib-text { font-size: 12px; fill: #959494; } + +.calendar-hint { + margin-top: -23px; + float: right; + font-size: 12px; +} |