Added primary color alfa and tables color

This commit is contained in:
Alejandro Celaya 2021-01-28 23:15:42 +01:00 committed by Alejandro Celaya
parent 13c681dc39
commit 53f16ac8b5
6 changed files with 12 additions and 4 deletions

View file

@ -27,12 +27,14 @@
html:not([data-theme='dark']) { html:not([data-theme='dark']) {
--primary-color: #{$lightPrimaryColor}; --primary-color: #{$lightPrimaryColor};
--primary-color-alfa: #{$lightPrimaryColorAlfa};
--secondary-color: #{$lightSecondaryColor}; --secondary-color: #{$lightSecondaryColor};
--text-color: #{$lightTextColor}; --text-color: #{$lightTextColor};
} }
html[data-theme='dark'] { html[data-theme='dark'] {
--primary-color: #{$darkPrimaryColor}; --primary-color: #{$darkPrimaryColor};
--primary-color-alfa: #{$darkPrimaryColorAlfa};
--secondary-color: #{$darkSecondaryColor}; --secondary-color: #{$darkSecondaryColor};
--text-color: #{$darkTextColor}; --text-color: #{$darkTextColor};
} }

View file

@ -18,7 +18,6 @@
@media (min-width: $mdMin) { @media (min-width: $mdMin) {
padding: 30px 15px 15px; padding: 30px 15px 15px;
border-right: 1px solid rgba(0, 0, 0, .07);
} }
@media (max-width: $smMax) { @media (max-width: $smMax) {

View file

@ -22,7 +22,7 @@
z-index: 1035; z-index: 1035;
font-size: 1.5rem; font-size: 1.5rem;
cursor: pointer; cursor: pointer;
color: rgba(255, 255, 255, .5); color: var(--primary-color-alfa);
@media (max-width: $smMax) { @media (max-width: $smMax) {
display: inline-block; display: inline-block;

View file

@ -29,7 +29,7 @@ body,
} }
.card-footer { .card-footer {
background-color: rgba(255, 255, 255, .5); background-color: var(--primary-color-alfa);
} }
.container-xl { .container-xl {
@ -58,6 +58,10 @@ body,
background-color: $mainColor; background-color: $mainColor;
} }
.table {
color: var(--text-color);
}
.table-hover tbody tr:hover { .table-hover tbody tr:hover {
background-color: var(--secondary-color); background-color: var(--secondary-color);
} }

View file

@ -1,7 +1,7 @@
.short-urls-paginator { .short-urls-paginator {
position: sticky; position: sticky;
bottom: 0; bottom: 0;
background-color: rgba(255, 255, 255, .5); background-color: var(--primary-color-alfa);
padding: .75rem 0; padding: .75rem 0;
border-top: 1px solid rgba(black, .125); border-top: 1px solid rgba(black, .125);
} }

View file

@ -18,9 +18,12 @@ $mediumGrey: #dee2e6;
// Themes // Themes
$lightPrimaryColor: #ffffff; $lightPrimaryColor: #ffffff;
$lightPrimaryColorAlfa: rgba($lightPrimaryColor, .5);
$lightSecondaryColor: $lightColor; $lightSecondaryColor: $lightColor;
$lightTextColor: #212529; $lightTextColor: #212529;
$darkPrimaryColor: #161b22; $darkPrimaryColor: #161b22;
$darkPrimaryColorAlfa: rgba(#161b22, .5);
$darkSecondaryColor: #0d1117; $darkSecondaryColor: #0d1117;
$darkTextColor: #ffffff; $darkTextColor: #ffffff;