From 49fa0bf2aa19ca3a0fc151c68308ae7fd819710f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 1 Feb 2025 11:10:09 +0200 Subject: feat: Proper UI for item buttons --- views/archive/item.php | 5 ++++- views/styles.css | 26 +++++++++++++++++++++++++- 2 files changed, 29 insertions(+), 2 deletions(-) (limited to 'views') diff --git a/views/archive/item.php b/views/archive/item.php index 4d3db12..f1d1f33 100644 --- a/views/archive/item.php +++ b/views/archive/item.php @@ -13,7 +13,10 @@ diff --git a/views/styles.css b/views/styles.css index 6d0b257..142b530 100644 --- a/views/styles.css +++ b/views/styles.css @@ -44,7 +44,7 @@ h1 { text-align: center; } -input { +input, button { color: inherit; background-image: url(/paper.jpg); @@ -319,6 +319,29 @@ hr.new-section { border-color: var(--dark-green); } +.item [name=itemButton] { + border-left: 3px solid var(--dark-purple); + margin: -0.5em 0 -0.5em 0.5em; + padding: 0.5em 0 0.5em 0.5em; + display: flex; + flex-direction: column; +} + +.item [name=itemButton] > * { + display: flex; + flex: 1; +} + +.item [name=itemButton] input, +.item [name=itemButton] button{ + box-shadow: none; + padding: 0; +} + +.list-icon { + color: var(--cherry); +} + /* User */ .user-icon { height: 7em; @@ -347,6 +370,7 @@ hr.new-section { #user-nav button { font-size: 1.3em; background-color: var(--dark-green); + background-image: none; border: none; color: inherit; padding: 0.3em; -- cgit v1.2.3