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.
80
gaia/shared/style/contacts/contact_in_overlay.css
Executable file
|
|
@ -0,0 +1,80 @@
|
|||
/* Overrides building blocks */
|
||||
#contact-list .contact-item {
|
||||
height: auto;
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
/* End overrides building blocks */
|
||||
|
||||
.contact-item {
|
||||
flex: 1;
|
||||
padding: 0 2rem;
|
||||
min-width: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.contact-item .ci__tel-type:not(:empty) ~ .js-separator::before {
|
||||
content: ',';
|
||||
-moz-margin-end: 5px;
|
||||
}
|
||||
|
||||
.contact-item .ci__tel-type:not(:empty) {
|
||||
min-width: 4rem;
|
||||
max-width: 10rem;
|
||||
}
|
||||
|
||||
.ci__name {
|
||||
line-height: 1.9rem;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.ci--action-menu .ci__name {
|
||||
font-size: 1.7rem;
|
||||
line-height: 2.1rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.ci__details {
|
||||
display: flex;
|
||||
font-size: 1.7rem;
|
||||
line-height: 2.3rem;
|
||||
pointer-events: none;
|
||||
margin-bottom: -0.4rem;
|
||||
}
|
||||
|
||||
.ci--action-menu .ci__details {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.ci__mark {
|
||||
background-color: #94EEE9;
|
||||
color: unset;
|
||||
}
|
||||
|
||||
.ci--action-menu .ci__mark {
|
||||
background: #333;
|
||||
color: #94eee9;
|
||||
}
|
||||
|
||||
.js-tel {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
/* FIXME Move to some kind of "building blocks" file? */
|
||||
.ellipsis {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Override BB styles for LTR */
|
||||
[role="dialog"][data-type="action"] > menu > button.contact-item {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* Override BB styles for RTL */
|
||||
html[dir="rtl"] [role="dialog"][data-type="action"] > menu > button.contact-item,
|
||||
html[dir="rtl"] .contact-item {
|
||||
text-align: right;
|
||||
}
|
||||
170
gaia/shared/style/contacts/contacts_buttons.css
Executable file
|
|
@ -0,0 +1,170 @@
|
|||
/* Hidden elements */
|
||||
.hide, [data-template] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
li .icon-call:before {
|
||||
background-image: url("/shared/style/contacts/images/call.png") !important;
|
||||
}
|
||||
|
||||
li button.icon-message:before {
|
||||
background-image: url("/shared/style/contacts/images/sms.png") !important;
|
||||
}
|
||||
|
||||
li button.send-sms {
|
||||
width: 0;
|
||||
}
|
||||
li button.icon-email:before {
|
||||
background-image: url("/shared/style/contacts/images/mail.png") !important;
|
||||
}
|
||||
|
||||
.has-preferred-sim .button.icon-call {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 1.2rem;
|
||||
}
|
||||
|
||||
.has-preferred-sim .button.icon-call b {
|
||||
position: unset;
|
||||
order: 1;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.has-preferred-sim .activity.icon-call:before {
|
||||
margin-top: 0;
|
||||
background-size: 3rem !important;
|
||||
position: unset;
|
||||
order: 2;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.call-action .js-sim-indication {
|
||||
display: none;
|
||||
font-size: 1.3rem;
|
||||
color: #5F5F5F;
|
||||
font-style: normal;
|
||||
line-height: 4rem;
|
||||
height: 4rem;
|
||||
text-align: end;
|
||||
margin: 0;
|
||||
background: url("/shared/elements/gaia_sim_picker/images/long-tap-indicator.png") no-repeat right bottom 0.2rem / 1.4rem 1rem;
|
||||
order: 3;
|
||||
}
|
||||
|
||||
.has-preferred-sim .call-action .js-sim-indication {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#sim-picker {
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
#contact-detail h2 {
|
||||
display: flex;
|
||||
margin: 0 1.5rem 0.2rem;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.8rem;
|
||||
color: #4997a7;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#contact-detail .carrier {
|
||||
font-size: 1.4rem;
|
||||
color: #5f5f5f;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/* LAYOUT */
|
||||
/* ITEM: The smallest complete structure; */
|
||||
.item {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#contact-detail .item {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.item-media {
|
||||
float: left;
|
||||
-moz-margin-end: 1rem;
|
||||
}
|
||||
|
||||
.item-media.pull-right {
|
||||
-moz-margin-start: 1rem;
|
||||
-moz-margin-end: 0;
|
||||
}
|
||||
|
||||
.item-media.pull-right .activity {
|
||||
-moz-padding-end: 3rem;
|
||||
}
|
||||
|
||||
.item-body {
|
||||
display: table;
|
||||
}
|
||||
|
||||
.item-body-exp {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
#contact-detail .item-body-exp {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
/* PULLS: Float an element to the desired position; */
|
||||
.pull-left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.pull-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
li .activity > b {
|
||||
font-weight: normal;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 1.5rem;
|
||||
right: 3rem;
|
||||
top: 1rem;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.remark {
|
||||
color: #339999 !important;
|
||||
}
|
||||
|
||||
.remark-missed {
|
||||
color: #CC0000 !important;
|
||||
}
|
||||
|
||||
/* RTL View */
|
||||
html[dir="rtl"] .call-action .js-sim-indication {
|
||||
background-position: left bottom 0.2rem;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .item-media {
|
||||
float: right;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .pull-left {
|
||||
float: right;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .pull-right {
|
||||
float: left;
|
||||
}
|
||||
|
||||
html[dir="rtl"] li .activity > b {
|
||||
left: 3rem;
|
||||
right: 1.5rem;
|
||||
}
|
||||
|
||||
html[dir="rtl"] li .icon-call {
|
||||
text-align: right;
|
||||
}
|
||||
BIN
gaia/shared/style/contacts/images/call.png
Executable file
|
After Width: | Height: | Size: 308 B |
BIN
gaia/shared/style/contacts/images/call@1.5x.png
Executable file
|
After Width: | Height: | Size: 462 B |
BIN
gaia/shared/style/contacts/images/call@2.25x.png
Executable file
|
After Width: | Height: | Size: 673 B |
BIN
gaia/shared/style/contacts/images/call@2x.png
Executable file
|
After Width: | Height: | Size: 589 B |
BIN
gaia/shared/style/contacts/images/mail.png
Executable file
|
After Width: | Height: | Size: 191 B |
BIN
gaia/shared/style/contacts/images/mail@1.5x.png
Executable file
|
After Width: | Height: | Size: 250 B |
BIN
gaia/shared/style/contacts/images/mail@2.25x.png
Executable file
|
After Width: | Height: | Size: 358 B |
BIN
gaia/shared/style/contacts/images/mail@2x.png
Executable file
|
After Width: | Height: | Size: 298 B |
BIN
gaia/shared/style/contacts/images/sms.png
Executable file
|
After Width: | Height: | Size: 332 B |
BIN
gaia/shared/style/contacts/images/sms@1.5x.png
Executable file
|
After Width: | Height: | Size: 453 B |
BIN
gaia/shared/style/contacts/images/sms@2.25x.png
Executable file
|
After Width: | Height: | Size: 635 B |
BIN
gaia/shared/style/contacts/images/sms@2x.png
Executable file
|
After Width: | Height: | Size: 584 B |