Delete unused #item-preview styles from items#show page

Oops, left these lying around after replacing the UI with the 2020 one!
This commit is contained in:
Emi Matchu 2024-01-18 21:53:00 -08:00
parent 27f21ab775
commit 0be9dee6fc

View file

@ -1,15 +1,6 @@
@import "../partials/clean/constants" @import "../partials/clean/constants"
@import "../partials/clean/mixins" @import "../partials/clean/mixins"
=grayscale
// http://www.karlhorky.com/2012/06/cross-browser-image-grayscale-with-css.html
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale")
filter: gray
// Cheap hack: https://github.com/chriseppstein/compass/issues/811
$percent: 100%
-webkit-filter: unquote('grayscale(#{$percent})')
body.items-show body.items-show
#item-header #item-header
border-bottom: 1px solid $module-border-color border-bottom: 1px solid $module-border-color
@ -36,46 +27,6 @@ body.items-show
#item-name #item-name
margin-bottom: 0 margin-bottom: 0
#item-preview
+clearfix
> div, > ul
float: left
#item-preview-species
display: block
width: 400px
.pet-type, img
height: 50px
width: 50px
.pet-type
+inline-block
&.current
background: $module-bg-color
outline: 1px solid $module-border-color
&.deactivated
img
+grayscale
+opacity(0.5)
&.current
background: transparent
outline-color: $error_border_color
ul, li
display: inline
#item-preview-error
display: none
padding: 20px 10px 0
width: 380px
#item-preview-swf
height: 300px
overflow: hidden
width: 300px
#item-zones #item-zones
font: font:
family: $text-font family: $text-font
@ -149,15 +100,6 @@ body.items-show
li:last-child::after li:last-child::after
content: "." content: "."
#item-preview-header
clear: both
h3, a
+inline-block
a
font-size: 85%
margin: -1.5em 0 0 1em
.nc-icon .nc-icon
height: 16px height: 16px
width: 16px width: 16px