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
  • !5397

Border-radius as variable in variables.less

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/Serhioromano/feature-borderradius into 2.1.2-wip Oct 03, 2012
  • Overview 0
  • Commits 5
  • Pipelines 0
  • Changes 23

Created by: Serhioromano

Lately I was trying to create few themes for Twitter Bootstrap. One of my idea was to create Windows 8 Metro style theme. But I have discovered that I have a border radius problem. It is hardcoded in all .less files. It means I cannot to make template basically by managing variables.

I have spend around 3 hours of studying of all border-radius: usages in Twitter Bootstrap and I have extracted and analysed all regularities.

As a result of my study I have been able to create set of @borderRadius* parameters with can help any them developer to control all border-radius: parameters in variables.less

This PR does not change anything in final display. Or other words the bootstrap.css produced with this change is absolutely identical to bootstrap.css produced by current master. It only set border-radius: through variables.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/Serhioromano/feature-borderradius