Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

styles(dropdown) update default dropdown, inverse, primary #57

Merged
merged 1 commit into from
Feb 16, 2015

Conversation

eddywashere
Copy link
Contributor

The scope of this pr is to update default styles for dropdowns and accommodate any content we had in canon canon (captions).

Normally there are two styles of dropdowns in bootstrap, .dropdown-menu & .dropdown-inverse.dropdown-menu. I’ve added .navbar-primary .dropdown-menu to have the original primary nav dropdown style for those that need it.

Check it:

image

image

image

Tiny note re: primary nav dropdown. I didn’t bother to fix positioning. I think I’d like to tackle that in another pr and maybe address the caret issue as well.

@eddywashere eddywashere mentioned this pull request Feb 14, 2015
@bradgignac
Copy link
Contributor

FYI: Carets were dropped from Canon as part of the nav redesign.

color: #ccc;
padding-bottom: 3px;
padding-top: 3px;
.font-smoothing;

.fa-external-link,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's wrong with the default size, margin, etc? Is this a place where we can give up a small of amount of customization in favor of sticking with Bootstrap?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bradgignac it's too close to the link text. It reminds me of what @annwa said about the icon within the tabs. I'm good to remove it. Safer to remove and add later.

@eddywashere eddywashere force-pushed the update-dropdown-styles branch 2 times, most recently from bff2429 to 8cba93a Compare February 16, 2015 19:55
}

.navbar-nav > li > & {
border-top-right-radius: 3px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good without prefixes, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bradgignac bootstrap has mixins that just reference vendorless border-radius(-x-x). interestingly enough, we can't access those mixins because we have a file in our less folder called mixins

@bradgignac
Copy link
Contributor

:shipit:

eddywashere added a commit that referenced this pull request Feb 16, 2015
styles(dropdown) update default dropdown, inverse, primary
@eddywashere eddywashere merged commit c0074be into master Feb 16, 2015
@eddywashere eddywashere deleted the update-dropdown-styles branch February 16, 2015 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants