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

Parameterize @breadcrumb-separator

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/dancek/breadcrumb-separator into master 11 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: dancek

This puts the breadcrumb separator into a variable, making it easy to use any other separator besides the default / . The compiled CSS is not changed, so this does not cause any issues with the default value.

Compare
  • master (base)

and
  • latest version
    a19ff2f5
    1 commit, 2 years ago

2 files
+ 2
- 1

    Preferences

    File browser
    Compare changes
le‎ss‎
breadcru‎mbs.less‎ +1 -1
variabl‎es.less‎ +1 -0
less/breadcrumbs.less
+ 1
- 1
  • View file @ a19ff2f5

  • Edit in single-file editor

  • Open in Web IDE


@@ -12,7 +12,7 @@
> li {
display: inline-block;
&+li:before {
content: "/\00a0"; // Unicode space added since inline-block means non-collapsing white-space
content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
padding: 0 5px;
color: @breadcrumb-color;
}
less/variables.less
+ 1
- 0
  • View file @ a19ff2f5

  • Edit in single-file editor

  • Open in Web IDE


@@ -561,6 +561,7 @@
@breadcrumb-bg: #f5f5f5;
@breadcrumb-color: #ccc;
@breadcrumb-active-color: @gray-light;
@breadcrumb-separator: "/";
// Carousel
0 Assignees
None
Assign to
0 Reviewers
None
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: firstcontributions/first-contributions!51939
Source branch: github/fork/dancek/breadcrumb-separator

Menu

Explore Projects Groups Snippets