Release Vulpes OS Preview 26 with Gecko 161.0 and Tundra 0.2.0
This commit is contained in:
parent
3a1fba4efe
commit
e241a42d2f
1 changed files with 1305 additions and 331 deletions
|
|
@ -1,6 +1,9 @@
|
|||
/* Navigation matches the Android preview; Gaia owns the application theme. */
|
||||
[keypad] #home { display: none; }
|
||||
#home {
|
||||
:root { background-color: #f4f4f4; }
|
||||
:root[dark-surface] { background-color: #18232e; }
|
||||
[boot-splash] #home-bar, [lock-surface] #home-bar, [tray-over-home] #home-bar, [keypad] #home-bar, [power-splash] #home-bar { display: none; }
|
||||
:root[boot-splash] { background-color: #071d35; }
|
||||
[awaiting-gaia] #system { opacity: 0; }
|
||||
#home-bar {
|
||||
appearance: none;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
|
|
@ -13,8 +16,8 @@
|
|||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: #122332;
|
||||
color: white;
|
||||
background: var(--nav-background, transparent);
|
||||
color: var(--nav-ring, white);
|
||||
touch-action: none;
|
||||
user-select: none;
|
||||
position: fixed;
|
||||
|
|
@ -22,20 +25,50 @@
|
|||
left: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
[home-active] #home {
|
||||
[home-active]:not([recents], [lock-surface]) #home-bar {
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
|
||||
}
|
||||
[home-active][home-at-bottom] #home {
|
||||
[home-active][home-at-bottom]:not([recents]) #home-bar {
|
||||
background: transparent;
|
||||
}
|
||||
#home {
|
||||
appearance: none;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
padding: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
touch-action: none;
|
||||
}
|
||||
#home::before {
|
||||
content: '';
|
||||
box-sizing: border-box;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 2px solid currentColor;
|
||||
box-shadow: 0 0 0 1px rgb(0 0 0 / 48%), inset 0 0 0 1px rgb(0 0 0 / 35%);
|
||||
border-radius: 50%;
|
||||
}
|
||||
:root:is([data-nav-app="communications"], [data-nav-app="sms"], [data-nav-app="calendar"]) {
|
||||
--nav-background: #fff;
|
||||
--nav-ring: #657073;
|
||||
}
|
||||
:root:is([data-nav-app="settings"], [data-nav-app="email"], [data-nav-app="search"], [data-nav-app="marketplace"], [data-nav-app="camera"]) {
|
||||
--nav-ring: #657073;
|
||||
}
|
||||
:root[data-nav-app="fm"] { --nav-background: #2f3337; }
|
||||
:root:is([data-nav-app="power-menu"], [data-nav-app="costcontrol"]) { --nav-background: #4d4d4d; }
|
||||
:root[data-nav-app="gallery"] { --nav-background: #040505; }
|
||||
:root:is([data-nav-app="clock"], [data-nav-app="music"], [data-nav-app="video"]) { --nav-background: #2d2d2d; }
|
||||
:root[dark-surface]:is([data-nav-app="settings"], [data-nav-app="email"]) { --nav-ring: #b8c8d8; }
|
||||
:root:is([data-nav-app="communications"], [data-nav-app="sms"], [data-nav-app="calendar"],
|
||||
[data-nav-app="settings"], [data-nav-app="email"], [data-nav-app="search"],
|
||||
[data-nav-app="camera"], [data-nav-app="gallery"], [data-nav-app="music"],
|
||||
[data-nav-app="video"], [data-nav-app="clock"], [data-nav-app="fm"],
|
||||
[data-nav-app="costcontrol"], [data-nav-app="power-menu"], [data-nav-app="marketplace"]) #home::before { box-shadow: none; }
|
||||
#home:active::before {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
|
@ -45,9 +78,9 @@
|
|||
}
|
||||
|
||||
@media (orientation: landscape) {
|
||||
#home { left:auto; right:0; top:0; bottom:0; width:44px; height:100%; }
|
||||
[home-active] #home {
|
||||
#home-bar { left:auto; right:0; top:0; bottom:0; width:44px; height:100%; }
|
||||
[home-active]:not([recents], [lock-surface]) #home-bar {
|
||||
background:linear-gradient(to left, rgba(0,0,0,0.8), transparent);
|
||||
}
|
||||
[home-active][home-at-bottom] #home { background:transparent; }
|
||||
[home-active][home-at-bottom]:not([recents]) #home-bar { background:transparent; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue