Posteo smaller theme

Change the new posteo design to fit on smaller screens

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

// ==UserScript==
// @name        Posteo smaller theme
// @namespace   posteo
// @description Change the new posteo design to fit on smaller screens
// @include     https://posteo.de/webmail/*
// @version     0.1
// @grant       none
// ==/UserScript==

function addGlobalStyle(css) {
    console.log("gm-script --> addGlobalStyle (" + css + " )");
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

addGlobalStyle('#topline{padding:0px!important;}');
addGlobalStyle('#topline span.username{font-size:10px!important;}');
addGlobalStyle('#taskbar a{font-size:10px!important;padding:2px 8px!important;}');
addGlobalStyle('#mainscreen{bottom:2px !important;left:2px !important;right:2px!important;top:54px!important;}');
addGlobalStyle('#quicksearchbar #searchmenulink{top:5px !important;}');
addGlobalStyle('#quicksearchbar #searchreset{top:5px !important ;}.toolbar a.button::before{font-size:16px;}');
addGlobalStyle('#topnav {min-height: 20px !important;}');
addGlobalStyle('#mailboxcontainer, #messagelistcontainer {top: 35px !important;}');
addGlobalStyle('#mailview-right {top: -14px !important}');
addGlobalStyle('#mailview-top {top: 14px !important;}');
addGlobalStyle('#mailpreviewframe {border-bottom: 18px!important;}');
addGlobalStyle('#rcmflag{width: 20px;!important;}');
addGlobalStyle('#rcmattachment{width: 20px!important;}');