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

fixed old demos #188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions demo/ChileCompanyCustomerPortal/components/ChileDrawer.bbj
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class public ChileDrawer extends Drawer
#searchOverlay!.setTitleFieldname("TITLE")
#searchOverlay!.setSubtitleFieldname("SUBTITLE")
#searchOverlay!.setImagePathFieldname("IMAGE")
#searchOverlay!.setStyle("background","black")

#searchOverlay!.setInitialSuggestion(#demoData!)
searchWidget! = new DrawerSearchWidget(customContainer!,#searchOverlay!)
Expand Down
2 changes: 1 addition & 1 deletion framework/PortalFrame/PortalFrame.bbj
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class public PortalFrame implements RouterProtocol
field public BBjString LogoUrl!
field public BBjString LogoSmallUrl!

field public boolean ShowHeaderIcon! = Boolean.FALSE
field public boolean ShowHeaderIcon! = Boolean.TRUE


field public static BBjString ON_NAVIGATION$ = "navigation"
Expand Down
7 changes: 3 additions & 4 deletions widgets/Drawer/Drawer.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
}

.drawerPanelStyle {
display: flex;
flex-direction: column;
background-color: var(--drawer-color);
margin-top: 0px;
position: fixed !important;
Expand Down Expand Up @@ -141,12 +139,13 @@
overflow: auto !important;
height: 100%;
max-height: calc(100vh - var(--drawerFooter-height));
flex: 2;
cursor: pointer;
}

.drawerFooterWrapper {
position: fixed;
background: var(--drawer-color);
bottom: 0;
left: 0;
width: inherit;
display: grid;
display: grid;
Expand Down
1 change: 1 addition & 0 deletions widgets/Drawer/components/DrawerFooter/DrawerFooter.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@

.drawerFooterOverlayContentWrapper {
cursor: pointer;
display: grid;
}

.drawerFooterOverlayContentWrapper div.BBjSimpleWindow:last-child {}
Expand Down
1 change: 1 addition & 0 deletions widgets/Drawer/components/DrawerHeader/DrawerHeader.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
overflow: auto !important;
padding: 0px;
max-height: 140px;
display: grid;
}

.drawerHeaderLogo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,57 @@
padding-left: 5px;
background: var(--bbj-window-background);
}

.trailingIcon {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 50px;
height: 30px;

border-radius: 8px;
margin-right: 5px;

}

.drawerMenuTilePanelStyle {
display: grid;
grid-template-columns: 64px auto;
}

.drawerMenuTileIconStyle {
width: 24px;
height: 24px;
grid-row-start: 1;
grid-column-start: 1;
justify-self: end;
align-self: center;
}

.drawerMenuTilePanelStyle:hover {
background-color: var(--menutile-hover-color);
}

div.drawerMenuTilePanelStyle:hover {
border-right: medium solid var(--menutile-hover-border-color);
}

.drawerMenuTilePanelStyle {
cursor: pointer;
}

.drawerMenuTileTextStyle {
padding-left: 17px;
align-self: center;
font-style: normal;
color: var(--tiles-font-color);
font-weight: normal;
font-size: 14px;
padding-bottom: .2em;
line-height: 17px;
}

@media (hover: hover) {
.menutile:hover .trailingIcon{
.menutile:hover .trailingIcon {
display: block;
}
}

}
20 changes: 5 additions & 15 deletions widgets/Drawer/components/DrawerMenuTile/DrawerMenuTile.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,30 +87,20 @@
grid-column-start: 1;
justify-self: end;
align-self: center;

}

.drawerMenuTilePanelStyle:hover{
background-color: var(--menutile-hover-color);
}

div.drawerMenuTilePanelStyle:hover{
border-right: medium solid var(--menutile-hover-border-color);
}

.drawerMenuTilePanelStyle{
cursor: pointer;
}

.drawerMenuTileTextStyle {
padding-left: 17px;
align-self: center;
font-style: normal;
color: var(--tiles-font-color);
font-weight: normal;
font-size: 14px;
padding-bottom: .2em;
line-height: 17px;
cursor: pointer;
}

.drawerMenuTilePanelStyle {
cursor: pointer;
}

.drawerOpen .menuWndAnimationOpen {
Expand Down