From 98a834884fdf9dc0d3874e40b19b25ccef9ffd54 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Sun, 26 Feb 2012 14:24:16 -0800 Subject: [PATCH] this is not the right solution... it's way too obnoxious. Revert "don't show nsfw posts without a shield in the viewer" This reverts commit 722116cebcd031151e1c2266586e0aebc0a3a4a1. --- .../app/templates/post-viewer.handlebars | 11 ------- public/stylesheets/sass/new-templates.scss | 30 +------------------ 2 files changed, 1 insertion(+), 40 deletions(-) diff --git a/public/javascripts/app/templates/post-viewer.handlebars b/public/javascripts/app/templates/post-viewer.handlebars index 9f131d754..dbde01a53 100644 --- a/public/javascripts/app/templates/post-viewer.handlebars +++ b/public/javascripts/app/templates/post-viewer.handlebars @@ -5,17 +5,6 @@
- -{{#if nsfw}} -
-
-

- This post is Not Safe For Work. -

-
-
-{{/if}} -
diff --git a/public/stylesheets/sass/new-templates.scss b/public/stylesheets/sass/new-templates.scss index b39d60d93..80d68c240 100644 --- a/public/stylesheets/sass/new-templates.scss +++ b/public/stylesheets/sass/new-templates.scss @@ -3,8 +3,6 @@ $light-grey: #999; $pane-width: 420px; -$large-type: 40px; - /* mixins */ @mixin center($orient:vertical) { display: -webkit-box; @@ -23,13 +21,6 @@ $large-type: 40px; box-align: center; } -@mixin rotate($orient) { - -o-transform: rotate($orient); - -moz-transform: rotate($orient); - -ms-transform: rotate($orient); - -webkit-transform: rotate($orient); -} - @mixin box-shadow($left, $top, $blur, $color) { -webkit-box-shadow: $left $top $blur $color; -moz-box-shadow: $left $top $blur $color; @@ -196,7 +187,7 @@ $large-type: 40px; { h1 { font-weight: bold; - font-size: $large-type; + font-size: 40px; } } @@ -614,7 +605,6 @@ body.idle { } } -#nsfw-post-content, #post-content { display: table; @@ -652,21 +642,3 @@ body.idle { right: 8px; top: 8px; } - -#nsfw-post-content { - @include opacity(0.95); -} - -#nsfw-shield { - height: 100%; - width: 100%; - background-image: url('../img/hatched-bg.jpg'); - background-transparency: url('../img/hatched-bg.jpg'); - - h2 { - @include rotate(-15deg); - - text-transform: uppercase; - color: #979893; - } -}