Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Deprecations on TWBS 3.1.x #649

Closed
sergeyklay opened this issue Dec 18, 2013 · 3 comments
Closed

Deprecations on TWBS 3.1.x #649

sergeyklay opened this issue Dec 18, 2013 · 3 comments

Comments

@sergeyklay
Copy link
Contributor

When preparing our projects (primarily Gleez and Cerber) for TWBS 3.1.x, we should get rid of the deprecated selectors (classes. IDs), in favor of a more specific and unique selectors or other techniques.

See v3.1.0 ship list

@sandeepone
Copy link
Member

Nice changes.. Yep we should follow them. I think it's better to go with it and backport the blog and dashboard form 3.1 if needed.

@sergeyklay
Copy link
Contributor Author

It seems this may be replacement for .pull-right:

CSS

.form-actions {
    text-align: right;
}

HTML

<div class="form-actions">
    <a href="#" class="btn btn-success btn-sm">Submit</a>
</div>

The benefit of this method is that is not necessary to use .clearfix as in the case with .pull-right.
In the same way it is possible to replace .pull-left.

For example we can have .form-actions-right and .form-actions-left

@sergeyklay
Copy link
Contributor Author

now we use twbs 3.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants