git ssb

10+

Matt McKegg / patchwork



Commit 08d3127203ab8e7500aba6fcdd7343ef094146d3

Style scrollbar if platform is linux

Alan Shaw committed on 9/15/2017, 3:23:36 PM
Parent: d398268f2297572879a8f99ecd25e97e46ceb570

Files changed

styles/dark/base.mcsschanged
styles/dark/main-window.mcsschanged
styles/dark/base.mcssView
@@ -14,24 +14,8 @@
1414 flex-direction: column
1515 line-height: 1.2
1616 }
1717
18-::-webkit-scrollbar {
19- width: 12px
20-}
21-
22-::-webkit-scrollbar-track {
23- -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3)
24- border-radius: 10px
25-}
26-
27-::-webkit-scrollbar-thumb {
28- border-radius: 10px
29- background-color: #2d2c2c
30- /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5) */
31-}
32-
33-
3418 h1 {
3519 font-size: 200%
3620 margin: 4px 0
3721 font-weight: normal
styles/dark/main-window.mcssView
@@ -13,8 +13,27 @@
1313 }
1414 }
1515 }
1616
17+ -linux {
18+ (div) {
19+ ::-webkit-scrollbar {
20+ width: 12px
21+ }
22+
23+ ::-webkit-scrollbar-track {
24+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3)
25+ border-radius: 10px
26+ }
27+
28+ ::-webkit-scrollbar-thumb {
29+ border-radius: 10px
30+ background-color: #2d2c2c
31+ /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5) */
32+ }
33+ }
34+ }
35+
1736 div.top {
1837 display: flex;
1938 align-items: center;
2039 background: #2d2c2c;

Built with git-ssb-web