summaryrefslogtreecommitdiff
path: root/client/css
diff options
context:
space:
mode:
authorHunternif <hunternif@gmail.com>2019-04-09 05:41:32 +0700
committerHunternif <hunternif@gmail.com>2019-04-09 20:56:39 +0700
commit91cadf8aa05ba3db26fe79fbeb6b6fd3b5ec527b (patch)
tree9a8b72e00253e0f282915182b8c7bd1109b63a9e /client/css
parent9e9924932dca2e4316dd56cb3f4de0f9580b131e (diff)
Bulk relations editor, initial attempt
Diffstat (limited to 'client/css')
-rw-r--r--client/css/post-list-view.styl29
1 files changed, 29 insertions, 0 deletions
diff --git a/client/css/post-list-view.styl b/client/css/post-list-view.styl
index 03806b8..b49eb5c 100644
--- a/client/css/post-list-view.styl
+++ b/client/css/post-list-view.styl
@@ -84,6 +84,31 @@
&[data-disabled]
background: rgba(200, 200, 200, 0.7)
+ .relation-flipper
+ display: inline-block
+ padding: 0.5em
+ box-sizing: border-box
+ border: 0
+ &:after
+ display: inline-block
+ width: 1em
+ height: 1em
+ text-align: center
+ line-height: 1em
+ font-size: 1.6em
+ &.related
+ background: rgba(0, 230, 0, 0.7)
+ &:after
+ color: white
+ content: '☑'
+ &:not(.related)
+ background: rgba(245, 0, 0, 0.7)
+ &:after
+ color: white
+ content: '☐'
+ &[data-disabled]
+ background: rgba(200, 200, 200, 0.7)
+
.safety-flipper a
display: inline-block
margin: 0.1em
@@ -198,6 +223,10 @@
.append
@media (max-width: 1000px)
margin-left: 0
+ .bulk-add-relations
+ .append
+ @media (max-width: 1000px)
+ margin-left: 0
.safety
margin-right: 0.25em