Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/homepage bugfixes #135

Merged
merged 2 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 35 additions & 35 deletions component-models.json
Original file line number Diff line number Diff line change
Expand Up @@ -1875,6 +1875,41 @@
"label": "Image",
"description": "Front Image"
},
{
"component": "multiselect",
"name": "classes",
"label": "Style",
"valueType": "string",
"required": true,
"options": [
{
"name": "Theme",
"children": [
{
"name": "Light",
"value": "light"
},
{
"name": "Light",
"value": "light"
},
{
"name": "Dark",
"value": "dark"
}
]
},
{
"name": "Type",
"children": [
{
"name": "teaserv2",
"value": "teaserv2"
}
]
}
]
},
{
"component": "text",
"valueType": "string",
Expand Down Expand Up @@ -1939,41 +1974,6 @@
"label": "teaserv2 Attribute",
"description": "Set TeaserV2 Attribute"
},
{
"component": "multiselect",
"name": "classes",
"label": "Style",
"valueType": "string",
"required": true,
"options": [
{
"name": "Theme",
"children": [
{
"name": "Light",
"value": "light"
},
{
"name": "Light",
"value": "light"
},
{
"name": "Dark",
"value": "dark"
}
]
},
{
"name": "Type",
"children": [
{
"name": "teaserv2",
"value": "teaserv2"
}
]
}
]
},
{
"component": "richtext",
"valueType": "string",
Expand Down
43 changes: 41 additions & 2 deletions styles/company-details/company-details.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
position: relative;
white-space: nowrap;
color: #000;
font-family: Nunito-Regular, sans-serif;
font-family: 'Nunito-Regular', sans-serif;
font-size: 1pc;
font-weight: 400;
line-height: 24px;
Expand Down Expand Up @@ -93,6 +93,33 @@
display: none;
}

/* about us tabs css */
.section.company-details-wrapper.about-us-company-details .tab-link-wrapper .tab-link.block {
margin-top: 32px;
}

.section.company-details-wrapper.about-us-company-details .tab-link-wrapper .tab-link.block>div>div>ul {
gap: 48px;
}

.section.company-details-wrapper.about-us-company-details .tab-link-wrapper .tab-link.block>div>div>ul>li a {
font-family: 'Nunito-Bold', sans-serif;
border: 1px solid #333333;
}

.section.company-details-wrapper.about-us-company-details .tab-link-wrapper .tab-link.block>div>div>ul>li a:after {
right: -24px;
}

.section.company-details-wrapper.about-us-company-details .tab-link-wrapper .tab-link.block>div>div>ul>li>strong>a {
color: var(--white);
}

.section.company-details-wrapper.about-us-company-details .tab-link-wrapper .tab-link.block>div>div>ul>li>a:hover,
.section.company-details-wrapper.about-us-company-details .tab-link-wrapper .tab-link.block>div>div>ul>li>strong>a:hover {
background-color: var(--white);
color: #000;
}

@media screen and (max-width:1024px) {

Expand Down Expand Up @@ -273,7 +300,6 @@

/* Modal and Overlay Styles */
.section.company-details-wrapper .tab-link-wrapper .tab-link.block>.compony-details {
display: none;
display: flex;
outline: 0;
z-index: 1200;
Expand Down Expand Up @@ -319,4 +345,17 @@
padding: 0;
text-align: start;
}

.section.company-details-wrapper.about-us-company-details .tab-link-wrapper .tab-link.block>div>div>ul>li a::before {
border: 1px solid var(--orange);
}

.section.company-details-wrapper.about-us-company-details .tab-link-wrapper .tab-link.block>div>div>ul>li>strong a::after {
background: var(--orange);
}

.section.company-details-wrapper.about-us-company-details .tab-link-wrapper .tab-link.block>.compony-details {
transform: translateY(100%);
max-height: 312px;
}
}
Loading