X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5913c54d19b8f6775633176032161d49f9b2f1aa..309ec8b919d57858254b78cd7ba3b4d84d90da9a:/src/redakcja/static/css/history.css?ds=sidebyside

diff --git a/src/redakcja/static/css/history.css b/src/redakcja/static/css/history.css
index cbc5c52d..340b878f 100644
--- a/src/redakcja/static/css/history.css
+++ b/src/redakcja/static/css/history.css
@@ -1,11 +1,16 @@
+#history-view-editor {
+    display: flex;
+    flex-direction: column;
+}
+
 #history-view {
+    flex: 1;
     overflow: auto;
-    position: absolute;
-    top: 30px; /* 0 for no toolbar, 30 for toolbar */
-    bottom: 0px;
-    left: 0px;
-    right: 0px;
-    z-index: 1;
+
+}
+
+#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;