Toggle improvements (#17)

* Toggle improvements

* Fix tests
This commit is contained in:
Tom MacWright
2016-05-20 14:08:29 -04:00
parent 847124a40d
commit ffdf4a6123
12 changed files with 87 additions and 107 deletions

View File

@ -1321,39 +1321,6 @@ table.fixed {
.scroll-styled {
overflow:auto;
}
.scroll-styled .highlight pre::webkit-scrollbar,
.scroll-styled::-webkit-scrollbar {
width:8px;
height:8px;
border-left:0;
background:rgba(0,0,0,0.1);
}
.scroll-styled .highlight pre::webkit-scrollbar:hover,
.scroll-styled::-webkit-scrollbar:hover {
background:rgba(0,0,0,0.15);
}
.scroll-styled .highlight pre::webkit-scrollbar-track,
.scroll-styled::-webkit-scrollbar-track {
background:none;
}
.scroll-styled .highlight pre::webkit-scrollbar-thumb,
.scroll-styled::-webkit-scrollbar-thumb {
background:rgba(0,0,0,0.1);
border-radius:0;
}
.dark .scroll-styled::-webkit-scrollbar {
width:8px;
height:8px;
background:rgba(255,255,255,0.1);
border-radius:0;
}
.dark .scroll-styled::-webkit-scrollbar:hover {
background:rgba(255,255,255,0.15);
}
.dark .scroll-styled::-webkit-scrollbar-thumb {
background:rgba(255,255,255,0.1);
}
/* Inline Elements: Formatted for read content
------------------------------------------------------- */

View File

@ -44,30 +44,6 @@
padding: 5px;
}
.scroll-styled::-webkit-scrollbar {
width: 6px;
height: 6px;
background: transparent;
}
.scroll-styled::-webkit-scrollbar:hover {
background: transparent;
}
.scroll-styled::-webkit-scrollbar-track {
background:none;
}
.scroll-styled::-webkit-scrollbar-thumb {
background: rgba(0,0,0,.18);
width: 6px;
border:none;
border-radius: 3px;
}
.scroll-styled::-webkit-scrollbar-thumb:hover {
background: rgba(0,0,0,.25);
}
.scroll-styled::-webkit-scrollbar-track:hover {
background: transparent;
}
.dark.keyline-top,
.dark.keyline-bottom {
border-color: #313131;