aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/cupboard/cupboard.component.css
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-03-30 20:36:19 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-03-30 20:36:19 -0400
commit2c2957da48b62d16ce24addcc46d0d0ed66f7a9d (patch)
tree209e3fa65cd61dfd6785178ae438b919d69f0de7 /ufund-ui/src/app/components/cupboard/cupboard.component.css
parent6bfbf7fa3b5b14b04f99f2dd6c33d336f6f081f6 (diff)
parentb29f29eca643648381bfb62a4b90ad29e17f48a7 (diff)
downloadJellySolutions-2c2957da48b62d16ce24addcc46d0d0ed66f7a9d.tar.gz
JellySolutions-2c2957da48b62d16ce24addcc46d0d0ed66f7a9d.tar.bz2
JellySolutions-2c2957da48b62d16ce24addcc46d0d0ed66f7a9d.zip
Merge branch 'list-and-cupboard-component-refactor' into css
# Conflicts: # ufund-api/data/cupboard.json # ufund-ui/src/app/components/cupboard/cupboard.component.css # ufund-ui/src/app/components/need-list/need-list.component.css # ufund-ui/src/app/components/need-page/need-page.component.html
Diffstat (limited to 'ufund-ui/src/app/components/cupboard/cupboard.component.css')
-rw-r--r--ufund-ui/src/app/components/cupboard/cupboard.component.css34
1 files changed, 28 insertions, 6 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.css b/ufund-ui/src/app/components/cupboard/cupboard.component.css
index c8add60..f4b6828 100644
--- a/ufund-ui/src/app/components/cupboard/cupboard.component.css
+++ b/ufund-ui/src/app/components/cupboard/cupboard.component.css
@@ -1,21 +1,43 @@
:host {
- display: block;
- /*border: 2px solid #000;*/
+ display: flex;
+ justify-content: space-evenly;
+ border: 2px solid #000;
border-radius: 5px;
padding: 10px 20px;
+ > div {
+ width: 40%;
+ }
}
-#menu, #create-form, #delete-form, #update-form {
+
+#menu {
+ display: flex;
+
+ margin: 10px;
+
+}
+
+.tab, .selected-tab {
+ background-color: lightgray;
+ border: 3px solid #000;
+ border-top-left-radius: 5px;
+ border-top-right-radius: 5px;
+ margin-right: 5px;
+ border-bottom: 0px;
+}
+
+.selected-tab {
+ background-color: white;
+}
+
+#create-form, #delete-form, #update-form {
background-color: #d9d9d9;
padding: 10px 20px 20px 20px;
border: 2px solid #000;
border-radius: 5px;
- width: 20%;
visibility: visible;
-
}
#create-button {
padding: 10px 20px;
-
}