From 5aec01100e4c42e4054721178fcbf5399af47172 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 26 May 2020 16:09:54 +0100 Subject: [PATCH] docs: make primary buttons rclone colors --- docs/static/css/custom.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/docs/static/css/custom.css b/docs/static/css/custom.css index 6bb2ca42c..bd50aed64 100644 --- a/docs/static/css/custom.css +++ b/docs/static/css/custom.css @@ -141,3 +141,33 @@ h5 { .menu { font-size: 95%; } + +/* Make primary buttons rclone colours. Should learn sass and do this the proper way! */ +.btn-primary { + background-color: #3f79ad; + border-color: #3f79ad; +} +.btn-primary:hover { + background-color: #70caf2; + border-color: #70caf2; +} +.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle { + background-color: #70caf2; + border-color: #70caf2; +} +.btn-primary.focus, .btn-primary:focus { + background-color: #3f79ad; + border-color: #3f79ad; + box-shadow: 0 0 0 0.2rem rgba(63,121,173,.5); +} +.badge-primary { + background-color: #3f79ad; + border-color: #3f79ad; +} +a.badge-primary:focus, a.badge-primary:hover { + background-color: #70caf2; +} +a.badge-primary.focus, a.badge-primary:focus { + outline: 0; + box-shadow: 0 0 0 0.2rem rgba(112,202,242,.5); +}