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

Tweak theme #1

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from
Draft
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
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/api-portal-default-theme.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/libraries/Archive.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added src/assets/fonts/BrandonText-Bold.ttf
Binary file not shown.
Binary file added src/assets/fonts/BrandonText-Bold.woff
Binary file not shown.
Binary file added src/assets/fonts/BrandonText-Bold.woff2
Binary file not shown.
Binary file added src/assets/fonts/BrandonText-Regular.ttf
Binary file not shown.
Binary file added src/assets/fonts/BrandonText-Regular.woff
Binary file not shown.
Binary file added src/assets/fonts/BrandonText-Regular.woff2
Binary file not shown.
Binary file removed src/assets/fonts/OpenSans-Bold.woff
Binary file not shown.
Binary file removed src/assets/fonts/OpenSans-Bold.woff2
Binary file not shown.
Binary file removed src/assets/fonts/OpenSans-Regular.woff
Binary file not shown.
Binary file removed src/assets/fonts/OpenSans-Regular.woff2
Binary file not shown.
Binary file removed src/assets/fonts/OpenSans-Semibold.woff
Binary file not shown.
Binary file removed src/assets/fonts/OpenSans-Semibold.woff2
Binary file not shown.
Binary file removed src/assets/fonts/Smoolthan-Bold.woff
Binary file not shown.
Binary file removed src/assets/fonts/Smoolthan-Bold.woff2
Binary file not shown.
Binary file removed src/assets/fonts/Smoolthan-Regular.woff
Binary file not shown.
Binary file removed src/assets/fonts/Smoolthan-Regular.woff2
Binary file not shown.
Binary file removed src/assets/fonts/Smoolthan-Semibold.woff
Binary file not shown.
Binary file removed src/assets/fonts/Smoolthan-Semibold.woff2
Binary file not shown.
Binary file removed src/assets/images/about-us.png
Binary file not shown.
194 changes: 174 additions & 20 deletions src/assets/images/dev-portal-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/goodlord-logo-colour.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/goodlord-logo-green-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions src/assets/images/goodlord-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/images/tyk-portal-silhouette.png
Binary file not shown.
8 changes: 4 additions & 4 deletions src/assets/javascripts/components/interactive.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ function Toggle({element, onChange, index, contentWrapper, stepsSelector, conten
let footer = document.querySelector("footer");
let activeTab = stepsCollection[stepIndex];
let redoc = document.getElementById("redoc-wrapper");
if (activeTab && activeTab.innerHTML != "API SPECIFICATIONS") {
if (activeTab && activeTab.innerHTML != "API Specifications") {
footer.style.marginTop = "0px";
}else if (activeTab && activeTab.innerHTML == "API SPECIFICATIONS" && redoc){
}else if (activeTab && activeTab.innerHTML == "API Specifications" && redoc){
footer.style.marginTop = redoc.clientHeight + "px";
}
});
Expand Down Expand Up @@ -164,7 +164,7 @@ function initRedoc(url) {
}, wrapper, (redoc) => {
let footer = document.querySelector("footer");
let activeTab = document.querySelector(".step.active.tab");
if (activeTab?.innerHTML == "API SPECIFICATIONS") {
if (activeTab?.innerHTML == "API Specifications") {
footer.style.marginTop = wrapper.clientHeight + "px";
}
})
Expand Down Expand Up @@ -195,4 +195,4 @@ function handleTextExpand(textElement, attribute) {
let data = textElement?.getAttribute(attribute);
textElement.setAttribute(attribute, textElement.innerText);
textElement.innerText = data;
}
}
69 changes: 0 additions & 69 deletions src/assets/stylesheets/common/fonts.css

This file was deleted.

6 changes: 1 addition & 5 deletions src/assets/stylesheets/common/form.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.form-label {
font-family: "OpenSans-SemiBold";
}

.form-group {
color: var(--tdp-text-color);
position: relative;
Expand Down Expand Up @@ -31,4 +27,4 @@
.error-wrapper{
width: 80%;
margin-left: 20%;
}
}
4 changes: 0 additions & 4 deletions src/assets/stylesheets/common/navigation.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ footer .footer-menu__link {

.navbar-dark .navbar-nav .nav-link {
color: var(--tdp-nav-link-color);
font-family: 'OpenSans-Semibold';
}

.navbar-dark .navbar-nav .nav-link:focus,
Expand Down Expand Up @@ -51,7 +50,6 @@ footer .footer-menu__link {
.navbar .nav-link,
.navbar .navbar-brand {
color: var(--tdp-nav-link-color);
text-transform: uppercase;
}

.navbar .nav-link {
Expand All @@ -62,7 +60,6 @@ footer .footer-menu__link {
.navbar .navbar-brand {
font-size: 20px;
margin-right: 40px;
font-family: 'OpenSans-Bold';
}

.btn-login {
Expand Down Expand Up @@ -119,7 +116,6 @@ footer .footer-menu__link {

.admin-dash {
text-decoration: underline;
font-family: 'OpenSans-SemiBold';
}

.side-menu-container{
Expand Down
12 changes: 1 addition & 11 deletions src/assets/stylesheets/common/texts.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,11 @@ a {
}

a:hover {
color: var(--tdp-primary);
text-decoration: underline;
color: var(--tdp-link-hover-color);
}

a.breadcrumb-link,
a.breadcrumb-link:hover {
color: var(--tdp-dark);
text-decoration: underline;
font-family: 'OpenSans-Semibold';
}

.opensans-semibold {
font-family: 'OpenSans-Semibold';
}

.opensans-regular {
font-family: 'OpenSans-regular';
}
5 changes: 1 addition & 4 deletions src/assets/stylesheets/common/tyk-icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@

.with-info-icon,
.invalid-feedback {
font-family: "OpenSans-regular";
font-size: 12px;
line-height: 16px;
margin-top: 5px;
Expand All @@ -172,7 +171,6 @@
content: '!';
background: var(--tdp-primary-light);
color: white;
font-family: "OpenSans-Bold";
border-radius: 8px;
display: inline-block;
margin-right: 5px;
Expand All @@ -188,7 +186,6 @@
content: '!';
background: #FF6C7D;
color: white;
font-family: "OpenSans-Bold";
border-radius: 8px;
display: inline-block;
margin-right: 5px;
Expand Down Expand Up @@ -252,4 +249,4 @@
cursor: pointer;
-webkit-text-stroke: 1px;
height: 25px;
}
}
Loading