1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 14:15:06 +01:00
metamask-extension/ui/app/components/sender-to-recipient/index.scss

150 lines
2.9 KiB
SCSS
Raw Normal View History

2018-03-16 21:09:49 +01:00
.sender-to-recipient {
2018-12-09 21:48:06 +01:00
width: 100%;
display: flex;
flex-direction: row;
justify-content: center;
position: relative;
flex: 0 0 auto;
&--default {
2018-03-16 21:09:49 +01:00
border-bottom: 1px solid $geyser;
height: 42px;
.sender-to-recipient {
&__tooltip-wrapper {
min-width: 0;
}
&__tooltip-container {
max-width: 100%;
}
2018-03-16 21:09:49 +01:00
&__party {
display: flex;
flex-direction: row;
align-items: center;
flex: 1;
padding: 0 16px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2018-03-16 21:09:49 +01:00
&--sender {
padding-right: 30px;
cursor: pointer;
}
&--recipient {
padding-left: 30px;
border-left: 1px solid $geyser;
&-with-address {
cursor: pointer;
}
}
}
2018-03-16 21:09:49 +01:00
&__arrow-container {
position: absolute;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
&__arrow-circle {
background: $white;
padding: 5px;
border: 1px solid $geyser;
border-radius: 20px;
height: 32px;
width: 32px;
display: flex;
justify-content: center;
align-items: center;
}
&__name {
padding-left: 14px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: .875rem;
}
}
2018-03-16 21:09:49 +01:00
}
&--cards {
.sender-to-recipient {
&__party {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex: 1;
border-radius: 4px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
padding: 6px;
background: $white;
cursor: pointer;
min-width: 0;
color: $dusty-gray;
}
&__tooltip-wrapper {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2018-03-16 21:09:49 +01:00
&__name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: .5rem;
}
&__arrow-container {
display: flex;
justify-content: center;
align-items: center;
}
}
2018-03-16 21:09:49 +01:00
}
2018-12-09 21:48:06 +01:00
&--flat {
.sender-to-recipient {
&__party {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex: 1;
padding: 6px;
cursor: pointer;
min-width: 0;
color: $dusty-gray;
}
&__tooltip-wrapper {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
&__name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: .6875rem;
}
&__arrow-container {
display: flex;
justify-content: center;
align-items: center;
}
}
}
2018-03-16 21:09:49 +01:00
}