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

Материал из Wiki The-West RU
Перейти к навигации
мНет описания правки
Нет описания правки
Строка 1: Строка 1:
/* CSS placed here will be applied to all skins */
/*Custom background*/
/* Wiki */
 
.mw-body a {
body {
    background-image: url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/bg-cover-right.png), url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/bg-cover-left.png), url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/NewCoverBgBottom.png), url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/NewMainBg.jpg);
}
#document-wrapper {
    padding: 0 225px 0 20px;
    /*Sets a 225px right padding for the right menu*/
    margin: 0 auto;
    max-width: 1250px;
    /*wrapper maximum width*/
    min-width: 880px;
}
/*External and internal link color*/
.mw-body a,
.mw-body a.external {
     color: #804000;
     color: #804000;
}
#mw-content-text a,
#mw-content-text a.external {
     font-weight: bold;
     font-weight: bold;
}
}
.mw-body a.external {
/*Fix the advanced search form*/
     color: #804000 !important;
#searchText {
    width: 80%;
    z-index: 10;
}
div.oo-ui-menuSelectWidget {
    margin-top: 40px;
}
input.oo-ui-inputWidget-input {
     width: 65%;
}
}
#document-wrapper {
/*Make the page title selectable*/
     max-width: 1160px;
div.tbbox-rafter {
     display: none;
}
}
/*Fix the Log in button*/
.tribal-button {
.tribal-button {
     width: 190px !important;
     width: 190px !important;
Строка 17: Строка 43:
     width: 100% !important;
     width: 100% !important;
}
}
#toc{
/*Remove the table of contents width limit*/
  display:inline-block;
#toc {
  width: auto;
    display: inline-block;
}
table {
     width: auto;
     width: auto;
}
}
table.transparent, table.transparent > tbody > tr > td {
/*Right menu*/
  border:none;
#siteNotice {
  background:none !important;
}
table.transparent { width:100%;}
div.tbbox-logo {z-index:100;}
@media screen and (max-width: 990px) {
  table.transparent > tbody > tr > td {
    display:block;
  }
}
.hovering {
  position:absolute;
  display: inline-table;
}
/* changes the opacity of the image when the mouse is over */
.hovering:hover {
  opacity:0.75;
  filter:alpha(opacity=75);
}
.clignote {
  animation-name: pulse;
  -webkit-animation-name: pulse;
  animation-duration: 1.5s;
  -webkit-animation-duration: 1.5s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
}
@keyframes pulse {
  0% {
      transform: scale(0.95);
      opacity: 0.7;}
  50% {
      transform: scale(1);
      opacity: 1;}
  100% {
      transform: scale(0.95);
      opacity: 0.7;}
}
 
@-webkit-keyframes pulse {
  0% {
      -webkit-transform: scale(0.95);
      opacity: 0.7;}
  50% {
      -webkit-transform: scale(1);
      opacity: 1;}
  100% {
      -webkit-transform: scale(0.95);
      opacity: 0.7;}
}
 
/* Item Popup */
div.tw_bg_tl,
div.tw_bg_tr,
div.tw_bg_bl,
div.tw_bg_br {
    background-image: url(https://wiki.the-west.net/images/6/68/Popup.png);
     position: absolute;
     position: absolute;
    z-index: -1;
}
.tw_bg_tl {
    background-position: left top;
    bottom: 50%;
    right: 50%;
     left: 0;
     left: 0;
     top: 0;
     margin-left: 100%;
}
}
.tw_bg_tr {
#right_menu {
     background-position: right top;
     padding: 0 !important;
     width: 50%;
     margin: 0 20px 0 30px !important;
    bottom: 50%;
     top: -107px;
    right: 0;
     top: 0;
}
}
.tw_bg_bl {
#right_menu .innogames-headline {
     background-position: left bottom;
     border-top: 4px solid transparent !important;
     height: 50%;
     border-bottom: 4px solid transparent !important;
     right: 50%;
     border-image-slice: 4 !important;
     bottom: 0;
     border-image-source: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAECAIAAABz8up3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QsREQkqmSTYtAAAAEZJREFUGNNjtLfQYcAAP37+4mBnY6AlYHz/5gUBFYyMWMX///+PX83///8h4sgq4YDl+OHdxLgP01jcKv8T5WMDLUWGgQAACj4ULl9i6ucAAAAASUVORK5CYII=) !important;
    left: 0;
}
}
.tw_bg_br {
.innogame {
    background-position: right bottom;
     height: 32px !important;
     height: 50%;
     padding-top: 10px !important;
     width: 50%;
    bottom: 0;
    right: 0;
}
}
div.popup_window {
.innogame a {
     position: absolute;
     text-decoration: none;
    display: none;
     display: block;
    margin: 0px;
     height: 25px;
    min-width: 200px;
    white-space: nowrap;
    z-index:1000;
}
div.item_container {
    height: 79px;
    width: 79px;
    position: relative;
    background-image: url(https://wiki.the-west.net/images/e/ec/Item_box.png);
    background-repeat: no-repeat;
     display: inline-block;
}
div.item_container.wear {
     height: 93px;
    width: 94px;
    position: relative;
    background-image: url(https://wiki.the-west.net/images/8/82/Item_box_wear.png);
    background-repeat: no-repeat;
    display: inline-block;
}
}
div.item_container.wear2 {
.socialBar {
    height: 138px;
     background: none !important;
    width: 95px;
    position: relative;
     background-image: url(https://wiki.the-west.net/images/5/54/Item_box_wear2.png);
    background-repeat: no-repeat;
    display: inline-block;
}
}
div.item_container.empty {
#localNotice #miniLogo {
     background-image: none;
     background-image: none;
}
     margin-top: -9px;
div.item_container > img {
    position: absolute;
    top: 3px;
    left: 3px;
    cursor:pointer;
}
div.item_border div.item_container > img,
div.item_container.wear > img,
div.item_container.wear2 > img {
    top: 0px !important;
    left: 0px !important;
}
div.item_container:hover div.popup_window {
    left: 120%;
    top: 10px;
    z-index: 10;
    display: block;
}
 
div.popup_contents {
    margin: 25px;
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
}
div.popup_contents * {
    margin: 0;
}
div.popup_image {
    background-image: url(https://wiki.the-west.net/images/e/ec/Item_box.png);
    background-repeat: no-repeat;
    width: 79px;
    height: 79px;
    margin: auto;
}
.popup_divider {
    width:124px;
    height:6px;
    margin-top:4px !important;
    background-image: url(https://wiki.the-west.net/images/c/c1/Divider.png);
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
}
div.popup_image img {
    padding-top: 3px;
    padding-left: 4px;
}
.popup_attribute {
    text-align: left;
    padding-left: 7px;
    font-size: 12px;
    color: #070;
    font-weight: bold;
}
.popup_skill {
    text-align: left;
    padding-left: 18px;
    font-size: 11px;
    color: #070;
}
.popup_type {
    font-style: italic;
    font-size: 8pt;
    text-align: center;
}
.popup_name {
    font-size: 13px;
    color: #070;
    font-weight: bold;
    text-align: center;
    padding-top: 4px;
}
.popup_infos {
    text-align: center;
}
.popup_id {
    color: blue;
}
.popup_set {
    color: #800080;
    font-weight: bold;
}
.popup_speed {
    color: #8b4513;
}
.popup_fb {
    color: #8b4513;
    font-weight: bold;
}
.popup_fb_stats {
    color: #8b4513;
    font-weight: bold;
}
.popup_dmg {
    font-weight: bold;
    text-align: center;
}
.popup_text {
    color: #007777;
    white-space: normal;
    max-width: 200px;
}
.item_number {
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 10;
    font-size: 16pt;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 2px #000;
}
.popup_bonus {
    color:#8b4513;
}
.popup_job {
    display:inline-block;
    border-radius: 3px;
    border: 1px solid #804000;
    padding-top: 3px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.popup_job img {
    width:50px;
    height:50px;
}
.popup_crafteditem {
    display:inline-block;
    background: none;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.popup_crafteditem table {
    border-radius: 3px;
    border: 1px solid #804000;
    text-align: center;
}
.popup_txtgreen {
    color: green;
}
.popup_txtred {
    color: #900;
}
/* Sets */
 
.infoSet {
    border: 1px solid #806D47;
    box-shadow: 1px 1px 5px #000;;
    padding: 0;
    width:auto;
    text-align:center;
}
table.infosetatt {
    border: 1px solid #806D47;
    background-color: #EBEBCF;
    padding: 0;
    height: 44px;
}
table.infosetatt td {
    padding: 0;
    vertical-align: middle;
}
/* Set bonus tooltip */
 
div.tt_bg_tl,
div.tt_bg_tr,
div.tt_bg_bl,
div.tt_bg_br {
    background-image: url(https://wiki.the-west.net/images/f/fc/Tooltip_bg.png);
    background-repeat: no-repeat;
    position: absolute;
    z-index: -1;
}
.tt_bg_tl {
    background-position: left top;
    bottom: 50%;
    right: 50%;
    left: 0;
    top: 0;
}
.tt_bg_tr {
    background-position: right top;
    width: 50%;
    bottom: 50%;
    right: 0;
    top: 0;
}
.tt_bg_bl {
    background-position: left bottom;
    height: 50%;
    right: 50%;
    bottom: 0;
    left: 0;
}
.tt_bg_br {
    background-position: right bottom;
    height: 50%;
    width: 50%;
    bottom: 0;
    right: 0;
}
.tooltip_outer {
    position: absolute;
    left: 50%;
    bottom: 100%;
     margin-bottom: 8px;
    z-index: -1;
}
.tooltip {
    position: relative;
    padding: 10px 13px 12px 13px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .15s ease-in-out;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
    -moz-transition: opacity .15s ease-in-out;
    transition: opacity .15s ease-in-out;
    white-space: nowrap;
    max-width: 350px;
    left: -50%;
    color: black;
}
.tooltip::after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: -4px;
    margin-left: -11px;
    background-image: url(https://wiki.the-west.net/images/3/32/Tooltip_arrow.png);
    width: 22px;
    height: 11px;
}
.tooltip_container {
    position: relative;
}
.tooltip_container:hover .tooltip {
    visibility: visible;
    -webkit-transition: opacity .15s ease-in-out 0.4s;
    -moz-transition: opacity .15s ease-in-out 0.4s;
    transition: opacity .15s ease-in-out 0.4s;
    opacity: 1;
}
.tooltip_container:hover > .tooltip_outer {
    z-index: 1000;
}
.per_level:after {
    content: "(за уровень)";
}
/* Quest templates */
 
.item_border {
    position: relative;
    display: inline-block;
    margin: 5px;
    width: 73px;
    height: 73px;
    background: url(https://wiki.the-west.ru/images/3/3c/Itembox.png);
    text-align: left;
}
.number {
    position: absolute;
    top: 40px;
    left: 5px;
    text-shadow: black 2px 2px 2px;
    font-size: 14px;
    color: white;
    font-weight: 40;
}
/* Set switch duel weapon or products */
 
#switch {
    position: absolute;
    top: 30px;
    left: 195px;
    cursor: pointer;
}
#switch_prod {
    position: absolute;
    top: 30px;
    left: 195px;
    cursor: pointer;
}
/* Inputs */
 
#input_level,
#input_search {
    display: inline-block;
    background: url(https://westzz.innogamescdn.com/images/tw2gui/textfield/textfield.png) top left no-repeat;
    height: 30px;
    width: 12px;
}
#input_search {
    position: absolute;
    right: 250px;
}
input.west {
    background: url(https://westzz.innogamescdn.com/images/tw2gui/textfield/textfield.png) top right no-repeat;
    height: 30px;
    width: 180px;
    margin-left: 12px;
    padding: 0px 8px 0px 0px;
    border: 0;
    outline: none;
 
}
/* Иконка набора */
.set_icon_sprite {
    display:inline-block;
    position: relative;
    margin-top:3px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 5px;
    background:url(https://wiki.the-west.net/images/4/46/Set_icons_sprite.png);
}
.set_icon_sprite:hover {
    background-color: #FFEECC;
}
.warning_message {
    color: white;
    display: inline-block;
    padding: 12px 12px 12px 12px;
    border: 1px solid black;
    background: red;
    background: -webkit-linear-gradient(#db1616, #831919);
    background: -o-linear-gradient(#db1616, #831919);
    background: -moz-linear-gradient(#db1616, #831919);
    background: linear-gradient(#db1616, #831919);
}
/* Иконка набора упряжи*/
.set_icon_sprite_horses {
    display:inline-block;
    position: relative;
    margin-top:3px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 5px;
    background:url(https://wiki.the-west.ru/images/c/c5/Set_icons_spriteH.png);
}
.set_icon_sprite_horses:hover {
    background-color: #FFEECC;
}
.warning_message {
    color: white;
    display: inline-block;
    padding: 12px 12px 12px 12px;
    border: 1px solid black;
    background: red;
    background: -webkit-linear-gradient(#db1616, #831919);
    background: -o-linear-gradient(#db1616, #831919);
    background: -moz-linear-gradient(#db1616, #831919);
    background: linear-gradient(#db1616, #831919);
}
/* Иконка набора оружия*/
.set_icon_sprite_weapons{
    display:inline-block;
    position: relative;
    margin-top:3px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 5px;
    background:url(https://wiki.the-west.ru/images/0/03/Set_icons_spriteW.png);
}
.set_icon_sprite_weapons:hover {
    background-color: #FFEECC;
}
.warning_message {
    color: white;
    display: inline-block;
    padding: 12px 12px 12px 12px;
    border: 1px solid black;
    background: red;
    background: -webkit-linear-gradient(#db1616, #831919);
    background: -o-linear-gradient(#db1616, #831919);
    background: -moz-linear-gradient(#db1616, #831919);
    background: linear-gradient(#db1616, #831919);
}
/* Upgrade */
.item_level {
    position: absolute;
    display:block;
    top: 4px;
    left: 3px;
    height: 13px;
    line-height: 13px;
    background-color: rgba(0,0,0,0.4);
    text-align: center;
    font-size: 12px;
    padding: 1px 2px 0 2px;
    color: #ffffff;
    font-weight: normal;
    box-shadow: 1px 1px 3px #000000;
    border-radius: 0 0 2px 0;
    text-shadow: black -1px 0 1px, black 0 1px 1px, black 1px 0 1px, black 0 -1px 1px;
    white-space: nowrap;
    z-index: 1;
}
.icon_level {
    display: inline-block;
    width: 15px;
    height:12px;
    background:url(https://westzz.innogamescdn.com/images/items/item_level.png);
    margin-right: 3px;
}
.level {
    vertical-align: top;
}
.upgrade {
    display: inline-block;
    width:12px;
    height: 12px;
    background: url(https://wiki.the-west.net/images/c/ca/Upgrade_icons.png) 0px 12px;
    margin: 0px 3px 0 1px;
    cursor: pointer;
}
.upgrade:hover {
    background-position-y:0px;
}
.downgrade {
    display: inline-block;
    width:12px;
    height:12px;
    background: url(https://wiki.the-west.net/images/c/ca/Upgrade_icons.png) 12px 12px;
    margin: 0px 3px 0 3px;
    cursor: pointer;
}
.downgrade:hover {
    background-position-y:0px;
}
 
.item_container[data-lvl="0"] .item_level {
display:none;
}
.item_container:hover .item_level {
display:block;
}
.item_container .upgrade, .item_container .downgrade {
display:none;
}
.item_container:hover .upgrade, .item_container:hover .downgrade {
display:inline-block;
}
.navbar_items {
    width: 434px;
    height: 89px;
    padding: 10px;
    background: url(https://wiki.the-west.ru/images/b/ba/Navbar_items.png) no-repeat;
}
.navbar_items .link_icon {
    display:inline-block;
    position: relative;
    width: 42px;
    height: 43px;
    cursor: pointer;
    background:url(https://wiki.the-west.ru/images/8/87/Navbar_items_icons.png);
}
.navbar_items .link_icon:hover, .navbar_items .active{
    background-position-y:-43px;
}
#mf-index {
    width:auto !important;
}
div#dock {
    position: fixed !important;
    right: 0 !important;
    top: 190px !important;
    margin: 10px !important;
    width: 104px !important;
    height: auto !important;
    padding: 5px !important;
    background: url(/skins/thewest/images/headline-bgtile.png?1cd53) repeat !important;
    box-shadow: inset 0em 0em 1.2em 0.2em #140a05, 0px 0px 2px 1px #000000b3 !important;
    z-index: 15000 !important;
}
div.dock-btn {
    display: inline-block !important;
    width: 52px !important;
    height: 52px !important;
    float: left !important;
    background: url(https://wiki.the-west.ru/images/f/f3/Items_bar.png) no-repeat !important;
}
div.dock-btn:hover {
  background-position-x:-52px !important;
}
div.dock-btn > a > span {
    display: block !important;
    width: 52px !important;
    height: 52px !important;
    background: url(https://wiki.the-west.ru/images/9/97/Sidebar.png) !important;
}
div.wiki-title {
    position:relative;
    max-width: 800px;
    height: 49px;
    background: url(https://wiki.the-west.net/images/b/b3/Title.png) no-repeat;
    background-size: 100% 100%;
}
#popup_plain {
    position:relative;
    display:inline-block;
}
div.tbbox-rafter {
display: none;
}
#searchText {
width: 80%;
z-index: 10;
}
div.oo-ui-menuSelectWidget {
margin-top: 40px;
}
input.oo-ui-inputWidget-input {
width: 65%;
}
}

Версия от 17:01, 4 ноября 2018

/*Custom background*/

body {
    background-image: url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/bg-cover-right.png), url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/bg-cover-left.png), url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/NewCoverBgBottom.png), url(https://media.innogamescdn.com/com_WEST_TR/Wiki/common/NewMainBg.jpg);
}
#document-wrapper {
    padding: 0 225px 0 20px;
    /*Sets a 225px right padding for the right menu*/
    margin: 0 auto;
    max-width: 1250px;
    /*wrapper maximum width*/
    min-width: 880px;
}
/*External and internal link color*/
.mw-body a,
.mw-body a.external {
    color: #804000;
}
#mw-content-text a,
#mw-content-text a.external {
    font-weight: bold;
}
/*Fix the advanced search form*/
#searchText {
    width: 80%;
    z-index: 10;
}
div.oo-ui-menuSelectWidget {
    margin-top: 40px;
}
input.oo-ui-inputWidget-input {
    width: 65%;
}
/*Make the page title selectable*/
div.tbbox-rafter {
    display: none;
}
/*Fix the Log in button*/
.tribal-button {
    width: 190px !important;
}
.with-button .tbbox-headline {
    width: 100% !important;
}
/*Remove the table of contents width limit*/
#toc {
    display: inline-block;
    width: auto;
}
/*Right menu*/
#siteNotice {
    position: absolute;
    left: 0;
    margin-left: 100%;
}
#right_menu {
    padding: 0 !important;
    margin: 0 20px 0 30px !important;
    top: -107px;
}
#right_menu .innogames-headline {
    border-top: 4px solid transparent !important;
    border-bottom: 4px solid transparent !important;
    border-image-slice: 4 !important;
    border-image-source: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAECAIAAABz8up3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QsREQkqmSTYtAAAAEZJREFUGNNjtLfQYcAAP37+4mBnY6AlYHz/5gUBFYyMWMX///+PX83///8h4sgq4YDl+OHdxLgP01jcKv8T5WMDLUWGgQAACj4ULl9i6ucAAAAASUVORK5CYII=) !important;
}
.innogame {
    height: 32px !important;
    padding-top: 10px !important;
}
.innogame a {
    text-decoration: none;
    display: block;
    height: 25px;
}
.socialBar {
    background: none !important;
}
#localNotice #miniLogo {
    background-image: none;
    margin-top: -9px;
}