Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Dec 6, 2024
1 parent 6e7e18e commit 2d0b0ca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
12 changes: 6 additions & 6 deletions resources/janek/redesign.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ header nav.navbar {

.btn-register {
@include light {
color: $primary-opposite-color-light;
color: $opposite-color-light;
background: $primary-color-light;
border: 1px solid $primary-color-light;
&:hover {
Expand Down Expand Up @@ -284,7 +284,7 @@ header nav.navbar {

.designer-primary-button {
@include light {
color: $primary-opposite-color-light;
color: $opposite-color-light;
background: $primary-color-light;
border: 1px solid $primary-color-light;
&:hover {
Expand Down Expand Up @@ -357,17 +357,17 @@ header nav.navbar {

&:hover {
@include light {
color: $primary-opposite-color-light;
color: $opposite-color-light;
background: $primary-color-light;
}
@include dark {
color: $primary-opposite-color-light;
color: $opposite-color-light;
background: $primary-color-dark;
}
}

&:active {
color: $primary-opposite-color-light !important;
color: $opposite-color-light !important;
background: #007e2b !important; // copied from primary
border-color: #007e2b !important; // copied from primary
}
Expand Down Expand Up @@ -402,7 +402,7 @@ header nav.navbar {
.designer-topic-user-name-post-author-self {
a {
@include light {
color: $primary-opposite-color-light;
color: $opposite-color-light;
background: $green-700;
}
@include dark {
Expand Down
4 changes: 0 additions & 4 deletions resources/sass/pages/_forum.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@
z-index: 101;
font-size: .9em;
right: 25%;
//background: #F3F5F0; this is replaced by .designer-aside
//border: 2px solid $card-border-color; this is replaced by .designer-aside
//padding: 6px 10px; this is replaced by .designer-aside
//box-shadow: 5px 5px 6px #AAA; // removed
width: 45%; // na urzadzeniach mobilnych rozszerzamy to okno aby cokolwiek bylo tam widac
top: 48px !important; // funkcja sticky-aside zmieni {top}, myśląc że element jest sticky
}
Expand Down
8 changes: 4 additions & 4 deletions resources/sass/pages/_homepage_modern.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ header nav.navbar {

$primary-color-light: $green-500;
$secondary-color-light: $green-700;
$primary-opposite-color-light: #ffffff;
$opposite-color-light: #ffffff;
$primary-background-light: $green-50;
$card-background-light: #ffffff;

Expand Down Expand Up @@ -118,7 +118,7 @@ body.homepage-modern {

.btn-register {
@include light {
color: $primary-opposite-color-light;
color: $opposite-color-light;
background: $primary-color-light;
border: 1px solid $primary-color-light;
&:hover {
Expand Down Expand Up @@ -470,7 +470,7 @@ body.homepage-modern {
height: 3px;
border-radius: 3px;
@include light {
background: linear-gradient(270deg, $primary-color-light 0%, $primary-opposite-color-light 100%);
background: linear-gradient(270deg, $primary-color-light 0%, $opposite-color-light 100%);
}

@include dark {
Expand Down Expand Up @@ -720,7 +720,7 @@ body.homepage-modern {
}

.page-link {
@include background-theme($primary-opposite-color-light, $opposite-color-dark);
@include background-theme($opposite-color-light, $opposite-color-dark);
}

#footer-copyright {
Expand Down

0 comments on commit 2d0b0ca

Please sign in to comment.