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

Unify appearance of close handle in .modal and .alert-message #172

Closed
nikku opened this issue Sep 7, 2011 · 1 comment
Closed

Unify appearance of close handle in .modal and .alert-message #172

nikku opened this issue Sep 7, 2011 · 1 comment
Milestone

Comments

@nikku
Copy link

nikku commented Sep 7, 2011

Change .modal-header .close in patterns.less from

  .close {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #999;
    line-height:10px;
    font-size: 18px;
  }

to the .alert-message .close style

  .close {
   position: absolute;
    right: 10px;
    top: 10px;
    color: @black;
    line-height:10px;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(255,255,255,1);
    .opacity(20);
    &:hover {
      color: @black;
      text-decoration: none;
      .opacity(40);
    }

to make both look similar to each other.

@mdo
Copy link
Member

mdo commented Sep 9, 2011

Nice, good catch. I've abstracted .close outside of the popover and the .alert-message aside from a bit of positioning for the .modal. Now it can be used everywhere—yay!

Will be released with 1.3.

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

No branches or pull requests

2 participants