diff options
author | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2025-01-19 22:21:32 +0100 |
---|---|---|
committer | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2025-01-19 22:21:46 +0100 |
commit | 93552152be180766fda08b1bd7ccefc4d26065ff (patch) | |
tree | f9f1e19372995729adc7e1c79f16c27acd9625be /client/src/components/entry.css | |
parent | 6841765fcbfadbd4e3006f5fbcea45194c92e5a1 (diff) |
client advancements
Diffstat (limited to 'client/src/components/entry.css')
-rw-r--r-- | client/src/components/entry.css | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/client/src/components/entry.css b/client/src/components/entry.css new file mode 100644 index 0000000..e76d6a9 --- /dev/null +++ b/client/src/components/entry.css @@ -0,0 +1,44 @@ +.entry { + display: flex; + width: 100%; + gap: 5px; + + button { + display: 0; + background: none; + border: none; + cursor: pointer; + font-weight: bold; + + opacity: 0; + } + + .text { + white-space: pre-wrap; + border: 0; + width: 100%; + padding: 5px; + } + .text:focus { + border: 0; + outline: 0; + + background-color: #f9f9f9; + } + + .text:empty:focus::before { + content: "write something..."; + opacity: .3; + font-style: italic; + } +} + +.entry:hover { + button { + opacity: .3; + } + + button:hover { + opacity: .5; + } +} |