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

Hello,

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/ajrkerr/master into master 13 years ago
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: ajrkerr

Compare
  • master (base)

and
  • latest version
    6060e14c
    1 commit, 2 years ago

2 files
+ 35
- 24

    Preferences

    File browser
    Compare changes
l‎ib‎
mixin‎s.less‎ +6 -0
scaffold‎ing.less‎ +29 -24
lib/mixins.less
+ 6
- 0
  • View file @ 6060e14c


@@ -78,7 +78,13 @@
.clearfix();
}
.columns(@columnSpan: 1) {
box-sizing: border-box;
width: (@gridColumnWidth * @columnSpan) + (@gridGutterWidth * (@columnSpan - 1));
.row {
box-sizing: border-box;
width: (@gridColumnWidth * @columnSpan) + (@gridGutterWidth * @columnSpan);
}
}
.offset(@columnOffset: 1) {
margin-left: (@gridColumnWidth * @columnOffset) + (@gridGutterWidth * (@columnOffset - 1)) + @extraSpace;
lib/scaffolding.less
+ 29
- 24
  • View file @ 6060e14c


@@ -86,33 +86,38 @@ a {
.gridColumn();
}
// Default columns
.span1 { .columns(1); }
.span2 { .columns(2); }
.span3 { .columns(3); }
.span4 { .columns(4); }
.span5 { .columns(5); }
.span6 { .columns(6); }
.span7 { .columns(7); }
.span8 { .columns(8); }
.span9 { .columns(9); }
.span10 { .columns(10); }
.span11 { .columns(11); }
.span12 { .columns(12); }
.span13 { .columns(13); }
.span14 { .columns(14); }
.span15 { .columns(15); }
.span16 { .columns(16); }
// Sorted greatest to least for the smaller spans to take priority
// over the larger spans when styling child row elements
// For optional 24-column grid
.span17 { .columns(17); }
.span18 { .columns(18); }
.span19 { .columns(19); }
.span20 { .columns(20); }
.span21 { .columns(21); }
.span22 { .columns(22); }
.span23 { .columns(23); }
.span24 { .columns(24); }
.span23 { .columns(23); }
.span22 { .columns(22); }
.span21 { .columns(21); }
.span20 { .columns(20); }
.span19 { .columns(19); }
.span18 { .columns(18); }
.span17 { .columns(17); }
// Default columns
.span16 { .columns(16); }
.span15 { .columns(15); }
.span14 { .columns(14); }
.span13 { .columns(13); }
.span12 { .columns(12); }
.span11 { .columns(11); }
.span10 { .columns(10); }
.span9 { .columns(9); }
.span8 { .columns(8); }
.span7 { .columns(7); }
.span6 { .columns(6); }
.span5 { .columns(5); }
.span4 { .columns(4); }
.span3 { .columns(3); }
.span2 { .columns(2); }
.span1 { .columns(1); }
// Offset column options
.row {
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!65039
Source branch: github/fork/ajrkerr/master

Menu

Explore Projects Groups Snippets