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

760 lines
14 KiB
CSS
Raw Normal View History

/* Tier list */
.gh-tier-list {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 32px;
}
@media (max-width: 980px) {
.gh-tier-list {
grid-template-columns: repeat(1, 1fr);
}
}
.gh-contentfilter-menu-trigger-tiers {
margin-right: 0 !important;
background: transparent !important;
}
.gh-contentfilter-menu-trigger-tiers .ember-power-select-selected-item {
font-weight: 400 !important;
color: var(--darkgrey) !important;
}
.gh-tier-cards {
2021-06-04 12:35:28 +03:00
margin: 0 0 24px;
}
.gh-tier-card {
2021-06-04 11:59:42 +03:00
position:relative;
display: flex;
2021-06-04 11:59:42 +03:00
align-items: flex-start;
justify-content: space-between;
}
@media (max-width: 980px) {
.gh-tier-card {
padding: 4vmin 48px;
}
}
.gh-tier-card-button-container {
2021-06-04 11:59:42 +03:00
position: absolute;
right: 24px;
top: 24px;
margin-right: 0;
}
.gh-tier-card-actions-button, .gh-tier-card-edit-button {
margin-right: 0;
cursor: pointer;
}
.gh-tier-card-actions-button.gh-btn span, .gh-tier-card-edit-button.gh-btn span {
height: 24px;
}
.gh-tier-actions-menu {
top: calc(100% + 6px);
left: auto;
right: 0;
2021-06-04 11:59:42 +03:00
}
.gh-tier-card-block {
flex-basis: 30%;
2021-06-04 11:59:42 +03:00
}
.gh-tier-card-block:not(:first-of-type) {
2021-06-04 11:59:42 +03:00
padding-left: 16px;
}
.gh-tier-card-block h4 {
font-size: 1.3rem;
font-weight: 500;
}
.gh-tier-card-block h4 .counter {
font-weight: 400;
color: var(--midgrey);
}
.gh-tier-card-name {
2021-06-04 11:59:42 +03:00
font-size: 1.8rem;
2021-06-04 15:27:33 +03:00
font-weight: 600;
margin: 0;
}
.gh-tier-card-empty-state {
display: flex;
justify-content: center;
align-items: center;
}
.gh-tier-card-empty-state p {
margin-bottom: 0;
padding: 3.2rem;
color: var(--midgrey);
}
.gh-tier-card-description {
font-size: 1.3rem;
2021-06-14 15:05:49 +03:00
line-height: 1.45em;
margin: 4px 20px 4px 0;
color: var(--midgrey);
}
.gh-tier-card-block.title-block {
flex-basis: 40%;
}
.gh-tier-card-block.benefits-block .gh-tier-card-description {
2021-06-28 13:39:31 +03:00
margin-top: 9px;
}
.gh-tier-card-block ul.benefits {
list-style: none;
margin: 10px 0 0;
padding: 0;
}
.gh-tier-card-block ul.benefits li {
display: flex;
align-items: flex-start;
font-size: 1.3rem;
line-height: 1.45em;
color: var(--middarkgrey);
}
.gh-tier-card-block ul.benefits li svg {
flex-basis: 18px;
width: 14px;
height: 14px;
2021-06-17 12:18:26 +03:00
min-width: 18px;
margin-top: 3px;
margin-right: 4px;
color: var(--black);
}
.gh-tier-card-block ul.benefits li span {
2021-06-17 12:18:26 +03:00
flex-grow: 1;
}
.gh-tier-price-container {
2021-06-14 15:05:49 +03:00
display: flex;
margin: 0 60px 0 20px;
justify-content: flex-end;
2021-06-14 15:05:49 +03:00
}
.gh-tier-card-price {
2021-06-14 15:05:49 +03:00
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
2021-06-14 15:05:49 +03:00
margin: 0 12px 2px 0;
2021-06-04 11:59:42 +03:00
font-size: 1.3rem;
color: var(--midgrey);
2021-06-14 15:05:49 +03:00
padding: 12px 8px;
border: 1px solid var(--whitegrey);
border-radius: 3px;
min-width: 90px;
min-height: 66px;
2021-06-04 11:59:42 +03:00
}
.gh-tier-card-price .currency-symbol,
.gh-tier-card-price .amount,
.gh-tier-card-price .currency,
.gh-tier-card-price .currency-code {
2021-06-04 11:59:42 +03:00
font-weight: 600;
color: var(--darkgrey);
}
.gh-tier-card-price .currency-symbol {
margin-top: -3px;
}
.gh-tier-card-price .amount {
letter-spacing: -.2px;
2021-06-14 15:05:49 +03:00
line-height: 1;
margin-right: 2px;
font-size: 2.2rem;
letter-spacing: 0.1px;
2021-06-14 15:05:49 +03:00
}
.gh-tier-card-price .currency {
2021-06-04 11:59:42 +03:00
text-transform: uppercase;
position: relative;
top: 2px;
font-size: 1.4rem;
letter-spacing: 0.4px;
line-height: 1;
}
.gh-tier-card-price .currency-code {
text-transform: uppercase;
position: relative;
top: 0;
font-weight: 600;
line-height: 1;
font-size: 1.25rem;
letter-spacing: -.2px;
2021-06-04 11:59:42 +03:00
}
.gh-tier-card-price .period {
2021-06-14 15:05:49 +03:00
font-size: 1.25rem;
text-transform: lowercase;
line-height: 1.2em;
margin-top: 2px;
2021-06-14 15:05:49 +03:00
}
.gh-tier-cards-footer {
2021-06-04 12:35:28 +03:00
display: flex;
align-items: center;
margin-top: -7px;
color: var(--midgrey);
font-size: 1.35rem;
}
.gh-btn-add-tier,
.gh-btn-add-tier:hover {
2021-06-04 12:35:28 +03:00
margin-right: 5px;
}
.gh-btn-add-tier svg {
width: 1rem;
height: 1rem;
margin: 1px 4px 0 0;
}
.gh-btn-icon.gh-btn-add-tier svg path {
stroke: var(--green-d1);
stroke-width: 3;
2021-06-04 12:35:28 +03:00
}
.gh-tier-list-icon {
display: flex;
align-items: flex-end;
justify-content: center;
color: var(--green);
margin-bottom: 8px;
height: 72px;
}
.gh-tier-list-icon svg {
width: 60px;
height: 60px;
}
.gh-tier-list-siteicon {
width: 54px;
height: 54px;
background-color: transparent;
background-size: 54px;
border-radius: 3px;
margin-bottom: 6px;
}
.gh-tier-list-icon svg circle,
.gh-tier-list-icon svg path {
stroke-width: 1px !important;
}
/* Tier details */
.gh-tier-details {
display: grid;
grid-template-columns: 1fr;
grid-gap: 32px;
margin-bottom: 3vw;
}
.gh-tier-details-form {
display: flex;
align-items: flex-start;
padding-top: 20px !important;
}
.gh-tier-icon-container {
width: unset;
padding-bottom: 0;
margin-bottom: 0;
}
.gh-tier-icon {
display: flex;
align-items: center;
justify-content: center;
background: var(--white);
width: 124px;
height: 124px;
margin-right: 24px;
border: 1px solid var(--whitegrey);
border-radius: 3px;
}
.gh-tier-details-fields {
width: 100%;
}
.gh-tier-details-fields .max-width {
max-width: 840px;
}
.gh-tier-details-fields .form-group:last-of-type {
padding-bottom: 0;
margin-bottom: 0;
}
.gh-tier-details section {
display: flex;
flex-direction: column;
justify-content: stretch;
}
/* Tier stats */
.gh-tier-stat-container {
display: flex;
flex-direction: column;
}
.gh-tier-stat-details .data {
white-space: nowrap;
font-size: 3.1rem;
line-height: 1em;
font-weight: 700;
letter-spacing: 0;
margin: 0 0 2px;
padding: 0;
}
.gh-tier-stat-details .info {
color: var(--midgrey);
margin: 0 0 10px;
padding: 0;
}
.gh-tier-chart {
color: var(--whitegrey);
border: 1px solid var(--whitegrey);
border-top-color: transparent;
height: 90px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 0 12px;
}
/* Price list */
.gh-price-list {
margin-bottom: 24px;
}
.gh-price-list a span {
color: var(--midgrey);
font-size: 1.3rem;
}
.gh-price-list-actionlist {
display: flex;
align-items: center;
justify-content: flex-end;
width: 100%;
line-height: 1;
}
.gh-price-list .gh-list-row:hover .gh-price-list-actionlist {
opacity: 1;
}
.gh-price-list-actionlist a,
.gh-price-list-actionlist button {
margin-left: 15px;
padding: 0;
line-height: 0;
}
.gh-price-list-actionlist a span,
.gh-price-list-actionlist button span {
display: inline-block;
line-height: 1;
height: unset;
border-radius: 3px;
padding: 4px 6px;
color: var(--darkgrey);
font-weight: 500;
font-size: 1.2rem !important;
text-transform: uppercase;
}
.gh-price-list-actionlist a:hover span,
.gh-price-list-actionlist button:hover span {
background: var(--whitegrey);
}
.gh-price-list-actionlist a.archived:hover span,
.gh-price-list-actionlist button.archived:hover span {
background: color-mod(var(--red) a(10%));
color: var(--red);
}
.gh-price-list-title,
.gh-price-list-price {
width: 50%;
}
.gh-price-list-name span.archived {
2021-05-07 18:45:59 +03:00
background: var(--lightgrey-l2);
color: var(--midgrey);
font-size: 1.2rem;
}
2021-05-07 18:45:59 +03:00
.gh-price-list-archived .gh-price-list-name .name,
.gh-price-list-archived .gh-price-list-description,
.gh-price-list-archived .gh-price-list-price span,
.gh-price-list-archived .gh-price-list-subscriptions span {
opacity: 0.5;
}
.gh-price-list-noprices {
text-align: center;
padding: 48px 0;
color: var(--midgrey);
}
2021-05-07 18:45:59 +03:00
.gh-btn-archive-toggle {
width: 80px;
}
.tier-actions-menu.fade-out {
animation-duration: 0.01s;
pointer-events: none;
}
/* Add/edit tier modal */
.fullscreen-modal-edit-tier {
max-width: 1080px;
}
.gh-tier-modal-content {
2021-09-02 17:01:25 +03:00
margin: -32px -32px 0;
padding: 32px 32px 0;
max-height: calc(100vh - 16vw);
overflow-y: auto;
2021-09-02 17:01:25 +03:00
}
.gh-form-edit-tier .gh-main-section {
2021-06-22 17:44:12 +03:00
margin-bottom: 32px;
grid-template-columns: 1fr 0.8fr 1.2fr;
2021-06-22 17:44:12 +03:00
}
.gh-form-edit-tier .gh-main-section-block {
display: flex;
flex-direction: column;
margin-bottom: 0;
}
.gh-form-edit-tier .gh-main-section-content {
padding-top: 16px;
margin-bottom: 0;
}
.gh-tier-priceform-block {
margin-bottom: 32px;
}
.gh-tier-priceform-block .form-group:last-of-type {
2021-06-04 15:27:33 +03:00
margin-bottom: 0;
}
.gh-tier-priceform-pricecurrency {
display: grid;
grid-template-columns: 1fr 2fr;
grid-gap: 20px;
}
.gh-form-edit-tier .gh-main-section-content.gh-tier-form-benefits {
2021-09-02 17:01:25 +03:00
padding-left: 8px;
2021-06-22 17:44:12 +03:00
margin-bottom: 0;
}
.gh-tier-benefits .gh-input {
2021-09-02 17:01:25 +03:00
padding: 6px 28px 6px 30px;
}
.gh-tier-benefits .gh-blognav-line {
2021-09-02 17:01:25 +03:00
position: relative;
}
.gh-tier-benefits .gh-blognav-line svg {
2021-09-02 17:01:25 +03:00
position: absolute;
width: 12px;
height: 12px;
top: 13px;
left: 11px;
}
.gh-tier-benefits .gh-blognav-line.placeholder {
2021-09-02 17:01:25 +03:00
color: var(--midlightgrey);
}
.gh-tier-benefits .gh-blognav-line svg path {
2021-09-02 17:01:25 +03:00
stroke-width: 3px;
2021-06-22 17:44:12 +03:00
}
.gh-tier-benefits .gh-blognav-item {
2021-06-22 17:44:12 +03:00
position: relative;
2021-09-02 17:01:25 +03:00
align-items: center;
2021-06-22 17:44:12 +03:00
}
.gh-tier-benefits .gh-blognav-item.gh-blognav-item--error {
2022-03-03 13:19:34 +03:00
align-items: flex-start;
}
.gh-blognav-item--error button.gh-blognav-add {
margin-top: 12px;
}
.gh-tier-benefits .gh-blognav-label {
2021-06-22 17:44:12 +03:00
margin-right: 0;
}
.gh-tier-benefits .gh-blognav-label .response {
2021-09-01 11:14:50 +03:00
position: relative;
font-size: 1.25rem;
2021-06-28 13:39:31 +03:00
margin: 2px 0 6px;
}
.gh-tier-benefits .gh-blognav-delete {
2021-06-22 17:44:12 +03:00
position: absolute;
2021-09-02 17:01:25 +03:00
top: 4px;
2021-06-22 17:44:12 +03:00
right: 8px;
opacity: 0;
}
.gh-tier-benefits .gh-blognav-add {
2021-09-02 17:01:25 +03:00
margin-top: 2px;
2021-09-01 11:14:50 +03:00
}
2021-06-22 17:44:12 +03:00
.gh-tier-benefits .gh-blognav-grab {
2021-06-22 17:44:12 +03:00
text-indent: 0px;
opacity: 0;
}
.gh-tier-benefits .gh-blognav-item:hover .gh-blognav-delete,
.gh-tier-benefits .gh-blognav-item:hover .gh-blognav-grab {
2021-06-22 17:44:12 +03:00
opacity: 1;
}
.gh-tier-benefits .gh-blognav-item:not(.gh-blognav-item--sortable):not(:last-of-type) {
margin-bottom: 16px;
}
2021-09-01 11:14:50 +03:00
.gh-tier-benefit-hint {
2021-09-01 11:14:50 +03:00
color: var(--midgrey-d2);
font-size: 1.25rem !important;
font-weight: 400;
padding: 0 16px;
margin-top: -12px;
2021-09-02 17:01:25 +03:00
}
.gh-tier-form-tierpreview-content {
2021-09-02 17:01:25 +03:00
position: sticky;
top: 45px;
height: max-content;
}
.gh-tier-form-tierpreview .gh-main-section-content {
flex: 1;
max-width: 420px;
min-width: 320px;
position: relative;
2021-09-02 17:01:25 +03:00
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: stretch;
background: white;
padding: 32px;
border-radius: 7px;
border: 1px solid #e1e1e1;
min-height: 200px;
letter-spacing: normal;
2021-09-02 17:01:25 +03:00
}
.gh-portal-tier-card-header {
width: 100%;
min-height: 56px;
2021-09-02 17:01:25 +03:00
}
.gh-tier-form-tierpreview .gh-main-section-content .gh-portal-tier-name {
font-size: 1.8rem;
font-weight: 600;
line-height: 1.3em;
letter-spacing: 0px;
margin-top: -4px;
margin-bottom: 0;
word-break: break-word;
width: 100%;
2021-09-02 17:01:25 +03:00
}
.gh-tier-form-tierpreview .gh-main-section-content .gh-portal-tier-description {
font-size: 1.55rem;
font-weight: 600;
line-height: 1.4em;
width: 100%;
margin-top: 16px;
color: #3d3d3d;
2021-09-02 17:01:25 +03:00
}
.gh-portal-tier-card-pricecontainer {
display: flex;
flex-direction: row;
align-items: flex-end;
justify-content: space-between;
flex-wrap: wrap;
row-gap: 10px;
column-gap: 4px;
2021-09-02 17:01:25 +03:00
width: 100%;
margin-top: 16px;
2021-09-02 17:01:25 +03:00
}
.gh-portal-tier-price {
display: flex;
justify-content: center;
color: #1d1d1d;
}
.gh-portal-tier-card-details {
flex: 1;
2021-09-02 17:01:25 +03:00
display: flex;
flex-direction: column;
width: 100%;
}
.gh-portal-tier-card-detaildata {
flex: 1;
}
.gh-portal-tier-price .amount {
font-size: 3.4rem;
font-weight: 700;
line-height: 1em;
letter-spacing: -1.3px;
}
.gh-tier-form-tierpreivew-cadence {
display: flex;
align-items: baseline;
justify-content: space-between;
}
.gh-tier-form-tierpreivew-cadence .gh-btn,
.gh-tier-form-tierpreivew-cadence .gh-btn span {
background: transparent !important;
padding: 0;
line-height: 1em;
height: auto;
font-size: 1.3rem;
color: var(--midlightgrey);
margin-left: 4px;
font-weight: 400;
overflow: unset;
}
.gh-tier-form-tierpreivew-cadence .gh-btn:hover span {
color: var(--middarkgrey);
}
.gh-tier-form-tierpreivew-cadence .gh-btn.selected span {
font-weight: 500;
color: var(--darkgrey);
2021-09-02 17:01:25 +03:00
}
.gh-tier-form-tierpreview .monthly-price {
2021-09-02 17:01:25 +03:00
display: flex;
align-items: baseline;
font-size: 3.3rem;
font-weight: 500;
line-height: 1em;
color: #3d3d3d;
}
.gh-tier-form-tierpreview .currency-sign {
align-self: flex-start;
font-size: 2.7rem;
font-weight: 700;
line-height: 1.115em;
text-transform: uppercase;
2021-09-02 17:01:25 +03:00
}
.gh-tier-form-tierpreview .billing-period {
align-self: flex-end;
font-size: 1.5rem;
line-height: 1.4em;
color: #686868;
2021-09-02 17:01:25 +03:00
letter-spacing: 0.3px;
margin-left: 5px;
font-weight: 400;
2021-09-02 17:01:25 +03:00
}
.gh-portal-discount-label {
position: relative;
font-size: 1.25rem;
line-height: 1em;
font-weight: 600;
letter-spacing: 0.3px;
color: #1d1d1d;
padding: 6px 9px;
text-align: center;
white-space: nowrap;
border-radius: 999px;
margin-right: -4px;
margin-top: -4px;
max-height: 24.5px;
2021-09-02 17:01:25 +03:00
}
.gh-portal-discount-label span {
position: absolute;
content: "";
display: block;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 999px;
opacity: 0.2;
2021-09-10 19:16:11 +03:00
}
.gh-tier-form-tierpreview .gh-portal-tier-benefits {
font-size: 1.5rem;
line-height: 1.4em;
2021-09-02 17:01:25 +03:00
width: 100%;
margin-top: 16px;
2021-09-02 17:01:25 +03:00
}
.gh-tier-form-tierpreview .gh-portal-tier-benefit {
2021-09-02 17:01:25 +03:00
display: flex;
align-items: flex-start;
margin-bottom: 10px;
color: #3d3d3d;
2021-09-02 17:01:25 +03:00
}
.gh-portal-tier-benefit svg {
width: 14px;
height: 14px;
min-width: 14px;
margin: 3px 10px 0 0;
2021-09-02 17:01:25 +03:00
overflow: visible;
}
.gh-tier-form-tierpreview .gh-portal-tier-benefit polyline,
.gh-tier-form-tierpreview .gh-portal-tier-benefit g,
.gh-tier-form-tierpreview .gh-portal-tier-benefit path {
2021-09-02 17:01:25 +03:00
stroke-width: 3px;
}
.gh-tier-form-tierpreview .gh-portal-benefit-title {
letter-spacing: normal;
}
.gh-tier-form-tierpreview .placeholder {
2021-09-02 17:01:25 +03:00
opacity: 0.35;
}