style: more codacy fixes

This commit is contained in:
David Ralph
2021-04-16 12:39:51 +01:00
parent 1ac6f418bf
commit cae2c5ef71
22 changed files with 72 additions and 73 deletions

View File

@@ -10,8 +10,8 @@ $modal-link: map-get($modal, 'modal-link');
$main-text-dark: map-get($theme-colours, 'secondary');
$modal-text-dark: map-get($theme-colours, 'main');
$background-dark: map-get($modal, 'background-dark');
$sidebar-dark: map-get($modal, 'sidebar-dark');
$background-dark: map-get($modal, 'background-dark');
$sidebar-dark: map-get($modal, 'sidebar-dark');
$tab-active-dark: map-get($modal, 'tab-active-dark');
$photo-info-dark: map-get($theme-colours, 'photo-info-dark');
$modal-link-dark: map-get($modal, 'modal-link-dark');
@@ -34,4 +34,4 @@ $modal-link-dark: map-get($modal, 'modal-link-dark');
--tab-active: #{$tab-active-dark};
--photo-info: #{$photo-info-dark};
--modal-link: #{$modal-link-dark};
}
}

View File

@@ -19,7 +19,7 @@ $modal: (
'sidebar': #f0f0f0,
'tab-active': rgba(219, 219, 219, 0.72),
'sidebar-dark': #353b48,
'tab-active-dark': rgba(65, 71, 84, .9),
'tab-active-dark': rgba(65, 71, 84, 0.9),
'modal-link': #5352ed,
'modal-link-dark': #3498db
);
@@ -36,5 +36,5 @@ $button-colours: (
);
$main-parts: (
'shadow': 0 0 1rem 0 rgba(0, 0, 0, .2)
'shadow': 0 0 1rem 0 rgba(0, 0, 0, 0.2)
);

View File

@@ -6,7 +6,7 @@
@import 'modules/buttons';
body {
background: #000000;
background: #000;
margin: 0;
overflow: hidden;
}

View File

@@ -7,7 +7,8 @@
border-radius: 24px;
box-shadow: 0 5px 15px rgba(128, 161, 144, 0.4);
&:hover, &:active {
&:hover,
&:active {
outline: none;
background: none;
}
@@ -19,6 +20,7 @@
.pinNote {
@extend %settingsButton;
background-color: map-get($button-colours, 'confirm');
border: 2px solid map-get($button-colours, 'confirm');
color: map-get($theme-colours, 'main');
@@ -42,6 +44,7 @@
.saveNote {
@extend %settingsButton;
background-color: map-get($button-colours, 'other');
border: 2px solid map-get($button-colours, 'other');
color: map-get($theme-colours, 'main');

View File

@@ -22,20 +22,17 @@
.Toastify__progress-bar--default {
height: 3px !important;
background: var(--modal-text) !important;
color: var(--modal-text) !important;
}
.Toastify__toast-container {
width: auto !important;
}
.Toastify__progress-bar--default {
color: var(--modal-text) !important;
}
.Toastify__close-button {
color: var(--modal-text) !important;
}
.Toastify__toast--default {
background: var(--background) !important;
}
}