mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-19 21:03:09 +00:00
147 lines
3.1 KiB
CSS
147 lines
3.1 KiB
CSS
/* The phone's controller for the glasses (phone-ui/remote-controls.xml). */
|
|
.remote-controls {
|
|
margin: 0 8 0 8;
|
|
}
|
|
/* The Settings / Watch / Ring tab bar above the controls. */
|
|
.controls-tab-bar {
|
|
margin-bottom: 8;
|
|
}
|
|
.tab-button {
|
|
font-size: 14;
|
|
padding: 8 0;
|
|
margin: 0 2;
|
|
border-radius: 6;
|
|
background-color: #e2e2e2;
|
|
color: #333333;
|
|
}
|
|
.tab-button-selected {
|
|
background-color: #424242;
|
|
color: #ffffff;
|
|
}
|
|
/* The wakeword and keyboard buttons at the tab bar's right edge: icon-only,
|
|
* narrower than the tabs, and never in the selected state (they aren't tabs).
|
|
* Each is a button-styled GridLayout (Buttons can't hold images), so it
|
|
* borrows the .tab-button look and adds the elevation MaterialButtons get for
|
|
* free. */
|
|
.tab-icon-button {
|
|
width: 56;
|
|
/* The real MaterialButtons render 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;
|
|
android-elevation: 2;
|
|
}
|
|
.tab-icon {
|
|
height: 20;
|
|
tint-color: #333333;
|
|
}
|
|
/* Landscape uses the full page height and a shared left edge for tabs/pad. */
|
|
.landscape-layout .remote-controls {
|
|
margin: 0;
|
|
}
|
|
.landscape-layout .controls-tab-bar {
|
|
margin-bottom: 2;
|
|
}
|
|
.landscape-layout .tab-button {
|
|
margin-left: 1;
|
|
margin-right: 1;
|
|
min-width: 0;
|
|
}
|
|
.landscape-layout .tab-button[col="0"] {
|
|
margin-left: 0;
|
|
}
|
|
.landscape-layout .tab-icon-button {
|
|
width: 48;
|
|
}
|
|
.landscape-layout .tab-icon-button[col="4"] {
|
|
margin-right: 0;
|
|
}
|
|
.ns-dark .tab-icon {
|
|
tint-color: #cccccc;
|
|
}
|
|
.ns-dark .tab-button {
|
|
background-color: #333333;
|
|
color: #cccccc;
|
|
}
|
|
.ns-dark .tab-button-selected {
|
|
background-color: #e2e2e2;
|
|
color: #222222;
|
|
}
|
|
/* Settings tab rows. */
|
|
.settings-row {
|
|
margin-bottom: 8;
|
|
}
|
|
.settings-row-label {
|
|
font-size: 14;
|
|
margin-right: 10;
|
|
}
|
|
.mode-button {
|
|
font-size: 13;
|
|
padding: 6 10;
|
|
margin-right: 6;
|
|
}
|
|
.brightness-icon {
|
|
font-size: 16;
|
|
margin: 0 4 0 4;
|
|
color: #444444;
|
|
}
|
|
.auto-toggle Label {
|
|
font-size: 13;
|
|
margin-right: 2;
|
|
}
|
|
.settings-battery-line {
|
|
font-size: 14;
|
|
}
|
|
.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 tab: 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;
|
|
}
|