63 lines
1.3 KiB
CSS
63 lines
1.3 KiB
CSS
/*
|
|
* Auto Scroll — official WebToApp sample.
|
|
*
|
|
* Tiny floating remote-control style. Sits above page content via a high
|
|
* z-index and uses a Material-ish surface so it blends with most sites
|
|
* regardless of theme.
|
|
*/
|
|
|
|
#wta-as-panel {
|
|
position: fixed;
|
|
right: 16px;
|
|
bottom: 24px;
|
|
z-index: 2147483646;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 6px;
|
|
background: rgba(28, 28, 32, 0.96);
|
|
color: #f5f5f7;
|
|
border-radius: 999px;
|
|
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.32);
|
|
font: 600 13px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
}
|
|
|
|
#wta-as-panel button {
|
|
appearance: none;
|
|
background: transparent;
|
|
border: 0;
|
|
color: inherit;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 999px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
#wta-as-panel button:hover,
|
|
#wta-as-panel button:active {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
#wta-as-panel .wta-as-main {
|
|
background: rgba(255, 255, 255, 0.10);
|
|
font-size: 14px;
|
|
}
|
|
|
|
#wta-as-panel.wta-as-running .wta-as-main {
|
|
background: #4f8cff;
|
|
color: #fff;
|
|
}
|
|
|
|
#wta-as-panel .wta-as-speed {
|
|
min-width: 28px;
|
|
text-align: center;
|
|
padding: 0 2px;
|
|
opacity: 0.8;
|
|
}
|