From 9de776629d7080dc0a2f2793872189b97386dc71 Mon Sep 17 00:00:00 2001 From: Vince Linise Date: Sun, 25 Sep 2022 19:57:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=BDCleanup=20des=20styles=20desktop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/desktop.css | 33 ---------------------- css/style.css | 73 ------------------------------------------------- index.html | 23 ++++++++-------- js/app.js | 6 ---- 4 files changed, 11 insertions(+), 124 deletions(-) delete mode 100644 css/desktop.css diff --git a/css/desktop.css b/css/desktop.css deleted file mode 100644 index 86a848e..0000000 --- a/css/desktop.css +++ /dev/null @@ -1,33 +0,0 @@ -#tabsPageList { - overflow: hidden !important; -} - -#pronoteIdent { - width: 400px !important; -} - -#menuContent { - height: 48px !important; -} - -#appContent { - margin-top: 52px !important; -} - -#menuContent { - animation: none !important; - width: 400px !important; - box-shadow: none !important; -} - -.naviBtn { - margin-top: 3px; -} - -.daysRoll { - margin: 0px 20px; -} - -#rnNext { - right: 0; -} \ No newline at end of file diff --git a/css/style.css b/css/style.css index 455bd9e..0fd7ba8 100644 --- a/css/style.css +++ b/css/style.css @@ -1475,79 +1475,6 @@ a:active { color: #000000; } -/* desktop */ - -@media only screen and (min-width: 800px) { - #menu, #menu * { - animation: none !important; - } - - #menu { - display: block !important; - width: 400px !important; - box-shadow: 1px 0px 2px #00000032; - } - - #menuTabs { - width: 400px !important; - } - - .modal { - width: 400px !important; - } - - #userModalOver { - width: calc(400px - 35px) !important; - } - - #timeModal { - width: calc(400px - 65px) !important; - } - - #appContent, #menuContent { - width: calc(100% - 400px) !important; - margin-left: 400px !important; - } - - #menu-btn { - display: none !important; - } - - #menuData { - margin-left: 0 !important; - } - - .changeInMenu { - display: none !important; - } - - #menuContent { - top: 0; - bottom: auto; - border-top: none !important; - box-shadow: 0px 1px 2px #00000032; - } - - #appContent { - margin-top: 60px; - } - - .cours:hover { - opacity: 70% !important; - } - - .tabLink:hover { - background: #00000011; - cursor: pointer; - } - - @media screen and (prefers-color-scheme: dark) { - .tabLink:hover { - background: #ffffff11; - } - } -} - .devoirDay { margin-top: 40px; margin-bottom: 15px; diff --git a/index.html b/index.html index e9a2a48..36915c9 100644 --- a/index.html +++ b/index.html @@ -28,19 +28,18 @@ - -
+