Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "added basic item type badge"

This reverts commit 6febbbd.
  • Loading branch information...
commit 8f8f1e572d20dc6a9510931104d60ae9e5963891 1 parent fe20db2
@jessor authored
Showing with 0 additions and 56 deletions.
  1. +0 −3  views/index.haml
  2. +0 −53 views/stylesheet.scss
View
3  views/index.haml
@@ -14,9 +14,6 @@
%img{ :src => image, :width => '200px', :height => '200px' }
- else
%a{ :href => item.source, :class => 'embed', :title => item.name }
- .itembadge
- %span
- = item.type
%img{ :src => image, :width => '200px', :height => '200px' }
.item-meta
View
53 views/stylesheet.scss
@@ -81,12 +81,6 @@ $lightblue: #1AE0CC;
filter: dropshadow(color=$c, offx=1, offy=1);
}
-@mixin rotate($deg) {
- -moz-transform: rotate(#{$deg}deg);
- -o-transform: rotate(#{$deg}deg);
- -webkit-transform: rotate(#{$deg}deg);
-}
-
@mixin transition ($value) {
-moz-transition: $value;
-o-transition: $value;
@@ -279,7 +273,6 @@ nav {
list-style-type: none;
float: left;
display: block;
- position: relative;
background: $border;
margin: 10px;
padding: 10px;
@@ -292,52 +285,6 @@ nav {
img:hover {
@include hovershadow($blue);
}
-
- .itembadge {
- top: 20px;
- left: -2px;
- height: 30px;
- position: absolute;
- text-decoration: none;
- width: 75px;
- @include rotate(-45);
-
- span {
- background: $highlight;
- color: white;
- font-size: 14px;
- left: 0;
- padding: 5px 0;
- position: absolute;
- text-align: center;
- width: 75px;
- }
- }
- .itembadge:before {
- position: absolute;
- display: block;
- top: 0;
- left: 74px;
- content: "";
- width: 0;
- height: 0;
- border-width: 26px 0 0 26px;
- border-style: solid;
- border-color: transparent transparent transparent $highlight;
- }
- .itembadge:after {
- position: absolute;
- display: block;
- top: 0;
- left: -25px;
- z-index: 99999;
- content: "";
- width: 0;
- height: 0;
- border-width: 0 0 26px 26px;
- border-style: solid;
- border-color: transparent transparent $highlight transparent;
- }
}
.clear {
Please sign in to comment.
Something went wrong with that request. Please try again.