Skip to content

Commit

Permalink
edit css for main and groups and events
Browse files Browse the repository at this point in the history
  • Loading branch information
Leeeef552 committed Apr 25, 2024
1 parent d79ab5e commit 92e97fb
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 13 deletions.
Binary file modified src/assets/icon1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/icon2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/icon2old.png
Binary file not shown.
Binary file modified src/assets/icon3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 15 additions & 10 deletions src/components/DiscussionList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -237,16 +237,22 @@ export default {
}
.discussion-item {
background-color: #f8f8f8;
border-radius: 8px;
background-color: #f8f8f8; /* Light grey background */
border-radius: 8px; /* Rounded corners */
display: flex;
align-items: center;
padding: 10px;
margin-bottom: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
width: 100%;
margin-bottom: 10px; /* Space between panels */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.discussion-item:hover {
transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.discussion-item img {
width: 80px;
height: 80px;
Expand Down Expand Up @@ -280,15 +286,14 @@ export default {
color: black;
border: 0.5px gray solid;
cursor: pointer;
padding: 10px 20px;
border: none;
border: 0.5px solid grey;
border-radius: 5px;
color: white;
font-weight: bold;
font-size: 12px;
padding: 5px 10px;
}
.view-discussion-button:hover {
background-color: #83e97c; /* Background color on hover */
background-color: darkgrey; /* Background color on hover */
}
.discussion-item .delete-discussion-button:hover {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProfileForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ img {
border: 1px solid;
border-radius: 12px;
background-color: white;
width: 100%; /* Set width to 100% of modal */
width: 50%; /* Set width to 100% of modal */
align-items: center;
}
Expand Down
20 changes: 19 additions & 1 deletion src/components/Recent_discussion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</div>
</template>

<script>
<script>
import firebaseApp from '../firebase.js'
import { getFirestore } from 'firebase/firestore'
import { collection, query, getDocs, onSnapshot, orderBy, where, limit} from 'firebase/firestore'
Expand Down Expand Up @@ -159,4 +159,22 @@ hr {
.discussion-info > div {
margin-bottom: 3px;
}
button {
font-family: "Roboto", sans-serif;
font-weight: 400;
margin-left: 20px; /* Adjust as needed */
background-color: #d7d2d2;
color: black;
border: 0.5px gray solid;
cursor: pointer;
border: 0.5px solid grey;
border-radius: 5px;
font-size: 12px;
padding: 5px 10px;
}
button:hover {
background-color: darkgrey; /* Background color on hover */
}
</style>
1 change: 1 addition & 0 deletions src/mComponents/CreateListing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ export default {
width: 90%;
text-align: center;
margin-top: 2vh;
margin-bottom: 2vh;
}
.save button {
Expand Down
21 changes: 20 additions & 1 deletion src/views/MarketMyList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,29 @@ export default {
border: none;
color:white;
border-radius: 5px;
font-family: "Roboto", sans-serif;
font-weight: 400;
background-color: rgb(21, 175, 21);
}
.create-group-btn:hover {
background-color: darkgreen;
}
.close-btn {
background-color: #dc3545; /* Bootstrap danger */
background-color: rgb(192, 22, 22);
color: #fff;
border: none;
padding: 8px 16px;
border-radius: 5px;
cursor: pointer;
font-family: "Roboto", sans-serif;
font-weight: 350;
color: white;
}
.close-btn:hover{
background-color: rgb(135, 40, 40);
}
.overlay {
Expand Down

0 comments on commit 92e97fb

Please sign in to comment.