From 3dcc1d7581dcd5bbbfea4238f3b8f386563c13aa Mon Sep 17 00:00:00 2001 From: cutls Date: Wed, 31 Jan 2018 01:43:01 +0900 Subject: [PATCH] TheDesk Miho (ver.5) --- app/css/master.css | 4 +- app/css/post.css | 2 +- app/css/tl.css | 15 ++- app/index.html | 4 +- app/js/common/keyshortcut.js | 205 ++++++++++++++++++----------------- app/js/common/materialize.js | 3 +- app/js/login/login.js | 6 +- app/js/login/manager.js | 6 +- app/js/post/status.js | 28 +++-- app/js/tl/card.js | 11 ++ app/js/tl/mix.js | 2 +- app/js/tl/notification.js | 55 ++++++---- app/js/tl/parse.js | 9 +- app/js/tl/tl.js | 8 +- app/js/ui/layout.js | 8 +- app/js/ui/scroll.js | 4 + app/js/userdata/showOnTL.js | 16 +++ app/package.json | 2 +- 18 files changed, 234 insertions(+), 154 deletions(-) diff --git a/app/css/master.css b/app/css/master.css index 070afeed..e045d351 100644 --- a/app/css/master.css +++ b/app/css/master.css @@ -1,5 +1,5 @@ /*共通CSS*/ - +body{overflow:hidden;} .btn { margin: 5px; text-transform: none; @@ -161,7 +161,7 @@ blockquote:before, .quote:before { /*スクロールバー*/ ::-webkit-scrollbar { width: 5px; - height: 10px; + height: 5px; background: rgba(0, 0, 0, 0.05); } ::-webkit-scrollbar-track { diff --git a/app/css/post.css b/app/css/post.css index 0187cfc4..ced441cf 100644 --- a/app/css/post.css +++ b/app/css/post.css @@ -1,6 +1,6 @@ /*トゥートボックス向けCSS*/ #post-box { - position: absolute; + position: fixed; right: 3px; bottom: 3px; background-color: white; diff --git a/app/css/tl.css b/app/css/tl.css index 5505aa30..bfe4b0f5 100644 --- a/app/css/tl.css +++ b/app/css/tl.css @@ -8,12 +8,12 @@ iframe { max-width:100%; } .box { - overflow-y: scroll; - overflow-x: hidden; + overflow-y: hidden; min-width: 300px; height: 100vh; flex: 1; } +.tl-box{ height:calc(100% - 40px); overflow-y:scroll; overflow-x:hidden } @media screen and (max-width: 600px) { #timeline-container { display: block; @@ -77,12 +77,16 @@ p { .udg { cursor: pointer; } -.notice { - top: -7px; +.notice-box { + top: 0; + background-color:white; display: inline-block; position: relative; font-family: Open Sans; margin-right: 10px; + width:100%; + z-index:1000; + height:60px; } #tools { position: fixed; @@ -142,4 +146,7 @@ p { } .blacktheme .mention { color: white; +} +.blacktheme .notice-box { + background-color: #333333; } \ No newline at end of file diff --git a/app/index.html b/app/index.html index a5c6c7b5..8dc1916d 100644 --- a/app/index.html +++ b/app/index.html @@ -23,7 +23,7 @@