Skip to content

Instantly share code, notes, and snippets.

@deprecatedcoder
Last active May 27, 2018 21:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deprecatedcoder/74e65d0d320976f500c533401e9d51a5 to your computer and use it in GitHub Desktop.
Save deprecatedcoder/74e65d0d320976f500c533401e9d51a5 to your computer and use it in GitHub Desktop.
Custom IPD pop up settings for SteamVR
@define delete_async_delay: 4.5s;
@define fade_in_out_time: 0.1s;
@define frame_margin_bottom: 0px;
@define frame_margin_top: 0px;
@define frame_margin_overflow_bottom: 0px;
@define frame_margin_overflow_top: 0px;
.IPDSettingRoot
{
width: 240px;
height: 100px;
background-color: none;
z-index: notification1_zindex;
opacity: 1.0;
position: -150px 20px 0%;
vertical-align: center;
horizontal-align: center;
flow-children: none;
font-family: platformfont;
font-size: 20px;
font-weight: normal;
pre-transform-scale2d: 0.5;
}
.IPDSettingFrame
{
width: 100%;
height: 100%;
pre-transform-scale2d: 1.00;
padding: 20px;
horizontal-align: center;
background-color: #00000022;
}
IPDSetting
{
width: 100%;
height: 100%;
font-family: platformfont;
perspective: 1000;
perspective-origin: 50% 50%;
position: 0px 0px 0%;
background-color: #80808077;
}
.IPDSettingTextDesc
{
opacity: 0.0;
}
.IPDSettingText
{
width: 200px;
font-size: 48px;
white-space: nowrap;
text-align: center;
color: #FFFFFFCC;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment