From f875a1b07db4f877f406952ef9074d7ed54f5a6d Mon Sep 17 00:00:00 2001 From: Zog Date: Mon, 18 Dec 2017 09:11:03 +0100 Subject: Refs #5291@0.1h; Add missing styles Add missing styles for disabled checkboxes --- app/assets/stylesheets/base/_config.sass | 1 + app/assets/stylesheets/components/_forms.sass | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/app/assets/stylesheets/base/_config.sass b/app/assets/stylesheets/base/_config.sass index 65444479f..ec1c43e7f 100644 --- a/app/assets/stylesheets/base/_config.sass +++ b/app/assets/stylesheets/base/_config.sass @@ -16,6 +16,7 @@ $blue: #007fbb $darkgrey: #4b4b4b $grey: #a4a4a4 +$lightgrey: rgba($grey, 0.15) $green: #70b12b $red: #da2f36 diff --git a/app/assets/stylesheets/components/_forms.sass b/app/assets/stylesheets/components/_forms.sass index 9a363ab97..47faf19b1 100644 --- a/app/assets/stylesheets/components/_forms.sass +++ b/app/assets/stylesheets/components/_forms.sass @@ -229,6 +229,13 @@ $cbx-size-xs: 15px &[type='checkbox']:checked + label:before background-color: $blue + &[type='checkbox']:disabled + label + &:before + border-color: $grey + background-color: $lightgrey + cursor: not-allowed + &:after + display: none // Table adjustments table, .table .td, td, .th, th -- cgit v1.2.3