# HG changeset patch # User Milka Kuzminski # Date 2020-11-30 21:43:25 # Node ID 99c6054f21a57d30e662c029b91d113ae5cfd4bb # Parent 2f0f671d256b25517ce132e29f993ee01be9b7a4 comments: UX improvements for comment buttons. diff --git a/rhodecode/public/css/buttons.less b/rhodecode/public/css/buttons.less --- a/rhodecode/public/css/buttons.less +++ b/rhodecode/public/css/buttons.less @@ -225,6 +225,7 @@ input[type="button"] { } } + .btn-approved-status { .border ( @border-thickness, @alert1 ); background-color: white; @@ -429,6 +430,31 @@ input[type="button"] { } } +input[type="submit"].btn-draft { + .border ( @border-thickness, @rcblue ); + background-color: white; + color: @rcblue; + + a { + color: @rcblue; + } + + &:hover, + &.active { + .border ( @border-thickness, @rcdarkblue ); + background-color: white; + color: @rcdarkblue; + + a { + color: @rcdarkblue; + } + } + + &:disabled { + background-color: white; + color: @rcblue; + } +} input[type="submit"].btn-warning { &:extend(.btn-warning); diff --git a/rhodecode/templates/changeset/changeset_file_comment.mako b/rhodecode/templates/changeset/changeset_file_comment.mako --- a/rhodecode/templates/changeset/changeset_file_comment.mako +++ b/rhodecode/templates/changeset/changeset_file_comment.mako @@ -510,9 +510,9 @@ % if form_type == 'inline': % if c.rhodecode_edition_id == 'EE': ## Disable the button for CE, the "real" validation is in the backend code anyway - + % else: - + % endif % endif @@ -534,9 +534,9 @@ % if form_type == 'inline': - + + ${_('dismiss')} + % endif