Post view: safety marked with color
This commit is contained in:
parent
9110a27167
commit
bd05123cfc
4 changed files with 18 additions and 7 deletions
|
@ -55,6 +55,17 @@ embed {
|
|||
background-image: url('http://www.gravatar.com/avatar/0?f=y&d=mm&s=16');
|
||||
}
|
||||
|
||||
#sidebar .safety-safe {
|
||||
color: #43aa43;
|
||||
}
|
||||
#sidebar .safety-sketchy {
|
||||
color: #d4a627;
|
||||
}
|
||||
#sidebar .safety-unsafe {
|
||||
color: #df4b0d;
|
||||
}
|
||||
|
||||
|
||||
i.icon-prev {
|
||||
background-position: -12px -1px;
|
||||
}
|
||||
|
|
|
@ -131,13 +131,13 @@
|
|||
line-height: 33px;
|
||||
}
|
||||
|
||||
.safety-sfw {
|
||||
color: #63ca63;
|
||||
.safety-safe {
|
||||
color: #43aa43;
|
||||
}
|
||||
.safety-sketchy {
|
||||
color: #f4c657;
|
||||
color: #d4a627;
|
||||
}
|
||||
.safety-nsfw {
|
||||
.safety-unsafe {
|
||||
color: #df4b0d;
|
||||
}
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
<div class="unit">
|
||||
<h1>file upload</h1>
|
||||
<p>Use tags to describe uploaded images. Try to specify characters, their look and shows they are from.</p>
|
||||
<p>Set proper visibility setting if the image isn’t safe for work or you’re not sure it’s 100% <span class="safety-sfw">safe</span>.</p>
|
||||
<p>Only registered users can view <span class="safety-sketchy">sketchy</span> or <span class="safety-nsfw">NSFW</span> content.</p>
|
||||
<p>Set proper visibility setting if the image isn’t safe for work or you’re not sure it’s 100% <span class="safety-safe">safe</span>.</p>
|
||||
<p>Only registered users can view <span class="safety-sketchy">sketchy</span> or <span class="safety-unsafe">NSFW</span> content.</p>
|
||||
<p>Click submit when you’re done.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
|
||||
<div class="key-value safety">
|
||||
<span class="key">Safety:</span>
|
||||
<span class="value" title="<?php echo $val = TextHelper::camelCaseToHumanCase(PostSafety::toString($this->context->transport->post->safety)) ?>">
|
||||
<span class="value safety-<?php echo $val = TextHelper::camelCaseToHumanCase(PostSafety::toString($this->context->transport->post->safety)) ?>" title="<?php echo $val ?>">
|
||||
<?php echo $val ?>
|
||||
</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue