diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-03-24 12:40:21 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-03-24 12:40:21 +0300 |
commit | 9bd611faa7747abbc0ce255e2f10a366081c0179 (patch) | |
tree | 88079fd3b9c064a24056b550e2930f904bbfe4af | |
parent | 4a8e516c1fcdc2d5cb2b1cd2fcded382413d95f6 (diff) | |
parent | 02c3c620e3e8308ba14fc082aff25199c36a0bd2 (diff) |
Merge branch 'todo-done-updates' into 'master'
Change opacity of finished todos instead of background color
See merge request !10100
-rw-r--r-- | app/assets/stylesheets/pages/todos.scss | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/app/assets/stylesheets/pages/todos.scss b/app/assets/stylesheets/pages/todos.scss index 5f0aede4f5e..b071d7f18cd 100644 --- a/app/assets/stylesheets/pages/todos.scss +++ b/app/assets/stylesheets/pages/todos.scss @@ -47,6 +47,7 @@ .todo-avatar, .todo-actions { + @include transition(opacity); -webkit-flex: 0 0 auto; flex: 0 0 auto; } @@ -67,21 +68,34 @@ flex: 0 1 100%; min-width: 0; } -} -.todos-list > .todo.todo-pending.done-reversible { - background-color: $gray-light; + &.todo-pending.done-reversible { + background-color: $white-light; - &:hover { - border-color: $border-color; - } + &:hover { + border-color: $white-dark; + background-color: $gray-light; - .title { - font-weight: normal; + .todo-avatar, + .todo-item { + opacity: .6; + } + } + + .todo-avatar, + .todo-item { + opacity: .2; + } + + .btn { + background-color: $gray-light; + } } } .todo-item { + @include transition(opacity); + .todo-title { display: flex; |