From 7cf46ad8b8845727716af28c0309f4013c45e99c Mon Sep 17 00:00:00 2001 From: ARvind Tiwari Date: Wed, 9 Aug 2017 00:21:25 +0530 Subject: [PATCH] override bootstrap default danger color #a94442 -> #eb4d5c --- .../datacenterlight/css/landing-page.css | 49 ++++++++++++++----- hosting/static/hosting/css/landing-page.css | 38 +++++++++++++- 2 files changed, 73 insertions(+), 14 deletions(-) diff --git a/datacenterlight/static/datacenterlight/css/landing-page.css b/datacenterlight/static/datacenterlight/css/landing-page.css index 6c813661..70554a1d 100755 --- a/datacenterlight/static/datacenterlight/css/landing-page.css +++ b/datacenterlight/static/datacenterlight/css/landing-page.css @@ -1081,19 +1081,6 @@ tech-sub-sec h2 { padding: 0; } -.has-error .checkbox, -.has-error .checkbox-inline, -.has-error .control-label, -.has-error .help-block, -.has-error .radio, -.has-error .radio-inline, -.has-error.checkbox label, -.has-error.checkbox-inline label, -.has-error.radio label, -.has-error.radio-inline label { - color: #eb4d5c; -} - .form-group { margin: 0; border-bottom: 1px solid rgba(128, 128, 128, 0.3); @@ -1519,4 +1506,40 @@ a#forgotpassword { .w380 { max-width: 380px !important; +} + +/* bootstrap danger color override from #a94442 */ +.text-danger, +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline, +.has-error.radio label, +.has-error.checkbox label, +.has-error.radio-inline label, +.has-error.checkbox-inline label, +.has-error .form-control, +.has-error .form-control-feedback, +.alert-danger, +.list-group-item-danger, +a.list-group-item-danger, +a.list-group-item-danger:hover, +a.list-group-item-danger:focus, +.panel-danger > .panel-heading { + color: #eb4d5c; +} +.has-error .input-group-addon { + color: #eb4d5c; + border-color: #eb4d5c; +} +a.list-group-item-danger.active, +a.list-group-item-danger.active:hover, +a.list-group-item-danger.active:focus { + background-color: #eb4d5c; + border-color: #eb4d5c; +} +.panel-danger > .panel-heading .badge { + background-color: #eb4d5c; } \ No newline at end of file diff --git a/hosting/static/hosting/css/landing-page.css b/hosting/static/hosting/css/landing-page.css index d17ef8f2..3c3cd8a0 100644 --- a/hosting/static/hosting/css/landing-page.css +++ b/hosting/static/hosting/css/landing-page.css @@ -331,7 +331,7 @@ h6 { } .auth-box .form .red { - color: #ea3a3a; + color: #eb4d5c; } .auth-box .form .btn { @@ -738,3 +738,39 @@ a.unlink:hover { .footer-light a:hover, .footer-light a:focus, .footer-light a:active { color: #ddd; } + +/* bootstrap danger color override from #a94442 */ +.text-danger, +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline, +.has-error.radio label, +.has-error.checkbox label, +.has-error.radio-inline label, +.has-error.checkbox-inline label, +.has-error .form-control, +.has-error .form-control-feedback, +.alert-danger, +.list-group-item-danger, +a.list-group-item-danger, +a.list-group-item-danger:hover, +a.list-group-item-danger:focus, +.panel-danger > .panel-heading { + color: #eb4d5c; +} +.has-error .input-group-addon { + color: #eb4d5c; + border-color: #eb4d5c; +} +a.list-group-item-danger.active, +a.list-group-item-danger.active:hover, +a.list-group-item-danger.active:focus { + background-color: #eb4d5c; + border-color: #eb4d5c; +} +.panel-danger > .panel-heading .badge { + background-color: #eb4d5c; +} \ No newline at end of file