From 9b687acdb8b8f5106ab94c1556357cd8350dd37f Mon Sep 17 00:00:00 2001
From: nfoert <92690073+nfoert@users.noreply.github.com>
Date: Tue, 8 Oct 2024 16:31:58 -0400
Subject: [PATCH 1/2] Revert "Update footer.css"
---
cardie/static/main/authentication.css | 9 ----
cardie/static/main/footer.css | 65 +++++++++++++++++++--------
cardie/static/main/home.css | 9 ----
3 files changed, 46 insertions(+), 37 deletions(-)
diff --git a/cardie/static/main/authentication.css b/cardie/static/main/authentication.css
index 0d4199d..165cb7d 100644
--- a/cardie/static/main/authentication.css
+++ b/cardie/static/main/authentication.css
@@ -84,13 +84,4 @@ html {
#authentication_privacypolicy:hover {
scale: 1.1;
opacity: 1;
-}
-
-/* Footer styles */
-#footer {
- background-color: var(--default-glass-background);
- border-top: var(--default-glass-border);
- text-align: center;
- padding: clamp(1vh, 10px, 1vw);
- width: 100%;
}
\ No newline at end of file
diff --git a/cardie/static/main/footer.css b/cardie/static/main/footer.css
index ac811c0..94d8b3a 100644
--- a/cardie/static/main/footer.css
+++ b/cardie/static/main/footer.css
@@ -1,9 +1,12 @@
+
@media (min-width: 1000px) {
/* Large screens */
+
.footer {
position: fixed;
bottom: 20px;
left: 20px;
+
display: flex;
flex-direction: column;
z-index: 9;
@@ -16,16 +19,17 @@
border: var(--default-glass-border);
backdrop-filter: var(--default-glass-blur);
border-radius: 50px;
+
display: flex;
align-items: center;
justify-content: center;
}
-
+
.footer_main_button_image {
width: clamp(4vh, 40px, 4vw);
height: auto;
}
-
+
.footer_main_button_icon {
color: white;
font-size: clamp(3vh, 30px, 3vw);
@@ -34,18 +38,21 @@
.footer_main_contents {
display: flex;
flex-direction: row;
+
background-color: var(--default-glass-background);
border: var(--default-glass-border);
backdrop-filter: var(--default-glass-blur);
border-radius: 10px;
+
padding: clamp(0.5vh, 5px, 0.5vw);
margin-left: clamp(1vh, 10px, 1vw);
+
height: fit-content;
}
-
+
.footer_main_contents_link {
font-family: var(--default-font-family);
- font-size: clamp(1.4vh, 14px, 1.4vw);
+ font-size: clamp(1.4vh, 14px, 1.4vwS);
color: white;
opacity: 0.7;
text-decoration: none;
@@ -60,7 +67,7 @@
align-items: center;
margin-bottom: clamp(1vh, 10px, 1vw);
}
-
+
.footer_warning_button {
width: clamp(6vh, 60px, 6vw);
height: clamp(6vh, 60px, 6vw);
@@ -68,47 +75,56 @@
border: var(--default-glass-border);
backdrop-filter: var(--default-glass-blur);
border-radius: clamp(5vh, 50px, 5vw);
+
display: flex;
align-items: center;
justify-content: center;
}
-
+
.footer_warning_contents {
display: flex;
flex-direction: column;
+
background-color: rgba(178, 145, 60, 0.4);
border: var(--default-glass-border);
backdrop-filter: var(--default-glass-blur);
border-radius: 10px;
+
padding: clamp(1vh, 10px, 1vw);
margin-left: clamp(1vh, 10px, 1vw);
+
height: fit-content;
}
-
+
.footer_warning_contents_title {
color: white;
font-family: var(--default-font-family);
opacity: 0.7;
font-weight: 600;
font-size: clamp(1.4vh, 14px, 1.4vw);
+
margin: 0px;
}
-
+
.footer_warning_contents_text {
color: white;
font-family: var(--default-font-family);
opacity: 0.7;
- font-size: clamp(1.2vh, 12px, 1.2vw);
+ font-size: clamp(1.2vh, 12pv, 1.2vw);
+
margin: 0px;
}
+
}
@media (max-width: 1000px) {
/* Small Screens */
+
.footer {
- position: static;
+ position: fixed;
bottom: 10px;
left: 10px;
+
display: flex;
flex-direction: column;
z-index: 9;
@@ -121,16 +137,17 @@
border: var(--default-glass-border);
backdrop-filter: var(--default-glass-blur);
border-radius: 50px;
+
display: flex;
align-items: center;
justify-content: center;
}
-
+
.footer_main_button_image {
width: clamp(4vh, 40px, 4vw);
height: auto;
}
-
+
.footer_main_button_icon {
color: white;
font-size: clamp(3vh, 30px, 3vw);
@@ -139,18 +156,21 @@
.footer_main_contents {
display: flex;
flex-direction: row;
+
background-color: var(--default-glass-background);
border: var(--default-glass-border);
backdrop-filter: var(--default-glass-blur);
border-radius: 10px;
+
padding: clamp(0.2vh, 2px, 0.2vw);
margin-left: clamp(0.5vh, 5px, 0.5vw);
+
height: fit-content;
}
-
+
.footer_main_contents_link {
font-family: var(--default-font-family);
- font-size: clamp(1.2vh, 12px, 1.2vw);
+ font-size: clamp(1.2vh, 12px, 1.2vwS);
color: white;
opacity: 0.7;
text-decoration: none;
@@ -165,7 +185,7 @@
align-items: center;
margin-bottom: clamp(1vh, 10px, 1vw);
}
-
+
.footer_warning_button {
width: clamp(5vh, 50px, 5vw);
height: clamp(5vh, 50px, 5vw);
@@ -173,39 +193,46 @@
border: var(--default-glass-border);
backdrop-filter: var(--default-glass-blur);
border-radius: 50px;
+
display: flex;
align-items: center;
justify-content: center;
}
-
+
.footer_warning_contents {
display: flex;
flex-direction: column;
+
background-color: rgba(178, 145, 60, 0.4);
border: var(--default-glass-border);
backdrop-filter: var(--default-glass-blur);
border-radius: 10px;
+
padding: clamp(0.2vh, 2px, 0.2vw);
margin-left: clamp(0.5vh, 5px, 0.5vw);
+
height: fit-content;
}
-
+
.footer_warning_contents_title {
color: white;
font-family: var(--default-font-family);
opacity: 0.7;
font-weight: 600;
font-size: 14px;
+
margin: 0px;
}
-
+
.footer_warning_contents_text {
color: white;
font-family: var(--default-font-family);
opacity: 0.7;
font-size: 12px;
+
margin: 0px;
}
+
}
.footer_main {
@@ -232,4 +259,4 @@
.footer_warning_contents_text > a {
color: white;
font-weight: 500;
-}
+}
\ No newline at end of file
diff --git a/cardie/static/main/home.css b/cardie/static/main/home.css
index e90c317..47fe569 100644
--- a/cardie/static/main/home.css
+++ b/cardie/static/main/home.css
@@ -204,13 +204,4 @@ html {
#dialog_home_delete {
display: flex;
flex-direction: column;
-}
-
-/* Footer styles */
-#footer {
- background-color: var(--default-glass-background);
- border-top: var(--default-glass-border);
- text-align: center;
- padding: clamp(1vh, 10px, 1vw);
- width: 100%;
}
\ No newline at end of file
From f7c9385c80834071bea604d073fcf2b1501203e6 Mon Sep 17 00:00:00 2001
From: nfoert <92690073+nfoert@users.noreply.github.com>
Date: Tue, 8 Oct 2024 17:42:57 -0400
Subject: [PATCH 2/2] Create issue templates
---
.github/ISSUE_TEMPLATE/bug_report.md | 30 +++++++++++++++++++++++
.github/ISSUE_TEMPLATE/custom.md | 10 ++++++++
.github/ISSUE_TEMPLATE/feature_request.md | 14 +++++++++++
3 files changed, 54 insertions(+)
create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md
create mode 100644 .github/ISSUE_TEMPLATE/custom.md
create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 0000000..b68fad4
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,30 @@
+---
+name: Bug report
+about: Report an issue with Cardie
+title: ''
+labels: bug
+assignees: ''
+
+---
+
+**Describe the bug:**
+A clear and concise description of what the bug is
+
+
+**To Reproduce:**
+Describe the steps needed to encounter this bug or problem
+
+
+**Screenshots:**
+If applicable, add screenshots to show what the problem is
+
+
+**Device and Browser information:**
+List the device, operating system, and web browser that you're using
+- Device: [e.g. laptop, phone]
+- OS: [e.g. Windows, Linux, iOS, Android]
+- Browser [e.g. chrome, safari]
+
+
+**Additional information:**
+Add any other information or details about the problem
diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md
new file mode 100644
index 0000000..4adb2cc
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/custom.md
@@ -0,0 +1,10 @@
+---
+name: Custom issue template
+about: Open a blank issue that's not a bug or feature
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 0000000..f392725
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,14 @@
+---
+name: Feature request
+about: Suggest a new implementation or feature to add to Cardie
+title: ''
+labels: feature
+assignees: ''
+
+---
+
+**Describe your feature request**
+Describe your ideas for this new feature and how it should be implemented
+
+**Additional information regarding your feature**
+Add more details or concept art