2016-05-29 12:28:52 +02:00
|
|
|
@import colors
|
2016-06-06 20:57:22 +02:00
|
|
|
$safety-safe = #88D488
|
|
|
|
$safety-sketchy = #F3D75F
|
|
|
|
$safety-unsafe = #F3985F
|
|
|
|
|
|
|
|
.post-view
|
|
|
|
width: 100%
|
|
|
|
display: flex !important
|
|
|
|
flex-direction: row
|
|
|
|
>.sidebar
|
|
|
|
margin-right: 1em
|
2016-06-11 17:41:36 +02:00
|
|
|
max-width: 20em
|
|
|
|
min-width: 20em
|
2016-06-06 20:57:22 +02:00
|
|
|
line-height: 160%
|
|
|
|
|
|
|
|
a:active
|
|
|
|
border: 0
|
|
|
|
outline: 0
|
|
|
|
|
|
|
|
nav.buttons
|
|
|
|
margin-top: 0
|
|
|
|
display: flex
|
|
|
|
flex-wrap: wrap
|
|
|
|
article
|
|
|
|
flex: 1 0 33%
|
|
|
|
a
|
|
|
|
display: inline-block
|
|
|
|
width: 100%
|
|
|
|
padding: 0.3em 0
|
|
|
|
text-align: center
|
|
|
|
vertical-align: middle
|
|
|
|
transition: background 0.2s linear
|
|
|
|
a:hover
|
|
|
|
background: lighten($main-color, 90%)
|
|
|
|
i
|
|
|
|
font-size: 140%
|
|
|
|
text-align: center
|
|
|
|
|
2016-06-11 17:41:36 +02:00
|
|
|
>.content
|
|
|
|
width: 100%
|
|
|
|
|
2016-06-12 14:04:42 +02:00
|
|
|
.post-container
|
|
|
|
margin-bottom: 2em
|
|
|
|
|
|
|
|
.post-content
|
|
|
|
margin: 0
|
2016-05-29 12:28:52 +02:00
|
|
|
|
2016-06-02 00:07:51 +02:00
|
|
|
.post-list
|
|
|
|
ul
|
|
|
|
list-style-type: none
|
|
|
|
margin: 0
|
|
|
|
padding: 0
|
|
|
|
display: flex
|
|
|
|
align-content: flex-end
|
|
|
|
flex-wrap: wrap
|
|
|
|
margin: 0 -0.25em
|
|
|
|
|
|
|
|
li
|
|
|
|
position: relative
|
|
|
|
flex-grow: 1
|
|
|
|
margin: 0 0.25em 0.5em 0.25em
|
|
|
|
display: inline-block
|
|
|
|
text-align: left
|
|
|
|
min-width: 10em
|
2016-06-04 12:22:14 +02:00
|
|
|
width: 12vw
|
2016-06-02 00:07:51 +02:00
|
|
|
&:not(.flexbox-dummy)
|
|
|
|
min-height: 7.5em
|
2016-06-04 12:22:14 +02:00
|
|
|
height: 9vw
|
2016-06-02 00:07:51 +02:00
|
|
|
|
2016-07-05 21:20:28 +02:00
|
|
|
.thumbnail-wrapper
|
2016-06-02 00:07:51 +02:00
|
|
|
display: inline-block
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
2016-06-04 12:22:14 +02:00
|
|
|
line-height: 80%
|
2016-06-02 00:07:51 +02:00
|
|
|
font-size: 80%
|
|
|
|
color: white
|
2016-06-02 23:56:56 +02:00
|
|
|
outline-offset: -3px
|
2016-06-04 12:22:14 +02:00
|
|
|
box-shadow: 0 0 0 1px rgba(0,0,0,0.2)
|
2016-06-02 00:07:51 +02:00
|
|
|
|
2016-06-04 12:22:14 +02:00
|
|
|
.type, .stats
|
2016-06-02 00:07:51 +02:00
|
|
|
position: absolute
|
2016-06-04 12:22:14 +02:00
|
|
|
bottom: 0.5em
|
|
|
|
padding: 0.33em 0.5em
|
|
|
|
background: rgba(0,0,0,0.5)
|
|
|
|
height: 1em
|
|
|
|
|
|
|
|
.type
|
|
|
|
float: left
|
|
|
|
left: 0.5em
|
2016-06-02 00:07:51 +02:00
|
|
|
&[data-type=image]
|
|
|
|
display: none
|
|
|
|
|
|
|
|
.stats
|
2016-06-04 12:22:14 +02:00
|
|
|
float: right
|
|
|
|
right: 0.5em
|
2016-06-02 00:07:51 +02:00
|
|
|
text-align: right
|
|
|
|
i
|
2016-06-04 12:22:14 +02:00
|
|
|
margin-right: 0.25em
|
2016-06-02 00:07:51 +02:00
|
|
|
.icon:not(:first-of-type)
|
|
|
|
margin-left: 1em
|
|
|
|
|
2016-07-05 21:20:28 +02:00
|
|
|
.masstag
|
|
|
|
position: absolute
|
|
|
|
top: 0.5em
|
|
|
|
left: 0.5em
|
|
|
|
display: inline-block
|
|
|
|
padding: 0.5em
|
|
|
|
box-sizing: border-box
|
|
|
|
border: 0
|
|
|
|
cursor: pointer
|
|
|
|
&:after
|
|
|
|
display: inline-block
|
|
|
|
width: 1em
|
|
|
|
height: 1em
|
|
|
|
text-align: center
|
|
|
|
line-height: 1em
|
|
|
|
font-size: 20pt
|
|
|
|
&.tagged
|
|
|
|
background: rgba(0, 230, 0, 0.7)
|
|
|
|
&:after
|
|
|
|
color: white
|
|
|
|
content: '-'
|
|
|
|
&:not(.tagged)
|
|
|
|
background: rgba(255, 0, 0, 0.7)
|
|
|
|
&:after
|
|
|
|
color: white
|
|
|
|
content: '+'
|
|
|
|
&[data-disabled]
|
|
|
|
background: rgba(200, 200, 200, 0.7)
|
|
|
|
|
2016-06-02 00:07:51 +02:00
|
|
|
.thumbnail
|
|
|
|
background-position: 50% 30%
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
2016-06-02 23:56:56 +02:00
|
|
|
margin: 0
|
|
|
|
outline-offset: -3px
|
2016-06-11 11:27:27 +02:00
|
|
|
|
2016-06-02 00:07:51 +02:00
|
|
|
&:hover
|
|
|
|
background: $main-color
|
|
|
|
.thumbnail
|
|
|
|
opacity: .9
|
2016-06-11 11:27:27 +02:00
|
|
|
|
|
|
|
&:hover a, a:active, a:focus
|
|
|
|
box-shadow: 0 0 0 1px $main-color
|
|
|
|
.thumbnail
|
2016-06-04 12:22:14 +02:00
|
|
|
outline: 3px solid $main-color
|
2016-06-02 00:07:51 +02:00
|
|
|
|
|
|
|
.post-list-header
|
2016-06-08 22:51:26 +02:00
|
|
|
label
|
|
|
|
display: none
|
2016-06-02 00:07:51 +02:00
|
|
|
text-align: left
|
|
|
|
form
|
|
|
|
width: auto
|
2016-07-05 21:20:28 +02:00
|
|
|
*
|
|
|
|
vertical-align: top
|
2016-06-02 00:07:51 +02:00
|
|
|
input[name=search-text]
|
|
|
|
width: 25em
|
|
|
|
max-width: 90vw
|
2016-07-05 21:20:28 +02:00
|
|
|
input[name=masstag]
|
|
|
|
width: 15em
|
|
|
|
margin-left: 1em
|
2016-06-02 00:07:51 +02:00
|
|
|
.append
|
|
|
|
font-size: 0.95em
|
|
|
|
color: $inactive-link-color
|
2016-07-05 21:20:28 +02:00
|
|
|
.masstag
|
|
|
|
&:not(.active)
|
|
|
|
[type=text],
|
|
|
|
.start-tagging,
|
|
|
|
.stop-tagging
|
|
|
|
display: none
|
2016-06-02 00:07:51 +02:00
|
|
|
|
2016-06-03 19:12:10 +02:00
|
|
|
.safety
|
|
|
|
&.safety-safe
|
2016-06-06 20:57:22 +02:00
|
|
|
background-color: $safety-safe
|
2016-06-04 12:22:14 +02:00
|
|
|
border-color: @background-color
|
|
|
|
&.disabled
|
|
|
|
background-color: alpha(@background-color, 0.15)
|
2016-06-03 19:12:10 +02:00
|
|
|
&.safety-sketchy
|
2016-06-06 20:57:22 +02:00
|
|
|
background-color: $safety-sketchy
|
2016-06-04 12:22:14 +02:00
|
|
|
border-color: @background-color
|
|
|
|
&.disabled
|
|
|
|
background-color: alpha(@background-color, 0.15)
|
2016-06-03 19:12:10 +02:00
|
|
|
&.safety-unsafe
|
2016-06-06 20:57:22 +02:00
|
|
|
background-color: $safety-unsafe
|
2016-06-04 12:22:14 +02:00
|
|
|
border-color: @background-color
|
|
|
|
&.disabled
|
|
|
|
background-color: alpha(@background-color, 0.15)
|
2016-06-03 19:12:10 +02:00
|
|
|
|
2016-05-29 12:28:52 +02:00
|
|
|
.post-container
|
2016-06-11 21:50:21 +02:00
|
|
|
.post-content.transparency-grid img
|
2016-07-05 21:20:28 +02:00
|
|
|
background: url('/img/transparency_grid.png')
|
2016-06-11 21:50:21 +02:00
|
|
|
|
2016-05-29 12:28:52 +02:00
|
|
|
text-align: center
|
|
|
|
.post-content
|
|
|
|
text-align: left
|
|
|
|
margin: 0 auto
|
|
|
|
position: relative
|
|
|
|
|
|
|
|
img, object, video, .post-overlay
|
|
|
|
position: absolute
|
|
|
|
height: 100%
|
|
|
|
width: 100%
|
|
|
|
left: 0
|
|
|
|
right: 0
|
|
|
|
top: 0
|
|
|
|
bottom: 0
|
|
|
|
|
2016-06-06 20:57:22 +02:00
|
|
|
.post-overlay
|
|
|
|
pointer-events: none
|
|
|
|
|
2016-05-29 12:28:52 +02:00
|
|
|
.post-overlay>*
|
|
|
|
position: absolute
|
|
|
|
left: 0
|
|
|
|
right: 0
|
|
|
|
top: 0
|
|
|
|
bottom: 0
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
2016-05-29 12:29:24 +02:00
|
|
|
|
|
|
|
.notes
|
|
|
|
stroke-width: 1px
|
|
|
|
polygon
|
|
|
|
fill: $note-overlay-background-color
|
|
|
|
stroke: $note-overlay-border-color
|
2016-06-06 20:57:22 +02:00
|
|
|
pointer-events: auto
|
2016-05-29 12:29:24 +02:00
|
|
|
|
|
|
|
.note-text
|
|
|
|
position: absolute
|
|
|
|
max-width: 22.5em
|
|
|
|
margin-top: -0.5em
|
|
|
|
display: none
|
|
|
|
|
|
|
|
&>.wrapper
|
|
|
|
background: $note-text-background-color
|
|
|
|
padding: 0.5em
|
|
|
|
border: 1px solid $note-text-border-color
|
|
|
|
color: $note-text-text-color
|
|
|
|
margin-top: 1em
|
|
|
|
|
|
|
|
p:last-of-type
|
|
|
|
margin-bottom: 0
|
|
|
|
p:first-of-type
|
|
|
|
margin-top: 0
|
2016-07-03 13:46:20 +02:00
|
|
|
|
|
|
|
.post-view .readonly-sidebar
|
|
|
|
.details
|
|
|
|
i
|
|
|
|
margin-right: 0.6em
|
|
|
|
display: inline-block
|
|
|
|
width: 1em
|
|
|
|
text-align: center
|
|
|
|
|
|
|
|
.safety-safe
|
|
|
|
color: $safety-safe
|
|
|
|
.safety-sketchy
|
|
|
|
color: $safety-sketchy
|
|
|
|
.safety-unsafe
|
|
|
|
color: $safety-unsafe
|
|
|
|
|
|
|
|
.upload-info
|
|
|
|
.thumbnail
|
|
|
|
width: 1em
|
|
|
|
height: 1em
|
|
|
|
margin: -0.1em 0.6em 0 0
|
|
|
|
|
|
|
|
.zoom
|
|
|
|
margin-top: 1em
|
|
|
|
a
|
|
|
|
display: inline-block
|
|
|
|
.active
|
|
|
|
text-decoration: underline
|
|
|
|
|
|
|
|
.social
|
|
|
|
margin-top: 1em
|
|
|
|
.score-container
|
|
|
|
float: left
|
|
|
|
margin-right: 3em
|
|
|
|
.downvote i
|
|
|
|
text-align: right
|
|
|
|
i
|
|
|
|
text-align: left
|
|
|
|
margin: 0
|
|
|
|
.value
|
|
|
|
text-align: center
|
|
|
|
display: inline-block
|
|
|
|
width: 2em
|
|
|
|
|
|
|
|
.relations
|
|
|
|
margin-top: 2em
|
|
|
|
h1
|
|
|
|
margin-bottom: 0.5em
|
|
|
|
.thumbnail
|
|
|
|
background-position: 50% 30%
|
|
|
|
width: 4em
|
|
|
|
height: 3em
|
|
|
|
margin: 0
|
|
|
|
li
|
|
|
|
margin: 0 0.3em 0.3em 0
|
|
|
|
display: inline-block
|
|
|
|
|
|
|
|
.tags
|
|
|
|
margin-top: 2em
|
|
|
|
line-height: 130%
|
|
|
|
word-break: break-all
|
|
|
|
h1
|
|
|
|
margin-bottom: 0.5em
|
|
|
|
i
|
|
|
|
padding-right: 0.4em
|
|
|
|
.count
|
|
|
|
color: $inactive-link-color
|
|
|
|
padding-left: 0.7em
|
|
|
|
font-size: 90%
|
2016-07-03 13:46:49 +02:00
|
|
|
|
|
|
|
.post-view .edit-sidebar
|
|
|
|
section
|
|
|
|
margin-bottom: 1em
|
|
|
|
|
|
|
|
.safety
|
|
|
|
display: flex
|
|
|
|
flex-wrap: wrap
|
|
|
|
label:not(.radio)
|
|
|
|
width: 100%
|
|
|
|
.radio
|
|
|
|
flex-grow: 1
|
|
|
|
display: inline-block
|
|
|
|
|
|
|
|
.tags
|
|
|
|
.tag-input
|
|
|
|
min-height: 6.25em
|
|
|
|
|
|
|
|
label
|
|
|
|
margin-bottom: 0.3em
|
|
|
|
display: block
|
|
|
|
|
|
|
|
.buttons
|
|
|
|
display: flex
|
|
|
|
flex-wrap: wrap
|
|
|
|
margin-top: 2em
|
|
|
|
input, button
|
|
|
|
flex-grow: 1
|
|
|
|
|
|
|
|
input[type=submit],
|
|
|
|
input[type=button],
|
|
|
|
button
|
|
|
|
&:focus
|
|
|
|
border: 2px solid $text-color !important
|