- Notifications
You must be signed in to change notification settings - Fork352
Dan qa fixes#1071
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Dan qa fixes#1071
Changes from1 commit
8a11d6c26e878dee2a012eda42053a19e1dFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| // This file is automatically generated. | ||
| // You shouldn't modify it manually. | ||
| // src/components/navigation/left_nav/web_app | ||
| pub mod web_app; | ||
| pub use web_app::WebApp; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| use crate::components::StaticNav; | ||
| use pgml_components::component; | ||
| use sailfish::TemplateOnce; | ||
| #[derive(TemplateOnce, Default)] | ||
| #[template(path = "navigation/left_nav/web_app/template.html")] | ||
| pub struct WebApp { | ||
| pub upper_nav: StaticNav, | ||
| pub lower_nav: StaticNav, | ||
| pub dropdown_nav: StaticNav, | ||
| } | ||
| impl WebApp { | ||
| pub fn new(upper_nav: StaticNav, lower_nav: StaticNav, dropdown_nav: StaticNav) -> WebApp { | ||
| WebApp { | ||
| upper_nav, | ||
| lower_nav, | ||
| dropdown_nav, | ||
| } | ||
| } | ||
| } | ||
| component!(WebApp); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| .leftnav-container { | ||
| position: sticky; | ||
| top: $navbar-height; | ||
| height: calc( 100vh - $navbar-height ); | ||
| background-color: var(--webapp-nav-bg); | ||
| border-right: 1px solid #{$gray-500}; | ||
| max-width: $left-nav-w; | ||
| padding-top: 0px; | ||
| z-index: $zindex-fixed; | ||
| @include media-breakpoint-down(lg) { | ||
| display: none; | ||
| } | ||
| } | ||
| .leftnav { | ||
| max-width: 260px; | ||
| border: none; | ||
| align-items: start; | ||
| background-color: inherit; | ||
| @include media-breakpoint-down(lg) { | ||
| background-color: #{$gray-900} | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| .navbar-marketing-site { | ||
| &.horizontal { | ||
| background: linear-gradient(180deg, rgba(0, 0, 0, 0.64) -55.68%, rgba(0, 0, 0, 0) 100%); | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| // This file is automatically generated. | ||
| // You shouldn't modify it manually. | ||
| // src/components/navigation/navbar/marketing | ||
| pub mod marketing; | ||
| pub use marketing::Marketing; | ||
| // src/components/navigation/navbar/web_app | ||
| pub mod web_app; | ||
| pub use web_app::WebApp; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| .navbar-web-app { | ||
| background-color: var(--webapp-nav-bg); | ||
| border-bottom: 1px solid #{$gray-500}; | ||
| border-radius: 0px; | ||
| gap: 12px; | ||
| @include media-breakpoint-down(lg) { | ||
| background-color: #{$gray-900}; | ||
| } | ||
| .navbar-collapse { | ||
| @include media-breakpoint-down(lg) { | ||
| position: fixed; | ||
| top: $navbar-height; | ||
| left: 0px; | ||
| width: 100vw; | ||
| } | ||
| } | ||
| &.horizontal { | ||
| height: $navbar-height; | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| import { Controller } from '@hotwired/stimulus' | ||
| export default class extends Controller { | ||
| static targets = [] | ||
| static outlets = [] | ||
| initialize() { | ||
| console.log('Initialized static-nav') | ||
| } | ||
| connect() {} | ||
| disconnect() {} | ||
| } |
Uh oh!
There was an error while loading.Please reload this page.