Skip to content

Instantly share code, notes, and snippets.

@the-machinist
the-machinist / loader.css
Last active August 21, 2020 07:49
Loader
.loader-container {
width: 40px;
height: 40px;
background-color: #6c6cc7;
border-radius: 30px;
padding: 8px;
opacity: 0;
transition: visibility 0s linear 300ms, opacity 300ms;
}
@the-machinist
the-machinist / user-styles-pivotal-tracker.css
Last active February 19, 2020 07:32
Customize Pivotal Tracker with a couple of extensions (in comment)
* {
font-family: "Avenir-Medium" !important;
}
button[data-aid='AddButton'] {
/*background-color: #87898A !important;*/
background-color: #0078FF !important;
background: linear-gradient(274deg, rgba(0,120,255,1) 29%, rgba(0,149,255,1) 67%, rgba(0,200,255,1) 100%) !important;
padding: 3px 10px 2px !important;
border-radius: 20px !important;
browser = request.user_agent.browser
version = request.user_agent.version and int(request.user_agent.version.split('.')[0])
platform = request.user_agent.platform
uas = request.user_agent.string
if browser and version:
if (browser == 'msie' and version < 9) \
or (browser == 'firefox' and version < 4) \
or (platform == 'android' and browser == 'safari' and version < 534) \
or (platform == 'iphone' and browser == 'safari' and version < 7000) \