From f47730cb78d261b72ff23086d01a1cb7619d678a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Juli=C3=A1n?= Date: Tue, 26 Aug 2014 10:30:44 +0200 Subject: [PATCH] Added visual recognizement to editable status in issue detail --- app/coffee/modules/issues/detail.coffee | 12 ++++++++++++ app/styles/layout/us-detail.scss | 8 +++++--- app/styles/modules/user-settings/user-profile.scss | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/app/coffee/modules/issues/detail.coffee b/app/coffee/modules/issues/detail.coffee index 68c78168..37fb84e4 100644 --- a/app/coffee/modules/issues/detail.coffee +++ b/app/coffee/modules/issues/detail.coffee @@ -226,21 +226,33 @@ IssueStatusDirective = () ->
<%= type.name %> + <% if (editable) { %> + + <% } %> type
<%= severity.name %> + <% if (editable) { %> + + <% } %> severity
<%= priority.name %> + <% if (editable) { %> + + <% } %> priority
<%= status.name %> + <% if (editable) { %> + + <% } %> status
diff --git a/app/styles/layout/us-detail.scss b/app/styles/layout/us-detail.scss index 69ee2d65..0b384ea3 100644 --- a/app/styles/layout/us-detail.scss +++ b/app/styles/layout/us-detail.scss @@ -245,9 +245,11 @@ &:last-child { margin: 0; } - &:hover { - @include transition(background .2s ease-in); - background: darken($whitish, 10%); + &.clickable { + &:hover { + @include transition(background .2s ease-in); + background: darken($whitish, 10%); + } } } .level { diff --git a/app/styles/modules/user-settings/user-profile.scss b/app/styles/modules/user-settings/user-profile.scss index 033a3bd8..0125e54e 100644 --- a/app/styles/modules/user-settings/user-profile.scss +++ b/app/styles/modules/user-settings/user-profile.scss @@ -53,7 +53,7 @@ } fieldset { margin-bottom: 1rem; - &:last-child { + &.submit { margin-top: 2rem; } }