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

Automatically Colored wells

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/Serhioromano/feature-wellstyled into 2.1.2-wip Sep 24, 2012
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: Serhioromano

Sometimes you need .well right inside table .success or .warning row. It is just does not looks nice there. The grey on the green for example.

![ex2](http://serhioromano.s3.amazonaws.com/tmp/Screen Shot 2012-09-24 at 7.15.02 PM.png)

Would be nice that if .well int those classes it automatically change color. To give color option also good.

This pull request offers solution. Few lines to stile wells in the colored elements and at the same time option to color well itself.

This a usage example

<div class="well info">
    <h4>This is the well</h4>
    <p>lorem ispus
</div>

<table class="table table-striped table-bordered">
    <tbody>
        <tr class="success">
            <TD>
                <div class="well">
                    <h4>This is the well</h4>
                    <p>lorem ispus
                </div>
            </TD>
            <TD>SDFSDF</TD>
        </tr>
    </tbody>
</table>

![ex](http://serhioromano.s3.amazonaws.com/tmp/Screen Shot 2012-09-24 at 7.11.44 PM.png)

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