From 188d7b41bb76ce5602366d5bbe55ecc7b65c4ab4 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Mon, 27 Jan 2014 15:48:38 -0500 Subject: [PATCH] AC-939 Update browsable API button colors. --- awx/templates/rest_framework/api.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/awx/templates/rest_framework/api.html b/awx/templates/rest_framework/api.html index fd6a47e7a2..a25f018f3f 100644 --- a/awx/templates/rest_framework/api.html +++ b/awx/templates/rest_framework/api.html @@ -126,7 +126,8 @@ html body #footer { html body #push { height: 0; } -html body .btn-success { +html body .btn-success, +html body .btn-primary { color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); background-color: #5bb75b; /* 66c8c7 l=6fd9d7 d=55a6a4 */ @@ -145,15 +146,23 @@ html body .btn-success:hover, html body .btn-success:active, html body .btn-success.active, html body .btn-success.disabled, -html body .btn-success[disabled] { +html body .btn-success[disabled], +html body .btn-primary:hover, +html body .btn-primary:active, +html body .btn-primary.active, +html body .btn-primary.disabled, +html body .btn-primary[disabled] { color: #ffffff; background-color: #55a6a4; } -html body .btn-group.open .btn-success.dropdown-toggle { +html body .btn-group.open .btn-success.dropdown-toggle, +html body .btn-group.open .btn-primary.dropdown-toggle { background-color: #55a6a4; } html body .btn-success:active, -html body .btn-success.active { +html body .btn-success.active, +html body .btn-primary:active, +html body .btn-primary.active { background-color:#41807e \9; } html body .dropdown-menu li>a:hover,