Adds address component

This commit is contained in:
Sam Cheng Hung 2018-07-19 20:21:58 +08:00
commit 22e93b823c
5 changed files with 74 additions and 8 deletions

View file

@ -0,0 +1,27 @@
.address {
background-color: #F8F8F8;
border: 0.5px solid #EDEBEB;
border-radius: 3px;
padding: 9px;
text-align: center;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
&.expanded {
white-space: pre-wrap;
word-break: break-all;
}
.prefix {
color: #000000;
}
.mid {
color: #919191;
}
.suffix {
color: #000000;
}
}

View file

@ -2,3 +2,4 @@
@import "content-frame";
@import "item";
@import "ion-content";
@import "address";

View file

@ -11,7 +11,7 @@
}
.item-content {
&.item-content-compact {
&.item-content-avatar {
min-height: 69px;
padding: 13px 11px 13px 68px;
@ -32,8 +32,17 @@
}
}
&.item-content-compact {
min-height: 0;
padding: 13px 11px;
}
.highlight {
color: #FAB915;
color: #FAB915
}
+ .item-content {
padding-top: 0;
}
}
}