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

Chore/create demo page #1563

Draft
wants to merge 145 commits into
base: main-beta
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
bc2cc7f
docs(esl-share): create esl-share example page
dshovchko Oct 26, 2022
741fbee
docs(esl-share): create README
dshovchko Oct 28, 2022
6213f36
feat(esl-share): create esl-share-icon component
dshovchko Oct 28, 2022
0ff835a
feat(esl-share): update all.ts and all.less files
dshovchko Oct 28, 2022
9e0fb79
feat(esl-share): create esl-share-trigger component
dshovchko Oct 28, 2022
3e0a2b0
feat(esl-share): create esl-share component
dshovchko Oct 28, 2022
7ba9b1d
Merge branch 'main' into epic/share
dshovchko Nov 10, 2022
1e851d0
feat(esl-share): create esl-share-button initial implementation
dshovchko Nov 11, 2022
8411343
feat(esl-share): create abstract base action class
dshovchko Nov 11, 2022
d176117
chore(deps-dev): bump @typescript-eslint/parser from 5.40.1 to 5.41.0
dependabot[bot] Oct 25, 2022
6620a7c
chore(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot[bot] Oct 27, 2022
ab4469d
chore(gh-pages): fix logo svg to prevent artifacts on iOS devices (#1…
Natalie-Smirnova Oct 27, 2022
d72bcd8
chore(gh-pages): add 11ty generator marker metatag
ala-n Nov 1, 2022
b830900
chore(gh-pages): add robots="noindex" meta tag for forward template
ala-n Nov 1, 2022
e3eafc5
chore(deps-dev): bump @types/jest from 29.2.0 to 29.2.1
dependabot[bot] Nov 1, 2022
126f79b
chore(deps-dev): bump @commitlint/cli from 17.1.2 to 17.2.0
dependabot[bot] Nov 1, 2022
39dd3d9
chore(deps-dev): bump @commitlint/config-conventional
dependabot[bot] Nov 1, 2022
7711733
chore(deps-dev): bump @typescript-eslint/parser from 5.41.0 to 5.42.0
dependabot[bot] Nov 1, 2022
39a9d69
chore(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot[bot] Nov 1, 2022
3690d02
chore(gh-pages): remove push trigger to deploy site
ala-n Nov 1, 2022
aa64b59
chore(gh-pages): fix aurora effect for `lg-xl`, `xl` and `xs` breakpo…
Natalie-Smirnova Nov 2, 2022
59480a3
chore(deps-dev): bump stylelint from 14.14.0 to 14.14.1
dependabot[bot] Nov 4, 2022
07fc40a
chore(deps-dev): bump husky from 8.0.1 to 8.0.2
dependabot[bot] Nov 8, 2022
5c6ec49
Merge branch 'epic/share' into feature/esl-share
dshovchko Nov 11, 2022
df36651
feat(esl-share): create share actions registry
dshovchko Nov 11, 2022
9ed21fc
feat(esl-share): create print action
dshovchko Nov 11, 2022
40637cf
feat(esl-share): create copy action
dshovchko Nov 11, 2022
11ee61a
feat(esl-share): create media action
dshovchko Nov 11, 2022
0adad11
refactor(esl-share): rename actions
dshovchko Nov 13, 2022
7a6aa35
style(esl-share): update imports
dshovchko Nov 13, 2022
84ad6f4
refactor(esl-share): delete esl-share-icons
dshovchko Nov 13, 2022
0f33fe1
docs(esl-share): update demo page
dshovchko Nov 13, 2022
dcce8af
refactor(esl-share): remove esl-share-trigger
dshovchko Nov 16, 2022
258b1d3
feat(esl-share): create esl-share-config
dshovchko Nov 16, 2022
79c6ea2
feat(esl-share): create abstract base config provider
dshovchko Nov 16, 2022
aebc38a
feat(esl-share): create fetch config provider
dshovchko Nov 16, 2022
80c890f
refactor(esl-share): update share button
dshovchko Nov 16, 2022
6d3cbd2
feat(esl-share): create esl-share-list
dshovchko Nov 16, 2022
c647d9d
chore(esl-share): update localdev imports
dshovchko Nov 16, 2022
11c2733
refactor(esl-share): update getting buttons config
dshovchko Nov 17, 2022
7628070
docs(esl-share): add share buttons config
dshovchko Nov 17, 2022
ae70066
docs(esl-share): update esl-share demo page
dshovchko Nov 17, 2022
2a73734
refactor(esl-share): create share buttons getter shareData()
dshovchko Nov 17, 2022
9c82115
style(esl-share): update esl-share-list styles
dshovchko Nov 17, 2022
614cb24
docs(esl-share): update config with several social media
dshovchko Nov 22, 2022
54bf330
Merge remote-tracking branch 'origin/main' into epic/share
dshovchko Nov 23, 2022
0221cfe
Merge branch 'main' into epic/share
dshovchko Nov 30, 2022
d32ad18
Merge remote-tracking branch 'origin/epic/share' into feature/esl-share
dshovchko Nov 30, 2022
f38d402
feat(esl-share): add static register() method to register the action
dshovchko Nov 30, 2022
dbffaf3
feat(esl-share): create URL generic action
dshovchko Dec 1, 2022
c84855a
feat(esl-share): create mail action
dshovchko Dec 1, 2022
a6e5b86
docs(esl-share): update Readme
dshovchko Dec 1, 2022
d519d41
refactor(esl-share): update copy action
dshovchko Dec 1, 2022
29784e2
Merge remote-tracking branch 'origin/main' into epic/share
dshovchko Dec 9, 2022
ef66167
Merge branch 'main' of https://github.com/exadel-inc/esl into epic/share
ala-n Dec 14, 2022
9542ffb
Merge branch 'epic/share' of https://github.com/exadel-inc/esl into f…
ala-n Dec 14, 2022
70ec8a6
chore(esl-share): mark esl-share actions as side effects
dshovchko Dec 15, 2022
477b71a
feat(esl-share): add feature to mark button as unavailable depending …
dshovchko Dec 15, 2022
b3861c0
refactor(esl-share): separate a11y init
dshovchko Dec 15, 2022
4c1fe2c
refactor(esl-share): update shareData format for links
dshovchko Dec 15, 2022
2830c46
feat(esl-share): add action for native share mechanism on devices
dshovchko Dec 15, 2022
68abccc
docs(esl-share): update example page
dshovchko Dec 15, 2022
5ef927a
docs(esl-share): update buttons config.json
dshovchko Dec 15, 2022
7c1d8c9
refactor(esl-share): rework share config provider
dshovchko Dec 15, 2022
776db91
refactor(esl-share): update cjnfig provider type
dshovchko Dec 16, 2022
655bc34
Merge remote-tracking branch 'origin/main' into epic/share
dshovchko Jan 16, 2023
af3dd01
Merge remote-tracking branch 'origin/epic/share' into feature/esl-share
dshovchko Jan 16, 2023
52d4144
refactor(esl-share): remove creating action instance on the fly
dshovchko Jan 16, 2023
2448ac9
refactor(esl-share): rename action share method
dshovchko Jan 16, 2023
ab391fe
style(esl-share): rename mail action to external
dshovchko Jan 16, 2023
cf17913
refactor(esl-share): update a11y
dshovchko Jan 16, 2023
6f3915e
Merge remote-tracking branch 'origin/main' into epic/share
dshovchko Jan 23, 2023
dbcbc3b
Merge remote-tracking branch 'origin/main' into feature/esl-share
dshovchko Jan 23, 2023
57facab
Merge branch 'epic/share' into feature/esl-share
dshovchko Jan 23, 2023
2bd45d6
style(esl-share): apply suggestion from review
dshovchko Jan 23, 2023
c676ece
style(esl-share): update ready$ getter
dshovchko Jan 23, 2023
a31b24e
Merge branch 'feature/esl-share' of github.com:exadel-inc/esl into fe…
dshovchko Jan 23, 2023
76bbf72
refactor(esl-share): update on share ready event
dshovchko Jan 23, 2023
2d0c2e6
Merge branch 'main' of https://github.com/exadel-inc/esl into epic/share
ala-n Feb 7, 2023
0c70abb
refactor(esl-share): update styles
dshovchko Feb 23, 2023
05c810e
style(esl-share): apply suggestion from review
dshovchko Mar 1, 2023
8e9470c
refactor(esl-share): refactor actions
dshovchko Mar 1, 2023
b45a7c9
Merge branch 'main' into epic/share
dshovchko Mar 1, 2023
4a56f94
Merge remote-tracking branch 'origin/epic/share' into feature/esl-share
dshovchko Mar 1, 2023
8679639
style(esl-share): fix linter issue
dshovchko Mar 1, 2023
9655200
refactor(esl-share): update data-share attributes
dshovchko Mar 1, 2023
10698fd
fix(esl-share): fix window.open features
dshovchko Mar 1, 2023
37edb5d
style(esl-share): replace bgcolor static property with @prop
dshovchko Mar 2, 2023
a7f35c2
refactor(esl-share): remove id from share config
dshovchko Mar 2, 2023
ac5f7ed
feat(esl-utils): added URL utility with toAbsoluteUrl method
dshovchko Mar 3, 2023
f649e47
test(esl-utils): url utility tests added
dshovchko Mar 3, 2023
5f9bf92
refactor(esl-share): rewrite share data processing
dshovchko Mar 3, 2023
40b085b
refactor(esl-share): move build method from button to list
dshovchko Mar 3, 2023
c86c426
refactor(esl-share): remove share config class
dshovchko Mar 3, 2023
9c8f763
feat(easl-share): added additional param into config to pass extra da…
dshovchko Mar 3, 2023
ee0e8c5
docs(esl-share): update local-dev page
dshovchko Mar 3, 2023
edb43e3
refactor(esl-share): simplification of titleToShare and urlToShare ge…
dshovchko Mar 5, 2023
e07d543
style(esl-share): apply suggestions from review
dshovchko Mar 6, 2023
9afaba9
Merge branch 'main' into epic/share
dshovchko Mar 6, 2023
7872cf3
Merge remote-tracking branch 'origin/epic/share' into feature/esl-share
dshovchko Mar 6, 2023
a522ba7
docs(esl-share): update esl-share demo page
dshovchko Mar 6, 2023
de671dd
refactor(esl-share): create actionInstance getter
dshovchko Mar 7, 2023
e9a833d
refactor(esl-share): removed befaultBackround from button icon
dshovchko Mar 7, 2023
63e1da4
refactor(esl-share): update share config providers
dshovchko Mar 7, 2023
f9011a6
style(esl-share): change order share button attributes
dshovchko Mar 7, 2023
a11db42
Merge pull request #1358 from exadel-inc/feature/esl-share
dshovchko Mar 7, 2023
b4e5900
refactor(esl-share): merge list and group attributes
dshovchko Mar 10, 2023
b1bd429
Merge remote-tracking branch 'origin/main' into epic/share
dshovchko Mar 10, 2023
0860fd7
Merge remote-tracking branch 'origin/epic/share' into feature/esl-share
dshovchko Mar 10, 2023
001c14f
style(esl-share): apply suggestion from code review
dshovchko Mar 10, 2023
1a9000c
style(esl-share): add type assertion
dshovchko Mar 10, 2023
ca1d5db
refactor(esl-share): updated displaying logic of buttons list with em…
dshovchko Mar 10, 2023
996c876
docs(esl-share): updated demo page
dshovchko Mar 10, 2023
a0cf3e1
Merge remote-tracking branch 'origin/main' into epic/share
dshovchko Mar 14, 2023
59c35d3
style(esl-share): apply suggestions from code review
dshovchko Mar 14, 2023
ec0a224
Merge pull request #1538 from exadel-inc/feature/esl-share
dshovchko Mar 14, 2023
93ff1e1
refactor(gh-pages): rename css classes
Natalie-Smirnova Mar 15, 2023
1e7f93c
refactor(gh-pages): create `demo-page` and related css classes
Natalie-Smirnova Mar 15, 2023
0e6a518
refactor(gh-pages): add esl-examples to demo page
Natalie-Smirnova Mar 18, 2023
d40b230
Merge branch 'main' of github.com:exadel-inc/esl into epic/share
ala-n Mar 18, 2023
a8cf3fc
Merge branch 'main' of github.com:exadel-inc/esl into chore/create-de…
ala-n Mar 18, 2023
b24ecbd
Merge branch 'epic/share' into chore/create-demo-page
ala-n Mar 18, 2023
eedbf4e
fix(esl-share): extra paddings below buttons (change to display: flex)
ala-n Mar 18, 2023
0723a92
fix(esl-popup): fixes esl-popup visibility while it's not initialized
ala-n Mar 18, 2023
b5f3d15
fix(esl-footnotes): fix displaying and margins for footnotes container
ala-n Mar 18, 2023
751f1f0
chore(gh-pages): fix watch fo svg resources
ala-n Mar 18, 2023
452c7fa
style(gh-pages): small fixes in global site styles and markup
ala-n Mar 18, 2023
9b0dd69
style(gh-pages): add 'card' image assets
ala-n Mar 18, 2023
ad7b47f
refactor(gh-pages): refactoring and extending the 'showcase' page
ala-n Mar 18, 2023
06769f7
chore(gh-pages): fix footer alignment
ala-n Mar 18, 2023
bd0e937
refactor(gh-pages): move header restyling to page styles
ala-n Mar 19, 2023
2f4b926
refactor(gh-pages): fix sidebar on empty pages
ala-n Mar 19, 2023
bd7ea21
refactor(gh-pages): add mobile sharing option
ala-n Mar 19, 2023
5f2a18b
refactor(gh-pages): add share button to header
ala-n Mar 19, 2023
f937a0a
refactor(gh-pages): update showcase page with new content
ala-n Mar 19, 2023
8dbcba1
refactor(gh-pages): fix showcase menu
ala-n Mar 19, 2023
423806e
refactor(gh-pages): add more components
ala-n Mar 19, 2023
af7378a
refactor(gh-pages): fix navigation styling
ala-n Mar 19, 2023
a2e5f6b
refactor(gh-pages): fix mobile styles on showcase page
ala-n Mar 20, 2023
eef62e4
refactor(gh-pages): add `play-in-viewport` attribute to improve perfo…
Natalie-Smirnova Mar 20, 2023
a21fde0
refactor(gh-pages): optimize assets
Natalie-Smirnova Mar 20, 2023
ebd3e15
refactor(gh-pages): lazy media optimization
ala-n Mar 20, 2023
6340b2b
refactor(gh-pages): fix content tabs animation
ala-n Mar 20, 2023
bc0799f
refactor(gh-pages): fix layout shift
ala-n Mar 20, 2023
7e0dc13
Merge remote-tracking branch 'origin/main' into chore/create-demo-page
ala-n Apr 4, 2023
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
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
"modules/lib.js",
"src/modules/lib.ts",
"modules/esl-media/providers/**/*.js",
"modules/esl-share/actions/**/*.js",
"src/modules/esl-media/providers/**/*.ts",
"src/modules/esl-share/actions/**/*.ts",
"modules/draft/esl-carousel/core/view/*.js",
"src/modules/draft/esl-carousel/core/view/*.ts",
"polyfills/**/*.js",
Expand Down
1 change: 1 addition & 0 deletions pages/.eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = (config) => {

// Add MD files from the library sources
config.addWatchTarget('../**/*.md');
config.addWatchTarget('static/**/*.svg');

// Setup simple copy operations
config.addPassthroughCopy({
Expand Down
2 changes: 1 addition & 1 deletion pages/src/banner/banner.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import (reference) "../common/variables.less";

.banner {
.banner-popup {
&-alert {
width: 80%;
right: 10%;
Expand Down
4 changes: 2 additions & 2 deletions pages/src/banner/redesign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ onDocumentReady(() => {
sessionStorage.setItem(KEY, '1');

const detail: AlertActionParams = {
cls: 'alert alert-info banner-alert',
cls: 'alert alert-info banner-popup-alert',
html: `
<div class="banner-text">
<div class="banner-popup-text">
<p>Hey dear ESL site visitor, it is a preview version of our site redesign.</p>
<p>We hope you like it. Feel free to create an issue on GitHub in case you are faced with a bug.</p>
<p>Enjoy the new experience of ESL presentation!</p>
Expand Down
28 changes: 28 additions & 0 deletions pages/src/common/banner.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.banner {
display: flex;
justify-content: space-around;
align-items: center;

position: relative;
padding: 40px;
min-height: 450px;

.bg-content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;

z-index: 1;
}

.banner-content {
z-index: 2;

&.contrast {
color: white;
text-shadow: 0 0 6px rgba(0, 0, 0, .9);
}
}
}
5 changes: 2 additions & 3 deletions pages/src/common/simple-grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
justify-content: space-around;

margin: 30px 0;
padding: 20px;
gap: 40px;

& > &-cell {
list-style-type: none;
flex: 1 1 0px;
margin: 20px;
min-width: 200px;
height: 200px;
min-height: 200px;
}

&-fw > &-cell {
Expand Down
27 changes: 27 additions & 0 deletions pages/src/esl-media-demo/lazy-media-mixin.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import {ESLMixinElement} from '../../../src/modules/esl-mixin-element/core';
import {setAttr} from '../../../src/modules/esl-utils/dom/attr';
import {memoize} from '../../../src/modules/esl-utils/decorators/memoize';

export class ESLDemoLazyMedia extends ESLMixinElement {
static override is = 'esl-d-media-lazy';

@memoize()
static get io$$(): IntersectionObserver {
return new IntersectionObserver(function (entries: IntersectionObserverEntry[]) {
for (const entry of entries) {
if (entry.isIntersecting && entry.intersectionRatio > 0.01) {
setAttr(entry.target, 'disabled', false);
setAttr(entry.target, ESLDemoLazyMedia.is, false);
}
}
}, {threshold: [0.05]});
}

public override connectedCallback(): void {
ESLDemoLazyMedia.io$$.observe(this.$host);
}

public override disconnectedCallback(): void {
ESLDemoLazyMedia.io$$.unobserve(this.$host);
}
}
28 changes: 0 additions & 28 deletions pages/src/esl-media-demo/test-media.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,3 @@ esl-d-media-controls {
margin-right: 5px;
}
}

.demo-marquee {
display: flex;
justify-content: space-around;
align-items: center;

position: relative;
padding: 40px;
min-height: 340px;

.bg-content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;

z-index: 1;
}
.demo-content {
z-index: 2;

&.contrast {
color: white;
text-shadow: 0 0 6px rgba(0, 0, 0, .9);
}
}
}
12 changes: 12 additions & 0 deletions pages/src/esl-share/esl-share.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
esl-share-list esl-share-button[unavailable] {
display: inline-block;
opacity: .3;
cursor: not-allowed;
filter: grayscale(1);
}

esl-share-button {
path, circle {
fill: #fff;
}
}
3 changes: 3 additions & 0 deletions pages/src/localdev.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
@import "./common/accordion.less";
@import "./common/alert.less";
@import "./common/badge.less";
@import "./common/banner.less";
@import "./common/buttons.less";
@import "./common/code.less";
@import "./common/links.less";
Expand All @@ -28,11 +29,13 @@

@import "./navigation/navigation.less";
@import "./landing/landing.less";
@import "./showcase/showcase.less";

@import "./banner/banner.less";

@import "./collection-grid/collection-grid.less";
@import "./esl-media-demo/test-media.less";
@import "./esl-share/esl-share.less";

@import "../../src/modules/all.less";
@import "../../src/modules/draft/all.less";
Expand Down
12 changes: 12 additions & 0 deletions pages/src/localdev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import {
ESLFootnotes,
ESLTooltip,
ESLAnimate,
ESLShareList,
ESLRelatedTarget
} from '../../src/modules/all';

Expand All @@ -41,6 +42,12 @@ import '../../src/modules/esl-media/providers/html5/video-provider';
import '../../src/modules/esl-media/providers/youtube-provider';
import '../../src/modules/esl-media/providers/brightcove-provider';

import '../../src/modules/esl-share/actions/copy-action';
import '../../src/modules/esl-share/actions/external-action';
import '../../src/modules/esl-share/actions/media-action';
import '../../src/modules/esl-share/actions/native-action';
import '../../src/modules/esl-share/actions/print-action';

import {
ESLCarousel,
ESLCarouselPlugins
Expand All @@ -49,6 +56,7 @@ import {
import './esl-media-demo/test-media';
import './esl-media-demo/test-media-source';

import {ESLDemoLazyMedia} from './esl-media-demo/lazy-media-mixin';
import {ESLDemoBackLink} from './back-link/back-link';
import {ESLDemoMarquee} from './landing/landing';
import {ESLDemoSearchBox} from './navigation/header/header-search';
Expand All @@ -65,6 +73,7 @@ ESLDemoSearchBox.register();
ESLDemoSearchPageWrapper.register();
ESLDemoAnchorLink.register();
ESLDemoBackLink.register();
ESLDemoLazyMedia.register();

// Register ESL Components
ESLImage.register();
Expand Down Expand Up @@ -106,5 +115,8 @@ ESLCarouselPlugins.Link.register();
ESLCarouselPlugins.Touch.register();
ESLCarouselPlugins.Autoplay.register();

ESLShareList.config(() => fetch('/assets/share/config.json').then((response) => response.json()));
ESLShareList.register();

// Register ESL Mixins
ESLRelatedTarget.register();
3 changes: 2 additions & 1 deletion pages/src/navigation/footer/footer.less
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@

&-common-links-container {
display: flex;
align-items: flex-end;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 20px 10px;

@media @md-xl {
Expand Down
17 changes: 11 additions & 6 deletions pages/src/navigation/header/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
height: @header-height-desktop;
}

@media @md-xl {
.landing-layout & {
background-color: transparent;
}
}

&-container {
display: flex;
align-items: center;
Expand Down Expand Up @@ -90,6 +84,17 @@
}
}

&-share-popup.esl-popup {
&, & > .esl-popup-arrow {
background: @landing-bg-color;
border-color: gray;
}
> .esl-share-list {
margin: .75rem;
gap: .25rem;
}
}

&-utility {
display: flex;
align-items: center;
Expand Down
22 changes: 22 additions & 0 deletions pages/src/navigation/sidebar/sidebar-primary-nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,28 @@ esl-d-sidebar {
margin-bottom: 5px;
}

// Share item
.sidebar-nav-item-share {
margin-top: 20px;
@media @md-xl {
display: none;
}

.esl-share-list {
gap: 15px;
}
.esl-share-button {
width: 30px;
height: 30px;
}
.sidebar-nav-item-heading {
gap: 15px;
@media @sm {
flex-direction: column;
}
}
}

// Primary Heading
.sidebar-nav-item-heading {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion pages/src/navigation/sidebar/sidebar.less
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ esl-d-sidebar {
}

@media @md-xl {
.landing-layout & {
.hide-sidebar & {
display: none;
}
}
Expand Down
7 changes: 6 additions & 1 deletion pages/src/page/landing-layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
100% { background-position: 100vw 0; opacity: 1; }
}


.main-scroll {
position: absolute;
z-index: 5;
Expand All @@ -50,4 +49,10 @@
background: #2e2f35;
}
}

@media @md-xl {
.header {
background-color: transparent;
}
}
}
23 changes: 23 additions & 0 deletions pages/src/showcase/showcase-content-tabs.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@import (reference) "variables.less";

.showcase-page .content-tabs {
display: flex;
flex-direction: column;
gap: 30px;

@media @md-xl {
flex-direction: row;
align-items: flex-start;

.esl-d-tabs,
.content-column {
width: 50%;
}
}

@media @xs-sm {
.esl-d-tabs {
order: -1;
}
}
}
7 changes: 7 additions & 0 deletions pages/src/showcase/showcase-footnotes.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.showcase-page {
.footnotes-container {
display: flex;
flex-direction: column-reverse;
margin-bottom: -15px;
}
}
Loading