From 97e4d16642de7effd3b01b47040fbc3caf92302a Mon Sep 17 00:00:00 2001 From: cutls Date: Sat, 26 May 2018 01:37:35 +0900 Subject: [PATCH] TheDesk Mio (ver.4) --- app/css/master.css | 9 ++++++--- app/css/tl.css | 38 ++++++++++++++++++++++++++++---------- app/css/userdata.css | 3 +++ app/index.html | 36 ++++++++++++++++++++++++++++++++++-- app/js/common/version.js | 16 +++++++++++++++- app/js/tl/date.js | 8 ++++---- app/js/tl/parse.js | 25 +++++++++++++++---------- app/main.js | 1 + app/package.json | 2 +- app/setting.html | 6 ++++-- ver.json | 2 +- 11 files changed, 112 insertions(+), 34 deletions(-) diff --git a/app/css/master.css b/app/css/master.css index 11d24c35..0949e4a5 100644 --- a/app/css/master.css +++ b/app/css/master.css @@ -160,6 +160,9 @@ blockquote:before, .quote:before { #pip-content .material-icons{ display:none; } +.big-text{ + font-size:1.2rem; +} @media only screen and (min-width: 993px){ #toast-container { @@ -197,7 +200,7 @@ blockquote:before, .quote:before { justify-content: center; align-items: center; } -.blacktheme #imagemodal,.blacktheme #videomodal,.blacktheme #tootmodal { +.blacktheme #imagemodal,.blacktheme #videomodal,.blacktheme #tootmodal,.blacktheme #releasenote { background-color: black; } .blacktheme .collapsible-header,.blacktheme .tabs,.blacktheme #pip { @@ -218,7 +221,7 @@ blockquote:before, .quote:before { justify-content: center; align-items: center; } -.indigotheme #imagemodal,.indigotheme #videomodal,.indigotheme #tootmodal { +.indigotheme #imagemodal,.indigotheme #videomodal,.indigotheme #tootmodal,.indigotheme #releasenote { background-color: #0d1351; } .indigotheme .collapsible-header,.indigotheme .tabs,.indigotheme #pip { @@ -239,7 +242,7 @@ blockquote:before, .quote:before { justify-content: center; align-items: center; } -.browntheme #imagemodal,.browntheme #videomodal,.browntheme #tootmodal { +.browntheme #imagemodal,.browntheme #videomodal,.browntheme #tootmodal,.browntheme #releasenote { background-color: #261411; } .browntheme .collapsible-header,.browntheme .tabs,.browntheme #pip { diff --git a/app/css/tl.css b/app/css/tl.css index a840ea9e..4ed1c167 100644 --- a/app/css/tl.css +++ b/app/css/tl.css @@ -82,9 +82,12 @@ iframe { } .user{ cursor:text; - font-size:1.2rem; + font-size:1.1rem; } .emojione,.emoji-img{ + width: 15px; +} +.area-toot .emojione,.area-toot .emoji-img{ width: 20px; vertical-align: middle; margin: -3px 0 0; @@ -107,7 +110,7 @@ iframe { width: 100%; display: grid; grid-template-columns: 43px 2fr 1fr; - grid-template-areas: 'notice notice notice' 'icon display_name acct' 'icon toot toot' 'vis additional additional' 'actions actions actions'; + grid-template-areas: 'notice notice notice' 'icon display_name display_name' 'icon toot toot' 'vis additional additional' 'actions actions actions'; } .area-notice { @@ -125,25 +128,31 @@ grid-area: icon; user-select: auto; height:1.5em; margin:2px; +margin-left:5px; overflow:hidden; grid-area: display_name; white-space: nowrap; text-overflow: ellipsis; +display:flex; +justify-content:space-between; + width:100%; + flex-wrap:nowrap +} +.flex-name{ + max-width:calc(100% - 60px); + overflow:hidden; + text-overflow: ellipsis; +} +.flex-time{ + } -.area-acct { -margin:2px; -grid-area: acct; -overflow:hidden; -text-align:right; -white-space: nowrap; -text-overflow: ellipsis; -} .area-toot { cursor:text; user-select: auto; margin:2px; +margin-left:5px; grid-area: toot; } @@ -207,6 +216,14 @@ font-size:1rem; text-overflow: ellipsis; height:calc(0.8em + 8px); } +.cbadge-hover { + color: #000; + background-color: transparent; +} +.cbadge-hover:hover { + color: #fff; + background-color: #777; +} p { margin: 0; margin-bottom: 0px; @@ -319,6 +336,7 @@ p:not(:last-child){ } /*black theme*/ +.blacktheme .cbadge-hover,.browntheme .cbadge-hover,.indigotheme .cbadge-hover { color: #fff;} .blacktheme .notf-box,.blacktheme .modal-footer,.blacktheme #sidebar { background-color: #424242; } diff --git a/app/css/userdata.css b/app/css/userdata.css index 29dcf685..0808da71 100644 --- a/app/css/userdata.css +++ b/app/css/userdata.css @@ -33,6 +33,9 @@ .active-back{ background-color: #e6ee9c; } +#his-name .emojione,#his-name .emoji-img{ + width: 20px; +} /*black theme*/ diff --git a/app/index.html b/app/index.html index 12e47b5f..1614ccfd 100644 --- a/app/index.html +++ b/app/index.html @@ -26,7 +26,7 @@