Skip to content

Instantly share code, notes, and snippets.

@principalweb
Created January 30, 2019 18:21
Show Gist options
  • Save principalweb/22e465a822e7252c58d00bafe4e5bc96 to your computer and use it in GitHub Desktop.
Save principalweb/22e465a822e7252c58d00bafe4e5bc96 to your computer and use it in GitHub Desktop.
.incentive-header {
margin: 10px;
background-color: #35404d;
color: white;
display: flex;
align-items: center;
padding: 10px 20px;
border-radius: 5px;
.incentive-title {
font-size: 21px;
flex: 1;
text-align: center;
}
.back {
button {
color: #c0c6ce;
background-color: #505f71;
}
}
.date-range {
button {
color: #c0c6ce;
background-color: #505f71;
}
.range {
margin: 0 20px;
font-size: 14px;
}
}
}
.incentive-statistics {
margin: 10px;
background-color: #f1f2f7;
border-radius: 5px;
display: flex;
color: #35404d;
font-size: 16px;
font-family: SourceSansPro-Semibold;
> div {
margin: 10px;
padding: 15px 20px;
background: white;
border-radius: 5px;
display: flex;
flex-direction: column;
}
.current-earnings {
flex: 3;
.price {
margin: 10px 0 30px;
font-size: 44px;
color: #2bc991;
}
.selling-days-text {
margin: 5px 0;
font-size: 26px;
color: #176ccc;
}
}
.fixed-payout-metrics {
flex: 4;
}
.charts {
display: flex;
flex: 1;
> div {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
.price {
font-size: 30px;
line-height: 1.5;
}
}
}
.payper-metrics {
flex: 5;
}
.text {
display: flex;
align-items: center;
label {
border-radius: 5px;
background-color: #35404d;
padding: 5px 0;
color: white;
font-size: 11px;
width: 70px;
text-align: center;
margin-left: auto;
&.payper {
background: #2680ff;
}
}
}
}
.payments-table {
.payments-table-header {
background-color: #f1f2f7;
border-radius: 5px;
margin: 20px 12px;
font-weight: bold;
}
.table-row {
display: flex;
min-height: 56px;
> div {
flex: 2;
padding: 12px 20px;
display: flex;
flex-direction: column;
justify-content: center;
&.payout-type {
width: 120px;
flex: none;
}
&.name {
flex: 4;
}
&.payment-progress {
flex: 5
}
}
}
.payments-table-body {
padding: 0 12px;
.table-row {
min-height: 90px;
border-bottom: 1px solid #c0c6ce;
.payout-type {
span {
border-radius: 5px;
background-color: #35404d;
padding: 5px 0;
color: white;
font-size: 11px;
width: 70px;
text-align: center;
&.type-payper {
background-color: #2680ff;
}
}
}
.name {
flex: 4;
font-size: 14px;
font-family: SourceSansPro-Semibold;
}
.current-payout {
font-size: 20px;
font-family: SourceSansPro-Semibold;
}
&:nth-child(even) {
background-color: #f8f7fb;
}
.payment-progress {
border-right: 1px solid #c0c6ce;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment