Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
d6b0334a
Commit
d6b0334a
authored
7 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
remove icons for now
parent
58b7239c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_forms.scss
+0
-3
scss/_forms.scss
scss/_variables.scss
+3
-9
scss/_variables.scss
with
3 additions
and
12 deletions
+3
-12
scss/_forms.scss
+
0
-
3
View file @
d6b0334a
...
@@ -242,9 +242,6 @@ select.form-control-lg {
...
@@ -242,9 +242,6 @@ select.form-control-lg {
//
//
// Apply contextual and semantic states to individual form controls.
// Apply contextual and semantic states to individual form controls.
$form-feedback-valid-color
:
$green
!
default
;
$form-feedback-invalid-color
:
$red
!
default
;
.invalid-feedback
{
.invalid-feedback
{
display
:
none
;
display
:
none
;
margin-top
:
.25rem
;
margin-top
:
.25rem
;
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
3
-
9
View file @
d6b0334a
...
@@ -519,15 +519,9 @@ $custom-file-text: (
...
@@ -519,15 +519,9 @@ $custom-file-text: (
)
!
default
;
)
!
default
;
// Form validation icons
// Form validation
$form-icon-success-color
:
$brand-success
!
default
;
$form-feedback-valid-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-feedback-invalid-color
:
$brand-danger
!
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
;
// Dropdowns
// Dropdowns
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment