Ghost/ghost/admin/app/styles/layouts/dashboard.css

1002 lines
19 KiB
CSS
Raw Normal View History

2021-02-17 14:11:01 +03:00
:root {
--dashboard-gap: 1.8vw;
}
2021-02-16 20:12:24 +03:00
.gh-dashboard {
display: grid;
2021-02-17 14:11:01 +03:00
grid-template-columns: 2fr 1fr;
grid-gap: var(--dashboard-gap);
2021-02-16 20:12:24 +03:00
}
.gh-dashboard-area {
display: flex;
flex-direction: column;
}
.gh-dashboard-header {
2021-02-22 22:11:19 +03:00
display: flex;
align-items: center;
2021-02-16 20:12:24 +03:00
font-size: 1.1rem;
text-transform: uppercase;
font-weight: 500;
letter-spacing: .2px;
2021-02-17 18:46:12 +03:00
margin: -4px 0 4px;
2021-02-16 20:12:24 +03:00
padding: 0;
color: var(--black);
}
2021-02-22 22:11:19 +03:00
.gh-dashboard-header svg {
width: 12px;
height: 12px;
margin-left: 8px;
}
2021-02-17 12:13:11 +03:00
.gh-dashboard-header.secondary {
color: var(--midgrey);
}
2021-02-16 20:12:24 +03:00
.gh-dashboard-summary.small .gh-dashboard-header {
margin-bottom: 6px;
}
2021-02-17 14:11:01 +03:00
.gh-dashboard-list {
display: flex;
flex-direction: column;
flex-grow: 1;
align-items: stretch;
justify-content: flex-start;
}
.gh-dashboard-container {
display: grid;
grid-template-columns: 1fr;
width: 100%;
}
.gh-dashboard-container.col-2 {
grid-template-columns: 1fr 1fr;
2021-02-18 14:27:29 +03:00
grid-gap: var(--dashboard-gap);
2021-02-17 14:11:01 +03:00
}
/* Generic box containers */
.gh-dashboard-box {
display: flex;
flex-direction: column;
justify-content: space-between;
border: 1px solid var(--whitegrey);
border-radius: 3px;
2021-02-24 21:09:19 +03:00
padding: 28px;
2021-02-18 14:27:29 +03:00
margin-bottom: var(--dashboard-gap);
2021-02-17 14:11:01 +03:00
}
.gh-dashboard-box .content {
color: var(--darkgrey);
}
2021-02-24 18:59:01 +03:00
.gh-dashboard-box .content h2 {
font-size: 1.65rem;
2021-02-17 14:11:01 +03:00
font-weight: 600;
2021-02-18 14:44:39 +03:00
line-height: 1.4em;
2021-02-17 14:11:01 +03:00
margin-bottom: 8px;
color: var(--black);
}
2021-02-18 14:44:39 +03:00
.gh-dashboard-box .content h3 {
font-size: 1.9rem;
font-weight: 600;
line-height: 1.4em;
margin-bottom: 6px;
color: var(--black);
}
2021-02-17 14:11:01 +03:00
.gh-dashboard-box .content p {
margin-bottom: 12px;
}
.gh-dashboard-box .footer {
display: flex;
align-items: center;
flex-wrap: wrap;
2021-02-17 14:11:01 +03:00
}
2021-02-18 14:44:39 +03:00
.gh-dashboard-box.grey {
background: var(--main-color-content-greybg);
border: none;
}
.gh-dashboard-box.black {
background: var(--black);
border: none;
color: var(--white);
}
.gh-dashboard-box.black .content h4 {
color: var(--white);
}
.gh-dashboard-box.black .content p {
color: var(--whitegrey);
}
.gh-dashboard-box.green {
background: color-mod(var(--green) a(4%));
border-color: color-mod(var(--green) a(60%));
}
2021-02-17 14:11:01 +03:00
/* Main areas in grid */
.gh-dashboard-area.charts {
grid-column: 1 / 3;
}
.gh-dashboard-area.members-activity {
grid-column: 2 / 3;
}
.gh-dashboard-area.mixed {
grid-column: 1 / 2;
border: none;
border-radius: unset;
padding: 0;
align-items: stretch;
justify-content: flex-start;
}
2021-02-24 21:09:19 +03:00
.gh-dashboard-area.lw-banner {
grid-column: 1 / 3;
}
/* Launch Wizard Banner */
.gh-lw-banner {
2021-02-25 12:57:46 +03:00
position: relative;
2021-02-24 21:09:19 +03:00
border-radius: 3px;
background: #15171A;
padding: 28px;
color: #fff;
background-repeat: no-repeat;
background-position: right bottom;
background-size: 35vw;
}
.gh-lw-banner h1 {
font-size: 2.5rem;
letter-spacing: -0.1px;
color: #fff;
}
.gh-lw-banner p {
font-size: 1.5rem;
color: #C5D2D9;
max-width: 480px;
}
.gh-dashboard-box.blogpost {
2021-03-10 21:23:06 +03:00
padding: 0;
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 32px;
2021-02-24 21:09:19 +03:00
align-items: center;
2021-03-10 22:12:21 +03:00
overflow: hidden;
2021-02-24 21:09:19 +03:00
}
2021-03-10 21:23:06 +03:00
.gh-dashboard-box.blogpost .content {
padding: 32px 28px 32px 32px;
display: flex;
flex-direction: column;
2021-02-24 21:09:19 +03:00
}
.gh-dashboard-box.blogpost p {
margin-bottom: 8px;
}
2021-03-10 21:23:06 +03:00
.gh-dashboard-box.blogpost .thumbnail {
width: 100%;
height: 100%;
background-size: cover;
}
.gh-dashboard-box.thebrowser .thumbnail {
background-position: top right;
}
.gh-dashboard-box .content a {
color: var(--green);
}
2021-03-10 22:12:21 +03:00
.gh-dashboard-box .content h2 a {
color: var(--black);
}
2021-03-10 21:23:06 +03:00
.gh-dashboard-box .content a:hover {
color: var(--green-d2);
2021-02-24 21:09:19 +03:00
}
2021-03-10 22:12:21 +03:00
.gh-dashboard-box .content .read-time {
2021-03-10 22:49:23 +03:00
font-size: 1.2rem;
2021-03-10 22:12:21 +03:00
color: var(--midgrey);
}
2021-03-10 23:39:06 +03:00
.gh-dashboard-container.crunched .gh-dashboard-box{
padding: 28px;
}
.gh-dashboard-container.crunched .chart {
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 28px 16px 28px 32px;
height: 100%;
}
.gh-dashboard-container.crunched .chart .bar {
width: 100%;
height: 8px;
border-radius: 999px;
background: var(--lightgrey);
}
.gh-dashboard-container.crunched .chart .bar.green {
background: var(--green);
}
.gh-dashboard-container.start-contents .gh-dashboard-box {
grid-row-gap: 0;
}
.gh-dashboard-container.start-contents .gh-dashboard-box h2 {
grid-column: 1 / 3;
border-bottom: 1px solid var(--whitegrey);
padding: 16px 28px;
font-size: 1.65rem;
font-weight: 600;
line-height: 1.4em;
}
.gh-dashboard-container.start-contents .gh-dashboard-box a {
display: flex;
padding: 16px 28px;
color: var(--black);
}
.gh-dashboard-container.start-contents .gh-dashboard-box a .icon {
display: flex;
align-items: center;
justify-content: center;
width: 38px;
min-width: 38px;
height: 38px;
margin-right: 14px;
background: var(--pink);
border-radius: 4px;
color: #fff;
}
.gh-dashboard-container.start-contents .gh-dashboard-box a .icon svg {
width: 18px;
height: 18px;
}
.gh-dashboard-container.start-contents .gh-dashboard-box a .icon.green {
background: var(--green);
}
.gh-dashboard-container.start-contents .gh-dashboard-box a h4 {
font-size: 1.5rem;
margin-bottom: 4px;
font-weight: 500;
}
.gh-dashboard-container.start-contents .gh-dashboard-box a p {
font-size: 1.3rem;
}
2021-02-17 14:11:01 +03:00
/* Charts */
.gh-dashboard-area.charts {
display: grid;
grid-template-columns: 2fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
border: 1px solid var(--whitegrey);
border-radius: 3px;
grid-column-gap: var(--dashboard-gap);
2021-02-22 22:11:19 +03:00
grid-row-gap: 12px;
2021-02-19 18:17:49 +03:00
align-items: stretch;
2021-02-22 22:43:22 +03:00
padding: 16px 0 20px;
2021-02-17 14:11:01 +03:00
}
.gh-dashboard-area.charts .gh-dashboard-box {
border: none;
border-radius: 0;
2021-02-24 21:09:19 +03:00
padding: 16px 0 0 28px;
2021-02-17 14:11:01 +03:00
margin: 0;
}
.gh-dashboard-area.charts .gh-dashboard-header {
2021-02-22 22:43:22 +03:00
margin: 3px 0 4px;
2021-02-17 14:11:01 +03:00
}
2021-02-22 22:11:19 +03:00
.gh-dashboard-chart-container {
display: flex;
align-items: flex-start;
justify-content: space-between;
}
2021-02-17 14:11:01 +03:00
.gh-dashboard-area.charts .mrr {
grid-column: 1 / 2;
grid-row: 1 / 4;
2021-02-24 21:09:19 +03:00
padding: 0 0 0 28px;
2021-02-17 14:11:01 +03:00
}
.gh-dashboard-area.charts .total-members {
grid-column: 2 / 3;
grid-row: 1 / 2;
2021-02-24 21:09:19 +03:00
padding: 0 28px 0 28px;
2021-02-19 18:17:49 +03:00
height: 75px;
2021-02-17 14:11:01 +03:00
}
.gh-dashboard-area.charts .paid-members {
grid-column: 2 / 3;
grid-row: 2 / 3;
2021-02-24 21:09:19 +03:00
padding: 0 28px 0 28px;
2021-02-19 18:17:49 +03:00
height: 75px;
2021-02-17 14:11:01 +03:00
}
.gh-dashboard-area.charts .newsletter-open-rate {
grid-column: 2 / 3;
grid-row: 3 / 4;
2021-02-24 21:09:19 +03:00
padding: 0 28px 0 28px;
2021-02-19 18:17:49 +03:00
height: 75px;
2021-02-17 14:11:01 +03:00
}
2021-02-16 20:12:24 +03:00
.gh-dashboard-summary {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
2021-02-19 14:04:15 +03:00
margin-top: 8px;
2021-02-16 20:12:24 +03:00
}
.gh-dashboard-summary.small {
2021-02-22 22:43:22 +03:00
min-width: 120px;
2021-02-19 14:04:15 +03:00
margin-top: 0;
2021-02-16 20:12:24 +03:00
}
.gh-dashboard-summary .data-container {
display: flex;
2021-02-22 22:43:22 +03:00
flex-direction: column;
align-items: flex-start;
2021-02-16 20:12:24 +03:00
}
.gh-dashboard-summary .data {
display: flex;
align-items: flex-start;
2021-02-16 20:12:24 +03:00
font-size: 3.9rem;
line-height: 4rem;
font-weight: 600;
color: var(--black);
letter-spacing: -0.1px;
line-height: 1;
2021-02-19 18:53:35 +03:00
white-space: nowrap;
2021-02-16 20:12:24 +03:00
}
.gh-dashboard-summary .data .currency {
font-size: 0.66em;
line-height: 1.25em;
margin-right: 2px;
}
2021-02-16 20:12:24 +03:00
.gh-dashboard-summary.small .data {
font-size: 2.8rem;
letter-spacing: -0.1px;
}
.gh-dashboard-summary .growth {
2021-02-18 15:09:25 +03:00
background: var(--whitegrey-d1);
2021-02-16 20:12:24 +03:00
border-radius: 3px;
font-size: 1.8rem;
line-height: 1;
font-weight: 500;
2021-02-18 15:09:25 +03:00
color: var(--midgrey);
2021-02-16 20:12:24 +03:00
padding: 6px 8px;
2021-02-19 14:04:15 +03:00
margin: 8px 0 0;
2021-02-16 20:12:24 +03:00
}
.gh-dashboard-summary.small .growth {
2021-02-19 15:08:57 +03:00
font-size: 1.2rem;
2021-02-16 20:12:24 +03:00
letter-spacing: 0;
padding: 2px 4px;
2021-02-22 22:43:22 +03:00
margin: 5px 0 1px 0;
2021-02-16 20:12:24 +03:00
}
.gh-dashboard-summary .growth.positive {
background: color-mod(var(--green) a(13%));
color: color-mod(var(--green) l(-5%));
}
.gh-dashboard-summary .growth.positive:before {
content: "+";
}
2021-02-16 20:12:24 +03:00
.gh-dashboard-summary .growth.negative {
background: color-mod(var(--yellow) a(20%));
color: color-mod(var(--yellow) l(-8%));
}
.gh-dashboard-chart {
display: flex;
flex-direction: column;
2021-02-19 14:04:15 +03:00
align-items: flex-end;
justify-content: flex-end;
2021-02-19 12:39:13 +03:00
}
.gh-dashboard-chart.nodata {
border: 1px dashed var(--lightgrey);
font-size: 1.3rem;
color: var(--midlightgrey);
}
.gh-dashboard-chart.nodata {
font-size: 1.3rem;
color: var(--midlightgrey);
}
.gh-dashboard-chart.small {
2021-02-19 18:17:49 +03:00
margin-bottom: -6px;
2021-02-22 22:43:22 +03:00
flex-grow: 1;
2021-02-19 18:17:49 +03:00
}
.gh-dashboard-chart-box {
position: relative;
display: flex;
justify-content: stretch;
2021-02-22 22:11:19 +03:00
height: 228px;
2021-02-19 18:17:49 +03:00
width: 35.5vw;
padding-top: 12px;
margin-right: -10px;
}
.gh-dashboard-chart-box.small {
position: relative;
2021-02-22 22:43:22 +03:00
width: 14vw;
min-width: 165px;
2021-02-22 22:11:19 +03:00
height: 110px;
2021-02-19 18:17:49 +03:00
padding-top: 0;
2021-02-22 22:11:19 +03:00
margin-top: -13px;
margin-bottom: -20px;
2021-02-19 18:17:49 +03:00
margin-right: -6px;
transform: scale(0.9);
transform-origin: top right;
}
2021-03-10 22:49:23 +03:00
.gh-dashboard-join-community {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
border-radius: 3px;
padding: 54px;
min-height: 440px;
background-size: cover;
background-position: center;
color: #fff;
}
.gh-dashboard-join-community h2 {
color: #fff;
font-size: 2.6rem;
letter-spacing: -0.2px;
margin-bottom: 16px;
}
.gh-dashboard-join-community p {
font-size: 1.8rem;
opacity: 0.75;
max-width: 480px;
line-height: 1.5em;
letter-spacing: -0.2px;
}
.gh-dashboard-join-community a.footer-link {
align-self: center;
margin-bottom: -32px;
font-size: 1.2rem;
color: #fff;
}
.gh-dashboard-join-community a:hover {
opacity: 0.8;
}
2021-02-19 18:53:35 +03:00
/* Chart.js requires relative width to be in vw units to make responsive re-rendering work */
@media (max-width: 1600px) {
.gh-dashboard-chart-box.small {
2021-02-22 22:43:22 +03:00
width: 13vw;
2021-02-19 18:53:35 +03:00
}
}
2021-02-19 18:17:49 +03:00
@media (max-width: 1500px) {
2021-02-19 18:53:35 +03:00
.gh-dashboard-chart-box {
width: 33vw;
}
2021-02-19 18:17:49 +03:00
.gh-dashboard-chart-box.small {
2021-02-22 22:43:22 +03:00
width: 12vw;
2021-02-19 18:17:49 +03:00
}
2021-02-19 18:53:35 +03:00
.gh-dashboard-chart.small {
max-width: 120px;
}
2021-02-16 20:12:24 +03:00
}
2021-02-17 12:13:11 +03:00
/* Total members */
2021-02-16 20:12:24 +03:00
.gh-dashboard-area.total-members {
grid-column: 1 / 2;
grid-row: 2;
}
.gh-dashboard-area.total-members .gh-dashboard-chart,
.gh-dashboard-area.newsletter-open-rate .gh-dashboard-chart {
height: 6vw;
min-height: 80px;
max-height: 150px;
}
2021-02-17 13:25:14 +03:00
/* Top members */
2021-02-16 20:12:24 +03:00
.gh-dashboard-area.top-members {
grid-column: 3 / 4;
grid-row: 1 / 3;
}
2021-02-17 13:25:14 +03:00
.gh-dashboard-area.top-members .gh-dashboard-list {
justify-content: space-between;
}
2021-02-17 12:13:11 +03:00
.gh-dashboard-top-members {
2021-02-17 18:46:12 +03:00
display: flex;
2021-02-17 12:13:11 +03:00
flex-direction: column;
align-items: stretch;
list-style: none;
padding: 0;
margin: 8px 0 0;
width: 100%;
}
.gh-dashboard-top-member {
display: flex;
align-items: center;
flex-grow: 1;
width: 100%;
justify-content: stretch;
margin: 8px 0;
padding: 0;
}
.gh-dashboard-top-member .member-details {
display: flex;
align-items: center;
flex-grow: 1;
}
2021-02-19 19:28:18 +03:00
.gh-dashboard-top-member .gh-member-gravatar {
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
width: 34px;
height: 34px;
}
.gh-dashboard-top-member .gh-member-initials {
width: 34px;
height: 34px;
}
.gh-dashboard-top-member .gh-member-list-avatar {
2021-02-17 12:13:11 +03:00
font-size: 1.5rem;
font-weight: 500;
text-align: center;
line-height: 1;
}
.gh-dashboard-top-member .name,
.gh-dashboard-top-member .email {
2021-02-17 12:13:11 +03:00
font-size: 1.4rem;
font-weight: 500;
color: var(--black);
}
.gh-dashboard-top-member .open-rate {
white-space: nowrap;
margin-left: 12px;
color: var(--midgrey);
font-size: 1.3rem;
text-align: right;
line-height: 1.35em;
}
.gh-dashboard-top-member .open-rate span {
color: var(--midlightgrey);
font-size: 1.2rem;
2021-02-17 12:13:11 +03:00
}
2021-02-17 13:25:14 +03:00
.gh-dashboard-top-members-footer {
display: flex;
justify-content: flex-end;
2021-02-23 16:29:58 +03:00
border-top: 1px solid var(--whitegrey-d2);
2021-02-17 13:25:14 +03:00
padding-top: 12px;
margin-bottom: -4px;
2021-02-23 16:29:58 +03:00
margin-top: 8px;
2021-02-17 13:25:14 +03:00
}
.gh-dashboard-top-members-footer a {
display: flex;
align-items: center;
color: var(--black);
font-weight: 500;
}
.gh-dashboard-top-members-footer a svg {
width: 12px;
height: 12px;
margin-left: 4px;
}
.gh-dashboard-top-members-footer a svg path {
fill: var(--black);
}
2021-02-24 18:59:01 +03:00
.gh-dashboard-header-container {
display: flex;
align-items: center;
justify-content: space-between;
2021-02-24 18:59:01 +03:00
border-bottom: 1px solid var(--whitegrey);
padding-bottom: 10px;
}
.gh-dashboard-box.grey .gh-dashboard-header-container {
border-color: var(--whitegrey-d2);
}
2021-02-17 12:13:11 +03:00
/* Activity feed */
2021-02-16 20:12:24 +03:00
.gh-dashboard-area.activity-feed {
grid-column: 3 / 4;
grid-row: 3 / 4;
2021-02-17 13:25:14 +03:00
padding: 0;
margin: 0;
2021-02-17 18:46:12 +03:00
}
2021-02-23 15:33:58 +03:00
.gh-dashboard-box.activity-feed .gh-dashboard-header {
border-bottom: 1px solid var(--whitegrey-d2);
padding-bottom: 14px;
}
2021-02-17 18:46:12 +03:00
.gh-dashboard-activity-feed {
display: flex;
flex-direction: column;
align-items: stretch;
list-style: none;
padding: 0;
margin: 4px 0 0;
width: 100%;
}
.gh-dashboard-activity-feed li {
display: flex;
align-items: baseline;
flex-grow: 1;
width: 100%;
justify-content: space-between;
margin: 8px 0;
padding: 0;
}
.gh-dashboard-activity-feed .activity {
display: flex;
align-items: baseline;
margin-right: 32px;
color: var(--midgrey);
line-height: 1.5em;
font-size: 1.3rem;
}
.gh-dashboard-activity-feed .member {
font-weight: 500;
color: var(--black);
font-size: 1.4rem;
}
.gh-dashboard-activity-feed .activity svg {
width: 12px;
height: 12px;
margin-right: 8px;
margin-top: 1px;
}
.gh-dashboard-activity-feed .time {
white-space: nowrap;
margin-left: 12px;
color: var(--midgrey);
font-size: 1.3rem;
2021-02-18 14:27:29 +03:00
}
2021-02-23 15:33:58 +03:00
.gh-no-data-list {
display: flex;
flex-direction: column;
align-items: center;
color: var(--midgrey-l2);
}
.gh-no-data-list svg {
margin-top: 60px;
width: 80px;
height: auto;
}
.gh-no-data-list span {
margin-top: 16px;
font-size: 1.3rem;
margin-bottom: 46px;
2021-02-23 15:33:58 +03:00
}
2021-02-24 18:59:01 +03:00
/* What's new? */
.gh-dashboard-box.whats-new .gh-dashboard-header-container svg {
width: 20px;
height: 20px;
margin-top: -12px;
}
.gh-dashboard-box.whats-new .gh-dashboard-header-container svg path {
fill: var(--pink);
}
.gh-dashboard-box.whats-new .content a {
display: flex;
flex-direction: column;
align-items: flex-start;
color: var(--darkgrey);
margin: 12px 0;
padding: 0 0 12px;
border-bottom: 1px solid var(--whitegrey);
}
.gh-dashboard-box.whats-new .content a h2 {
margin-bottom: 0;
}
.gh-dashboard-box.whats-new .content a span {
font-size: 1.3rem;
color: var(--midgrey);
}
.gh-dashboard-box.whats-new .content a p {
margin-top: 4px;
}
.gh-dashboard-box.whats-new .footer {
2021-02-25 12:57:46 +03:00
margin-bottom: -12px;
}
.gh-dashboard-dismiss {
position: absolute;
top: 20px;
right: 20px;
}
2021-02-24 18:59:01 +03:00
2021-02-25 12:57:46 +03:00
.gh-dashboard-dismissbutton.dark {
background: rgba(255, 255, 255, 0.1);
}
.gh-dashboard-dismissbutton svg {
margin: 0;
}
.gh-dashboard-dismissbutton.dark svg {
color: #fff;
opacity: 0.75;
}
.gh-dashboard-dismissbutton.dark:hover svg {
opacity: 1.0;
}
.gh-dashboard-dismissbutton span {
height: 32px;
line-height: 32px;
}
.gh-dashboard-dismiss-dropdown {
top: calc(100% + 2px);
left: auto;
right: 0;
min-width: 90px;
2021-02-25 16:50:22 +03:00
line-height: 1;
2021-02-25 12:57:46 +03:00
}
.gh-dashboard-dismiss-dropdown.fade-out {
animation-duration: .001s;
pointer-events: none;
}
.gh-dashboard-dismiss-dropdown button {
background: var(--white);
width: 100%;
border-radius: 0;
}
.gh-dashboard-dismiss-dropdown button span {
line-height: 28px;
height: 28px;
font-size: 1.3rem;
2021-02-24 18:59:01 +03:00
}
2021-02-18 14:44:39 +03:00
@media (max-width: 1320px) {
2021-02-18 14:27:29 +03:00
.gh-dashboard {
grid-template-columns: 1fr 1fr;
}
.gh-dashboard-area.charts {
grid-template-columns: 1fr 1fr;
}
2021-02-19 16:19:18 +03:00
.gh-dashboard-area.charts .mrr .gh-dashboard-chart-container {
flex-direction: column;
align-items: stretch;
2021-02-19 18:53:35 +03:00
justify-content: space-between;
flex-grow: 1;
2021-02-19 16:19:18 +03:00
}
.gh-dashboard-area.charts .mrr .gh-members-chart-box {
width: 100%;
}
.gh-dashboard-chart {
height: auto;
}
.gh-members-chart-box {
height: 140px;
}
.gh-dashboard-summary.small{
flex-basis: 100px;
min-width: 100px;
2021-02-18 14:27:29 +03:00
}
.gh-dashboard-summary:not(.small) .data {
font-size: 3.4rem;
}
.gh-dashboard-summary:not(.small) .growth {
font-size: 1.5rem;
}
.gh-dashboard-container.col-2 {
grid-template-columns: 1fr;
grid-gap: 0;
}
.gh-dashboard-area.charts {
min-height: 240px;
}
2021-02-19 18:17:49 +03:00
2021-02-19 18:53:35 +03:00
.gh-dashboard-area.charts .mrr .gh-dashboard-chart-box {
height: 140px;
width: 100%;
}
.gh-dashboard-area.charts .mrr .gh-dashboard-chart {
margin-left: -20px;
}
.gh-dashboard-header {
white-space: nowrap;
}
.gh-dashboard-chart.small {
min-width: 50%;
}
.gh-dashboard-chart-box.small {
width: 100%;
2021-02-19 18:17:49 +03:00
}
.gh-dashboard-box.blogpost {
2021-03-10 21:23:06 +03:00
grid-template-columns: unset;
grid-template-rows: auto auto;
grid-gap: 24px;
}
.gh-dashboard-box.blogpost .thumbnail {
min-height: 220px;
2021-03-10 22:12:21 +03:00
grid-row: 1 / 2;
}
2021-03-10 21:23:06 +03:00
.gh-dashboard-box.blogpost .content {
padding-top: 0;
2021-03-10 22:12:21 +03:00
grid-row: 2 / 3;
}
2021-03-10 22:49:23 +03:00
2021-03-10 23:39:06 +03:00
.gh-dashboard-container.crunched .chart {
padding: 0;
min-height: 140px;
}
2021-03-10 22:49:23 +03:00
.gh-dashboard-join-community {
padding: 44px 32px;
}
.gh-dashboard-join-community .footer-link {
margin-bottom: -24px;
}
.gh-dashboard-container.start-contents .gh-dashboard-box {
grid-template-columns: 1fr;
grid-template-rows: auto;
}
.gh-dashboard-container.start-contents .gh-dashboard-box h2 {
grid-column: 1 / 2;
}
2021-02-23 00:13:36 +03:00
}
@media (max-width: 680px) {
.gh-dashboard {
grid-template-columns: 1fr;
grid-column-gap: 0;
}
.gh-dashboard-area.charts {
grid-template-columns: 1fr;
grid-template-rows: auto;
}
.gh-dashboard-area.charts .mrr,
.gh-dashboard-area.charts .total-members,
.gh-dashboard-area.charts .paid-members,
.gh-dashboard-area.charts .newsletter-open-rate {
grid-column: unset;
}
.gh-dashboard-area.members-activity {
display: none;
}
.gh-dashboard-area.charts .mrr,
.gh-dashboard-area.charts .total-members,
.gh-dashboard-area.charts .paid-members,
.gh-dashboard-area.charts .newsletter-open-rate {
grid-row: unset;
}
.gh-dashboard-area.charts .mrr {
2021-02-24 21:09:19 +03:00
padding: 0 28px;
2021-02-23 00:13:36 +03:00
}
.gh-dashboard-area.charts .total-members,
.gh-dashboard-area.charts .paid-members,
.gh-dashboard-area.charts .newsletter-open-rate {
height: 55px;
}
.gh-dashboard-chart-box {
2021-02-24 21:09:19 +03:00
padding: 28px 0;
2021-02-23 00:13:36 +03:00
}
.gh-dashboard-summary:not(.small) {
flex-direction: row;
}
.gh-dashboard-summary .growth {
margin-left: 8px;
}
.gh-dashboard-summary.small .data-container {
flex-direction: row;
}
.gh-dashboard-summary.small .growth {
margin: 3px 0px 0px 8px;
}
.gh-dashboard-summary.small .data {
font-size: 2.0rem;
}
}