refactor(scss): remove all rules and clean main.scss, create shame.scss
This commit is contained in:
parent
05d4fc7dce
commit
1f953448e0
12 changed files with 491 additions and 588 deletions
|
|
@ -1,569 +1,8 @@
|
|||
.addressbook-input, .disabled-input {
|
||||
display: block;
|
||||
margin-bottom: 1.5rem;
|
||||
background-color: #E4E8EC;
|
||||
padding-left: 0.5rem;
|
||||
color: #2C3E50;
|
||||
font-size: 13px;
|
||||
height: 35px;
|
||||
padding-top: 7px;
|
||||
}
|
||||
|
||||
.alt-currency {
|
||||
padding: 0.05rem 0.2rem;
|
||||
border-radius: 2px;
|
||||
font-size: 10px;
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.sub-header {
|
||||
background: #F1f3F5;
|
||||
padding: 0.8rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.status {
|
||||
color: #FFFFFF;
|
||||
background-color: #A02F23;
|
||||
position: absolute;
|
||||
left: 250px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
padding: 10px 1rem 10px 0.5rem;
|
||||
z-index: 9;
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
.status-first-line {
|
||||
z-index: 9;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.box-notification {
|
||||
padding: 0.5rem;
|
||||
border: 1px solid;
|
||||
margin: 10px;
|
||||
a {
|
||||
color: #fff;
|
||||
}
|
||||
&.notice {
|
||||
border-color: #b2b2b2;
|
||||
background-color: #f8f8f8;
|
||||
color: #444;
|
||||
}
|
||||
&.warning {
|
||||
border-color: #e6b500;
|
||||
background-color: #ffc900;
|
||||
color: #fff;
|
||||
}
|
||||
&.error {
|
||||
background-color: #ef473a;
|
||||
border-color: #e42112;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
a.close-notification {
|
||||
position: absolute;
|
||||
top: -4px;
|
||||
right: 10px;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
ul.tx-copayers {
|
||||
background: #E4E8EC;
|
||||
padding: 0.3rem 0.8rem;
|
||||
margin-left: 0;
|
||||
box-shadow: inset 0 1px 1px 0 rgba(10, 19, 28, 0.12);
|
||||
border-radius: 0 0 3px 3px;
|
||||
}
|
||||
|
||||
.tx-copayers li {
|
||||
list-style: none;
|
||||
padding: 0.3rem;
|
||||
font-size: 12px;
|
||||
&.bottom-line-copayers {
|
||||
border-bottom: 1px solid #CAD2DA;
|
||||
}
|
||||
}
|
||||
|
||||
.last-transactions-content {
|
||||
background: #fff;
|
||||
padding: 0.8rem 1rem;
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #E4E8EC;
|
||||
}
|
||||
|
||||
.sign-action {
|
||||
background: #E4E8EC;
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.icon-circle-active {
|
||||
position: absolute;
|
||||
bottom: 2px;
|
||||
right: 2px;
|
||||
}
|
||||
|
||||
.icon-sign {
|
||||
padding: 0.2rem 0.3rem;
|
||||
border-radius: 100%;
|
||||
color: #fff;
|
||||
font-size: 10px;
|
||||
margin-top: 3px;
|
||||
&.check {
|
||||
background-color: #3FBC9C;
|
||||
}
|
||||
&.x {
|
||||
background-color: #C0392B;
|
||||
}
|
||||
}
|
||||
|
||||
.circle-icon {
|
||||
background: #fff;
|
||||
border-radius: 100%;
|
||||
padding: 1.5rem;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.date-message {
|
||||
background-color: #213140;
|
||||
border-radius: 3px;
|
||||
font-size: 12px;
|
||||
padding: 0.2rem 0.4rem;
|
||||
color: #7A8C9E;
|
||||
}
|
||||
|
||||
.input-note {
|
||||
margin-top: -10px;
|
||||
display: block;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.send-note {
|
||||
background-color: #F8F8FB;
|
||||
padding: 10px;
|
||||
span {
|
||||
margin-bottom: 5px;
|
||||
font-size: 12px;
|
||||
color: #2C3E50;
|
||||
}
|
||||
}
|
||||
|
||||
.manage a {
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
color: #4B6178;
|
||||
padding: 1.5rem 1rem;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
span {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
ul.manage li {
|
||||
border-bottom: 1px solid #f1f3f5;
|
||||
}
|
||||
|
||||
.manage a i.circle {
|
||||
background-color: #4B6178;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
padding: 0.65rem;
|
||||
border-radius: 100%;
|
||||
display: block;
|
||||
font-size: 30px;
|
||||
color: #fff;
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
&.plus-fixed {
|
||||
padding: 0.1rem 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
.name-wallet {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
padding-top: 0 !important;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
.release {
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
background-color: #E9E9EC;
|
||||
margin-top: -30px;
|
||||
margin-bottom: 5px;
|
||||
padding-top: 30px;
|
||||
padding-bottom: 20px;
|
||||
text-align: center;
|
||||
text-color: #444;
|
||||
span {
|
||||
margin-left: 15px;
|
||||
}
|
||||
i {
|
||||
margin-right: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.locked {
|
||||
font-size: 11px;
|
||||
color: #7A8C9E;
|
||||
}
|
||||
|
||||
.tx-proposal i {
|
||||
padding: .1rem .3rem;
|
||||
background-color: #A5B2BF;
|
||||
border-radius: 100%;
|
||||
color: #fff;
|
||||
&.active {
|
||||
background-color: #A02F23;
|
||||
}
|
||||
}
|
||||
|
||||
.header-modal {
|
||||
background: #fff;
|
||||
width: 100%;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ellipsis {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.wallet-selection.wallets {
|
||||
background-color: #213140;
|
||||
}
|
||||
|
||||
ul.wallet-selection.wallets {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.wallet-selection.wallets li {
|
||||
overflow: hidden;
|
||||
padding: 1rem;
|
||||
a {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.icon-wallet {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.walletHome .icon-wallet {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.secret {
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.session-expired {
|
||||
background: rgba(32, 48, 64, 0.9);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
color: #fff;
|
||||
z-index: 999;
|
||||
padding-top: 20%;
|
||||
text-align: center;
|
||||
padding-left: 10%;
|
||||
padding-right: 10%;
|
||||
}
|
||||
|
||||
.wallet-info {
|
||||
position: absolute;
|
||||
top: inherit;
|
||||
left: 10px;
|
||||
bottom: 15px;
|
||||
font-size: 20px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.camera-icon a {
|
||||
background: #4B6178;
|
||||
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
|
||||
color: #fff;
|
||||
display: block;
|
||||
position: absolute;
|
||||
padding: 15px 17px;
|
||||
border-radius: 100%;
|
||||
top: inherit;
|
||||
right: 15px;
|
||||
bottom: 2px;
|
||||
line-height: 12px;
|
||||
}
|
||||
|
||||
.send .camera-icon a {
|
||||
top: inherit;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.popup-txsent i {
|
||||
font-size: 5rem;
|
||||
color: #4A90E2;
|
||||
}
|
||||
|
||||
.popup-txsigned i, .popup-txrejected i {
|
||||
font-size: 5rem;
|
||||
color: #4A90E2;
|
||||
}
|
||||
|
||||
.scroll {
|
||||
padding-bottom: 35px;
|
||||
}
|
||||
|
||||
// History
|
||||
.updatingHistory {
|
||||
div {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
margin: auto;
|
||||
height: 2em;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
// POSTFIX
|
||||
|
||||
.postfix {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
background-color: #f8f8f8;
|
||||
color: #444;
|
||||
border-radius: 4px;
|
||||
padding: 2px 10px;
|
||||
cursor: pointer;
|
||||
label &{
|
||||
top: 38px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
}
|
||||
|
||||
// QR Code
|
||||
|
||||
#qr-canvas {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#qrcode-scanner-video {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
// INPUT CAMERA / VALID / INVALID ICONS
|
||||
.input-notification {
|
||||
float: right;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.qr-scan-icon a {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
right: 0;
|
||||
padding: 0 10px;
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
// General purpose
|
||||
.oh {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vm {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.vt {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.ma {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.tu {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.tl {
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
||||
.text-italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.text-light {
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
.text-bold {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.qr-icon {
|
||||
line-height: 45px;
|
||||
}
|
||||
|
||||
.add-icon {
|
||||
line-height: 33px;
|
||||
}
|
||||
|
||||
.no-border {
|
||||
border-style: none;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
input[type=file] {
|
||||
margin-top: 10px;
|
||||
margin-bottom: -10px;
|
||||
line-height: 0px;
|
||||
}
|
||||
|
||||
.text-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.text-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.input-label {
|
||||
max-width: none;
|
||||
width: inherit;
|
||||
}
|
||||
|
||||
.wallets {
|
||||
height: 110px;
|
||||
}
|
||||
|
||||
.bar .button.back-button {
|
||||
color: #444;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.bar .button.button-clear .icon:before {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
// No looks likes locked
|
||||
input[type="number"] {
|
||||
&[readonly] {
|
||||
background-color: #F6F7F9;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.tab-item {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
@media all and (max-height: 480px) {
|
||||
.calculator .button-calc .columns { padding: 10px; }
|
||||
.calculator .header-calc { top: 11%; }
|
||||
}
|
||||
|
||||
@media (min-height: 481px) and (max-height: 670px) {
|
||||
.calculator .button-calc .columns { padding: 15px; }
|
||||
.calculator .header-calc { top: 15%; }
|
||||
}
|
||||
|
||||
@media all and (min-height: 671px) {
|
||||
.calculator .button-calc .columns { padding: 20px; }
|
||||
.calculator .header-calc { top: 18%; }
|
||||
}
|
||||
|
||||
/* Turn Off Number Input Spinners */
|
||||
|
||||
input[type=number] {
|
||||
&::-webkit-inner-spin-button, &::-webkit-outer-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/** Gravatar **/
|
||||
|
||||
.gravatar {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.gravatar-content {
|
||||
position: relative;
|
||||
height: 70px;
|
||||
border-color: #172565;
|
||||
background-color: #1e3186;
|
||||
background-image: linear-gradient(0deg, #172565, #172565 0%, transparent 0%);
|
||||
color: #fff;
|
||||
margin-bottom: 50px;
|
||||
.gravatar {
|
||||
position: absolute;
|
||||
bottom: -30px;
|
||||
left: 41%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Spinner */
|
||||
|
||||
.item-icon-left ion-spinner {
|
||||
float: left;
|
||||
margin-left: -3.2em;
|
||||
margin-right: 1em;
|
||||
margin-top: -0.2em;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.disclaimer {
|
||||
.item, .item-content{
|
||||
overflow: auto;
|
||||
text-overflow: initial;
|
||||
white-space: initial;
|
||||
}
|
||||
}
|
||||
|
||||
@import "fonts";
|
||||
@import "ionic";
|
||||
@import "common";
|
||||
@import "forms";
|
||||
@import "mixins/mixins";
|
||||
@import "views/views";
|
||||
@import "directives/directives";
|
||||
@import "shame";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue