From a7be58dc7675673208e0b200952a6bec61f38413 Mon Sep 17 00:00:00 2001 From: XPoet Date: Mon, 7 Sep 2020 16:25:37 +0800 Subject: [PATCH] pref: side tools add response display --- source/css/layout/_partial/tools.styl | 4 ++++ source/css/layout/page.styl | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/source/css/layout/_partial/tools.styl b/source/css/layout/_partial/tools.styl index 2c97496..8411f32 100644 --- a/source/css/layout/_partial/tools.styl +++ b/source/css/layout/_partial/tools.styl @@ -61,6 +61,10 @@ $li-margin-bottom = 12px; &.page-aside-toggle { display: none; + + +ils-tablet() { + display: none !important; + } } } diff --git a/source/css/layout/page.styl b/source/css/layout/page.styl index 8a16ed0..c74c8ea 100644 --- a/source/css/layout/page.styl +++ b/source/css/layout/page.styl @@ -142,5 +142,17 @@ $page-aside-width = 248px; top: $header-height + $component-interspace; right: $component-interspace; transition(); + + +ils-tablet() { + right: 10px; + transform: scale(0.82); + transform-origin: right top; + } + + +ils-mobile() { + right: 5px; + transform: scale(0.72); + transform-origin: right top; + } } }