From b919f39b3186c5f022d3965cf6023ff9041e91ca Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 11 Mar 2016 01:58:55 +0100 Subject: Customizing doorkeeper views for authorizing app --- app/assets/stylesheets/application.scss | 36 +++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'app/assets/stylesheets') diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 187c08311..d4b462cab 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -154,6 +154,29 @@ body { } } + .prompt { + font-size: 16px; + color: #9baec8; + text-align: center; + + .prompt-highlight { + font-weight: 500; + color: #fff; + } + } + + code.copypasteable { + display: block; + font-family: 'Roboto Mono', monospace; + font-weight: 400; + font-size: 12px; + margin-top: 20px; + background: #282c37; + border-radius: 4px; + padding: 2px; + word-wrap: break-word; + } + .actions { margin-top: 30px; @@ -170,6 +193,7 @@ body { cursor: pointer; font-weight: 500; outline: 0; + margin-bottom: 10px; &:hover { background-color: lighten(#2b90d9, 5%); @@ -180,6 +204,18 @@ body { top: 1px; background-color: darken(#2b90d9, 5%); } + + &.negative { + background: #df405a; + + &:hover { + background-color: lighten(#df405a, 5%); + } + + &:active, &:focus { + background-color: darken(#df405a, 5%); + } + } } } -- cgit