Slime Rancher вики
Slime Rancher вики
мНет описания правки
Нет описания правки
Строка 9: Строка 9:
 
margin: 0 0 15px 15px;
 
margin: 0 0 15px 15px;
 
width: 273px;
 
width: 273px;
  +
}
  +
  +
body.theme-fandomdesktop-dark .portable-infobox {
  +
--srw-bg--1: var(srw-bg-2) !important;
  +
--srw-bg--2: var(srw-bg-1) !important;
 
}
 
}
   

Версия от 16:12, 18 июля 2021

/* - Начальные надстройки - */
.portable-infobox {
  --pi-background: var(--srw-bg--2);
  --pi-secondary-background: var(--srw-bg--1);
  --pi-secondary-background--label: var(--srw-dgray);
  --pi-border-color: var(--srw-border-pi--1);
  border-radius: 10px;
  border-width: 2px;
  margin: 0 0 15px 15px;
  width: 273px;
}

body.theme-fandomdesktop-dark .portable-infobox {
  --srw-bg--1: var(srw-bg-2) !important;
  --srw-bg--2: var(srw-bg-1) !important;
}

.portable-infobox .wds-tabs {
  margin: 0 7px;
  justify-content: center;
}

.pi-image img {
  margin: 5px;
  width: 259px;
}

.pi-caption {
  background-color: var(--srw-bg--1);
  color: var(--srw-dgray);
  font-size: 11px;
  line-height: 1.4;
  padding: 6px 12px;
}

.portable-infobox .pi-header {
  background-color: var(--srw-bg--1);
  color: var(--theme-body-text-color);
  font-size: 12px;
  padding: 9px 9px 4px;
  text-align: left;
}

.pi-collapse .pi-header:first-child {
  text-align: left;
}

.pi-collapse .pi-header:first-child:after {
  margin-top: -3px;
}

.pi-group {
  background-color: var(--srw-bg--1);
}

.pi-horizontal-group .pi-horizontal-group-item {
  border-color: var(--srw-border-pi--2);
  border-top: none;
  padding: 4px;
  vertical-align: middle;
}

.pi-smart-group,
.portable-infobox .pi-smart-group-body {
  border-top: none;
}

.pi-smart-group .pi-smart-data-label {
  margin: 0;
  padding: 2px 0 0;
}

.pi-smart-group .pi-smart-data-value {
  border-color: var(--srw-border-pi--2);
  margin: 0;
}

.pi-data {
  background-color: var(--srw-bg--1);
  border-top: none;
}

/* - SLIME THEME - */
.pi-theme-slime .pi-image-thumbnail {
  -webkit-animation: 1s ease-in-out 1 soul-jelly;
  animation: 1s ease-in-out 1 soul-jelly;
}

.pi-theme-slime .pi-image-thumbnail:hover,
.pi-theme-slime .pi-image-thumbnail:focus,
.pi-theme-slime .pi-image-thumbnail:active {
  -webkit-animation: 1s ease-in-out infinite wiggly2;
  animation: 1s ease-in-out infinite wiggly2;
}

.pi-theme-slime .pi-caption {
  border-radius: 7px 7px 0 0;
  margin: 0 3px;
}

.pi-theme-slime .pi-group,
.pi-theme-slime .pi-data {
  margin: 0 3px;
}

.pi-theme-slime .pi-group:last-child {
  border-radius: 0 0 7px 7px;
  margin: 0 3px 3px;
  padding-bottom: 5px;
}

/* - EXPANSION THEME - */
.pi-theme-expansion .pi-caption {
  border-radius: 7px 7px 0 0;
  margin: 0 3px;
}

.pi-theme-expansion .pi-group,
.pi-theme-expansion .pi-data {
  margin: 0 3px;
}

.pi-theme-expansion .pi-group:last-child {
  border-radius: 0 0 7px 7px;
  margin: 0 3px 3px;
  padding-bottom: 5px;
}


/* - RANDOM THEME - */
.pi-theme-random .pi-caption {
  border-radius: 7px;
  margin: 0 3px 3px;
}

.pi-theme-random .pi-group:last-child {
  border-radius: 0 0 7px 7px;
  margin: -8px 3px 3px;
  padding: 8px 0;
}


/* - LOCATION THEME - */
.pi-theme-location .pi-caption {
  border-radius: 7px 7px 0 0;
  margin: 0 3px;
}

.pi-theme-location .pi-group {
  margin: 0 3px;
}

.pi-theme-location .pi-group:last-child {
  border-radius: 0 0 7px 7px;
  margin: 0 3px 3px;
  padding-bottom: 5px;
}

.pi-theme-location .pi-data:last-child .pi-data-label {
  margin-bottom: 5px;
}


/* - RESOURCE THEME - */
.pi-theme-resource .pi-caption {
  border-radius: 7px 7px 0 0;
  margin: 0 3px;
}

.pi-theme-resource .pi-group,
.pi-theme-resource .pi-data {
  margin: 0 3px;
}

.pi-theme-resource .pi-data:last-child {
  border-radius: 0 0 7px 7px;
  margin: 0 3px 3px;
  padding-bottom: 5px;
}


/* - SCIENCE THEME - */
.pi-theme-science .pi-caption {
  border-radius: 7px 7px 0 0;
  margin: 0 3px;
}

.pi-theme-science .pi-data {
  margin: 0 3px;
}

.pi-theme-science .pi-data:last-child {
  border-radius: 0 0 7px 7px;
  margin: 0 3px 3px;
  padding-bottom: 5px;
}


/* - GADGET THEME - */
@media only screen and (max-width: 767px) {
  .gadget-table-content {
    height: 80px;
  }

  .pi-theme-gadget-table {
    max-width: 600px !important;
  }
  
  .pi-theme-gadget-table .pi-group {
    width: 50%;
  }
  
  .pi-theme-gadget-table .pi-group:nth-child(1),
  .pi-theme-gadget-table .pi-group:nth-child(4),
  .pi-theme-gadget-table .pi-group:nth-child(5),
  .pi-theme-gadget-table .pi-group:nth-child(8),
  .pi-theme-gadget-table .pi-group:nth-child(9),
  .pi-theme-gadget-table .pi-group:nth-child(12) {
    background: rgba(76, 168, 252, .06);
  }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .gadget-table-content {
    height: 80px;
  }

  .pi-theme-gadget-table {
    max-width: 600px !important;
  }
  
  .pi-theme-gadget-table .pi-group {
    width: 33%;
  }
  
  .pi-theme-gadget-table .pi-group:nth-child(2n-1) {
    background: rgba(76, 168, 252, .06);
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1595px) {
  .gadget-table-content {
    height: 80px;
  }

  .pi-theme-gadget-table {
    max-width: 800px !important;
  }
  
  .pi-theme-gadget-table .pi-group {
    width: 25%;
  }
  
  .pi-theme-gadget-table .pi-group:nth-child(1),
  .pi-theme-gadget-table .pi-group:nth-child(3),
  .pi-theme-gadget-table .pi-group:nth-child(6),
  .pi-theme-gadget-table .pi-group:nth-child(8),
  .pi-theme-gadget-table .pi-group:nth-child(9),
  .pi-theme-gadget-table .pi-group:nth-child(11) {
    background: rgba(76, 168, 252, .06);
  }
}

@media only screen and (min-width: 1596px) {
  .gadget-table-content {
    height: 80px;
  }

  .pi-theme-gadget-table {
    max-width: 900px !important;
  }

  .pi-theme-gadget-table .pi-group {
    width: 163px;
  }
  
  .pi-theme-gadget-table .pi-group:nth-child(2n-1) {
    background: rgba(76, 168, 252, .06);
  }
}

.pi-theme-gadget-table {
  --srw-bg--1: transparent !important;
  background-color: transparent;
  border: none;
  clear: none;
  float: none;
  margin: 0 0 15px 0;
  width: 100%;
}

.pi-theme-gadget-table .pi-border-color {
  border-color: transparent;
}

.pi-theme-gadget-table section {
  margin-right: -3.5px !important;
}

.pi-theme-gadget-table .pi-group {
  display: inline-block;
  padding: 10px;
}

.pi-theme-gadget-table .pi-smart-group .pi-smart-data-value {
  padding: 0;
}

.pi-theme-gadget-table .pi-font {
  font-size: .75em;
  line-height: 1.3;
}

.gadget-table-content {
  vertical-align: top;
  padding: 7px 0 10px;
}

.gadget-table-line {
  background: rgb(166 200 255 / 50%);
  height: 1px;
  margin: 0 auto -5px auto;
}