439 lines
9.3 KiB
CSS
439 lines
9.3 KiB
CSS
.esun-parameter-comparison {
|
|
--pc-green: #17a957;
|
|
--pc-dark: #303631;
|
|
--pc-muted: #8a928d;
|
|
--pc-line: #d9eadf;
|
|
margin: 45px 0 55px;
|
|
color: var(--pc-dark);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.esun-parameter-comparison__app {
|
|
width: 100%;
|
|
}
|
|
|
|
.esun-parameter-comparison__selector {
|
|
border: 1px solid var(--pc-line);
|
|
border-radius: 18px;
|
|
background: #fff;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.esun-parameter-comparison__selector-row {
|
|
display: block;
|
|
padding: 28px 30px;
|
|
}
|
|
|
|
.esun-parameter-comparison__selector-row + .esun-parameter-comparison__selector-row {
|
|
border-top: 1px solid var(--pc-line);
|
|
}
|
|
|
|
.esun-parameter-comparison__row-title strong {
|
|
display: block;
|
|
color: #4d735e;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
letter-spacing: .12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.esun-parameter-comparison__row-title span {
|
|
display: block;
|
|
margin-top: 7px;
|
|
color: var(--pc-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.esun-parameter-comparison__row-title {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.esun-parameter-comparison__base-options {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.esun-parameter-comparison__base-options label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 42px;
|
|
box-sizing: border-box;
|
|
padding: 0 15px;
|
|
border: 2px solid #cfe4d7;
|
|
border-radius: 999px;
|
|
color: #657069;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: .2s ease;
|
|
}
|
|
|
|
.esun-parameter-comparison__base-options input {
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.esun-parameter-comparison__dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background: #afbeb5;
|
|
}
|
|
|
|
.esun-parameter-comparison__base-options small {
|
|
color: #8d9891;
|
|
}
|
|
|
|
.esun-parameter-comparison__base-options label:has(input:checked) {
|
|
border-color: var(--pc-green);
|
|
background: #f2fbf6;
|
|
color: var(--pc-green);
|
|
}
|
|
|
|
.esun-parameter-comparison__base-options label:has(input:checked) .esun-parameter-comparison__dot {
|
|
background: var(--pc-green);
|
|
}
|
|
|
|
.esun-parameter-comparison__series-area {
|
|
min-width: 0;
|
|
}
|
|
|
|
.esun-parameter-comparison__series-summary {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
margin-bottom: 14px;
|
|
color: #747d77;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.esun-parameter-comparison__series-summary strong {
|
|
color: var(--pc-green);
|
|
}
|
|
|
|
.esun-parameter-comparison__series-list {
|
|
column-count: 3;
|
|
column-gap: 12px;
|
|
}
|
|
|
|
.esun-parameter-comparison__series-row {
|
|
display: inline-block;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-width: 0;
|
|
margin: 0 0 12px;
|
|
padding: 15px;
|
|
border: 1px solid #dcebe1;
|
|
border-radius: 12px;
|
|
background: #fbfdfc;
|
|
break-inside: avoid;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.esun-parameter-comparison__series-name {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 8px;
|
|
padding: 0 0 11px;
|
|
}
|
|
|
|
.esun-parameter-comparison__series-name strong {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.esun-parameter-comparison__series-name span {
|
|
min-width: 27px;
|
|
padding: 2px 7px;
|
|
border: 1px solid #cce6d6;
|
|
border-radius: 999px;
|
|
background: #f2faf5;
|
|
color: #55976f;
|
|
text-align: center;
|
|
}
|
|
|
|
.esun-parameter-comparison__series-products {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 7px;
|
|
}
|
|
|
|
.esun-parameter-comparison__product {
|
|
min-height: 36px;
|
|
max-width: 100%;
|
|
padding: 0 12px;
|
|
border: 1px solid #cfe1d5;
|
|
border-radius: 999px;
|
|
background: #fff;
|
|
color: #68726c;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.esun-parameter-comparison__product:hover,
|
|
.esun-parameter-comparison__product.is-selected {
|
|
border-color: var(--pc-green);
|
|
background: var(--pc-green);
|
|
color: #fff;
|
|
}
|
|
|
|
.esun-parameter-comparison__product:disabled {
|
|
opacity: .45;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.esun-parameter-comparison__notice {
|
|
min-height: 20px;
|
|
margin: 7px 0 0;
|
|
color: #b43e32;
|
|
}
|
|
|
|
.esun-parameter-comparison__selected {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 9px;
|
|
min-height: 40px;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.esun-parameter-comparison__selected-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 7px 9px 7px 14px;
|
|
border: 1px solid #b9dfc8;
|
|
border-radius: 999px;
|
|
background: #f0faf4;
|
|
color: #315e43;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.esun-parameter-comparison__selected-pill button,
|
|
.esun-parameter-comparison thead button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 50%;
|
|
background: #dcefe3;
|
|
color: #4c7a5e;
|
|
}
|
|
|
|
.esun-parameter-comparison__comparison {
|
|
margin-top: 36px;
|
|
}
|
|
|
|
.esun-parameter-comparison__comparison-head {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.esun-parameter-comparison__comparison-head h2 {
|
|
margin: 0 0 4px;
|
|
font-size: 23px;
|
|
}
|
|
|
|
.esun-parameter-comparison__comparison-head p {
|
|
margin: 0;
|
|
color: var(--pc-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.esun-parameter-comparison__modes {
|
|
display: inline-flex;
|
|
padding: 4px;
|
|
border: 1px solid var(--pc-line);
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
}
|
|
|
|
.esun-parameter-comparison__modes button {
|
|
padding: 9px 16px;
|
|
border: 0;
|
|
border-radius: 7px;
|
|
background: transparent;
|
|
color: #929a95;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.esun-parameter-comparison__modes button.is-active {
|
|
background: var(--pc-green);
|
|
color: #fff;
|
|
}
|
|
|
|
.esun-parameter-comparison__placeholder {
|
|
padding: 52px 25px;
|
|
border: 1px solid var(--pc-line);
|
|
border-radius: 14px;
|
|
color: var(--pc-muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.esun-parameter-comparison__table-wrap {
|
|
display: none;
|
|
max-height: 720px;
|
|
border: 1px solid var(--pc-line);
|
|
border-radius: 14px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.esun-parameter-comparison table {
|
|
width: 100%;
|
|
min-width: 780px;
|
|
margin: 0;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.esun-parameter-comparison__table-wrap.is-single table {
|
|
min-width: 0;
|
|
}
|
|
|
|
.esun-parameter-comparison__table-wrap.is-single th:first-child {
|
|
width: 46%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.esun-parameter-comparison th,
|
|
.esun-parameter-comparison td {
|
|
padding: 15px 18px;
|
|
border-right: 1px solid #e3eee7;
|
|
border-bottom: 1px solid #e3eee7;
|
|
background: #fff;
|
|
color: var(--pc-dark);
|
|
vertical-align: top;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
.esun-parameter-comparison thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 3;
|
|
background: #f4faf6;
|
|
color: var(--pc-dark) !important;
|
|
text-align: left;
|
|
}
|
|
|
|
.esun-parameter-comparison thead th span {
|
|
margin-right: 9px;
|
|
color: var(--pc-dark) !important;
|
|
}
|
|
|
|
.esun-parameter-comparison th:first-child {
|
|
position: sticky;
|
|
left: 0;
|
|
z-index: 2;
|
|
width: 29%;
|
|
min-width: 245px;
|
|
}
|
|
|
|
.esun-parameter-comparison thead th:first-child {
|
|
z-index: 4;
|
|
}
|
|
|
|
.esun-parameter-comparison__group-row th {
|
|
left: 0;
|
|
z-index: 2;
|
|
background: #eff9f3;
|
|
color: var(--pc-green);
|
|
font-size: 13px;
|
|
letter-spacing: .09em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.esun-parameter-comparison__selector-row {
|
|
padding: 24px 22px;
|
|
}
|
|
.esun-parameter-comparison__series-list {
|
|
column-count: 2;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.esun-parameter-comparison {
|
|
margin: 28px 0 40px;
|
|
}
|
|
.esun-parameter-comparison__selector-row {
|
|
padding: 18px 14px;
|
|
}
|
|
.esun-parameter-comparison__row-title {
|
|
margin-bottom: 15px;
|
|
}
|
|
.esun-parameter-comparison__base-options {
|
|
flex-wrap: nowrap;
|
|
padding-bottom: 5px;
|
|
overflow-x: auto;
|
|
}
|
|
.esun-parameter-comparison__base-options label {
|
|
flex: 0 0 auto;
|
|
min-height: 36px;
|
|
padding: 0 11px;
|
|
font-size: 12px;
|
|
}
|
|
.esun-parameter-comparison__base-options label:has(input:checked) {
|
|
padding: 0 11px;
|
|
}
|
|
.esun-parameter-comparison__series-row {
|
|
padding: 13px;
|
|
}
|
|
.esun-parameter-comparison__series-name {
|
|
justify-content: flex-start;
|
|
padding-top: 2px;
|
|
}
|
|
.esun-parameter-comparison__series-products {
|
|
gap: 7px;
|
|
}
|
|
.esun-parameter-comparison__series-list {
|
|
column-count: 1;
|
|
}
|
|
.esun-parameter-comparison__product {
|
|
min-height: 33px;
|
|
padding: 0 11px;
|
|
font-size: 12px;
|
|
}
|
|
.esun-parameter-comparison__comparison-head {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
.esun-parameter-comparison__comparison-head h2 {
|
|
font-size: 20px;
|
|
}
|
|
.esun-parameter-comparison__modes {
|
|
overflow-x: auto;
|
|
}
|
|
.esun-parameter-comparison__modes button {
|
|
flex: 0 0 auto;
|
|
padding: 8px 11px;
|
|
font-size: 12px;
|
|
}
|
|
.esun-parameter-comparison th,
|
|
.esun-parameter-comparison td {
|
|
padding: 11px 12px;
|
|
font-size: 12px;
|
|
}
|
|
.esun-parameter-comparison__table-wrap:not(.is-single) table {
|
|
min-width: 680px;
|
|
}
|
|
.esun-parameter-comparison__table-wrap.is-single table {
|
|
width: 100%;
|
|
table-layout: fixed;
|
|
}
|
|
.esun-parameter-comparison__table-wrap.is-single th,
|
|
.esun-parameter-comparison__table-wrap.is-single td {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
}
|