1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 16:18:07 +01:00
metamask-extension/ui/app/css/itcss/components/sections.scss

433 lines
6.5 KiB
SCSS
Raw Normal View History

2017-08-14 10:31:27 +02:00
// Old scss, do not lint - clean up later
/* stylelint-disable */
2017-08-06 22:24:06 +02:00
/*
App Sections
TODO: Move into separate files.
*/
/* initialize */
textarea.twelve-word-phrase {
padding: 12px;
width: 300px;
height: 140px;
font-size: 16px;
2017-08-14 10:31:27 +02:00
background: $white;
2017-08-06 22:24:06 +02:00
resize: none;
}
.initialize-screen {
width: 100%;
z-index: $main-container-z-index;
background: #f7f7f7;
}
2017-08-06 22:24:06 +02:00
.initialize-screen hr {
width: 60px;
margin: 12px;
2017-08-14 10:31:27 +02:00
border-color: #f7861c;
2017-08-06 22:24:06 +02:00
border-style: solid;
}
.initialize-screen label {
margin-top: 20px;
}
.initialize-screen button.create-vault {
margin-top: 40px;
}
.initialize-screen .warning {
font-size: 14px;
margin: 0 16px;
}
/* unlock */
.error {
color: #f7861c;
margin-bottom: 9px;
2017-08-06 22:24:06 +02:00
}
.warning {
2017-08-14 10:31:27 +02:00
color: #ffae00;
2017-08-06 22:24:06 +02:00
}
.lock {
width: 50px;
height: 50px;
}
.lock.locked {
transform: scale(1.5);
2017-08-14 10:31:27 +02:00
opacity: 0;
2017-08-06 22:24:06 +02:00
transition: opacity 400ms ease-in, transform 400ms ease-in;
}
2017-08-06 22:24:06 +02:00
.lock.unlocked {
transform: scale(1);
opacity: 1;
transition: opacity 500ms ease-out, transform 500ms ease-out, background 200ms ease-in;
}
.lock.locked .lock-top {
transform: scaleX(1) translateX(0);
transition: transform 250ms ease-in;
}
2017-08-06 22:24:06 +02:00
.lock.unlocked .lock-top {
transform: scaleX(-1) translateX(-12px);
transition: transform 250ms ease-in;
}
2017-08-06 22:24:06 +02:00
.lock.unlocked:hover {
border-radius: 4px;
background: #e5e5e5;
border: 1px solid #b1b1b1;
}
2017-08-06 22:24:06 +02:00
.lock.unlocked:active {
background: #c3c3c3;
}
.section-title .fa-arrow-left {
margin: -2px 8px 0px -8px;
}
2017-08-14 10:31:27 +02:00
.sizing-input {
2017-08-06 22:24:06 +02:00
font-size: 14px;
height: 30px;
padding-left: 5px;
}
2017-08-14 10:31:27 +02:00
.editable-label {
2017-08-06 22:24:06 +02:00
display: flex;
}
2017-08-06 22:24:06 +02:00
/* accounts */
.accounts-section {
margin: 0 0px;
}
.accounts-section .horizontal-line {
2017-08-14 10:31:27 +02:00
margin: 0 18px;
2017-08-06 22:24:06 +02:00
}
.accounts-list-option {
height: 120px;
}
.accounts-list-option .identicon-wrapper {
width: 100px;
}
.unconftx-link {
margin-top: 24px;
cursor: pointer;
}
.unconftx-link .fa-arrow-right {
2017-08-14 10:31:27 +02:00
margin: 0 -8px 0px 8px;
2017-08-06 22:24:06 +02:00
}
/* identity panel */
.identity-panel {
font-weight: 500;
}
.identity-panel .identicon-wrapper {
margin: 4px;
margin-top: 8px;
display: flex;
align-items: center;
}
.identity-panel .identicon-wrapper span {
margin: 0 auto;
}
.identity-panel .identity-data {
margin: 8px 8px 8px 18px;
}
.identity-panel i {
margin-top: 32px;
margin-right: 6px;
2017-08-14 10:31:27 +02:00
color: #b9b9b9;
2017-08-06 22:24:06 +02:00
}
.identity-panel .arrow-right {
padding-left: 18px;
width: 42px;
min-width: 18px;
height: 100%;
}
.identity-copy.flex-column {
2017-08-14 10:31:27 +02:00
flex: .25 0 auto;
2017-08-06 22:24:06 +02:00
justify-content: center;
}
/* accounts screen */
.identity-section {
}
.identity-section .identity-panel {
2017-08-14 10:31:27 +02:00
background: #e9e9e9;
border-bottom: 1px solid #b1b1b1;
2017-08-06 22:24:06 +02:00
cursor: pointer;
}
.identity-section .identity-panel.selected {
2017-08-14 10:31:27 +02:00
background: $white;
color: #f3c83e;
2017-08-06 22:24:06 +02:00
}
.identity-section .identity-panel.selected .identicon {
2017-08-14 10:31:27 +02:00
border-color: $orange;
2017-08-06 22:24:06 +02:00
}
.identity-section .accounts-list-option:hover,
.identity-section .accounts-list-option.selected {
2017-08-14 10:31:27 +02:00
background: $white;
2017-08-06 22:24:06 +02:00
}
/* account detail screen */
.account-detail-section {
display: flex;
flex-wrap: wrap;
overflow-y: auto;
flex-direction: inherit;
}
.grow-tenx {
flex-grow: 10;
}
2017-08-14 10:31:27 +02:00
.name-label {
2017-08-06 22:24:06 +02:00
}
.unapproved-tx-icon {
height: 16px;
width: 16px;
background: rgb(47, 174, 244);
2017-08-14 10:31:27 +02:00
border-color: $silver-chalice;
2017-08-06 22:24:06 +02:00
border-radius: 13px;
}
.edit-text {
height: 100%;
visibility: hidden;
}
.editing-label {
display: flex;
justify-content: flex-start;
margin-left: 50px;
margin-bottom: 2px;
font-size: 11px;
text-rendering: geometricPrecision;
2017-08-14 10:31:27 +02:00
color: #f7861c;
2017-08-06 22:24:06 +02:00
}
.name-label:hover .edit-text {
visibility: visible;
}
/* tx confirm */
.unconftx-section input[type=password] {
height: 22px;
padding: 2px;
margin: 12px;
margin-bottom: 24px;
border-radius: 4px;
2017-08-14 10:31:27 +02:00
border: 2px solid #f3c83e;
background: #faf6f0;
2017-08-06 22:24:06 +02:00
}
/* Info screen */
2017-08-14 10:31:27 +02:00
.info-gray {
2017-10-13 00:46:09 +02:00
font-family: Roboto;
2017-08-06 22:24:06 +02:00
text-transform: uppercase;
2017-08-14 10:31:27 +02:00
color: $silver-chalice;
2017-08-06 22:24:06 +02:00
}
2017-08-14 10:31:27 +02:00
.icon-size {
2017-08-06 22:24:06 +02:00
width: 20px;
}
2017-08-14 10:31:27 +02:00
.info {
2017-10-13 00:46:09 +02:00
font-family: Roboto, Arial;
2017-08-06 22:24:06 +02:00
padding-bottom: 10px;
display: inline-block;
padding-left: 5px;
}
/* buy eth warning screen */
.custom-radios {
justify-content: space-around;
align-items: center;
}
.custom-radio-selected {
width: 17px;
height: 17px;
border: solid;
border-style: double;
border-radius: 15px;
border-width: 5px;
background: rgba(247, 134, 28, 1);
2017-08-14 10:31:27 +02:00
border-color: #f7f7f7;
2017-08-06 22:24:06 +02:00
}
.custom-radio-inactive {
width: 14px;
height: 14px;
border: solid;
border-width: 1px;
border-radius: 24px;
2017-08-14 10:31:27 +02:00
border-color: $silver-chalice;
2017-08-06 22:24:06 +02:00
}
.radio-titles {
color: rgba(247, 134, 28, 1);
}
2017-08-14 10:31:27 +02:00
.eth-warning {
2017-08-06 22:24:06 +02:00
transition: opacity 400ms ease-in, transform 400ms ease-in;
}
2017-08-14 10:31:27 +02:00
.buy-subview {
2017-08-06 22:24:06 +02:00
transition: opacity 400ms ease-in, transform 400ms ease-in;
}
2017-08-14 10:31:27 +02:00
.input-container:hover .edit-text {
2017-08-06 22:24:06 +02:00
visibility: visible;
}
2017-08-14 10:31:27 +02:00
.buy-inputs {
2017-10-13 00:46:09 +02:00
font-family: Roboto;
2017-08-06 22:24:06 +02:00
font-size: 13px;
height: 20px;
background: transparent;
box-sizing: border-box;
border: solid;
border-color: transparent;
2017-08-14 10:31:27 +02:00
border-width: .5px;
2017-08-06 22:24:06 +02:00
border-radius: 2px;
}
2017-08-14 10:31:27 +02:00
.input-container:hover .buy-inputs {
2017-08-06 22:24:06 +02:00
box-sizing: inherit;
border: solid;
2017-08-14 10:31:27 +02:00
border-color: #f7861c;
border-width: .5px;
2017-08-06 22:24:06 +02:00
border-radius: 2px;
}
2017-08-14 10:31:27 +02:00
.buy-inputs:focus {
2017-08-06 22:24:06 +02:00
border: solid;
2017-08-14 10:31:27 +02:00
border-color: #f7861c;
border-width: .5px;
2017-08-06 22:24:06 +02:00
border-radius: 2px;
}
.activeForm {
2017-08-14 10:31:27 +02:00
background: #f7f7f7;
2017-08-06 22:24:06 +02:00
border: none;
border-radius: 8px 8px 0px 0px;
width: 50%;
text-align: center;
padding-bottom: 4px;
}
.inactiveForm {
border: none;
border-radius: 8px 8px 0px 0px;
width: 50%;
text-align: center;
padding-bottom: 4px;
}
.ex-coins {
2017-10-13 00:46:09 +02:00
font-family: Roboto;
2017-08-06 22:24:06 +02:00
text-transform: uppercase;
text-align: center;
font-size: 33px;
width: 118px;
height: 42px;
padding: 1px;
2017-08-14 10:31:27 +02:00
color: #4d4d4d;
2017-08-06 22:24:06 +02:00
}
2017-08-14 10:31:27 +02:00
.marketinfo {
2017-10-13 00:46:09 +02:00
font-family: Roboto;
2017-08-14 10:31:27 +02:00
color: $silver-chalice;
2017-08-06 22:24:06 +02:00
font-size: 15px;
line-height: 17px;
}
#fromCoin::-webkit-calendar-picker-indicator {
display: none;
}
#coinList {
width: 400px;
height: 500px;
overflow: scroll;
}
.icon-control .fa-sync {
2017-08-06 22:24:06 +02:00
visibility: hidden;
}
.icon-control:hover .fa-sync {
2017-08-06 22:24:06 +02:00
visibility: visible;
}
2017-08-14 10:31:27 +02:00
.icon-control:hover .fa-chevron-right {
2017-08-06 22:24:06 +02:00
visibility: hidden;
}
.inactive {
2017-08-14 10:31:27 +02:00
color: $silver-chalice;
2017-08-06 22:24:06 +02:00
}
2017-08-14 10:31:27 +02:00
.inactive button {
background: $silver-chalice;
color: $white;
2017-08-06 22:24:06 +02:00
}
2017-09-20 10:06:31 +02:00
.qr-ellip-address, .ellip-address {
/*rtl:ignore*/
direction: ltr;
2017-08-06 22:24:06 +02:00
overflow: hidden;
text-overflow: ellipsis;
}
.qr-header {
2017-08-14 10:31:27 +02:00
font-size: 25px;
margin-top: 40px;
2017-08-06 22:24:06 +02:00
}
.qr-message {
font-size: 12px;
2017-08-14 10:31:27 +02:00
color: #f7861c;
2017-08-06 22:24:06 +02:00
}
div.message-container > div:first-child {
margin-top: 18px;
font-size: 15px;
2017-08-14 10:31:27 +02:00
color: #4d4d4d;
2017-08-06 22:24:06 +02:00
}
.pop-hover:hover {
transform: scale(1.1);
2016-08-19 00:20:26 +02:00
}
2017-08-14 10:31:27 +02:00
/* stylelint-enable */