From d6b0334a4e3eff716fdeee4b6777d04ea9629e68 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 6 Jun 2017 22:45:37 -0700 Subject: [PATCH] remove icons for now --- scss/_forms.scss | 3 --- scss/_variables.scss | 12 +++--------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/scss/_forms.scss b/scss/_forms.scss index eba9aec738..8b7ae2f40e 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -242,9 +242,6 @@ select.form-control-lg { // // Apply contextual and semantic states to individual form controls. -$form-feedback-valid-color: $green !default; -$form-feedback-invalid-color: $red !default; - .invalid-feedback { display: none; margin-top: .25rem; diff --git a/scss/_variables.scss b/scss/_variables.scss index f5e740f886..e0111d0c93 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -519,15 +519,9 @@ $custom-file-text: ( ) !default; -// Form validation icons -$form-icon-success-color: $brand-success !default; -$form-icon-success: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$form-icon-success-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E"), "#", "%23") !default; - -$form-icon-warning-color: $brand-warning !default; -$form-icon-warning: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$form-icon-warning-color}' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E"), "#", "%23") !default; - -$form-icon-danger-color: $brand-danger !default; -$form-icon-danger: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$form-icon-danger-color}' viewBox='-2 -2 7 7'%3E%3Cpath stroke='#{$form-icon-danger-color}' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E"), "#", "%23") !default; +// Form validation +$form-feedback-valid-color: $brand-success !default; +$form-feedback-invalid-color: $brand-danger !default; // Dropdowns