diff options
author | Matthew Lemon <y@yulqen.org> | 2024-07-07 14:53:13 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-07-07 14:53:13 +0100 |
commit | 8d5a97fc8ed5d6bdfd64025dd4a79e8f5abbf85c (patch) | |
tree | 6640e7e2ad457629e612eb6054c62c61668279ec /pyblackbird_cc/static/scss/custom.scss | |
parent | 5d37566a4352e4ba3f6db10627d1650dc21f804a (diff) |
Better implementation of carousel
- Removed the primary coloured background
- Changed the colour of the next and previous icons
- Reduced the width of the actual image
Diffstat (limited to 'pyblackbird_cc/static/scss/custom.scss')
-rw-r--r-- | pyblackbird_cc/static/scss/custom.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pyblackbird_cc/static/scss/custom.scss b/pyblackbird_cc/static/scss/custom.scss index c80e8f4..5c05488 100644 --- a/pyblackbird_cc/static/scss/custom.scss +++ b/pyblackbird_cc/static/scss/custom.scss @@ -25,6 +25,14 @@ $ml-font-label-weight: 500; @import "../bootstrap/scss/_badge.scss"; // 5. Add additional custom code here +.carousel-control-prev-icon { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); +} + +.carousel-control-next-icon { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); +} + h2 { color: $primary; } |