aboutsummaryrefslogtreecommitdiffstats
path: root/public/projects/react-small-apps/apps/notebook/src/components/commons/Button/Button.css
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-20 16:11:50 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-20 16:15:08 +0100
commit73a5c7fae9ffbe9ada721148c8c454a643aceebe (patch)
treec8fad013ed9b5dd589add87f8d45cf02bbfc6e91 /public/projects/react-small-apps/apps/notebook/src/components/commons/Button/Button.css
parentb01239fbdcc5bbc5921f73ec0e8fee7bedd5c8e8 (diff)
chore!: restructure repo
I separated public files from the config/dev files. It improves repo readability. I also moved dotenv helper to public/inc directory and extract the Matomo tracker in the same directory.
Diffstat (limited to 'public/projects/react-small-apps/apps/notebook/src/components/commons/Button/Button.css')
-rw-r--r--public/projects/react-small-apps/apps/notebook/src/components/commons/Button/Button.css78
1 files changed, 78 insertions, 0 deletions
diff --git a/public/projects/react-small-apps/apps/notebook/src/components/commons/Button/Button.css b/public/projects/react-small-apps/apps/notebook/src/components/commons/Button/Button.css
new file mode 100644
index 0000000..16268d3
--- /dev/null
+++ b/public/projects/react-small-apps/apps/notebook/src/components/commons/Button/Button.css
@@ -0,0 +1,78 @@
+.btn {
+ cursor: pointer;
+}
+
+.btn--delete {
+ background: hsl(0, 44%, 44%);
+ border: none;
+ border-radius: 50%;
+ box-shadow: 0 0 0 2px hsl(0, 44%, 29%), 1px 2px 1px 2px hsl(0, 44%, 29%);
+ width: 2.4rem;
+ height: 2.4rem;
+ padding: 0.5rem;
+ transition: transform 0.3s ease-in-out 0s;
+}
+
+.btn--delete:hover,
+.btn--delete:focus {
+ background: hsl(0, 44%, 50%);
+ transform: scale(1.1);
+}
+
+.btn--delete:active {
+ background: hsl(0, 44%, 40%);
+ transform: scale(1);
+}
+
+.btn .icon {
+ height: 100%;
+ width: 100%;
+}
+
+.btn--delete #trash-lid-handle {
+ stroke: #fff;
+ stroke-width: 4;
+}
+
+.btn--delete #trash-container,
+.btn--delete #trash-lid {
+ fill: hsl(0, 44%, 49%);
+ stroke: #fff;
+ stroke-width: 5;
+}
+
+.btn--delete #trash-stroke1,
+.btn--delete #trash-stroke2,
+.btn--delete #trash-stroke3 {
+ fill: #fff;
+ stroke: #fff;
+ stroke-width: 1;
+}
+
+.btn--restore {
+ background: hsl(212, 44%, 44%);
+ border: none;
+ border-radius: 50%;
+ box-shadow: 0 0 0 2px hsl(212, 44%, 29%), 1px 2px 1px 2px hsl(212, 44%, 29%);
+ width: 2.4rem;
+ height: 2.4rem;
+ padding: 0.5rem;
+ transition: transform 0.3s ease-in-out 0s;
+}
+
+.btn--restore:hover {
+ background: hsl(212, 44%, 50%);
+ transform: scale(1.1);
+}
+
+.btn--restore:active {
+ background: hsl(212, 44%, 40%);
+ transform: scale(1);
+}
+
+.btn--restore #restore-circle,
+.btn--restore #restore-arrow,
+.btn--restore #restore-first-clock-hand,
+.btn--restore #restore-second-clock-hand {
+ fill: #fff;
+}