mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-19 21:03:09 +00:00
106 lines
2.6 KiB
CSS
106 lines
2.6 KiB
CSS
/* The phone's controller for the glasses (phone-ui/remote-controls.xml). */
|
|
.remote-controls {
|
|
margin: 0 8 0 8;
|
|
}
|
|
/* The bar of icon buttons above the touchpad: the foreground EvenHub app's
|
|
* phone UI (when there is one), voice input, the keyboard dialog, Settings.
|
|
* The XML gives the bar the watch face's width, so the buttons line up with
|
|
* that pad's right edge. */
|
|
.control-bar {
|
|
margin-bottom: 8;
|
|
}
|
|
/* Each is a button-styled GridLayout (Buttons can't hold images), with the
|
|
* elevation MaterialButtons get for free. */
|
|
.control-button {
|
|
width: 56;
|
|
/* A real MaterialButton renders 48dp tall inside a 60dp layout box (6dp
|
|
* insets top and bottom); the margins and explicit height reproduce that.
|
|
* The height also bounds the tile's measure, without which its star row
|
|
* would collapse to content and pin the icon to the top. */
|
|
height: 48;
|
|
margin: 6 2;
|
|
border-radius: 6;
|
|
background-color: #e2e2e2;
|
|
android-elevation: 2;
|
|
}
|
|
/* Flush with the pad's right edge. */
|
|
.control-button-last {
|
|
margin-right: 0;
|
|
}
|
|
/* Also recolours the EvenHub app's icon, which arrives white on transparent. */
|
|
.control-icon {
|
|
height: 20;
|
|
tint-color: #333333;
|
|
}
|
|
/* Landscape uses the full page height and a narrower column. */
|
|
.landscape-layout .remote-controls {
|
|
margin: 0;
|
|
}
|
|
.landscape-layout .control-bar {
|
|
margin-bottom: 2;
|
|
}
|
|
.landscape-layout .control-button {
|
|
width: 48;
|
|
margin-left: 1;
|
|
margin-right: 1;
|
|
}
|
|
.landscape-layout .control-button-last {
|
|
margin-right: 0;
|
|
}
|
|
.ns-dark .control-button {
|
|
background-color: #333333;
|
|
}
|
|
.ns-dark .control-icon {
|
|
tint-color: #cccccc;
|
|
}
|
|
.touchpad {
|
|
height: 230;
|
|
background-color: #1f1f1f;
|
|
border-radius: 14;
|
|
border-width: 1;
|
|
border-color: #3a3a3a;
|
|
color: #f0f0f0;
|
|
margin-top: 2;
|
|
}
|
|
.pad-focus {
|
|
font-size: 20;
|
|
color: #ffffff;
|
|
}
|
|
/* "Display off": dimmed like the dark screen it describes. */
|
|
.pad-focus-asleep {
|
|
color: #8a8a8a;
|
|
}
|
|
.pad-wake-hint {
|
|
font-size: 13;
|
|
color: #6a6a6a;
|
|
margin-top: 4;
|
|
}
|
|
/* The charging case's level under "Charging: G2 n%". */
|
|
.pad-detail {
|
|
font-size: 15;
|
|
color: #b0b0b0;
|
|
margin-top: 4;
|
|
}
|
|
.action-row {
|
|
margin-top: 6;
|
|
}
|
|
.action-button {
|
|
margin: 2;
|
|
font-size: 14;
|
|
}
|
|
/* Ring input style: the same touchpad, but portrait like the ring's own pad. */
|
|
.ring-touchpad {
|
|
width: 150;
|
|
height: 250;
|
|
}
|
|
/* Cosmetic marks mirroring the six rectangles on the physical ring's touch
|
|
strip; barely lighter than the pad so they read as texture, not buttons. */
|
|
.ring-pad-marking {
|
|
width: 18;
|
|
height: 5;
|
|
border-radius: 2;
|
|
background-color: #2a2a2a;
|
|
horizontal-align: center;
|
|
vertical-align: center;
|
|
}
|