1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-07 06:40:54 +00:00
trezor-wallet/src/styles/summary.less

233 lines
4.7 KiB
Plaintext
Raw Normal View History

2018-02-20 09:30:36 +00:00
.summary {
h2 {
//padding: 35px 50px 0px 50px;
color: red;
}
.token-select {
width: 100%;
height: 34px;
font-family: @font-family-monospace;
.Select-control {
height: 34px;
border: 1px solid @color_divider;
}
.Select-input {
}
.Select-arrow-zone {
display: none;
}
}
.identicon {
display: inline-block;
vertical-align: middle;
position: relative;
top: -4px;
margin-right: 10px;
border-radius: 50%;
}
.summary-details {
position: relative;
padding: 35px 50px 0px 50px;
border-bottom: 1px solid @color_divider;
.content {
.column {
display: inline-block;
width: 25%;
padding-bottom: 30px;
.label {
color: #A9A9A9;
font-weight: 600;
}
.fiat-value {
font-weight: bold;
font-size: 1.2em;
margin: 7px 0 6px 0;
color: #494949;
}
}
}
.toggle {
display: block;
position: absolute;
left: 50%;
margin-left: -20px;
bottom: -20px;
width: 40px;
height: 40px;
//line-height: 30px;
background: @color_white;
color: #B3B3B3;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
border-radius: 50%;
cursor: pointer;
transition: all 0.2s ease-in-out;
&:hover {
background: #F2F2F2;
&:before {
color: #494949;
}
}
&:before {
.glyphicon-up;
color: #B3B3B3;
position: absolute;
left: 14px;
top: 16px;
transition: all 0.2s ease-in-out;
}
}
&.closed {
.content {
display: none;
}
.toggle {
&:before {
.glyphicon-down;
top: 18px;
}
}
}
}
.filter {
background: @color_main;
padding: 30px 48px 10px 48px;
// text-align: right;
// input {
// width: 300px;
// }
}
.add-token-form {
position: relative;
.toggle {
cursor: pointer;
padding: 15px 50px;
}
.content {
display: flex;
flex-direction: row;
padding: 15px 50px;
}
.column {
padding-right: 10px;
label {
display: block;
color: #A9A9A9;
font-weight: 600;
}
input {
&.token-address {
width: 230px;
}
&.token-name {
width: 160px;
}
&.token-shortcut {
width: 80px;
}
&.token-decimal {
width: 80px;
}
}
button {
}
}
&:after {
.glyphicon-up;
color: #B3B3B3;
position: absolute;
right: 50px;
top: 21px;
transition: all 0.2s ease-in-out;
}
&:hover {
&:after {
color: #494949;
}
}
&.closed {
&:after {
.glyphicon-down;
}
}
}
.token {
border-top: 1px solid @color_divider;
padding: 15px 50px;
display: flex;
flex-direction: row;
.icon {
width: 36px;
height: 36px;
//border: 8px solid white;
border-radius: 50%;
margin-right: 10px;
line-height: 30px;
text-transform: uppercase;
user-select: none;
text-align: center;
padding: 6px;
p {
line-height: 24px;
padding: 0px;
color: inherit;
}
}
.name {
flex: 1;
line-height: 30px;
}
.balance {
color: red;
line-height: 30px;
}
&:last-child {
// border-bottom: 1px solid @color_divider;
}
}
.token-select {
.Select-control {
cursor: text;
}
}
}