VulpesOS/overrides/callscreen.gaiamobile.org/style/oncall_status_bar.css
OverSu b38dea0597 Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
2026-09-30 23:13:03 +02:00

145 lines
4 KiB
CSS

/* Handling the status bar mode */
@media (max-height: 4.5em) {
html {
font-size: 10px;
}
body {
margin: 0;
}
.total-duration {
display: none;
padding-inline-start: 0.5rem;
}
.handled-call,
#group-call {
background-color: #00adad;
background-repeat: repeat-x;
background-size: auto 4rem;
color: white;
font-size: 1.7rem;
padding-inline-start: 1rem;
padding-inline-end: 2rem;
height: 40px;
}
.handled-call.ended {
background-color: rgba(107, 0, 0, 0.9);
background-image: none;
}
.handled-call.ended .duration > span {
flex: 1;
font-weight: 500;
overflow: hidden;
white-space: nowrap;
}
.handled-call.ended .total-duration {
display: inline;
}
.handled-call.held,
#group-call.held {
background-color: #333;
background-image: none;
}
#main-container,
#incoming-container,
#views,
#lockscreen-header,
#group-call-details,
.additionalContactInfo {
display: none;
}
#calls .handled-call,
#calls #group-call:not([hidden]) {
display: flex;
align-items: center;
}
.numberWrapper {
flex: 1;
display: flex;
align-items: center;
}
.duration {
display: flex;
align-items: flex-end;
}
.number {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-style: italic;
}
html[dir="ltr"] .number { padding-right: 0.5rem; }
html[dir="rtl"] .number { padding-left: 0.5rem; }
.direction-status-bar:before {
content: "";
display: block;
width: 3rem;
height: 3rem;
background-repeat: no-repeat;
background-size: 3rem;
margin-inline-end: 0.5rem;
flex-shrink: 0;
}
.incoming .direction-status-bar:before {
background-image: image-set(url("images/status_bar/actionicon_activecall_incomingcall_active.png") 1x, url("images/status_bar/actionicon_activecall_incomingcall_active@1.5x.png") 1.5x, url("images/status_bar/actionicon_activecall_incomingcall_active@2x.png") 2x, url("images/status_bar/actionicon_activecall_incomingcall_active@2.25x.png") 2.25x);
}
.outgoing .direction-status-bar:before {
background-image: image-set(url("images/status_bar/actionicon_activecall_outgoingcall_active.png") 1x, url("images/status_bar/actionicon_activecall_outgoingcall_active@1.5x.png") 1.5x, url("images/status_bar/actionicon_activecall_outgoingcall_active@2x.png") 2x, url("images/status_bar/actionicon_activecall_outgoingcall_active@2.25x.png") 2.25x);
}
.held .direction-status-bar:before {
background-image: image-set(url("images/status_bar/actionicon_activecall_paused_active.png") 1x, url("images/status_bar/actionicon_activecall_paused_active@1.5x.png") 1.5x, url("images/status_bar/actionicon_activecall_paused_active@2x.png") 2x, url("images/status_bar/actionicon_activecall_paused_active@2.25x.png") 2.25x);
}
.ended .direction-status-bar:before {
background-image: image-set(url("images/shared/actionicon_activecall_hangup_small.png") 1x, url("images/shared/actionicon_activecall_hangup_small@1.5x.png") 1.5x, url("images/shared/actionicon_activecall_hangup_small@2x.png") 2x, url("images/shared/actionicon_activecall_hangup_small@2.25x.png") 2.25x);
}
.isTimer {
display: flex;
align-items: center;
font-feature-settings: "tnum";
}
.muted .isTimer:before {
content: "";
display: block;
width: 3rem;
height: 3rem;
background-repeat: no-repeat;
background-size: contain;
margin-right: 0.5rem;
background-image: image-set(url("images/status_bar/actionicon_activecall_mute_small_active.png") 1x, url("images/status_bar/actionicon_activecall_mute_small_active@1.5x.png") 1.5x, url("images/status_bar/actionicon_activecall_mute_small_active@2x.png") 2x, url("images/status_bar/actionicon_activecall_mute_small_active@2.25x.png") 2.25x);
}
/* Don't display held calls unless there is only one call */
body:not(.single-line) #calls .handled-call.held {
display: none;
}
#calls > section .switch-calls {
display: none;
}
#bluetooth-menu {
display: none;
}
.sim {
display: none;
}
}