Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !23780

add iffy form validation state

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/browner12/is-iffy into v4-dev 7 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: browner12

we have an is-valid and is-invalid validation state, but it would be nice to have something in the middle.

Compare
  • v4-dev (base)

and
  • latest version
    7d4c2313
    1 commit, 2 years ago

2 files
+ 2
- 0

    Preferences

    File browser
    Compare changes
sc‎ss‎
_form‎s.scss‎ +1 -0
_variab‎les.scss‎ +1 -0
scss/_forms.scss
+ 1
- 0
  • View file @ 7d4c2313


@@ -277,6 +277,7 @@ select.form-control-lg {
@@ -277,6 +277,7 @@ select.form-control-lg {
}
}
@include form-validation-state("valid", $form-feedback-valid-color);
@include form-validation-state("valid", $form-feedback-valid-color);
 
@include form-validation-state("iffy", $form-feedback-iffy-color);
@include form-validation-state("invalid", $form-feedback-invalid-color);
@include form-validation-state("invalid", $form-feedback-invalid-color);
// Inline forms
// Inline forms
scss/_variables.scss
+ 1
- 0
  • View file @ 7d4c2313


@@ -455,6 +455,7 @@ $custom-file-text: (
@@ -455,6 +455,7 @@ $custom-file-text: (
// Form validation
// Form validation
$form-feedback-valid-color: theme-color("success") !default;
$form-feedback-valid-color: theme-color("success") !default;
 
$form-feedback-iffy-color: theme-color("warning") !default;
$form-feedback-invalid-color: theme-color("danger") !default;
$form-feedback-invalid-color: theme-color("danger") !default;
0 Assignees
None
Assign to
Reviewer
Katie Langerman's avatar
Katie Langerman
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference: primer/design!265
Source branch: github/fork/browner12/is-iffy

Menu

Explore Projects Groups Snippets