You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
276 lines
4.1 KiB
276 lines
4.1 KiB
5 years ago
|
.address-book-wrapper {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.address-book {
|
||
4 years ago
|
flex: 0.4 1 100%;
|
||
5 years ago
|
|
||
|
@media screen and (max-width: 576px) {
|
||
|
flex: 1;
|
||
|
max-width: 100%;
|
||
4 years ago
|
|
||
|
&__container {
|
||
|
min-height: 100%;
|
||
|
}
|
||
5 years ago
|
}
|
||
|
|
||
|
&__entry {
|
||
|
display: flex;
|
||
|
flex-flow: row nowrap;
|
||
|
padding: 16px 14px;
|
||
|
flex: 0 0 auto;
|
||
|
border-bottom: 1px solid #dedede;
|
||
|
|
||
|
&:hover {
|
||
4 years ago
|
border: 1px solid $primary-blue;
|
||
5 years ago
|
cursor: pointer;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__name {
|
||
|
padding: 3px;
|
||
|
}
|
||
|
|
||
4 years ago
|
&__header,
|
||
|
&__header--edit {
|
||
5 years ago
|
&__name {
|
||
4 years ago
|
@include H3;
|
||
|
|
||
5 years ago
|
margin-left: 24px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__header--edit {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
|
||
|
.button {
|
||
4 years ago
|
@include H6;
|
||
|
|
||
5 years ago
|
justify-content: flex-end;
|
||
4 years ago
|
color: $accent-red;
|
||
5 years ago
|
}
|
||
|
}
|
||
|
|
||
4 years ago
|
&__container {
|
||
|
margin: 0 auto;
|
||
|
min-height: 70%;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
&__title {
|
||
|
@include H4;
|
||
|
|
||
|
font-weight: 600;
|
||
|
margin-bottom: 0.5em;
|
||
|
}
|
||
|
|
||
|
&__sub-title {
|
||
|
font-size: small;
|
||
|
margin-bottom: 0.5em;
|
||
|
}
|
||
|
|
||
|
&__link {
|
||
|
background-color: #fff;
|
||
|
color: #037dd6;
|
||
|
}
|
||
|
|
||
5 years ago
|
&__input {
|
||
4 years ago
|
@include H4;
|
||
|
|
||
4 years ago
|
border: 1px solid $Grey-200;
|
||
4 years ago
|
border-radius: 6px;
|
||
|
color: $Grey-800;
|
||
|
padding: 0.875rem 1rem;
|
||
|
|
||
|
&:focus-within {
|
||
|
border-color: $Blue-500;
|
||
|
}
|
||
4 years ago
|
|
||
|
margin-top: 0.25rem;
|
||
5 years ago
|
|
||
|
&--address {
|
||
4 years ago
|
@include H6;
|
||
5 years ago
|
}
|
||
|
}
|
||
|
|
||
|
&__view-contact {
|
||
|
&__text-area-wrapper {
|
||
|
height: 96px !important;
|
||
|
}
|
||
|
|
||
|
&__text-area {
|
||
|
line-height: initial !important;
|
||
|
}
|
||
|
|
||
|
&__group {
|
||
|
display: flex;
|
||
|
flex-flow: column nowrap;
|
||
|
padding: 1.5rem 1.5rem 0 1.5rem;
|
||
|
|
||
4 years ago
|
&__label,
|
||
|
&__label--capitalized {
|
||
4 years ago
|
@include H7;
|
||
|
|
||
5 years ago
|
color: $Grey-500;
|
||
4 years ago
|
margin-bottom: 0.25rem;
|
||
5 years ago
|
}
|
||
|
|
||
|
&__label--capitalized {
|
||
|
text-transform: capitalize;
|
||
|
}
|
||
|
|
||
4 years ago
|
&__value,
|
||
|
&__static-address {
|
||
4 years ago
|
@include H4;
|
||
|
|
||
5 years ago
|
display: flex;
|
||
|
flex-flow: row nowrap;
|
||
|
color: $Grey-800;
|
||
|
word-break: break-word;
|
||
|
|
||
|
&--address {
|
||
4 years ago
|
@include H6;
|
||
5 years ago
|
}
|
||
|
|
||
|
&--copy-icon {
|
||
5 years ago
|
display: inline-block;
|
||
|
width: 20px;
|
||
5 years ago
|
height: 20px;
|
||
5 years ago
|
padding: 0;
|
||
|
background: none;
|
||
4 years ago
|
padding-left: 0;
|
||
|
margin-left: 10px;
|
||
5 years ago
|
}
|
||
|
}
|
||
|
|
||
|
&__static-address {
|
||
4 years ago
|
@include H6;
|
||
4 years ago
|
|
||
5 years ago
|
&--copy-icon {
|
||
|
cursor: pointer;
|
||
|
|
||
|
&:hover {
|
||
|
color: black;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.unit-input__input {
|
||
|
max-width: 100%;
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__edit-contact {
|
||
|
display: flex;
|
||
|
flex-flow: column nowrap;
|
||
|
padding-bottom: 0 !important;
|
||
|
height: 100%;
|
||
|
|
||
|
&__content {
|
||
|
flex: 1 1 auto;
|
||
|
|
||
|
> div {
|
||
|
padding-top: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.page-container__footer {
|
||
|
border-top: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__add-contact {
|
||
|
display: flex;
|
||
|
flex-flow: column nowrap;
|
||
|
padding-bottom: 0 !important;
|
||
|
height: 100%;
|
||
|
|
||
|
&__content {
|
||
|
flex: 1 1 auto;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
&__error {
|
||
4 years ago
|
@include H7;
|
||
|
|
||
5 years ago
|
left: 8px;
|
||
|
color: $red;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&__my-accounts-button {
|
||
|
display: flex;
|
||
|
flex-flow: column;
|
||
|
cursor: pointer;
|
||
|
padding: 15px;
|
||
|
|
||
|
&:hover {
|
||
|
background-color: rgba(222, 222, 222, 0.2);
|
||
|
}
|
||
|
|
||
|
&__header {
|
||
4 years ago
|
@include H4;
|
||
|
|
||
4 years ago
|
color: #000;
|
||
5 years ago
|
}
|
||
|
|
||
|
&__content {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
|
||
|
&__text {
|
||
4 years ago
|
@include Paragraph;
|
||
|
|
||
4 years ago
|
color: #6a737d;
|
||
5 years ago
|
}
|
||
|
|
||
|
&__caret {
|
||
|
display: block;
|
||
|
background-image: url(/images/caret-right.svg);
|
||
|
width: 30px;
|
||
4 years ago
|
opacity: 0.5;
|
||
5 years ago
|
background-repeat: no-repeat;
|
||
5 years ago
|
|
||
|
[dir='rtl'] & {
|
||
|
transform: rotate(180deg);
|
||
|
}
|
||
5 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.address-book-add-button {
|
||
|
&__button {
|
||
|
position: absolute;
|
||
4 years ago
|
top: 85px;
|
||
5 years ago
|
right: 16px;
|
||
4 years ago
|
width: auto;
|
||
|
border-radius: 100px;
|
||
4 years ago
|
|
||
|
@media screen and (max-width: 576px) {
|
||
4 years ago
|
top: 16px;
|
||
|
right: 60px;
|
||
4 years ago
|
}
|
||
5 years ago
|
}
|
||
|
}
|
||
|
|
||
|
.address-book--hidden {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.address-book-contact-content {
|
||
4 years ago
|
flex: 0.4 1 100%;
|
||
5 years ago
|
|
||
|
@media screen and (max-width: 576px) {
|
||
4 years ago
|
flex: 1;
|
||
5 years ago
|
}
|
||
|
}
|