Skip to content

Commit a91b9b2

Browse files
committed
docs: dxp LP ui fixes
1 parent 74ed535 commit a91b9b2

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

apps/docs/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ const config: Config = {
351351
to: '/dxp',
352352
// label: 'DXP Starter',
353353
position: 'right',
354-
className: 'button-ultra',
354+
className: 'button button-tertiary',
355355
html: '<span class="label">DXP Starter</span>',
356356
},
357357

apps/docs/src/css/custom.css

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,10 @@ aside:not(.theme-doc-sidebar-container) {
448448
background-color: #001a85;
449449
}
450450

451+
.navbar .button-ultra {
452+
color: var(--ifm-navbar-link-color);
453+
}
454+
451455
@media (max-width: 996px) {
452456
.navbar__item {
453457
display: none !important;
@@ -912,6 +916,17 @@ footer a {
912916
border: 1px solid #4c5ce5;
913917
color: #fff;
914918
}
919+
.button-tertiary {
920+
border: 1px solid #4c5ce5 !important;
921+
background: rgba(255, 255, 255, 0.1);
922+
color: #fff;
923+
font-weight: 500;
924+
font-size: 0.875rem;
925+
padding: 0.5rem 1.6rem;
926+
}
927+
.button-tertiary:before {
928+
display: none;
929+
}
915930

916931
/* --------------------------
917932
Page Gradients - make this styles global for future use
@@ -1060,12 +1075,12 @@ footer a {
10601075
transition: all 0.3s;
10611076

10621077
/*thin border*/
1063-
/*border-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' fill='none'%3e%3cpath stroke='url(%23a)' d='M6 .5h148a5.5 5.5 0 0 1 5.5 5.5v28a5.5 5.5 0 0 1-5.5 5.5H6A5.5 5.5 0 0 1 .5 34V6A5.5 5.5 0 0 1 6 .5Z'/%3e%3cdefs%3e%3clinearGradient id='a' x1='9.57' x2='152.54' y1='-2.661' y2='57.676' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%234C5CE5'/%3e%3cstop offset='.346' stop-color='%232563EB'/%3e%3cstop offset='1' stop-color='%2334D399'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e")*/
1064-
/* 8 / 8px stretch;*/
1078+
border-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' fill='none'%3e%3cpath stroke='url(%23a)' d='M6 .5h148a5.5 5.5 0 0 1 5.5 5.5v28a5.5 5.5 0 0 1-5.5 5.5H6A5.5 5.5 0 0 1 .5 34V6A5.5 5.5 0 0 1 6 .5Z'/%3e%3cdefs%3e%3clinearGradient id='a' x1='9.57' x2='152.54' y1='-2.661' y2='57.676' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%234C5CE5'/%3e%3cstop offset='.346' stop-color='%232563EB'/%3e%3cstop offset='1' stop-color='%2334D399'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e")
1079+
8 / 8px stretch;
10651080

10661081
/*thick border*/
1067-
border-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='52' height='40' fill='none'%3e%3cmask id='b' fill='white'%3e%3cpath d='M0 6a6 6 0 0 1 6-6h40a6 6 0 0 1 6 6v28a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6V6Z'/%3e%3c/mask%3e%3cpath fill='url(%23a)' d='M6 0v2h40v-4H6v2Zm46 6h-2v28h4V6h-2Zm-6 34v-2H6v4h40v-2ZM0 34h2V6h-4v28h2Zm6 6v-2a4 4 0 0 1-4-4h-4a8 8 0 0 0 8 8v-2Zm46-6h-2a4 4 0 0 1-4 4v4a8 8 0 0 0 8-8h-2ZM46 0v2a4 4 0 0 1 4 4h4a8 8 0 0 0-8-8v2ZM6 0v-2a8 8 0 0 0-8 8h4a4 4 0 0 1 4-4V0Z' mask='url(%23b)'/%3e%3cdefs%3e%3clinearGradient id='a' x1='3.11' x2='56.84' y1='-2.661' y2='4.709' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%234C5CE5'/%3e%3cstop offset='.346' stop-color='%232563EB'/%3e%3cstop offset='1' stop-color='%2334D399'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e")
1068-
8 / 8px stretch;
1082+
/* border-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='52' height='40' fill='none'%3e%3cmask id='b' fill='white'%3e%3cpath d='M0 6a6 6 0 0 1 6-6h40a6 6 0 0 1 6 6v28a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6V6Z'/%3e%3c/mask%3e%3cpath fill='url(%23a)' d='M6 0v2h40v-4H6v2Zm46 6h-2v28h4V6h-2Zm-6 34v-2H6v4h40v-2ZM0 34h2V6h-4v28h2Zm6 6v-2a4 4 0 0 1-4-4h-4a8 8 0 0 0 8 8v-2Zm46-6h-2a4 4 0 0 1-4 4v4a8 8 0 0 0 8-8h-2ZM46 0v2a4 4 0 0 1 4 4h4a8 8 0 0 0-8-8v2ZM6 0v-2a8 8 0 0 0-8 8h4a4 4 0 0 1 4-4V0Z' mask='url(%23b)'/%3e%3cdefs%3e%3clinearGradient id='a' x1='3.11' x2='56.84' y1='-2.661' y2='4.709' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%234C5CE5'/%3e%3cstop offset='.346' stop-color='%232563EB'/%3e%3cstop offset='1' stop-color='%2334D399'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e")
1083+
8 / 8px stretch; */
10691084
}
10701085

10711086
.button-ultra::before {

0 commit comments

Comments
 (0)