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

PK-58 #104

Merged
merged 1 commit into from
Mar 14, 2021
Merged

PK-58 #104

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
4 changes: 2 additions & 2 deletions app/assets/stylesheets/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$main-color: white;
$second-color: orange;
$third-color: black;
$text-color: black;
$accents-color: orange;
$default-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
$default-radius: 5px;
Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/adminPanel.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
background-color: $main-color;
border-radius: $default-radius;
opacity: 0.9;
color: black;
color: $text-color;
margin: 25px auto;
}

Expand All @@ -35,7 +35,7 @@
}
.box-title-h2 {
widows: 100%;
color: black;
color: $text-color;
text-align: center;
box-shadow: $default-shadow;
opacity: 0.9;
Expand Down
6 changes: 3 additions & 3 deletions app/assets/stylesheets/application.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@import "./variables";

.button-inside-box {
color: black;
color: $text-color;
padding: 10px;
}

Expand All @@ -29,13 +29,13 @@
display: flex;
@include flexCenter(row);
opacity: 0.9;
color: $second-color;
color: $accents-color;
margin: 25px auto;
}

.admin-panel-button-header:hover {
text-decoration: none;
color: $second-color;
color: $accents-color;
}
.admin-panel-button-header:focus {
outline: none;
Expand Down
13 changes: 6 additions & 7 deletions app/assets/stylesheets/css/App.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -140,25 +140,24 @@
.pill:hover {
text-decoration: none;
.pill-icon {
font-size: 55px;
color: rgb(245, 191, 90);
color: orange;
}
.pill-name {
color: orange;
}
.pill-description {
color: rgb(245, 191, 90);
color: orange;
}
}

.pill-icon {
font-size: 55px;

font-size: 85px;
color: white;
transition: font-size, color 0.3s;
}
.pill-name {
color: white;
font-size: 18px;
font-size: 25px;
padding-top: 15px;
}

Expand All @@ -171,7 +170,7 @@
width: 100%;
min-height: 50px;
color: white;
font-size: 12px;
font-size: 18px;
padding-top: 5px;
font-weight: 600;
}
Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/css/Duchowienstwo.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
border-radius: $default-radius;
}
.proboszczowie-img-title {
color: black;
color: $text-color;
}
.ob-proboszczowie-overlay {
display: flex;
Expand All @@ -46,7 +46,7 @@
.ob-proboszczowie-text {
text-align: left;
width: 80%;
color: black;
color: $text-color;
}
@media screen and (max-width: 605px) {
.ob-proboszczowie-overlay {
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/css/Kontakt.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
display: flex;
justify-content: center;
align-items: center;
background-color: $second-color;
background-color: $accents-color;
color: $main-color;
padding: 5px;
margin: 10px 0;
Expand Down
4 changes: 3 additions & 1 deletion app/assets/stylesheets/css/Navbar.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
z-index: 100;
position: relative;
outline: none;
background-color: transparent;
border: none;
}
.navbar-menu-button:focus {
outline: none;
Expand All @@ -87,7 +89,7 @@
display: flex;
flex-direction: column;
justify-content: space-around;
background-color: orange;
background-color: $accents-color;
transition: 0.3s transform ease-in-out;
transform: translateX(-150%);
z-index: 1;
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/css/NewsView.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.newsView-box-text-show {
@include flexCenter(column);
color: black;
color: $text-color;
}

.newsView-box {
Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/css/buttons.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// active button in every subcatecory
.button_clicked {
background-color: $main-color;
color: black;
color: $text-color;
box-sizing: border-box;
box-shadow: $default-shadow;
margin: $button-space;
Expand All @@ -42,7 +42,7 @@
width: 45px;
height: 35px;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSI1MTIiIGlkPSJzdmcyIiB2ZXJzaW9uPSIxLjEiIHdpZHRoPSI1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIiB4bWxuczpzb2RpcG9kaT0iaHR0cDovL3NvZGlwb2RpLnNvdXJjZWZvcmdlLm5ldC9EVEQvc29kaXBvZGktMC5kdGQiIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzIGlkPSJkZWZzNCIvPjxnIGlkPSJsYXllcjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAsLTU0MC4zNjIyKSI+PHBhdGggZD0ibSAxMjcuNDA2MjUsNjU3Ljc4MTI1IGMgLTQuOTg1MywwLjA3ODQgLTkuOTEwNzcsMi4xNjMwOCAtMTMuNDM3NSw1LjY4NzUgbCAtNTUsNTUgYyAtMy42MDA1NjUsMy41OTkyNyAtNS42OTY4ODMsOC42NTg5NSAtNS42OTY4ODMsMTM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5jaG9yOnN0YXJ0O2Jhc2VsaW5lLXNoaWZ0OmJhc2VsaW5lO2NvbG9yOiNmZmZmZmY7ZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO2ZpbGwtcnVsZTpub256ZXJvO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDozOC44ODAwMDEwNzttYXJrZXI6bm9uZTt2aXNpYmlsaXR5OnZpc2libGU7ZGlzcGxheTppbmxpbmU7b3ZlcmZsb3c6dmlzaWJsZTtlbmFibGUtYmFja2dyb3VuZDphY2N1bXVsYXRlO2ZvbnQtZmFtaWx5OlNhbnM7LWlua3NjYXBlLWZvbnQtc3BlY2lmaWNhdGlvbjpTYW5zIi8+PC9nPjwvc3ZnPgo=)
center / contain no-repeat $second-color;
center / contain no-repeat $accents-color;
opacity: 0.75;
border-radius: $default-radius;
}
Expand Down
10 changes: 5 additions & 5 deletions app/assets/stylesheets/css/index.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ body {
.h3-header {
padding: 0;
margin: 0;
color: $second-color;
color: $accents-color;
}

.h3-header {
padding: 0;
margin: 0;
color: $second-color;
color: $accents-color;

a {
color: $second-color;
color: $accents-color;
}
a:hover {
color: $second-color;
color: $accents-color;
}
}

Expand All @@ -59,7 +59,7 @@ input {

.buttons-box-text {
padding-bottom: 5px;
color: black;
color: $text-color;
margin: 15p 15px 15px 15px;
}

Expand Down
15 changes: 8 additions & 7 deletions app/assets/stylesheets/css/subcategory_view.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
margin: 0;
display: flex;
justify-content: center;
padding-bottom: 10px;
}

.subcategory__view__h2 {
Expand All @@ -16,19 +17,19 @@

.subcategory__view {
height: 100%;
max-width: 75%;
min-width: 75%;
box-sizing: border-box;
min-width: 95%;
max-width: 95%;
background-color: $main-color;
opacity: 0.9;
text-align: justify;
border: 3px solid black;
margin-top: 15px;
border-radius: $default-radius;
}

.subcategory__view > h2 {
height: 100%;
color: black;
color: $text-color;
text-align: center;
padding-top: 5px 0 5px 0;
box-shadow: $default-shadow;
Expand All @@ -41,7 +42,7 @@
display: flex;
flex-direction: column;
justify-content: space-around;
color: black;
color: $text-color;
}
.subcategory__view__row__content {
box-sizing: border-box;
Expand All @@ -68,7 +69,7 @@
}

.subcategory__view > h2 {
color: black;
color: $text-color;
text-align: center;
padding-top: 5px 0 5px 0;
box-shadow: $default-shadow;
Expand All @@ -85,7 +86,7 @@
display: flex;
justify-content: space-around;
align-items: center;
color: black;
color: $text-color;
}
.subcategory__view__row__content {
box-sizing: border-box;
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class App extends React.Component {
</Link>
<Link className="pill" to="/inne">
<i class="fas fa-people-carry pill-icon" />
<span className="pill-name">Wspolnota</span>
<span className="pill-name">Wspolnoty</span>
<span className="pill-description">Informacje o wspolnotach</span>
</Link>
</div>
Expand Down