Skip to content
GitLab
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
  • !26691

One more custom checkbox switch, but more flexible

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/vchebotarev/custom_switch into v4-dev Jun 09, 2018
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 2

Created by: vchebotarev

Hi. Yes, i know about #23004 But I have more flexible variant of this feature. switch_ios switch_android It can be configured via scss both android or ios style It is almost fully based on $custom-control-indicator- vars It has full support of 'focus', 'active' and 'disabled' states Active state behavior is simular with ios's with increasing thumb width All position calculations are scss flexible

I'm not sure about some moments are made corretly in 'bootstrap' style Branch was created from v4.1.1 tag Commit contains only scss. If this realisation will be accepted - i'll try to add everything required Sorry for my english And this is my first frontend pr, sorry if something is terrible wrong

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/vchebotarev/custom_switch