MediaWiki:Common.css: различия между версиями

Отмена правки 12524, сделанной Tfmb (обсуждение) так ну я выяснил что оно работает
Метка: отмена
Нет описания правки
Строка 1269: Строка 1269:
}
}


/* Adds padding to the wrapper to make space for a shadow */
.tooltip{
#tooltip-wrapper {
  position: relative;
    padding: 3px 7px 2px 3px;
}
}


/* Hides tooltips with redlinks, not yet loaded ones and elements containing tooltip contents for advanced tooltips */
.tooltiptext {
.has-redlinks, .tooltip-loading, .advanced-tooltip .tooltip-contents {
  position: absolute;
    display: none;
  display: block;
  z-index: 2;
  width: 250px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all 0.2s;
  border: 1px solid #aaa;
  background-color: #ffdd66;
}
}


.tooltips-init-complete {
.tooltip:hover>.tooltiptext {
    cursor: help;
  visibility: visible;
}
  opacity: 1;
 
/* Align images with text the same way it's in page content */
/* Was probably better to play with the classes but that would cause ton of side effects */
.main-tooltip img {
    vertical-align: middle;
}
}