mirror of
https://github.com/hubHarmony/servii-frontend.git
synced 2024-11-17 21:40:30 +00:00
fix css on tier cards last commit
This commit is contained in:
parent
d80a365576
commit
960794fcc2
@ -2,7 +2,6 @@ import styles from './Pricing.module.scss';
|
||||
import Navbar from '../../../components/navbar/Navbar';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
import basique from '../../../assets/tier/basique.png';
|
||||
import standard from '../../../assets/tier/standard.png';
|
||||
import premium from '../../../assets/tier/premium.png';
|
||||
@ -13,6 +12,7 @@ import { FaCheckCircle, FaTimesCircle } from 'react-icons/fa';
|
||||
const Pricing = ({ user }) => {
|
||||
const navigate = useNavigate();
|
||||
|
||||
|
||||
const groups = [
|
||||
{
|
||||
title: 'Basique',
|
||||
@ -80,7 +80,7 @@ const Pricing = ({ user }) => {
|
||||
</div>
|
||||
|
||||
<div className={styles.priceContainer}>
|
||||
<p className={styles.price}>{pkg.price}</p>
|
||||
<div className={styles.price}>{pkg.price}</div>
|
||||
<span className={styles.mensuel}>/mois</span>
|
||||
</div>
|
||||
|
||||
|
@ -20,22 +20,12 @@ $secondary-color: #fff;
|
||||
background-color: $secondary-color;
|
||||
color: $primary-color;
|
||||
border-radius: .5rem;
|
||||
padding: 0rem 2rem 2rem 2rem;
|
||||
padding: .5rem 2rem 2rem 2rem;
|
||||
text-align: start;
|
||||
transition: transform 0.3s, box-shadow 0.3s;
|
||||
border: 0.15rem solid #dfdcd5;
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
||||
|
||||
&.recommended {
|
||||
border-color: #76e4c8;
|
||||
box-shadow: 0 6px 20px rgba(0, 228, 184, 0.5);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.02);
|
||||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.packageCardheader {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@ -57,8 +47,7 @@ $secondary-color: #fff;
|
||||
display: flex;
|
||||
justify-content: start;
|
||||
align-items: baseline;
|
||||
margin-bottom:-1rem;
|
||||
margin-top: -4rem;
|
||||
margin-bottom: 1.5rem;
|
||||
|
||||
.price {
|
||||
font-size: 2.5rem;
|
||||
@ -77,7 +66,7 @@ $secondary-color: #fff;
|
||||
width: 16.5rem;
|
||||
height: 4rem;
|
||||
font-size: 1rem;
|
||||
margin-top: -0.25rem;
|
||||
margin-top: 0.25rem;
|
||||
color: #3c3c3c;
|
||||
}
|
||||
|
||||
@ -125,6 +114,7 @@ $secondary-color: #fff;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.packageList {
|
||||
flex-direction: column;
|
||||
|
Loading…
Reference in New Issue
Block a user