aboutsummaryrefslogtreecommitdiff
path: root/client/css/snapshots-list-view.styl
diff options
context:
space:
mode:
authorrr-2016-08-27 18:19:42 +0200
committerrr-2016-08-27 22:19:01 +0200
commit514c4349e0533d67bea5d7588c68e9ec20e8ad87 (patch)
treeb6a1a98d2564882860cde47b71ba19df0046714c /client/css/snapshots-list-view.styl
parent702ec3e6fe57744e56ffa1a4423d122a2d8a2a5c (diff)
client/css: split into files
Diffstat (limited to 'client/css/snapshots-list-view.styl')
-rw-r--r--client/css/snapshots-list-view.styl44
1 files changed, 44 insertions, 0 deletions
diff --git a/client/css/snapshots-list-view.styl b/client/css/snapshots-list-view.styl
new file mode 100644
index 0000000..a858a07
--- /dev/null
+++ b/client/css/snapshots-list-view.styl
@@ -0,0 +1,44 @@
+$snapshot-created-background-color = #E0F5E0
+$snapshot-modified-background-color = #E0F5FF
+$snapshot-deleted-background-color = #FDE5E5
+$snapshot-merged-background-color = #FEC
+
+.snapshot-list
+ text-align: left
+
+ ul
+ margin: 0 auto
+ width: 100%
+ max-width: 35em
+ list-style-type: none
+
+ li
+ .time
+ float: right
+
+ div
+ padding: 0.1em 0.5em
+ .thumbnail
+ margin: 0 0.4em 0 0
+ &:empty
+ padding: 0
+
+ div.operation-created
+ background: $snapshot-created-background-color
+ &+.details
+ background: lighten($snapshot-created-background-color, 50%)
+ div.operation-modified
+ background: $snapshot-modified-background-color
+ &+.details
+ background: lighten($snapshot-modified-background-color, 50%)
+ div.operation-deleted
+ background: $snapshot-deleted-background-color
+ &+.details
+ background: lighten($snapshot-deleted-background-color, 50%)
+ div.operation-merged
+ background: $snapshot-merged-background-color
+ &+.details
+ background: lighten($snapshot-merged-background-color, 50%)
+
+ div.details
+ margin-bottom: 2em

© 2015 - 2026 Jakob L. Kreuze