Rename publishable to approved, add profile option to approve by default.
[redakcja.git] / src / redakcja / static / css / history.css
index fd3ad03..340b878 100644 (file)
@@ -6,6 +6,11 @@
 #history-view {
     flex: 1;
     overflow: auto;
+
+}
+
+#history-view .message-box {
+    text-align: center;
 }
 
 /*
@@ -83,6 +88,24 @@ table#changes-list-container {
     vertical-align: text-top;
 }
 
+.can-approve #changes-list .approved:hover {
+    cursor: pointer;
+}
+#pubmark-changeset-button {display: none;}
+.can-approve #pubmark-changeset-button {display: inline-block;}
+
+#changes-list *[data-approved = 'false'] .approved:after {
+    content: '☐';
+    color: red;
+    white-space: pre-line;
+}
+#changes-list *[data-approved = 'true'] .approved:after {
+    content: '🗹';
+    font-size: .8em;
+    color: #80ff80;
+    white-space: pre-line;
+}
+
 #changes-list *[data-stub-value = 'description'] {
     font-size: .8em;
     color: gray;