From 80610d9bc91bd22e1bba17212c4aad78d667f6fe Mon Sep 17 00:00:00 2001 From: Kevin Ross Date: Wed, 4 Nov 2015 17:50:22 -0600 Subject: [PATCH] Added // SASS conversion note: to any less file that has a content change that must be manually synced to the _mixins-shared.scss --- less/_alerts.less | 1 + less/_buttons.less | 4 ++++ less/_inputs.less | 1 + less/_navbar.less | 1 + less/_togglebutton.less | 2 ++ 5 files changed, 9 insertions(+) diff --git a/less/_alerts.less b/less/_alerts.less index 76987da5..0f4c12f5 100755 --- a/less/_alerts.less +++ b/less/_alerts.less @@ -2,6 +2,7 @@ border: 0px; border-radius: 0; + // SASS conversion note: please mirror any content change in _mixins-shared.scss alert-variations-content .generic-variations(~"", @darkbg-text, { background-color: @material-color; color: @material-text-color; diff --git a/less/_buttons.less b/less/_buttons.less index 9e086b14..ccf141d2 100644 --- a/less/_buttons.less +++ b/less/_buttons.less @@ -32,18 +32,22 @@ .background-variations(~":not(.btn-link):not(.btn-flat)", @btn-default); // BTN hover effect + // SASS conversion note: please mirror any content change in _mixins-shared.scss button-variations-content .generic-variations(~":hover:not(.btn-link):not(.btn-flat)", @btn-default, { background-color: contrast(@material-color, darken(@material-color, 4%), lighten(@material-color, 4%), @contrast-factor); }); // BTN active effect + // SASS conversion note: please mirror any content change in _mixins-shared.scss button-variations-content .generic-variations(~":active:not(.btn-link):not(.btn-flat)", @btn-default, { background-color: contrast(@material-color, darken(@material-color, 6%), lighten(@material-color, 6%), @contrast-factor); }); // BTN .active effect + // SASS conversion note: please mirror any content change in _mixins-shared.scss button-variations-content .generic-variations(~".active:not(.btn-link):not(.btn-flat)", @btn-default, { background-color: contrast(@material-color, darken(@material-color, 6%), lighten(@material-color, 6%), @contrast-factor); }); // BTN flat hover effect + // SASS conversion note: please mirror any content change in _mixins-shared.scss bg-color-variations-content .generic-variations(~".btn-flat:hover:not(.btn-link)", @btn-default, { background-color: fade(@material-color, 20%); }); diff --git a/less/_inputs.less b/less/_inputs.less index 16c28fc9..2fb2987b 100644 --- a/less/_inputs.less +++ b/less/_inputs.less @@ -197,6 +197,7 @@ fieldset[disabled] .form-control.focus:disabled, color: @input-info; } } + // SASS conversion note: please mirror any content change in _mixins-shared.scss bg-img-variations-content .generic-variations(~" .form-control:focus", @primary, { background-image: linear-gradient(@material-color, @material-color), linear-gradient(@input-underline-color, @input-underline-color); }); diff --git a/less/_navbar.less b/less/_navbar.less index 5787f782..ad69397b 100755 --- a/less/_navbar.less +++ b/less/_navbar.less @@ -166,6 +166,7 @@ } } + // SASS conversion note: please mirror any content change in _mixins-shared.scss navbar-variations-content .generic-variations(~".navbar", @primary, { background-color: @material-color; color: @material-text-color; diff --git a/less/_togglebutton.less b/less/_togglebutton.less index 561b5e2f..6c03d975 100644 --- a/less/_togglebutton.less +++ b/less/_togglebutton.less @@ -55,10 +55,12 @@ } // Switch bg on + // SASS conversion note: please mirror any content change in _mixins-shared.scss bg-color-variations-content .generic-variations(~" label input[type=checkbox]:checked + .toggle", @primary, { background-color: fade(@material-color, 50%); }); // Handle on + // SASS conversion note: please mirror any content change in _mixins-shared.scss variations-content .variations(~" label input[type=checkbox]:checked + .toggle:after", background-color, @primary); // Ripple on .generic-variations(~" label input[type=checkbox]:checked + .toggle:active:after", @primary, {