MediaWiki:Common.css.bak: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1,706: Line 1,706:
}
}


/* chooser sits in normal flow, right-aligned, with a small gap */
#print-chooser {
#print-chooser {
  position: absolute;
   display: none;           /* JS toggles this */
  top: 36px;             
   text-align: right;
  right: 8px;           
   margin-top: 6px;
   display: none;        
   white-space: nowrap;  
   font-size: 14px;
  line-height: 20px;
}
}
/* Links styled like pills (MW-safe) */
#print-chooser .print-choice {
#print-chooser .print-choice {
   display: inline-block;
   display: inline-block;
   padding: 0;
   padding: 2px 6px;
   border: none;
   border: 1px solid #292828;
   background: transparent;
   background: #fff;
   color: #292828;
   color: #292828;
   text-decoration: none;
   text-decoration: none;
}
}
#print-chooser .print-choice + .print-choice { margin-left: 6px; }
/* when chooser is open, hide the original hairline under the entry number */
.print-opts-open .article-entry-number::after { content: none !important; }


#print-chooser .print-choice + .print-choice { margin-left: 6px; }
/* and draw a new hairline under the chooser so the divider drops with it */
.print-opts-open #print-chooser::after {
  content: "";
  display: block;
  height: 1px;
  background: #292828;
  margin-top: 6px;               /* space between options and the rule */
  transform: scaleY(0.5);
  transform-origin: 50% 100%;
}


#print-chooser .print-choice:hover,
/* Firefox fallback keeps working: no change needed.
#print-chooser .print-choice:focus {
  If you want a true .5pt rule under the chooser in Firefox, add: */
  text-decoration: none;
@-moz-document url-prefix() {
  .print-opts-open #print-chooser::after {
    transform: none;
    height: 0;
    border-bottom: 0.5pt solid #292828;
  }
}
}


Navigation menu