From e8e2c5a549bd76348b26de7155f2c486b06f575f Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Wed, 15 Sep 2021 15:43:29 +0530 Subject: [PATCH] Adding admin page UI --- components.js | 15 +- css/main.css | 36 +- css/main.min.css | 2 +- css/main.scss | 24 +- illustrations/illustrations.ai | 6470 ++++++++++++++++---------------- illustrations/no_history.svg | 2 +- index.html | 259 +- 7 files changed, 3499 insertions(+), 3309 deletions(-) diff --git a/components.js b/components.js index 87d457f..20d84cc 100644 --- a/components.js +++ b/components.js @@ -1431,17 +1431,19 @@ themeToggle.innerHTML = ` height: 100%; width: 100%; fill: rgba(var(--text-color), 1); - transition: transform 0.6s; + transition: transform 0.3s, opacity 0.1s; } .theme-switcher__checkbox { display: none; } :host([checked]) .moon-icon { - transform: scale(0) rotate(90deg); + transform: translateY(50%); + opacity: 0; } :host(:not([checked])) .sun-icon { - transform: scale(0) rotate(-90deg); + transform: translateY(50%); + opacity: 0; }