app/assets/stylesheets/snaptable/table.css.scss in snaptable-0.5.0 vs app/assets/stylesheets/snaptable/table.css.scss in snaptable-0.5.1
- old
+ new
@@ -9,10 +9,20 @@
font-family: "helvetica neue", "helvetica", "sans-serif";
overflow: auto;
a {
text-decoration: none;
}
+ // show scrollbar
+ &::-webkit-scrollbar {
+ -webkit-appearance: none;
+ width: 7px;
+ }
+ &::-webkit-scrollbar-thumb {
+ border-radius: 4px;
+ background-color: rgba(0,0,0,.5);
+ -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
+ }
table {
border-collapse: collapse;
width: 100%;
max-width: 100%;
@@ -47,9 +57,12 @@
padding: 7px 8px;
&:not(:first-child) {
border-left: 1px solid #DADADA;
}
}
+ }
+ tr.odd {
+ background: #fff;
}
tr.even {
background: #f8f8f8;
}
tr.selected {
\ No newline at end of file