mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-19 21:03:09 +00:00
86 lines
2.9 KiB
CSS
86 lines
2.9 KiB
CSS
@import '@nativescript/theme/css/core.css';
|
|
@import './phone-ui/remote-controls.css';
|
|
@import './phone-ui/pairing.css';
|
|
|
|
.body-text { font-size: 18; }
|
|
.h1 { font-size: 28; font-weight: bold; }
|
|
.footer-link { color: #285c45; padding: 4 8; text-decoration: underline; }
|
|
.ns-dark .footer-link { color: #7bc47f; }
|
|
|
|
Page {
|
|
background-color: #f5f5f2;
|
|
color: #202820;
|
|
}
|
|
|
|
Button {
|
|
background-color: #285c45;
|
|
color: #ffffff;
|
|
border-radius: 12;
|
|
padding: 12 8;
|
|
margin-left: 4;
|
|
margin-right: 4;
|
|
font-size: 15;
|
|
}
|
|
|
|
|
|
Page.main-page {
|
|
background-color: #ffffff;
|
|
color: #222222;
|
|
}
|
|
.main-page .main-header {
|
|
background-color: #424242;
|
|
color: #ffffff;
|
|
padding: 0 0 0 16;
|
|
height: 56;
|
|
}
|
|
.main-page .action-bar-title { font-size: 18; font-weight: bold; color: #ffffff; }
|
|
.main-page .action-bar-status { font-size: 14; color: #ffffff; margin-right: 12; }
|
|
.main-page .action-bar-warning { font-size: 18; padding: 4 6; }
|
|
/* Matches Android's 32x32 padded icon; the Image inside is 21x21. */
|
|
.main-page .action-bar-app-icon { width: 32; height: 32; margin-right: 8; }
|
|
.main-page .overflow-button {
|
|
background-color: transparent;
|
|
color: #ffffff;
|
|
font-size: 24;
|
|
width: 44;
|
|
height: 48;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
/* Match Android's button layout boxes, including the inset around each tile. */
|
|
.main-page Button.tab-button { height: 48; margin-top: 6; margin-bottom: 6; }
|
|
.main-page .mode-button { background-color: #e2e2e2; color: #333333; border-radius: 6; }
|
|
.main-page .ble-bandwidth-indicator { color: #777777; font-size: 12; padding: 2 8; }
|
|
|
|
.main-page .system-name-modal {
|
|
background-color: #eeeeee;
|
|
color: #222222;
|
|
padding: 16;
|
|
}
|
|
/* The modal stays light in dark mode; outgun the theme's `.ns-dark .h2`
|
|
* (white) so the title doesn't go white-on-light-gray. */
|
|
.main-page .system-name-modal .h2 { color: #222222; }
|
|
.main-page .system-name-modal TextView {
|
|
margin: 0;
|
|
padding: 4;
|
|
background-color: #ffffff;
|
|
color: #222222;
|
|
placeholder-color: #666666;
|
|
}
|
|
|
|
.main-landscape .system-name-modal { padding: 6 12; }
|
|
.main-landscape .system-name-modal .h2 { visibility: collapse; }
|
|
.main-landscape .system-name-modal Button { padding: 6 8; margin-top: 0; margin-bottom: 0; }
|
|
|
|
/* Keyboard-input panel: the one-strip buttons and title-row icons (see app.css). */
|
|
.main-page .system-name-modal.keyboard-input-panel { padding: 8 16 12 16; }
|
|
.main-landscape .system-name-modal.keyboard-input-panel { padding: 6 12; }
|
|
.main-page .keyboard-input-panel TextView { margin: 4 0 0 0; padding: 6; }
|
|
.main-page .keyboard-input-panel TextView.keyboard-input-field-hidden { opacity: 0; height: 1; min-height: 0; margin: 0; padding: 0; }
|
|
.main-page .keyboard-input-hidden-hint { color: #666666; padding: 8 0; }
|
|
.main-page .keyboard-input-buttons { margin-top: 8; }
|
|
.main-page .keyboard-input-panel Button { margin: 0; }
|
|
.main-page .keyboard-input-panel Button.keyboard-input-gap { margin-left: 8; }
|
|
.main-page .panel-icon-button { padding: 6 8; }
|
|
.main-page .panel-icon { height: 20; tint-color: #333333; }
|