2019-05-03 15:18:06 +00:00
|
|
|
.comparaison-grid {
|
|
|
|
display: grid;
|
|
|
|
justify-items: stretch;
|
2019-05-07 09:50:32 +00:00
|
|
|
justify-content: center;
|
2019-05-07 13:46:37 +00:00
|
|
|
grid-template-columns: [row-legend] auto [assimilé-salarié] auto [indépendant] auto [auto-entrepreneur] auto [end];
|
2019-05-03 15:18:06 +00:00
|
|
|
}
|
|
|
|
.comparaison-grid > * {
|
2019-05-09 14:31:11 +00:00
|
|
|
border-bottom: 1px solid var(--lighterColour);
|
2019-05-03 15:18:06 +00:00
|
|
|
padding: 0.6rem 1.2rem;
|
2019-05-09 14:31:11 +00:00
|
|
|
border-right: 1px solid var(--lighterColour);
|
2019-05-03 15:18:06 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2019-05-06 15:03:04 +00:00
|
|
|
|
2019-05-03 15:18:06 +00:00
|
|
|
.comparaison-grid > h2 {
|
|
|
|
margin: 0;
|
|
|
|
flex-direction: column;
|
|
|
|
border: none;
|
2019-05-06 16:30:18 +00:00
|
|
|
align-self: stretch;
|
2019-05-03 15:18:06 +00:00
|
|
|
}
|
2019-05-07 13:46:37 +00:00
|
|
|
.comparaison-grid > h2 img {
|
|
|
|
height: 1.6rem !important;
|
|
|
|
width: 1.6rem !important;
|
|
|
|
}
|
2019-05-03 15:18:06 +00:00
|
|
|
.comparaison-grid > .legend {
|
2019-05-07 13:46:37 +00:00
|
|
|
max-width: 16rem;
|
2019-05-03 15:18:06 +00:00
|
|
|
justify-content: flex-end;
|
|
|
|
grid-column: row-legend;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comparaison-grid > .AS-et-indep {
|
|
|
|
grid-column: assimilé-salarié / auto-entrepreneur;
|
|
|
|
}
|
|
|
|
.comparaison-grid > .AS {
|
|
|
|
grid-column: assimilé-salarié;
|
2019-05-07 13:46:37 +00:00
|
|
|
min-width: 11rem;
|
2019-05-03 15:18:06 +00:00
|
|
|
}
|
|
|
|
.comparaison-grid > .indep {
|
|
|
|
grid-column: indépendant;
|
|
|
|
}
|
2019-05-07 13:46:37 +00:00
|
|
|
.comparaison-grid > .auto {
|
2019-05-03 15:18:06 +00:00
|
|
|
grid-column: auto-entrepreneur;
|
2019-05-06 16:30:18 +00:00
|
|
|
border-right: none;
|
2019-05-09 14:31:11 +00:00
|
|
|
|
2019-05-07 13:46:37 +00:00
|
|
|
min-width: 14rem;
|
2019-05-03 15:18:06 +00:00
|
|
|
}
|
|
|
|
.comparaison-grid > .all {
|
2019-05-06 16:30:18 +00:00
|
|
|
border-right: none;
|
2019-05-06 15:03:04 +00:00
|
|
|
text-align: left;
|
2019-05-03 15:18:06 +00:00
|
|
|
grid-column: row-legend / end;
|
|
|
|
background-color: var(--lightestColour);
|
|
|
|
}
|
|
|
|
|
|
|
|
.comparaison-grid > .indep-et-auto {
|
|
|
|
grid-column: indépendant / end;
|
2019-05-06 16:30:18 +00:00
|
|
|
border-right: none;
|
2019-05-06 15:03:04 +00:00
|
|
|
}
|
|
|
|
.comparaison-grid > .AS-indep-et-auto {
|
|
|
|
grid-column: assimilé-salarié / end;
|
2019-05-06 16:30:18 +00:00
|
|
|
border-right: none;
|
2019-05-03 15:18:06 +00:00
|
|
|
}
|
|
|
|
|
2019-05-09 14:31:11 +00:00
|
|
|
.comparaison-grid.hideAutoEntrepreneur {
|
|
|
|
grid-template-columns: [row-legend] auto [assimilé-salarié] 1fr [indépendant] 1fr [auto-entrepreneur] 0 [end];
|
|
|
|
}
|
|
|
|
.comparaison-grid.hideAutoEntrepreneur > .auto {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.comparaison-grid.hideAutoEntrepreneur > .indep-et-auto {
|
|
|
|
border-right: 1px solid var(--lighterColour);
|
|
|
|
}
|
|
|
|
|
|
|
|
.comparaison-grid.hideAssimiléSalarié {
|
|
|
|
grid-template-columns: [row-legend] auto [assimilé-salarié] 0 [indépendant] auto [auto-entrepreneur] auto [end];
|
2019-05-03 15:18:06 +00:00
|
|
|
}
|
2019-05-09 14:31:11 +00:00
|
|
|
.comparaison-grid.hideAssimiléSalarié > .AS {
|
2019-05-03 15:18:06 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comparaison-grid > .green {
|
|
|
|
font-weight: bold;
|
|
|
|
color: limegreen;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comparaison-grid > .red {
|
|
|
|
font-weight: bold;
|
|
|
|
color: red;
|
|
|
|
}
|
2019-05-06 15:03:04 +00:00
|
|
|
|
2019-05-07 13:46:37 +00:00
|
|
|
.comparaison-grid > .no-border {
|
|
|
|
border: none;
|
2019-05-03 15:18:06 +00:00
|
|
|
}
|
2019-05-10 14:53:11 +00:00
|
|
|
.comparaison-grid .button {
|
|
|
|
align-self: stretch;
|
|
|
|
}
|
|
|
|
|
2019-05-06 16:30:18 +00:00
|
|
|
@media (max-width: 800px) {
|
|
|
|
.comparaison-grid {
|
|
|
|
grid-template-columns: [row-legend] 10rem [assimilé-salarié] auto [indépendant] auto [auto-entrepreneur] auto [end];
|
|
|
|
}
|
|
|
|
.comparaison-grid > * {
|
|
|
|
padding: 0.6rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
.comparaison-grid {
|
|
|
|
display: block;
|
2019-05-07 13:46:37 +00:00
|
|
|
padding: 0 0.6rem;
|
2019-05-06 16:30:18 +00:00
|
|
|
}
|
2019-05-13 14:10:49 +00:00
|
|
|
|
2019-05-06 16:30:18 +00:00
|
|
|
.comparaison-grid > *::before {
|
|
|
|
flex: 1;
|
|
|
|
text-align: left;
|
|
|
|
flex-shrink: 0;
|
|
|
|
white-space: nowrap;
|
2019-05-13 14:10:49 +00:00
|
|
|
user-select: text;
|
2019-05-06 16:30:18 +00:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.comparaison-grid > :not(.button)::before {
|
|
|
|
color: rgba(0, 0, 0, 0.6);
|
|
|
|
color: var(--lighterInverseTextColour);
|
|
|
|
}
|
|
|
|
.comparaison-grid > .AS::before {
|
2019-05-13 14:10:49 +00:00
|
|
|
content: 'Assimilé-salarié ';
|
|
|
|
}
|
|
|
|
.comparaison-grid > .indep::before,
|
|
|
|
.comparaison-grid.hideAutoEntrepreneur > .indep-et-auto::before {
|
|
|
|
content: 'Indépendant ';
|
2019-05-06 16:30:18 +00:00
|
|
|
}
|
2019-05-13 14:10:49 +00:00
|
|
|
|
|
|
|
.comparaison-grid.hideAssimiléSalarié > .AS-et-indep::before,
|
|
|
|
.comparaison-grid.hideAssimiléSalarié > .indep::before {
|
|
|
|
content: 'Entreprise individuelle ';
|
2019-05-06 16:30:18 +00:00
|
|
|
}
|
2019-05-13 14:10:49 +00:00
|
|
|
|
2019-05-06 16:30:18 +00:00
|
|
|
.comparaison-grid > .auto::before {
|
2019-05-13 14:10:49 +00:00
|
|
|
content: 'Auto-entrepreneur ';
|
2019-05-06 16:30:18 +00:00
|
|
|
}
|
|
|
|
.comparaison-grid > .indep-et-auto::before {
|
2019-05-13 14:10:49 +00:00
|
|
|
content: 'Indépendant / auto-entrepreneur ';
|
2019-05-06 16:30:18 +00:00
|
|
|
}
|
|
|
|
.comparaison-grid > .AS-et-indep::before {
|
2019-05-13 14:10:49 +00:00
|
|
|
content: 'Assimilé salarié / indépendant ';
|
|
|
|
}
|
|
|
|
.comparaison-grid > h2::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.comparaison-grid > h2.AS::after,
|
|
|
|
.comparaison-grid:not(.hideAutoEntrepreneur) > h2.indep::after {
|
|
|
|
display: block;
|
|
|
|
font-size: 1rem;
|
|
|
|
margin-top: 1rem;
|
|
|
|
content: 'vs';
|
|
|
|
color: var(--lightColour);
|
2019-05-06 16:30:18 +00:00
|
|
|
}
|
|
|
|
.comparaison-grid > .legend {
|
|
|
|
text-align: left;
|
|
|
|
justify-content: left;
|
|
|
|
}
|
|
|
|
.comparaison-grid > * {
|
|
|
|
border: none;
|
2019-05-07 13:46:37 +00:00
|
|
|
max-width: inherit !important;
|
2019-05-06 16:30:18 +00:00
|
|
|
text-align: right;
|
|
|
|
justify-content: right;
|
|
|
|
}
|
|
|
|
.comparaison-grid > :not(.all):not(.button) {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2019-05-07 13:46:37 +00:00
|
|
|
.comparaison-grid > .all {
|
|
|
|
margin: 0 -0.6rem;
|
|
|
|
margin-top: 2rem;
|
|
|
|
}
|
2019-05-13 14:10:49 +00:00
|
|
|
.comparaison-grid > .no-border > .button {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
.comparaison-grid > .no-border::before {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-05-06 16:30:18 +00:00
|
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.comparaison-grid > h3 {
|
|
|
|
margin: 0;
|
2019-05-07 13:46:37 +00:00
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
2019-05-06 16:30:18 +00:00
|
|
|
}
|