Skip to content

Instantly share code, notes, and snippets.

Avatar

HeleleMama yku12cn

View GitHub Profile
@yku12cn
yku12cn / dark-theme.css
Created Jun 6, 2020
h5ai Dark Theme mods, based on Rafael De Jongh's work
View dark-theme.css
/*h5a1 Dark Theme by Rafael De Jongh - www.RafaelDeJongh.com*/
/*Changed palette*/
#topbar{background-color:#232629}
#mainrow,#content,#view .item,#sidebar{background-color:#31363B}
#tree a,#tree a:active,#tree a.visited,#root,input,select,#crumbbar a,#crumbbar a:active,#crumbbar a:visited,#backlink,#backlink:active,#backlink:visited,#content-header,#content-footer{color:#F2F2F2}
#tree a:hover,#tree a:active:hover,#tree a.visited:hover{color:#fff}
#view.view-details .item{border-bottom:1px solid #313334}
#view .item:hover{background:#345466;color:#fff}
#view .item,a{transition:all .3s ease}
#sidebar{border-right:3px solid #313334}
@yku12cn
yku12cn / image_widget.py
Last active Aug 4, 2020 — forked from ssokolow/image_widget.py
PyQt 5.x code for Just Do What I Mean™ image display in the presence of animated GIFs and containers with no fixed aspect ratio
View image_widget.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Example code for a PyQt image-display widget which Just Works
TODO: Split this into a loader wrapper and a widget wrapper so it can be used
in designs which maintain a preloaded queue of upcoming images to improve
the perception of quick load times.
reworke adaptScale() so they have the same type signature.
Note from HeleleMama:
You can’t perform that action at this time.