Permalink
Browse files

Make activity tab scrollbar pretty.

  • Loading branch information...
1 parent 4a55576 commit f142c2de720ca89e916bcc72c7bccdb9f5e5ae84 @codebutler committed May 24, 2009
@@ -114,6 +114,7 @@ RESOURCES = \
resources/octyaddme.png \
resources/profile.html \
resources/prototype.js \
+ resources/scroll-thumb.png \
resources/ServiceDiscovery.html \
resources/simple-add.png \
resources/simple-search.png \
@@ -142,6 +142,7 @@
<File name="Synapse.QtClient.Windows/AddAccountDialog.cs" subtype="Code" buildaction="Compile" />
<File name="qt-gui/AddAccountDialog.cs" subtype="Code" buildaction="Compile" />
<File name="Synapse.QtClient.Widgets/StubbornWebView.cs" subtype="Code" buildaction="Compile" />
+ <File name="resources/scroll-thumb.png" subtype="Code" buildaction="EmbedAsResource" />
</Contents>
<References>
<ProjectReference type="Assembly" localcopy="True" refto="../../contrib/jabber-net.dll" />
@@ -43,18 +43,36 @@
text-decoration: underline;
}
div.timestamp {
- float: right;
- font-size: xx-small;
+ float: right;
+ font-size: xx-small;
}
a {
color: #6A6A6A;
}
.music {
- background: url('resource:/music-16.png') no-repeat;
+ background: url('resource:/music-16.png') no-repeat;
}
div#actions {
text-align: right;
}
+ ::-webkit-scrollbar {
+ width: 15px;
+ }
+ /* FIXME: We use an image for now because QtWebKit sucks at rendering rounded borders.
+ ::-webkit-scrollbar-thumb:vertical {
+ background-color: #4F4F4F;
+ border: 1px solid #4F4F4F;
+ -webkit-border-radius: 5px;
+ }
+ */
+ ::-webkit-scrollbar-thumb:vertical {
+ -webkit-border-image: url('resource:/scroll-thumb.png') 5 0 5 0;
+ border-width: 5px 0px;
+ }
+ ::-webkit-scrollbar-track-piece:vertical
+ {
+ background-color: #2D2D2D;
+ }
</style>
<script type="text/javascript">
// http://snipplr.com/view/8984/sprintf-in-javascript-string-format/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f142c2d

Please sign in to comment.