Browse Source

Updated color scheme of timeline

pull/96/head
jrtechs 4 years ago
parent
commit
5ab0346243
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      templates/blog/posts.html

+ 6
- 3
templates/blog/posts.html View File

@ -5,6 +5,9 @@
crossorigin="anonymous"> crossorigin="anonymous">
</script> </script>
<link href="/includes/js/vis/dist/vis-timeline-graph2d.min.css" rel="stylesheet" type="text/css" />
<style> <style>
:root { :root {
@ -23,8 +26,8 @@
} }
.vis-item { .vis-item {
font-size: 16px; font-size: 16px;
color: var(--dark);
background-color: var(--white);
color: var(--white);
background-color: #317caf;
box-sizing: border-box; box-sizing: border-box;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.06), 0px 4px 6px rgba(0, 0, 0, 0.06); box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.06), 0px 4px 6px rgba(0, 0, 0, 0.06);
border-color: transparent; border-color: transparent;
@ -48,6 +51,7 @@
border-color: var(--primary); border-color: var(--primary);
} }
.vis-item.vis-selected { .vis-item.vis-selected {
color: var(--dark);
border-color: var(--primary); border-color: var(--primary);
background-color: var(--white); background-color: var(--white);
box-shadow: 0px 20px 25px rgba(0, 0, 0, 0.2), 0px 10px 10px rgba(0, 0, 0, 0.14); box-shadow: 0px 20px 25px rgba(0, 0, 0, 0.2), 0px 10px 10px rgba(0, 0, 0, 0.14);
@ -100,7 +104,6 @@
</div> </div>
<script src="/includes/js/vis/dist/vis-timeline-graph2d.min.js"></script> <script src="/includes/js/vis/dist/vis-timeline-graph2d.min.js"></script>
<link href="/includes/js/vis/dist/vis-timeline-graph2d.min.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"> <script type="text/javascript">

Loading…
Cancel
Save