Slime Rancher вики
Slime Rancher вики
Нет описания правки
Нет описания правки
Строка 1: Строка 1:
/* - Переменные - */
 
body.theme-fandomdesktop-light .portable-infobox {
 
--pi-background: #b2e1e8;
 
--pi-secondary-background: #d1efe8;
 
--pi-secondary-background--label: #424443;
 
--pi-border-color: #2ea7cb;
 
--pi-border-color2: #b0d1e4;
 
}
 
 
body.theme-fandomdesktop-dark .portable-infobox {
 
--pi-background: #1d1a30;
 
--pi-secondary-background: #2e2b41;
 
--pi-secondary-background--label: #bdbbbc;
 
--pi-border-color: #3f3c52;
 
--pi-border-color2: #3f3c52;
 
}
 
 
 
 
/* - Начальные надстройки - */
 
/* - Начальные надстройки - */
 
.portable-infobox {
 
.portable-infobox {
Строка 36: Строка 18:
   
 
.pi-caption {
 
.pi-caption {
background-color: var(--pi-secondary-background);
+
background-color: var(--srw-color--2);
color: var(--pi-secondary-background--label);
+
color: var(--srw-gray-tr);
 
font-size: 11px;
 
font-size: 11px;
 
line-height: 1.4;
 
line-height: 1.4;
Строка 44: Строка 26:
   
 
.portable-infobox .pi-header {
 
.portable-infobox .pi-header {
background-color: var(--pi-secondary-background);
+
background-color: var(--srw-color--2);
 
color: var(--theme-body-text-color);
 
color: var(--theme-body-text-color);
 
font-size: 12px;
 
font-size: 12px;
Строка 60: Строка 42:
   
 
.pi-group {
 
.pi-group {
background-color: var(--pi-secondary-background);
+
background-color: var(--srw-color--2);
 
}
 
}
   
 
.pi-horizontal-group .pi-horizontal-group-item {
 
.pi-horizontal-group .pi-horizontal-group-item {
border-color: var(--pi-border-color2);
+
border-color: var(--srw-color--3);
 
border-top: none;
 
border-top: none;
 
padding: 4px;
 
padding: 4px;
Строка 81: Строка 63:
   
 
.pi-smart-group .pi-smart-data-value {
 
.pi-smart-group .pi-smart-data-value {
border-color: var(--pi-border-color2);
+
border-color: var(--srw-color--3);
 
margin: 0;
 
margin: 0;
 
}
 
}
   
 
.pi-data {
 
.pi-data {
background-color: var(--pi-secondary-background);
+
background-color: var(--srw-color--2);
 
border-top: none;
 
border-top: none;
 
}
 
}
Строка 290: Строка 272:
   
 
.pi-theme-gadget-table {
 
.pi-theme-gadget-table {
--pi-secondary-background: transparent !important;
+
--srw-color--2: transparent !important;
 
background-color: transparent;
 
background-color: transparent;
 
border: none;
 
border: none;

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

/* - Начальные надстройки - */
.portable-infobox {
  border-radius: 10px;
  border-width: 2px;
  margin: 0 0 15px 15px;
  width: 273px;
}

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

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

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

.portable-infobox .pi-header {
  background-color: var(--srw-color--2);
  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-color--2);
}

.pi-horizontal-group .pi-horizontal-group-item {
  border-color: var(--srw-color--3);
  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-color--3);
  margin: 0;
}

.pi-data {
  background-color: var(--srw-color--2);
  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-color--2: 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;
}