forked from rubyforgood/casa
-
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.
Merge pull request rubyforgood#4674 from rubyforgood/new_theme
New theme
- Loading branch information
Showing
278 changed files
with
16,597 additions
and
3,648 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
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 |
---|---|---|
@@ -1 +1 @@ | ||
3.1.2 | ||
3.1.3 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ruby:3.1.2-alpine AS builder | ||
FROM ruby:3.1.3-alpine AS builder | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
|
@@ -25,7 +25,7 @@ RUN yarn build && yarn build:css | |
|
||
### BUILD STEP DONE ### | ||
|
||
FROM ruby:3.1.2-alpine | ||
FROM ruby:3.1.3-alpine | ||
|
||
ARG RAILS_ROOT=/usr/src/app/ | ||
|
||
|
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 |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
//= link_directory ../builds .js | ||
//= link_tree ../images | ||
//= link_tree ../fonts | ||
//= link shared/noscript.css |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,95 +1,95 @@ | ||
@use "../base/variables" as globals; | ||
@use "../base/breakpoints.scss" as screen-sizes; | ||
|
||
footer { | ||
padding: 2rem 0; | ||
text-align: center; | ||
background-color: globals.$primary; | ||
color: #fff; | ||
|
||
.default-footer { | ||
a.rfglink { | ||
color: #fff; | ||
} | ||
|
||
.rfglogo { | ||
max-height: 3em; | ||
} | ||
} | ||
.terms-conditions-link { | ||
color:#fff; | ||
} | ||
|
||
.footer-logos { | ||
.rfglink { | ||
.rfglogo { | ||
max-height: 6em; | ||
} | ||
} | ||
} | ||
|
||
ul { | ||
list-style: none; | ||
padding-left: 0; | ||
margin-top: 2rem; | ||
} | ||
|
||
li { | ||
display: inline-block; | ||
|
||
a, a:hover { | ||
color: white; | ||
} | ||
} | ||
|
||
li:not(:first-child):before { | ||
content: " | "; | ||
} | ||
|
||
.address { | ||
margin-bottom: 2rem; | ||
} | ||
|
||
.copyright { | ||
font-size: 18px; | ||
font-weight: 700; | ||
} | ||
} | ||
|
||
.footer.container-fluid { | ||
min-height: calc(100vh - 45px); | ||
} | ||
|
||
footer.logged-in { | ||
position: relative; | ||
height: 40px; | ||
left: 0px; | ||
bottom: 0px; | ||
background: #F8F8F8; | ||
box-shadow: 0px -2px 12px rgba(0, 0, 0, 0.25); | ||
padding: 2rem; | ||
padding-top: 1rem; | ||
padding-left: 2%; | ||
margin-left: 320px; | ||
width: calc(100% - 320px); | ||
|
||
span { | ||
font-family: 'Montserrat'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-size: 14px; | ||
line-height: 140%; | ||
color: #2E2E2E; | ||
} | ||
|
||
a { | ||
white-space: nowrap; | ||
} | ||
|
||
@media only screen and (max-width: screen-sizes.$mobile) { | ||
width: 100%; | ||
margin-left: 0; | ||
padding-bottom: 1rem; | ||
height: 100px; | ||
} | ||
} | ||
//@use "../base/variables" as globals; | ||
//@use "../base/breakpoints.scss" as screen-sizes; | ||
// | ||
//footer { | ||
// padding: 2rem 0; | ||
// text-align: center; | ||
// background-color: globals.$primary; | ||
// color: #fff; | ||
// | ||
// .default-footer { | ||
// a.rfglink { | ||
// color: #fff; | ||
// } | ||
// | ||
// .rfglogo { | ||
// max-height: 3em; | ||
// } | ||
// } | ||
// .terms-conditions-link { | ||
// color:#fff; | ||
// } | ||
// | ||
// .footer-logos { | ||
// .rfglink { | ||
// .rfglogo { | ||
// max-height: 6em; | ||
// } | ||
// } | ||
// } | ||
// | ||
// ul { | ||
// list-style: none; | ||
// padding-left: 0; | ||
// margin-top: 2rem; | ||
// } | ||
// | ||
// li { | ||
// display: inline-block; | ||
// | ||
// a, a:hover { | ||
// color: white; | ||
// } | ||
// } | ||
// | ||
// li:not(:first-child):before { | ||
// content: " | "; | ||
// } | ||
// | ||
// .address { | ||
// margin-bottom: 2rem; | ||
// } | ||
// | ||
// .copyright { | ||
// font-size: 18px; | ||
// font-weight: 700; | ||
// } | ||
//} | ||
// | ||
//.footer.container-fluid { | ||
// min-height: calc(100vh - 45px); | ||
//} | ||
// | ||
//footer.logged-in { | ||
// position: relative; | ||
// height: 40px; | ||
// left: 0px; | ||
// bottom: 0px; | ||
// background: #F8F8F8; | ||
// box-shadow: 0px -2px 12px rgba(0, 0, 0, 0.25); | ||
// padding: 2rem; | ||
// padding-top: 1rem; | ||
// padding-left: 2%; | ||
// margin-left: 320px; | ||
// width: calc(100% - 320px); | ||
// | ||
// span { | ||
// font-family: 'Montserrat'; | ||
// font-style: normal; | ||
// font-weight: 400; | ||
// font-size: 14px; | ||
// line-height: 140%; | ||
// color: #2E2E2E; | ||
// } | ||
// | ||
// a { | ||
// white-space: nowrap; | ||
// } | ||
// | ||
// @media only screen and (max-width: screen-sizes.$mobile) { | ||
// width: 100%; | ||
// margin-left: 0; | ||
// padding-bottom: 1rem; | ||
// height: 100px; | ||
// } | ||
//} |
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 |
---|---|---|
@@ -1,9 +1,8 @@ | ||
noscript div { | ||
color: #b71c1c; | ||
.noscript { | ||
position: fixed; | ||
left: 50%; | ||
top: 25%; | ||
transform: translateX(-50%); | ||
background: #eee; | ||
padding: 0 1em; | ||
padding: 5vw; | ||
z-index: 99; | ||
} |
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 @@ | ||
../../../node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf |
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 @@ | ||
../../../node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 |
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,23 @@ | ||
# Provides a means to present static pages that still use the site layout | ||
class StaticController < ApplicationController | ||
skip_before_action :authenticate_user! | ||
skip_before_action :set_current_user | ||
skip_before_action :set_current_organization | ||
|
||
layout false | ||
|
||
def index | ||
redirect_to dashboard_path_from_current_role if current_user | ||
end | ||
|
||
def register | ||
end | ||
|
||
def page | ||
# This allows for a flexible addition of static content | ||
# Anything under the url /pages/:name will render the file /app/views/static/[name].html.erb | ||
# Example: /pages/contact renders /app/views/static/contact.html.erb | ||
# Example2: /pages/index renders /app/views/static/index.html.erb, even when logged in | ||
render template: "static/#{params[:name]}" | ||
end | ||
end |
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
Oops, something went wrong.