forked from folio-org/platform-complete
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds folio-dev customizations to Poppy CSP 6.
- Loading branch information
1 parent
548cac9
commit 0cc3316
Showing
8 changed files
with
170 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: PushImage | ||
|
||
on: push | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
jobs: | ||
build-and-push-image: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Extract branch name | ||
id: extract_branch | ||
run: echo "::set-output name=branch::$(echo ${GITHUB_REF#refs/heads/})" | ||
|
||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Log in to the Container registry | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build image and push to Docker Hub and GitHub Container Registry | ||
uses: docker/build-push-action@v2 | ||
with: | ||
push: true | ||
tags: ghcr.io/sul-dlss/folio-platform-complete:${{ steps.extract_branch.outputs.branch }} | ||
file: ./docker/Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
@import '@folio/stripes-components/lib/variables.css'; | ||
|
||
:root { | ||
--main-nav-min-height-desktop: 56px; | ||
--main-nav-min-height-mobile: 48px; | ||
--main-nav-border-bottom-color: rgba(0, 0, 0, 0.9); | ||
--main-nav-background-color: rgb(111, 143, 175); | ||
--main-nav-text-color: #ffffff; | ||
} | ||
|
||
.navRoot { | ||
background-color: var(--main-nav-background-color); | ||
border-bottom: 1px solid var(--main-nav-border-bottom-color); | ||
color: var(--main-nav-text-color); | ||
display: flex; | ||
justify-content: space-between; | ||
align-content: stretch; | ||
align-items: center; | ||
width: 100%; | ||
flex: 0 0 auto; | ||
padding: 0 var(--gutter-static-one-third); | ||
min-height: var(--main-nav-min-height-desktop); | ||
z-index: 99999; | ||
position: relative; | ||
|
||
& li { | ||
color: var(--color-text); | ||
} | ||
} | ||
|
||
.nowrap { | ||
white-space: nowrap; | ||
} | ||
|
||
.startSection, | ||
.endSection { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.endSection { | ||
flex: 1; | ||
justify-content: flex-end; | ||
min-width: 0; | ||
} | ||
|
||
@media (--medium-down) { | ||
.navRoot { | ||
min-height: var(--main-nav-min-height-mobile); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
@import '../variables.css'; | ||
|
||
.pane { | ||
background: var(--bg); | ||
border-right: 1px solid var(--color-border); | ||
height: 100%; | ||
max-height: calc(100vh - 44px); | ||
display: flex; | ||
flex-direction: column; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
|
||
/* transition: all .25s ease-in-out; */ | ||
overflow: hidden; | ||
position: absolute; | ||
will-change: transform; | ||
|
||
@media print { | ||
overflow: visible; | ||
} | ||
} | ||
|
||
.focusIndicator { | ||
composes: focusWithinIndicator from "../sharedStyles/focusWithinIndicator.css"; | ||
} | ||
|
||
[dir="ltr"] .pane:last-child { | ||
border-right: none; | ||
} | ||
|
||
[dir="rtl"] .pane:first-child { | ||
border-right: none; | ||
} | ||
|
||
[dir="rtl"] .pane:last-child { | ||
border-left: none; | ||
} | ||
|
||
/** | ||
* Pane Content | ||
*/ | ||
|
||
.paneContent { | ||
height: 100%; | ||
width: 100%; | ||
overflow: auto; | ||
outline: 0; | ||
position: relative; | ||
|
||
&.hasPadding { | ||
padding: var(--gutter-static); | ||
} | ||
|
||
&.noOverflow { | ||
overflow: hidden; | ||
} | ||
|
||
@media print { | ||
overflow: visible; | ||
} | ||
} | ||
|
||
.container { | ||
max-width: var(--container-max-width); | ||
margin: auto; | ||
} | ||
|
||
@media (--medium-up) { | ||
.pane { | ||
position: relative; | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.