Building js & css for editor with r.js/lessc via grunt tasks
[fnpeditor.git] / modules / documentHistory / documentHistory.less
index 0c2e9b5..592b22a 100644 (file)
@@ -1,18 +1,62 @@
-.rng-module-documentHistory-item {\r
+.rng-module-documentHistory {\r
     \r
     \r
-    margin: 0 0 15px 0;\r
-\r
-    .version {\r
-        float: left;\r
-        width: 30px;\r
-        font-weight: bold;\r
+    .item {\r
+        padding: 5px 5px;\r
+        margin: 0 0 15px 0;\r
+        cursor: pointer;\r
+        \r
+        .version {\r
+            float: left;\r
+            width: 30px;\r
+            font-weight: bold;\r
+        }\r
+        \r
+        .date, .author, .description {\r
+            margin: 5px 10px 0 40px;\r
+        }\r
+        \r
+        .description {\r
+            font-size: .9em;\r
+        }\r
+    }\r
+    \r
+    .item.highlighted {\r
+        background: #ffec63;\r
     }\r
     \r
     }\r
     \r
-    .date, .author, .description {\r
-        margin: 5px 10px 0 40px;\r
+    .item.disabled {\r
+        cursor: default;\r
     }\r
     \r
     }\r
     \r
-    .description {\r
-        font-size: .9em;\r
+    .toolbar {\r
+        margin: 0 0 15px 0;\r
+        white-space:nowrap; \r
+        word-spacing:0;\r
+        min-height: 22px;\r
+        button {\r
+            margin-right: 10px;\r
+        }\r
     }\r
     }\r
-}
\ No newline at end of file
+    \r
+    .rng-module-documentHistory-itemsList {\r
+        overflow-y: scroll;\r
+        position: absolute;\r
+        top: 30px;\r
+        bottom: 0;\r
+        left: 0;\r
+        right: 0;\r
+        &::-webkit-scrollbar {\r
+            .rng-mixin-scrollbar;\r
+        }\r
+        &::-webkit-scrollbar-track {\r
+            .rng-mixin-scrollbar-track;\r
+        }\r
+        &::-webkit-scrollbar-thumb {\r
+            .rng-mixin-scrollbar-thumb;\r
+        }\r
+        &::-webkit-scrollbar-thumb:window-inactive {\r
+            .rng-mixin-scrollbar-thumb-window-inactive;\r
+        }\r
+    }\r
+}\r
+\r