# HG changeset patch # User Alexandre Segura # Date 1488377071 -3600 # Node ID 733be8cac793641b0a8cf14854dbad12016f347a # Parent 6b8a1ae18e91ec11fbb33320f9987138fcaf50ca Improve design of metacategories widget. diff -r 6b8a1ae18e91 -r 733be8cac793 src_js/iconolab-bundle/src/components/editor/Comment.vue --- a/src_js/iconolab-bundle/src/components/editor/Comment.vue Wed Mar 01 01:41:20 2017 +0100 +++ b/src_js/iconolab-bundle/src/components/editor/Comment.vue Wed Mar 01 15:04:31 2017 +0100 @@ -35,7 +35,6 @@ ], data() { return { - showForm: false, hover: false } }, diff -r 6b8a1ae18e91 -r 733be8cac793 src_js/iconolab-bundle/src/iconolab.scss --- a/src_js/iconolab-bundle/src/iconolab.scss Wed Mar 01 01:41:20 2017 +0100 +++ b/src_js/iconolab-bundle/src/iconolab.scss Wed Mar 01 15:04:31 2017 +0100 @@ -120,25 +120,22 @@ .btn-group-metacategory { - padding-bottom: 5px; - margin-bottom: 5px; - border-bottom: 2px solid #969696; - - &.btn-group-request-for-contribution { - border-color: $color-request-for-contribution; + &.active { + margin-bottom: 5px; + padding-bottom: 0px; + border-bottom: 2px solid #969696; } - &.btn-group-reference { - border-color: $color-reference; + &.active.btn-group-request-for-contribution { + border-bottom: 2px solid $color-request-for-contribution; } - &.btn-group-agree { - border-color: $color-agree; + &.active.btn-group-reference { + border-bottom: 2px solid $color-reference; } - &.btn-group-disagree { - border-color: $color-disagree; + &.active.btn-group-agree { + border-bottom: 2px solid $color-agree; } - - &.active { - padding-bottom: 0px; + &.active.btn-group-disagree { + border-bottom: 2px solid $color-disagree; } .btn {